diff --git a/Commands/monitor/data-collection/endpoint/_create.md b/Commands/monitor/data-collection/endpoint/_create.md new file mode 100644 index 000000000..33c76dbd5 --- /dev/null +++ b/Commands/monitor/data-collection/endpoint/_create.md @@ -0,0 +1,16 @@ +# [Command] _monitor data-collection endpoint create_ + +Create a data collection endpoint. + +## Versions + +### [2022-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbmVuZHBvaW50cy97fQ==/2022-06-01.xml) **Stable** + + + +#### examples + +- Create data collection endpoint + ```bash + monitor data-collection endpoint create -g "myResourceGroup" -l "eastus2euap" --name "myCollectionEndpoint" --public-network-access "Enabled" + ``` diff --git a/Commands/monitor/data-collection/endpoint/_delete.md b/Commands/monitor/data-collection/endpoint/_delete.md new file mode 100644 index 000000000..15e20c348 --- /dev/null +++ b/Commands/monitor/data-collection/endpoint/_delete.md @@ -0,0 +1,16 @@ +# [Command] _monitor data-collection endpoint delete_ + +Delete a data collection endpoint. + +## Versions + +### [2022-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbmVuZHBvaW50cy97fQ==/2022-06-01.xml) **Stable** + + + +#### examples + +- Delete data collection endpoint + ```bash + monitor data-collection endpoint delete --name "myCollectionEndpoint" --resource-group "myResourceGroup" + ``` diff --git a/Commands/monitor/data-collection/endpoint/_list.md b/Commands/monitor/data-collection/endpoint/_list.md new file mode 100644 index 000000000..c7ede62f1 --- /dev/null +++ b/Commands/monitor/data-collection/endpoint/_list.md @@ -0,0 +1,22 @@ +# [Command] _monitor data-collection endpoint list_ + +List all data collection endpoints in the specified subscription + +## Versions + +### [2022-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbmVuZHBvaW50cw==/2022-06-01.xml) **Stable** + + + + +#### examples + +- List data collection endpoints by resource group + ```bash + monitor data-collection endpoint list --resource-group "myResourceGroup" + ``` + +- List data collection endpoints by subscription + ```bash + monitor data-collection endpoint list + ``` diff --git a/Commands/monitor/data-collection/endpoint/_show.md b/Commands/monitor/data-collection/endpoint/_show.md new file mode 100644 index 000000000..6b5487d48 --- /dev/null +++ b/Commands/monitor/data-collection/endpoint/_show.md @@ -0,0 +1,16 @@ +# [Command] _monitor data-collection endpoint show_ + +Get the specified data collection endpoint. + +## Versions + +### [2022-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbmVuZHBvaW50cy97fQ==/2022-06-01.xml) **Stable** + + + +#### examples + +- Get data collection endpoint + ```bash + monitor data-collection endpoint show --name "myCollectionEndpoint" --resource-group "myResourceGroup" + ``` diff --git a/Commands/monitor/data-collection/endpoint/_update.md b/Commands/monitor/data-collection/endpoint/_update.md new file mode 100644 index 000000000..bafb48268 --- /dev/null +++ b/Commands/monitor/data-collection/endpoint/_update.md @@ -0,0 +1,16 @@ +# [Command] _monitor data-collection endpoint update_ + +Update a data collection endpoint. + +## Versions + +### [2022-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbmVuZHBvaW50cy97fQ==/2022-06-01.xml) **Stable** + + + +#### examples + +- Update data collection endpoint + ```bash + monitor data-collection endpoint update --tags tag1="A" tag2="B" tag3="C" --name "myCollectionEndpoint" --resource-group "myResourceGroup" + ``` diff --git a/Commands/monitor/data-collection/endpoint/association/_list.md b/Commands/monitor/data-collection/endpoint/association/_list.md new file mode 100644 index 000000000..0b4777b7f --- /dev/null +++ b/Commands/monitor/data-collection/endpoint/association/_list.md @@ -0,0 +1,9 @@ +# [Command] _monitor data-collection endpoint association list_ + +List associations for the specified data collection endpoint. + +## Versions + +### [2022-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbmVuZHBvaW50cy97fS9hc3NvY2lhdGlvbnM=/2022-06-01.xml) **Stable** + + diff --git a/Commands/monitor/data-collection/endpoint/association/readme.md b/Commands/monitor/data-collection/endpoint/association/readme.md new file mode 100644 index 000000000..5e55d7771 --- /dev/null +++ b/Commands/monitor/data-collection/endpoint/association/readme.md @@ -0,0 +1,8 @@ +# [Group] _monitor data-collection endpoint association_ + +monitor data-collection endpoint association + +## Commands + +- [list](/Commands/monitor/data-collection/endpoint/association/_list.md) +: List associations for the specified data collection endpoint. diff --git a/Commands/monitor/data-collection/endpoint/readme.md b/Commands/monitor/data-collection/endpoint/readme.md new file mode 100644 index 000000000..d3ab6f8f6 --- /dev/null +++ b/Commands/monitor/data-collection/endpoint/readme.md @@ -0,0 +1,25 @@ +# [Group] _monitor data-collection endpoint_ + +Manage data collection endpoint for monitor control service. + +## Subgroups + +- [association](/Commands/monitor/data-collection/endpoint/association/readme.md) +: monitor data-collection endpoint association + +## Commands + +- [create](/Commands/monitor/data-collection/endpoint/_create.md) +: Create a data collection endpoint. + +- [delete](/Commands/monitor/data-collection/endpoint/_delete.md) +: Delete a data collection endpoint. + +- [list](/Commands/monitor/data-collection/endpoint/_list.md) +: List all data collection endpoints in the specified subscription + +- [show](/Commands/monitor/data-collection/endpoint/_show.md) +: Get the specified data collection endpoint. + +- [update](/Commands/monitor/data-collection/endpoint/_update.md) +: Update a data collection endpoint. diff --git a/Commands/monitor/data-collection/readme.md b/Commands/monitor/data-collection/readme.md new file mode 100644 index 000000000..8395aa375 --- /dev/null +++ b/Commands/monitor/data-collection/readme.md @@ -0,0 +1,11 @@ +# [Group] _monitor data-collection_ + +Manage data collection for monitor control service. + +## Subgroups + +- [endpoint](/Commands/monitor/data-collection/endpoint/readme.md) +: Manage data collection endpoint for monitor control service. + +- [rule](/Commands/monitor/data-collection/rule/readme.md) +: Manage data collection rule for monitor control service. diff --git a/Commands/monitor/data-collection/rule/_create.md b/Commands/monitor/data-collection/rule/_create.md new file mode 100644 index 000000000..1a5dcbc03 --- /dev/null +++ b/Commands/monitor/data-collection/rule/_create.md @@ -0,0 +1,16 @@ +# [Command] _monitor data-collection rule create_ + +Create a data collection rule. + +## Versions + +### [2022-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9/2022-06-01.xml) **Stable** + + + +#### examples + +- Create data collection rule + ```bash + monitor data-collection rule create --resource-group "myResourceGroup" --location "eastus" --name "myCollectionRule" --rule-file "C:\samples\dcrEx1.json" + ``` diff --git a/Commands/monitor/data-collection/rule/_delete.md b/Commands/monitor/data-collection/rule/_delete.md new file mode 100644 index 000000000..9dee7a294 --- /dev/null +++ b/Commands/monitor/data-collection/rule/_delete.md @@ -0,0 +1,16 @@ +# [Command] _monitor data-collection rule delete_ + +Delete a data collection rule. + +## Versions + +### [2022-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9/2022-06-01.xml) **Stable** + + + +#### examples + +- Delete data collection rule + ```bash + monitor data-collection rule delete --name "myCollectionRule" --resource-group "myResourceGroup" + ``` diff --git a/Commands/monitor/data-collection/rule/_list.md b/Commands/monitor/data-collection/rule/_list.md new file mode 100644 index 000000000..f51ed1dd4 --- /dev/null +++ b/Commands/monitor/data-collection/rule/_list.md @@ -0,0 +1,22 @@ +# [Command] _monitor data-collection rule list_ + +List all data collection rules in the specified resource group. And Lists all data collection rules in the specified subscription. + +## Versions + +### [2022-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVz/2022-06-01.xml) **Stable** + + + + +#### examples + +- List data collection rules by resource group + ```bash + monitor data-collection rule list --resource-group "myResourceGroup" + ``` + +- List data collection rules by subscription + ```bash + monitor data-collection rule list + ``` diff --git a/Commands/monitor/data-collection/rule/_show.md b/Commands/monitor/data-collection/rule/_show.md new file mode 100644 index 000000000..8a7020364 --- /dev/null +++ b/Commands/monitor/data-collection/rule/_show.md @@ -0,0 +1,16 @@ +# [Command] _monitor data-collection rule show_ + +Return the specified data collection rule. + +## Versions + +### [2022-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9/2022-06-01.xml) **Stable** + + + +#### examples + +- Get data collection rule + ```bash + monitor data-collection rule show --name "myCollectionRule" --resource-group "myResourceGroup" + ``` diff --git a/Commands/monitor/data-collection/rule/_update.md b/Commands/monitor/data-collection/rule/_update.md new file mode 100644 index 000000000..8092b32dd --- /dev/null +++ b/Commands/monitor/data-collection/rule/_update.md @@ -0,0 +1,16 @@ +# [Command] _monitor data-collection rule update_ + +Update a data collection rule. + +## Versions + +### [2022-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9/2022-06-01.xml) **Stable** + + + +#### examples + +- Update data collection rule + ```bash + monitor data-collection rule update --resource-group "myResourceGroup" --name "myCollectionRule" --data-flows destinations="centralWorkspace" streams="Microsoft-Perf" streams="Microsoft-Syslog" streams="Microsoft-WindowsEvent" --log-analytics name="centralWorkspace" resource-id="/subscriptions/703362b3-f278-4e4b-9179- c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.OperationalInsights/workspac es/centralTeamWorkspace" --performance-counters name="appTeamExtraCounters" counter- specifiers="\\Process(_Total)\\Thread Count" sampling-frequency=30 streams="Microsoft-Perf" --syslog name="cronSyslog" facility-names="cron" log-levels="Debug" log-levels="Critical" log-levels="Emergency" streams="Microsoft-Syslog" --windows-event-logs name="cloudSecurityTeamEvents" streams="Microsoft-WindowsEvent" x-path-queries="Security!" + ``` diff --git a/Commands/monitor/data-collection/rule/association/_create.md b/Commands/monitor/data-collection/rule/association/_create.md new file mode 100644 index 000000000..cb2957848 --- /dev/null +++ b/Commands/monitor/data-collection/rule/association/_create.md @@ -0,0 +1,16 @@ +# [Command] _monitor data-collection rule association create_ + +Create an association. + +## Versions + +### [2022-06-01](/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVhc3NvY2lhdGlvbnMve30=/2022-06-01.xml) **Stable** + + + +#### examples + +- Create association + ```bash + monitor data-collection rule association create --name "myAssociation" --rule-id "/subscriptions/703362b3-f278-4e4b-9179- c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule" --resource "subscriptions/703362b3-f278-4e4b-9179- c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVm " + ``` diff --git a/Commands/monitor/data-collection/rule/association/_delete.md b/Commands/monitor/data-collection/rule/association/_delete.md new file mode 100644 index 000000000..45ca13e6c --- /dev/null +++ b/Commands/monitor/data-collection/rule/association/_delete.md @@ -0,0 +1,16 @@ +# [Command] _monitor data-collection rule association delete_ + +Delete an association. + +## Versions + +### [2022-06-01](/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVhc3NvY2lhdGlvbnMve30=/2022-06-01.xml) **Stable** + + + +#### examples + +- Delete association + ```bash + monitor data-collection rule association delete --name "myAssociation" --resource "subscr iptions/703362b3-f278-4e4b-9179- c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVm " + ``` diff --git a/Commands/monitor/data-collection/rule/association/_list-by-resource.md b/Commands/monitor/data-collection/rule/association/_list-by-resource.md new file mode 100644 index 000000000..f26b57ed6 --- /dev/null +++ b/Commands/monitor/data-collection/rule/association/_list-by-resource.md @@ -0,0 +1,9 @@ +# [Command] _monitor data-collection rule association list-by-resource_ + +List associations for the specified resource. + +## Versions + +### [2022-06-01](/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVhc3NvY2lhdGlvbnM=/2022-06-01.xml) **Stable** + + diff --git a/Commands/monitor/data-collection/rule/association/_list.md b/Commands/monitor/data-collection/rule/association/_list.md new file mode 100644 index 000000000..a04e22a0d --- /dev/null +++ b/Commands/monitor/data-collection/rule/association/_list.md @@ -0,0 +1,9 @@ +# [Command] _monitor data-collection rule association list_ + +List associations for the specified data collection rule. + +## Versions + +### [2022-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9L2Fzc29jaWF0aW9ucw==/2022-06-01.xml) **Stable** + + diff --git a/Commands/monitor/data-collection/rule/association/_show.md b/Commands/monitor/data-collection/rule/association/_show.md new file mode 100644 index 000000000..f29b6bcaa --- /dev/null +++ b/Commands/monitor/data-collection/rule/association/_show.md @@ -0,0 +1,16 @@ +# [Command] _monitor data-collection rule association show_ + +Get the specified association. + +## Versions + +### [2022-06-01](/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVhc3NvY2lhdGlvbnMve30=/2022-06-01.xml) **Stable** + + + +#### examples + +- Get association + ```bash + monitor data-collection rule association show --name "myAssociation" --resource "subscrip tions/703362b3-f278-4e4b-9179- c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVm " + ``` diff --git a/Commands/monitor/data-collection/rule/association/_update.md b/Commands/monitor/data-collection/rule/association/_update.md new file mode 100644 index 000000000..95af97032 --- /dev/null +++ b/Commands/monitor/data-collection/rule/association/_update.md @@ -0,0 +1,16 @@ +# [Command] _monitor data-collection rule association update_ + +Update an association. + +## Versions + +### [2022-06-01](/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVhc3NvY2lhdGlvbnMve30=/2022-06-01.xml) **Stable** + + + +#### examples + +- Update association + ```bash + monitor data-collection rule association update --name "myAssociation" --rule-id "/subscr iptions/703362b3-f278-4e4b-9179- c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Insights/dataCollectionRules /myCollectionRule" --resource "subscriptions/703362b3-f278-4e4b-9179- c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVm " + ``` diff --git a/Commands/monitor/data-collection/rule/association/readme.md b/Commands/monitor/data-collection/rule/association/readme.md new file mode 100644 index 000000000..c02a7f97d --- /dev/null +++ b/Commands/monitor/data-collection/rule/association/readme.md @@ -0,0 +1,23 @@ +# [Group] _monitor data-collection rule association_ + +Manage data collection rule association for monitor control service. + +## Commands + +- [create](/Commands/monitor/data-collection/rule/association/_create.md) +: Create an association. + +- [delete](/Commands/monitor/data-collection/rule/association/_delete.md) +: Delete an association. + +- [list](/Commands/monitor/data-collection/rule/association/_list.md) +: List associations for the specified data collection rule. + +- [list-by-resource](/Commands/monitor/data-collection/rule/association/_list-by-resource.md) +: List associations for the specified resource. + +- [show](/Commands/monitor/data-collection/rule/association/_show.md) +: Get the specified association. + +- [update](/Commands/monitor/data-collection/rule/association/_update.md) +: Update an association. diff --git a/Commands/monitor/data-collection/rule/readme.md b/Commands/monitor/data-collection/rule/readme.md new file mode 100644 index 000000000..dc2de8d26 --- /dev/null +++ b/Commands/monitor/data-collection/rule/readme.md @@ -0,0 +1,25 @@ +# [Group] _monitor data-collection rule_ + +Manage data collection rule for monitor control service. + +## Subgroups + +- [association](/Commands/monitor/data-collection/rule/association/readme.md) +: Manage data collection rule association for monitor control service. + +## Commands + +- [create](/Commands/monitor/data-collection/rule/_create.md) +: Create a data collection rule. + +- [delete](/Commands/monitor/data-collection/rule/_delete.md) +: Delete a data collection rule. + +- [list](/Commands/monitor/data-collection/rule/_list.md) +: List all data collection rules in the specified resource group. And Lists all data collection rules in the specified subscription. + +- [show](/Commands/monitor/data-collection/rule/_show.md) +: Return the specified data collection rule. + +- [update](/Commands/monitor/data-collection/rule/_update.md) +: Update a data collection rule. diff --git a/Commands/monitor/readme.md b/Commands/monitor/readme.md index a203abd97..004af9648 100644 --- a/Commands/monitor/readme.md +++ b/Commands/monitor/readme.md @@ -1,6 +1,6 @@ # [Group] _monitor_ -Manage the Azure Monitor Service. +Monitor. ## Subgroups @@ -19,6 +19,9 @@ Manage the Azure Monitor Service. - [autoscale](/Commands/monitor/autoscale/readme.md) : Manage autoscale settings +- [data-collection](/Commands/monitor/data-collection/readme.md) +: Manage data collection for monitor control service. + - [diagnostic-settings](/Commands/monitor/diagnostic-settings/readme.md) : Manage service diagnostic settings. diff --git a/Commands/readme.md b/Commands/readme.md index c1d2abbd3..af471f219 100644 --- a/Commands/readme.md +++ b/Commands/readme.md @@ -1,243 +1,243 @@ -# Atomic Azure CLI Commands - -## Groups - -- [account](/Commands/account/readme.md) -: Manage Azure subscription information. - -- [afd](/Commands/afd/readme.md) -: Manage Azure Front Door Standard/Premium. - -- [alerts-management](/Commands/alerts-management/readme.md) -: Manage Azure Alerts Management Service Resource. - -- [amlfs](/Commands/amlfs/readme.md) -: Manage lustre file system - -- [apic](/Commands/apic/readme.md) -: API Center - -- [attestation](/Commands/attestation/readme.md) -: Manage Microsoft Azure Attestation (MAA). - -- [automanage](/Commands/automanage/readme.md) -: Manage Automanage - -- [automation](/Commands/automation/readme.md) -: Manage Automation Account - -- [billing](/Commands/billing/readme.md) -: Manage Azure Billing. - -- [billing-benefits](/Commands/billing-benefits/readme.md) -: Azure billing benefits commands - -- [blueprint](/Commands/blueprint/readme.md) -: Commands to manage blueprint. - -- [cache](/Commands/cache/readme.md) -: Azure Cache for Redis - -- [capacity](/Commands/capacity/readme.md) -: Manage capacity. - -- [change-analysis](/Commands/change-analysis/readme.md) -: List changes for resources - -- [confidentialledger](/Commands/confidentialledger/readme.md) -: Deploy and manage Azure confidential ledgers. - -- [connectedmachine](/Commands/connectedmachine/readme.md) -: Manage an Azure Arc-Enabled Server. - -- [consumption](/Commands/consumption/readme.md) -: Manage consumption of Azure resources. - -- [cosmosdb](/Commands/cosmosdb/readme.md) -: Manage Azure Cosmos DB database accounts. - -- [databox](/Commands/databox/readme.md) -: Manage data box - -- [databricks](/Commands/databricks/readme.md) -: Manage databricks workspaces. - -- [dataprotection](/Commands/dataprotection/readme.md) -: Manage dataprotection. - -- [devcenter](/Commands/devcenter/readme.md) -: Manage resources with devcenter. - -- [disk](/Commands/disk/readme.md) -: Manage Azure Managed Disks. - -- [disk-access](/Commands/disk-access/readme.md) -: Manage disk access resources. - -- [disk-encryption-set](/Commands/disk-encryption-set/readme.md) -: Disk Encryption Set resource. - -- [dnc](/Commands/dnc/readme.md) -: Manage Delegated Network. - -- [dns-resolver](/Commands/dns-resolver/readme.md) -: Manage Dns Resolver - -- [dynatrace](/Commands/dynatrace/readme.md) -: Manage dynatrace - -- [elastic](/Commands/elastic/readme.md) -: Manage Microsoft Elastic. - -- [elastic-san](/Commands/elastic-san/readme.md) -: Manage Elastic SAN. - -- [eventgrid](/Commands/eventgrid/readme.md) -: Manage Azure Event Grid topics, domains, domain topics, system topics, partner topics, event subscriptions, system topic event subscriptions, partner topic event subscriptions, and namespaces resources. - -- [eventhubs](/Commands/eventhubs/readme.md) -: eventhub - -- [fluid-relay](/Commands/fluid-relay/readme.md) -: Manage Fluid Relay - -- [graph-services](/Commands/graph-services/readme.md) -: Make operations on Microsoft.GraphServices resource types - -- [image](/Commands/image/readme.md) -: Manage custom virtual machine images. - -- [load](/Commands/load/readme.md) -: Manage Azure Load Testing resources. - -- [logic](/Commands/logic/readme.md) -: Manage logic - -- [maintenance](/Commands/maintenance/readme.md) -: Manage Maintenance - -- [mesh](/Commands/mesh/readme.md) -: (PREVIEW) Manage Azure Service Fabric Mesh Resources. - -- [mobile-network](/Commands/mobile-network/readme.md) -: Manage mobile network - -- [monitor](/Commands/monitor/readme.md) -: Manage the Azure Monitor Service. - -- [netappfiles](/Commands/netappfiles/readme.md) -: Manage Azure NetApp Files (ANF) Resources - -- [network](/Commands/network/readme.md) -: Manage Azure Network resources. - -- [network-analytics](/Commands/network-analytics/readme.md) -: Network Analytics command group Azure Operator Insights resource manipulation. - -- [network-function](/Commands/network-function/readme.md) -: Manage network function - -- [networkcloud](/Commands/networkcloud/readme.md) -: Manage Network Cloud resources - -- [networkfabric](/Commands/networkfabric/readme.md) -: Manage Azure Network Fabric Management Service API - -- [new-relic](/Commands/new-relic/readme.md) -: Manage Azure NewRelic resources. - -- [nginx](/Commands/nginx/readme.md) -: Manage NGINX deployment resources - -- [notification-hub](/Commands/notification-hub/readme.md) -: Manage notification hubs. - -- [orbital](/Commands/orbital/readme.md) -: Azure Orbital Ground Station as-a-Service (GSaaS). - -- [palo-alto](/Commands/palo-alto/readme.md) -: Manage palo-alto networks resource - -- [powerbi](/Commands/powerbi/readme.md) -: Manage PowerBI resources. - -- [ppg](/Commands/ppg/readme.md) -: Manage Proximity Placement Groups. - -- [qumulo](/Commands/qumulo/readme.md) -: Manage qumulo - -- [quota](/Commands/quota/readme.md) -: Manag quota for Azure resource providers. - -- [redisenterprise](/Commands/redisenterprise/readme.md) -: Manage the redisenterprise cache - -- [relay](/Commands/relay/readme.md) -: Manage Azure Relay Service namespaces, WCF relays, hybrid connections, and rules. - -- [remote-rendering-account](/Commands/remote-rendering-account/readme.md) -: Manage remote rendering account with mixed reality. - -- [reservations](/Commands/reservations/readme.md) -: Azure Reservations - -- [resource-mover](/Commands/resource-mover/readme.md) -: Manage Resource Mover Service API. - -- [restore-point](/Commands/restore-point/readme.md) -: Manage restore point with res. - -- [self-help](/Commands/self-help/readme.md) -: Azure SelfHelp will help you troubleshoot issues with Azure resources. - -- [sentinel](/Commands/sentinel/readme.md) -: Manage Microsoft Sentinel. - -- [service-networking](/Commands/service-networking/readme.md) -: Manage Service Networking Resources - -- [servicebus](/Commands/servicebus/readme.md) -: servicebus - -- [sig](/Commands/sig/readme.md) -: Manage shared image gallery. - -- [site-recovery](/Commands/site-recovery/readme.md) -: Manage Site Recovery Service - -- [snapshot](/Commands/snapshot/readme.md) -: Manage point-in-time copies of managed disks, native blobs, or other snapshots. - -- [spatial-anchors-account](/Commands/spatial-anchors-account/readme.md) -: Manage spatial anchor account with mixed reality. - -- [sql](/Commands/sql/readme.md) -: Manage Azure SQL Databases and Data Warehouses. - -- [stack-hci](/Commands/stack-hci/readme.md) -: Manage Azure Stack HCI. - -- [storage](/Commands/storage/readme.md) -: Manage Azure Cloud Storage resources. - -- [storage-mover](/Commands/storage-mover/readme.md) -: Manage top-level Storage Mover resource. - -- [tsi](/Commands/tsi/readme.md) -: Manage Azure Time Series Insights. - -- [vm](/Commands/vm/readme.md) -: Manage Linux or Windows virtual machines. - -- [vmss](/Commands/vmss/readme.md) -: Manage groupings of virtual machines in an Azure Virtual Machine Scale Set (VMSS). - -- [vmware](/Commands/vmware/readme.md) -: Commands to manage Azure VMware Solution. - -- [voice-service](/Commands/voice-service/readme.md) -: Manage voice services - -- [workloads](/Commands/workloads/readme.md) -: Manage workloads +# Atomic Azure CLI Commands + +## Groups + +- [account](/Commands/account/readme.md) +: Manage Azure subscription information. + +- [afd](/Commands/afd/readme.md) +: Manage Azure Front Door Standard/Premium. + +- [alerts-management](/Commands/alerts-management/readme.md) +: Manage Azure Alerts Management Service Resource. + +- [amlfs](/Commands/amlfs/readme.md) +: Manage lustre file system + +- [apic](/Commands/apic/readme.md) +: API Center + +- [attestation](/Commands/attestation/readme.md) +: Manage Microsoft Azure Attestation (MAA). + +- [automanage](/Commands/automanage/readme.md) +: Manage Automanage + +- [automation](/Commands/automation/readme.md) +: Manage Automation Account + +- [billing](/Commands/billing/readme.md) +: Manage Azure Billing. + +- [billing-benefits](/Commands/billing-benefits/readme.md) +: Azure billing benefits commands + +- [blueprint](/Commands/blueprint/readme.md) +: Commands to manage blueprint. + +- [cache](/Commands/cache/readme.md) +: Azure Cache for Redis + +- [capacity](/Commands/capacity/readme.md) +: Manage capacity. + +- [change-analysis](/Commands/change-analysis/readme.md) +: List changes for resources + +- [confidentialledger](/Commands/confidentialledger/readme.md) +: Deploy and manage Azure confidential ledgers. + +- [connectedmachine](/Commands/connectedmachine/readme.md) +: Manage an Azure Arc-Enabled Server. + +- [consumption](/Commands/consumption/readme.md) +: Manage consumption of Azure resources. + +- [cosmosdb](/Commands/cosmosdb/readme.md) +: Manage Azure Cosmos DB database accounts. + +- [databox](/Commands/databox/readme.md) +: Manage data box + +- [databricks](/Commands/databricks/readme.md) +: Manage databricks workspaces. + +- [dataprotection](/Commands/dataprotection/readme.md) +: Manage dataprotection. + +- [devcenter](/Commands/devcenter/readme.md) +: Manage resources with devcenter. + +- [disk](/Commands/disk/readme.md) +: Manage Azure Managed Disks. + +- [disk-access](/Commands/disk-access/readme.md) +: Manage disk access resources. + +- [disk-encryption-set](/Commands/disk-encryption-set/readme.md) +: Disk Encryption Set resource. + +- [dnc](/Commands/dnc/readme.md) +: Manage Delegated Network. + +- [dns-resolver](/Commands/dns-resolver/readme.md) +: Manage Dns Resolver + +- [dynatrace](/Commands/dynatrace/readme.md) +: Manage dynatrace + +- [elastic](/Commands/elastic/readme.md) +: Manage Microsoft Elastic. + +- [elastic-san](/Commands/elastic-san/readme.md) +: Manage Elastic SAN. + +- [eventgrid](/Commands/eventgrid/readme.md) +: Manage Azure Event Grid topics, domains, domain topics, system topics, partner topics, event subscriptions, system topic event subscriptions, partner topic event subscriptions, and namespaces resources. + +- [eventhubs](/Commands/eventhubs/readme.md) +: eventhub + +- [fluid-relay](/Commands/fluid-relay/readme.md) +: Manage Fluid Relay + +- [graph-services](/Commands/graph-services/readme.md) +: Make operations on Microsoft.GraphServices resource types + +- [image](/Commands/image/readme.md) +: Manage custom virtual machine images. + +- [load](/Commands/load/readme.md) +: Manage Azure Load Testing resources. + +- [logic](/Commands/logic/readme.md) +: Manage logic + +- [maintenance](/Commands/maintenance/readme.md) +: Manage Maintenance + +- [mesh](/Commands/mesh/readme.md) +: (PREVIEW) Manage Azure Service Fabric Mesh Resources. + +- [mobile-network](/Commands/mobile-network/readme.md) +: Manage mobile network + +- [monitor](/Commands/monitor/readme.md) +: Monitor. + +- [netappfiles](/Commands/netappfiles/readme.md) +: Manage Azure NetApp Files (ANF) Resources + +- [network](/Commands/network/readme.md) +: Manage Azure Network resources. + +- [network-analytics](/Commands/network-analytics/readme.md) +: Network Analytics command group Azure Operator Insights resource manipulation. + +- [network-function](/Commands/network-function/readme.md) +: Manage network function + +- [networkcloud](/Commands/networkcloud/readme.md) +: Manage Network Cloud resources + +- [networkfabric](/Commands/networkfabric/readme.md) +: Manage Azure Network Fabric Management Service API + +- [new-relic](/Commands/new-relic/readme.md) +: Manage Azure NewRelic resources. + +- [nginx](/Commands/nginx/readme.md) +: Manage NGINX deployment resources + +- [notification-hub](/Commands/notification-hub/readme.md) +: Manage notification hubs. + +- [orbital](/Commands/orbital/readme.md) +: Azure Orbital Ground Station as-a-Service (GSaaS). + +- [palo-alto](/Commands/palo-alto/readme.md) +: Manage palo-alto networks resource + +- [powerbi](/Commands/powerbi/readme.md) +: Manage PowerBI resources. + +- [ppg](/Commands/ppg/readme.md) +: Manage Proximity Placement Groups. + +- [qumulo](/Commands/qumulo/readme.md) +: Manage qumulo + +- [quota](/Commands/quota/readme.md) +: Manag quota for Azure resource providers. + +- [redisenterprise](/Commands/redisenterprise/readme.md) +: Manage the redisenterprise cache + +- [relay](/Commands/relay/readme.md) +: Manage Azure Relay Service namespaces, WCF relays, hybrid connections, and rules. + +- [remote-rendering-account](/Commands/remote-rendering-account/readme.md) +: Manage remote rendering account with mixed reality. + +- [reservations](/Commands/reservations/readme.md) +: Azure Reservations + +- [resource-mover](/Commands/resource-mover/readme.md) +: Manage Resource Mover Service API. + +- [restore-point](/Commands/restore-point/readme.md) +: Manage restore point with res. + +- [self-help](/Commands/self-help/readme.md) +: Azure SelfHelp will help you troubleshoot issues with Azure resources. + +- [sentinel](/Commands/sentinel/readme.md) +: Manage Microsoft Sentinel. + +- [service-networking](/Commands/service-networking/readme.md) +: Manage Service Networking Resources + +- [servicebus](/Commands/servicebus/readme.md) +: servicebus + +- [sig](/Commands/sig/readme.md) +: Manage shared image gallery. + +- [site-recovery](/Commands/site-recovery/readme.md) +: Manage Site Recovery Service + +- [snapshot](/Commands/snapshot/readme.md) +: Manage point-in-time copies of managed disks, native blobs, or other snapshots. + +- [spatial-anchors-account](/Commands/spatial-anchors-account/readme.md) +: Manage spatial anchor account with mixed reality. + +- [sql](/Commands/sql/readme.md) +: Manage Azure SQL Databases and Data Warehouses. + +- [stack-hci](/Commands/stack-hci/readme.md) +: Manage Azure Stack HCI. + +- [storage](/Commands/storage/readme.md) +: Manage Azure Cloud Storage resources. + +- [storage-mover](/Commands/storage-mover/readme.md) +: Manage top-level Storage Mover resource. + +- [tsi](/Commands/tsi/readme.md) +: Manage Azure Time Series Insights. + +- [vm](/Commands/vm/readme.md) +: Manage Linux or Windows virtual machines. + +- [vmss](/Commands/vmss/readme.md) +: Manage groupings of virtual machines in an Azure Virtual Machine Scale Set (VMSS). + +- [vmware](/Commands/vmware/readme.md) +: Commands to manage Azure VMware Solution. + +- [voice-service](/Commands/voice-service/readme.md) +: Manage voice services + +- [workloads](/Commands/workloads/readme.md) +: Manage workloads diff --git a/Commands/tree.json b/Commands/tree.json index e8c290e5f..190a9d43f 100644 --- a/Commands/tree.json +++ b/Commands/tree.json @@ -39555,6 +39555,603 @@ "autoscale" ] }, + "data-collection": { + "commandGroups": { + "endpoint": { + "commandGroups": { + "association": { + "commands": { + "list": { + "help": { + "short": "List associations for the specified data collection endpoint." + }, + "names": [ + "monitor", + "data-collection", + "endpoint", + "association", + "list" + ], + "versions": [ + { + "name": "2022-06-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionendpoints/{}/associations", + "plane": "mgmt-plane", + "version": "2022-06-01" + } + ] + } + ] + } + }, + "help": { + "short": "monitor data-collection endpoint association" + }, + "names": [ + "monitor", + "data-collection", + "endpoint", + "association" + ] + } + }, + "commands": { + "create": { + "help": { + "short": "Create a data collection endpoint." + }, + "names": [ + "monitor", + "data-collection", + "endpoint", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor data-collection endpoint create -g \"myResourceGroup\" -l \"eastus2euap\" --name \"myCollectionEndpoint\" --public-network-access \"Enabled\"" + ], + "name": "Create data collection endpoint" + } + ], + "name": "2022-06-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionendpoints/{}", + "plane": "mgmt-plane", + "version": "2022-06-01" + } + ] + } + ] + }, + "delete": { + "help": { + "short": "Delete a data collection endpoint." + }, + "names": [ + "monitor", + "data-collection", + "endpoint", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor data-collection endpoint delete --name \"myCollectionEndpoint\" --resource-group \"myResourceGroup\"" + ], + "name": "Delete data collection endpoint" + } + ], + "name": "2022-06-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionendpoints/{}", + "plane": "mgmt-plane", + "version": "2022-06-01" + } + ] + } + ] + }, + "list": { + "help": { + "short": "List all data collection endpoints in the specified subscription" + }, + "names": [ + "monitor", + "data-collection", + "endpoint", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor data-collection endpoint list --resource-group \"myResourceGroup\"" + ], + "name": "List data collection endpoints by resource group" + }, + { + "commands": [ + "monitor data-collection endpoint list" + ], + "name": "List data collection endpoints by subscription" + } + ], + "name": "2022-06-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.insights/datacollectionendpoints", + "plane": "mgmt-plane", + "version": "2022-06-01" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionendpoints", + "plane": "mgmt-plane", + "version": "2022-06-01" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Get the specified data collection endpoint." + }, + "names": [ + "monitor", + "data-collection", + "endpoint", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor data-collection endpoint show --name \"myCollectionEndpoint\" --resource-group \"myResourceGroup\"" + ], + "name": "Get data collection endpoint" + } + ], + "name": "2022-06-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionendpoints/{}", + "plane": "mgmt-plane", + "version": "2022-06-01" + } + ] + } + ] + }, + "update": { + "help": { + "short": "Update a data collection endpoint." + }, + "names": [ + "monitor", + "data-collection", + "endpoint", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor data-collection endpoint update --tags tag1=\"A\" tag2=\"B\" tag3=\"C\" --name \"myCollectionEndpoint\" --resource-group \"myResourceGroup\"" + ], + "name": "Update data collection endpoint" + } + ], + "name": "2022-06-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionendpoints/{}", + "plane": "mgmt-plane", + "version": "2022-06-01" + } + ] + } + ] + } + }, + "help": { + "short": "Manage data collection endpoint for monitor control service." + }, + "names": [ + "monitor", + "data-collection", + "endpoint" + ] + }, + "rule": { + "commandGroups": { + "association": { + "commands": { + "create": { + "help": { + "short": "Create an association." + }, + "names": [ + "monitor", + "data-collection", + "rule", + "association", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor data-collection rule association create --name \"myAssociation\" --rule-id \"/subscriptions/703362b3-f278-4e4b-9179- c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Insights/dataCollectionRules/myCollectionRule\" --resource \"subscriptions/703362b3-f278-4e4b-9179- c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVm \"" + ], + "name": "Create association" + } + ], + "name": "2022-06-01", + "resources": [ + { + "id": "/{resourceuri}/providers/microsoft.insights/datacollectionruleassociations/{}", + "plane": "mgmt-plane", + "version": "2022-06-01" + } + ] + } + ] + }, + "delete": { + "help": { + "short": "Delete an association." + }, + "names": [ + "monitor", + "data-collection", + "rule", + "association", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor data-collection rule association delete --name \"myAssociation\" --resource \"subscr iptions/703362b3-f278-4e4b-9179- c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVm \"" + ], + "name": "Delete association" + } + ], + "name": "2022-06-01", + "resources": [ + { + "id": "/{resourceuri}/providers/microsoft.insights/datacollectionruleassociations/{}", + "plane": "mgmt-plane", + "version": "2022-06-01" + } + ] + } + ] + }, + "list": { + "help": { + "short": "List associations for the specified data collection rule." + }, + "names": [ + "monitor", + "data-collection", + "rule", + "association", + "list" + ], + "versions": [ + { + "name": "2022-06-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules/{}/associations", + "plane": "mgmt-plane", + "version": "2022-06-01" + } + ] + } + ] + }, + "list-by-resource": { + "help": { + "short": "List associations for the specified resource." + }, + "names": [ + "monitor", + "data-collection", + "rule", + "association", + "list-by-resource" + ], + "versions": [ + { + "name": "2022-06-01", + "resources": [ + { + "id": "/{resourceuri}/providers/microsoft.insights/datacollectionruleassociations", + "plane": "mgmt-plane", + "version": "2022-06-01" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Get the specified association." + }, + "names": [ + "monitor", + "data-collection", + "rule", + "association", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor data-collection rule association show --name \"myAssociation\" --resource \"subscrip tions/703362b3-f278-4e4b-9179- c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVm \"" + ], + "name": "Get association" + } + ], + "name": "2022-06-01", + "resources": [ + { + "id": "/{resourceuri}/providers/microsoft.insights/datacollectionruleassociations/{}", + "plane": "mgmt-plane", + "version": "2022-06-01" + } + ] + } + ] + }, + "update": { + "help": { + "short": "Update an association." + }, + "names": [ + "monitor", + "data-collection", + "rule", + "association", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor data-collection rule association update --name \"myAssociation\" --rule-id \"/subscr iptions/703362b3-f278-4e4b-9179- c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Insights/dataCollectionRules /myCollectionRule\" --resource \"subscriptions/703362b3-f278-4e4b-9179- c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVm \"" + ], + "name": "Update association" + } + ], + "name": "2022-06-01", + "resources": [ + { + "id": "/{resourceuri}/providers/microsoft.insights/datacollectionruleassociations/{}", + "plane": "mgmt-plane", + "version": "2022-06-01" + } + ] + } + ] + } + }, + "help": { + "short": "Manage data collection rule association for monitor control service." + }, + "names": [ + "monitor", + "data-collection", + "rule", + "association" + ] + } + }, + "commands": { + "create": { + "help": { + "short": "Create a data collection rule." + }, + "names": [ + "monitor", + "data-collection", + "rule", + "create" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor data-collection rule create --resource-group \"myResourceGroup\" --location \"eastus\" --name \"myCollectionRule\" --rule-file \"C:\\samples\\dcrEx1.json\"" + ], + "name": "Create data collection rule" + } + ], + "name": "2022-06-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules/{}", + "plane": "mgmt-plane", + "version": "2022-06-01" + } + ] + } + ] + }, + "delete": { + "help": { + "short": "Delete a data collection rule." + }, + "names": [ + "monitor", + "data-collection", + "rule", + "delete" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor data-collection rule delete --name \"myCollectionRule\" --resource-group \"myResourceGroup\"" + ], + "name": "Delete data collection rule" + } + ], + "name": "2022-06-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules/{}", + "plane": "mgmt-plane", + "version": "2022-06-01" + } + ] + } + ] + }, + "list": { + "help": { + "short": "List all data collection rules in the specified resource group. And Lists all data collection rules in the specified subscription." + }, + "names": [ + "monitor", + "data-collection", + "rule", + "list" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor data-collection rule list --resource-group \"myResourceGroup\"" + ], + "name": "List data collection rules by resource group" + }, + { + "commands": [ + "monitor data-collection rule list" + ], + "name": "List data collection rules by subscription" + } + ], + "name": "2022-06-01", + "resources": [ + { + "id": "/subscriptions/{}/providers/microsoft.insights/datacollectionrules", + "plane": "mgmt-plane", + "version": "2022-06-01" + }, + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules", + "plane": "mgmt-plane", + "version": "2022-06-01" + } + ] + } + ] + }, + "show": { + "help": { + "short": "Return the specified data collection rule." + }, + "names": [ + "monitor", + "data-collection", + "rule", + "show" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor data-collection rule show --name \"myCollectionRule\" --resource-group \"myResourceGroup\"" + ], + "name": "Get data collection rule" + } + ], + "name": "2022-06-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules/{}", + "plane": "mgmt-plane", + "version": "2022-06-01" + } + ] + } + ] + }, + "update": { + "help": { + "short": "Update a data collection rule." + }, + "names": [ + "monitor", + "data-collection", + "rule", + "update" + ], + "versions": [ + { + "examples": [ + { + "commands": [ + "monitor data-collection rule update --resource-group \"myResourceGroup\" --name \"myCollectionRule\" --data-flows destinations=\"centralWorkspace\" streams=\"Microsoft-Perf\" streams=\"Microsoft-Syslog\" streams=\"Microsoft-WindowsEvent\" --log-analytics name=\"centralWorkspace\" resource-id=\"/subscriptions/703362b3-f278-4e4b-9179- c76eaf41ffc2/resourceGroups/myResourceGroup/providers/Microsoft.OperationalInsights/workspac es/centralTeamWorkspace\" --performance-counters name=\"appTeamExtraCounters\" counter- specifiers=\"\\\\Process(_Total)\\\\Thread Count\" sampling-frequency=30 streams=\"Microsoft-Perf\" --syslog name=\"cronSyslog\" facility-names=\"cron\" log-levels=\"Debug\" log-levels=\"Critical\" log-levels=\"Emergency\" streams=\"Microsoft-Syslog\" --windows-event-logs name=\"cloudSecurityTeamEvents\" streams=\"Microsoft-WindowsEvent\" x-path-queries=\"Security!\"" + ], + "name": "Update data collection rule" + } + ], + "name": "2022-06-01", + "resources": [ + { + "id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules/{}", + "plane": "mgmt-plane", + "version": "2022-06-01" + } + ] + } + ] + } + }, + "help": { + "short": "Manage data collection rule for monitor control service." + }, + "names": [ + "monitor", + "data-collection", + "rule" + ] + } + }, + "help": { + "short": "Manage data collection for monitor control service." + }, + "names": [ + "monitor", + "data-collection" + ] + }, "diagnostic-settings": { "commandGroups": { "categories": { @@ -43413,7 +44010,7 @@ } }, "help": { - "short": "Manage the Azure Monitor Service." + "short": "Monitor." }, "names": [ "monitor" diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbmVuZHBvaW50cw==/2022-06-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbmVuZHBvaW50cw==/2022-06-01.json new file mode 100644 index 000000000..6fe6d74e4 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbmVuZHBvaW50cw==/2022-06-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.insights/datacollectionendpoints", "version": "2022-06-01", "swagger": "mgmt-plane/monitor/ResourceProviders/Microsoft.Insights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lkluc2lnaHRzL2RhdGFDb2xsZWN0aW9uRW5kcG9pbnRz/V/MjAyMi0wNi0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionendpoints", "version": "2022-06-01", "swagger": "mgmt-plane/monitor/ResourceProviders/Microsoft.Insights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSW5zaWdodHMvZGF0YUNvbGxlY3Rpb25FbmRwb2ludHM=/V/MjAyMi0wNi0wMQ=="}], "commandGroups": [{"name": "monitor data-collection endpoint", "commands": [{"name": "list", "version": "2022-06-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.insights/datacollectionendpoints", "version": "2022-06-01", "swagger": "mgmt-plane/monitor/ResourceProviders/Microsoft.Insights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lkluc2lnaHRzL2RhdGFDb2xsZWN0aW9uRW5kcG9pbnRz/V/MjAyMi0wNi0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionendpoints", "version": "2022-06-01", "swagger": "mgmt-plane/monitor/ResourceProviders/Microsoft.Insights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSW5zaWdodHMvZGF0YUNvbGxlY3Rpb25FbmRwb2ludHM=/V/MjAyMi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "conditions": [{"var": "$Condition_DataCollectionEndpoints_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}, {"var": "$Condition_DataCollectionEndpoints_ListBySubscription", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}], "operations": [{"when": ["$Condition_DataCollectionEndpoints_ListByResourceGroup"], "operationId": "DataCollectionEndpoints_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/dataCollectionEndpoints/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "string", "name": "kind", "enum": {"items": [{"value": "Linux"}, {"value": "Windows"}]}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "configurationAccess", "props": [{"readOnly": true, "type": "string", "name": "endpoint"}]}, {"type": "string", "name": "description"}, {"readOnly": true, "type": "object", "name": "failoverConfiguration", "props": [{"type": "string", "name": "activeLocation"}, {"type": "array", "name": "locations", "item": {"type": "object", "props": [{"type": "string", "name": "location"}, {"type": "string", "name": "provisioningStatus", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}]}, "identifiers": ["location"]}]}, {"type": "string", "name": "immutableId"}, {"type": "object", "name": "logsIngestion", "props": [{"readOnly": true, "type": "string", "name": "endpoint"}]}, {"readOnly": true, "type": "object", "name": "metadata", "props": [{"readOnly": true, "type": "string", "name": "provisionedBy"}, {"readOnly": true, "type": "string", "name": "provisionedByResourceId"}]}, {"type": "object", "name": "metricsIngestion", "props": [{"readOnly": true, "type": "string", "name": "endpoint"}]}, {"type": "object", "name": "networkAcls", "props": [{"type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "SecuredByPerimeter"}]}}]}, {"readOnly": true, "type": "array", "name": "privateLinkScopedResources", "item": {"type": "object", "props": [{"type": "string", "name": "resourceId"}, {"type": "string", "name": "scopeId"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"when": ["$Condition_DataCollectionEndpoints_ListBySubscription"], "operationId": "DataCollectionEndpoints_ListBySubscription", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/dataCollectionEndpoints", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/dataCollectionEndpoints/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "string", "name": "kind", "enum": {"items": [{"value": "Linux"}, {"value": "Windows"}]}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "configurationAccess", "props": [{"readOnly": true, "type": "string", "name": "endpoint"}]}, {"type": "string", "name": "description"}, {"readOnly": true, "type": "object", "name": "failoverConfiguration", "props": [{"type": "string", "name": "activeLocation"}, {"type": "array", "name": "locations", "item": {"type": "object", "props": [{"type": "string", "name": "location"}, {"type": "string", "name": "provisioningStatus", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}]}, "identifiers": ["location"]}]}, {"type": "string", "name": "immutableId"}, {"type": "object", "name": "logsIngestion", "props": [{"readOnly": true, "type": "string", "name": "endpoint"}]}, {"readOnly": true, "type": "object", "name": "metadata", "props": [{"readOnly": true, "type": "string", "name": "provisionedBy"}, {"readOnly": true, "type": "string", "name": "provisionedByResourceId"}]}, {"type": "object", "name": "metricsIngestion", "props": [{"readOnly": true, "type": "string", "name": "endpoint"}]}, {"type": "object", "name": "networkAcls", "props": [{"type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "SecuredByPerimeter"}]}}]}, {"readOnly": true, "type": "array", "name": "privateLinkScopedResources", "item": {"type": "object", "props": [{"type": "string", "name": "resourceId"}, {"type": "string", "name": "scopeId"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbmVuZHBvaW50cw==/2022-06-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbmVuZHBvaW50cw==/2022-06-01.xml new file mode 100644 index 000000000..3057a49e6 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbmVuZHBvaW50cw==/2022-06-01.xml @@ -0,0 +1,347 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVz/2022-06-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVz/2022-06-01.json new file mode 100644 index 000000000..ebb4a2a60 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVz/2022-06-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/providers/microsoft.insights/datacollectionrules", "version": "2022-06-01", "swagger": "mgmt-plane/monitor/ResourceProviders/Microsoft.Insights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lkluc2lnaHRzL2RhdGFDb2xsZWN0aW9uUnVsZXM=/V/MjAyMi0wNi0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules", "version": "2022-06-01", "swagger": "mgmt-plane/monitor/ResourceProviders/Microsoft.Insights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSW5zaWdodHMvZGF0YUNvbGxlY3Rpb25SdWxlcw==/V/MjAyMi0wNi0wMQ=="}], "commandGroups": [{"name": "monitor data-collection rule", "commands": [{"name": "list", "version": "2022-06-01", "resources": [{"id": "/subscriptions/{}/providers/microsoft.insights/datacollectionrules", "version": "2022-06-01", "swagger": "mgmt-plane/monitor/ResourceProviders/Microsoft.Insights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9wcm92aWRlcnMvTWljcm9zb2Z0Lkluc2lnaHRzL2RhdGFDb2xsZWN0aW9uUnVsZXM=/V/MjAyMi0wNi0wMQ=="}, {"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules", "version": "2022-06-01", "swagger": "mgmt-plane/monitor/ResourceProviders/Microsoft.Insights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSW5zaWdodHMvZGF0YUNvbGxlY3Rpb25SdWxlcw==/V/MjAyMi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "conditions": [{"var": "$Condition_DataCollectionRules_ListByResourceGroup", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.resourceGroupName"}, {"type": "hasValue", "arg": "$Path.subscriptionId"}]}}, {"var": "$Condition_DataCollectionRules_ListBySubscription", "operator": {"type": "and", "operators": [{"type": "hasValue", "arg": "$Path.subscriptionId"}, {"type": "not", "operator": {"type": "hasValue", "arg": "$Path.resourceGroupName"}}]}}], "operations": [{"when": ["$Condition_DataCollectionRules_ListByResourceGroup"], "operationId": "DataCollectionRules_ListByResourceGroup", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/dataCollectionRules/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "string", "name": "kind", "enum": {"items": [{"value": "Linux"}, {"value": "Windows"}]}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataCollectionEndpointId"}, {"type": "array", "name": "dataFlows", "item": {"type": "object", "props": [{"type": "string", "name": "builtInTransform"}, {"type": "array", "name": "destinations", "item": {"type": "string"}}, {"type": "string", "name": "outputStream"}, {"type": "array", "name": "streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-Event"}, {"value": "Microsoft-InsightsMetrics"}, {"value": "Microsoft-Perf"}, {"value": "Microsoft-Syslog"}, {"value": "Microsoft-WindowsEvent"}]}}}, {"type": "string", "name": "transformKql"}]}}, {"type": "object", "name": "dataSources", "props": [{"type": "object", "name": "dataImports", "props": [{"type": "object", "name": "eventHub", "props": [{"type": "string", "name": "consumerGroup"}, {"type": "string", "name": "name"}, {"type": "string", "name": "stream"}]}]}, {"type": "array", "name": "extensions", "item": {"type": "object", "props": [{"type": "string", "name": "extensionName", "required": true}, {"type": "object", "name": "extensionSettings"}, {"type": "array", "name": "inputDataSources", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "array", "name": "streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-Event"}, {"value": "Microsoft-InsightsMetrics"}, {"value": "Microsoft-Perf"}, {"value": "Microsoft-Syslog"}, {"value": "Microsoft-WindowsEvent"}]}}}]}, "identifiers": ["name"]}, {"type": "array", "name": "iisLogs", "item": {"type": "object", "props": [{"type": "array", "name": "logDirectories", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "array", "name": "streams", "required": true, "item": {"type": "string"}}]}, "identifiers": ["name"]}, {"type": "array", "name": "logFiles", "item": {"type": "object", "props": [{"type": "array", "name": "filePatterns", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "format", "required": true, "enum": {"items": [{"value": "text"}]}}, {"type": "string", "name": "name"}, {"type": "object", "name": "settings", "props": [{"type": "object", "name": "text", "props": [{"type": "string", "name": "recordStartTimestampFormat", "required": true, "enum": {"items": [{"value": "ISO 8601"}, {"value": "M/D/YYYY HH:MM:SS AM/PM"}, {"value": "MMM d hh:mm:ss"}, {"value": "Mon DD, YYYY HH:MM:SS"}, {"value": "YYYY-MM-DD HH:MM:SS"}, {"value": "dd/MMM/yyyy:HH:mm:ss zzz"}, {"value": "ddMMyy HH:mm:ss"}, {"value": "yyMMdd HH:mm:ss"}, {"value": "yyyy-MM-ddTHH:mm:ssK"}]}}]}]}, {"type": "array", "name": "streams", "required": true, "item": {"type": "string"}}]}, "identifiers": ["name"]}, {"type": "array", "name": "performanceCounters", "item": {"type": "object", "props": [{"type": "array", "name": "counterSpecifiers", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "integer32", "name": "samplingFrequencyInSeconds"}, {"type": "array", "name": "streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-InsightsMetrics"}, {"value": "Microsoft-Perf"}]}}}]}, "identifiers": ["name"]}, {"type": "array", "name": "platformTelemetry", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "array", "name": "streams", "required": true, "item": {"type": "string"}}]}, "identifiers": ["name"]}, {"type": "array", "name": "prometheusForwarder", "item": {"type": "object", "props": [{"type": "object", "name": "labelIncludeFilter", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "name"}, {"type": "array", "name": "streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-PrometheusMetrics"}]}}}]}, "identifiers": ["name"]}, {"type": "array", "name": "syslog", "item": {"type": "object", "props": [{"type": "array", "name": "facilityNames", "item": {"type": "string", "enum": {"items": [{"value": "*"}, {"value": "auth"}, {"value": "authpriv"}, {"value": "cron"}, {"value": "daemon"}, {"value": "kern"}, {"value": "local0"}, {"value": "local1"}, {"value": "local2"}, {"value": "local3"}, {"value": "local4"}, {"value": "local5"}, {"value": "local6"}, {"value": "local7"}, {"value": "lpr"}, {"value": "mail"}, {"value": "mark"}, {"value": "news"}, {"value": "syslog"}, {"value": "user"}, {"value": "uucp"}]}}}, {"type": "array", "name": "logLevels", "item": {"type": "string", "enum": {"items": [{"value": "*"}, {"value": "Alert"}, {"value": "Critical"}, {"value": "Debug"}, {"value": "Emergency"}, {"value": "Error"}, {"value": "Info"}, {"value": "Notice"}, {"value": "Warning"}]}}}, {"type": "string", "name": "name"}, {"type": "array", "name": "streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-Syslog"}]}}}]}, "identifiers": ["name"]}, {"type": "array", "name": "windowsEventLogs", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "array", "name": "streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-Event"}, {"value": "Microsoft-WindowsEvent"}]}}}, {"type": "array", "name": "xPathQueries", "item": {"type": "string"}}]}, "identifiers": ["name"]}, {"type": "array", "name": "windowsFirewallLogs", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "array", "name": "streams", "required": true, "item": {"type": "string"}}]}, "identifiers": ["name"]}]}, {"type": "string", "name": "description"}, {"type": "object", "name": "destinations", "props": [{"type": "object", "name": "azureMonitorMetrics", "props": [{"type": "string", "name": "name"}]}, {"type": "array", "name": "eventHubs", "item": {"type": "object", "props": [{"type": "string", "name": "eventHubResourceId"}, {"type": "string", "name": "name"}]}, "identifiers": ["name"]}, {"type": "array", "name": "eventHubsDirect", "item": {"type": "object", "props": [{"type": "string", "name": "eventHubResourceId"}, {"type": "string", "name": "name"}]}, "identifiers": ["name"]}, {"type": "array", "name": "logAnalytics", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "workspaceId"}, {"type": "string", "name": "workspaceResourceId"}]}, "identifiers": ["name"]}, {"type": "array", "name": "monitoringAccounts", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"type": "string", "name": "accountResourceId"}, {"type": "string", "name": "name"}]}, "identifiers": ["name"]}, {"type": "array<@StorageBlobDestination_read>", "name": "storageAccounts", "item": {"type": "@StorageBlobDestination_read"}, "identifiers": ["name"]}, {"type": "array", "name": "storageBlobsDirect", "item": {"type": "object", "props": [{"type": "string", "name": "containerName"}, {"type": "string", "name": "name"}, {"type": "string", "name": "storageAccountResourceId"}], "cls": "StorageBlobDestination_read"}, "identifiers": ["name"]}, {"type": "array", "name": "storageTablesDirect", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "storageAccountResourceId"}, {"type": "string", "name": "tableName"}]}, "identifiers": ["name"]}]}, {"readOnly": true, "type": "string", "name": "immutableId"}, {"readOnly": true, "type": "object", "name": "metadata", "props": [{"readOnly": true, "type": "string", "name": "provisionedBy"}, {"readOnly": true, "type": "string", "name": "provisionedByResourceId"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "streamDeclarations", "additionalProps": {"item": {"type": "object", "props": [{"type": "array", "name": "columns", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "boolean"}, {"value": "datetime"}, {"value": "dynamic"}, {"value": "int"}, {"value": "long"}, {"value": "real"}, {"value": "string"}]}}]}, "identifiers": ["name"]}]}}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"when": ["$Condition_DataCollectionRules_ListBySubscription"], "operationId": "DataCollectionRules_ListBySubscription", "http": {"path": "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/dataCollectionRules", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/dataCollectionRules/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "string", "name": "kind", "enum": {"items": [{"value": "Linux"}, {"value": "Windows"}]}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataCollectionEndpointId"}, {"type": "array", "name": "dataFlows", "item": {"type": "object", "props": [{"type": "string", "name": "builtInTransform"}, {"type": "array", "name": "destinations", "item": {"type": "string"}}, {"type": "string", "name": "outputStream"}, {"type": "array", "name": "streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-Event"}, {"value": "Microsoft-InsightsMetrics"}, {"value": "Microsoft-Perf"}, {"value": "Microsoft-Syslog"}, {"value": "Microsoft-WindowsEvent"}]}}}, {"type": "string", "name": "transformKql"}]}}, {"type": "object", "name": "dataSources", "props": [{"type": "object", "name": "dataImports", "props": [{"type": "object", "name": "eventHub", "props": [{"type": "string", "name": "consumerGroup"}, {"type": "string", "name": "name"}, {"type": "string", "name": "stream"}]}]}, {"type": "array", "name": "extensions", "item": {"type": "object", "props": [{"type": "string", "name": "extensionName", "required": true}, {"type": "object", "name": "extensionSettings"}, {"type": "array", "name": "inputDataSources", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "array", "name": "streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-Event"}, {"value": "Microsoft-InsightsMetrics"}, {"value": "Microsoft-Perf"}, {"value": "Microsoft-Syslog"}, {"value": "Microsoft-WindowsEvent"}]}}}]}, "identifiers": ["name"]}, {"type": "array", "name": "iisLogs", "item": {"type": "object", "props": [{"type": "array", "name": "logDirectories", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "array", "name": "streams", "required": true, "item": {"type": "string"}}]}, "identifiers": ["name"]}, {"type": "array", "name": "logFiles", "item": {"type": "object", "props": [{"type": "array", "name": "filePatterns", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "format", "required": true, "enum": {"items": [{"value": "text"}]}}, {"type": "string", "name": "name"}, {"type": "object", "name": "settings", "props": [{"type": "object", "name": "text", "props": [{"type": "string", "name": "recordStartTimestampFormat", "required": true, "enum": {"items": [{"value": "ISO 8601"}, {"value": "M/D/YYYY HH:MM:SS AM/PM"}, {"value": "MMM d hh:mm:ss"}, {"value": "Mon DD, YYYY HH:MM:SS"}, {"value": "YYYY-MM-DD HH:MM:SS"}, {"value": "dd/MMM/yyyy:HH:mm:ss zzz"}, {"value": "ddMMyy HH:mm:ss"}, {"value": "yyMMdd HH:mm:ss"}, {"value": "yyyy-MM-ddTHH:mm:ssK"}]}}]}]}, {"type": "array", "name": "streams", "required": true, "item": {"type": "string"}}]}, "identifiers": ["name"]}, {"type": "array", "name": "performanceCounters", "item": {"type": "object", "props": [{"type": "array", "name": "counterSpecifiers", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "integer32", "name": "samplingFrequencyInSeconds"}, {"type": "array", "name": "streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-InsightsMetrics"}, {"value": "Microsoft-Perf"}]}}}]}, "identifiers": ["name"]}, {"type": "array", "name": "platformTelemetry", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "array", "name": "streams", "required": true, "item": {"type": "string"}}]}, "identifiers": ["name"]}, {"type": "array", "name": "prometheusForwarder", "item": {"type": "object", "props": [{"type": "object", "name": "labelIncludeFilter", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "name"}, {"type": "array", "name": "streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-PrometheusMetrics"}]}}}]}, "identifiers": ["name"]}, {"type": "array", "name": "syslog", "item": {"type": "object", "props": [{"type": "array", "name": "facilityNames", "item": {"type": "string", "enum": {"items": [{"value": "*"}, {"value": "auth"}, {"value": "authpriv"}, {"value": "cron"}, {"value": "daemon"}, {"value": "kern"}, {"value": "local0"}, {"value": "local1"}, {"value": "local2"}, {"value": "local3"}, {"value": "local4"}, {"value": "local5"}, {"value": "local6"}, {"value": "local7"}, {"value": "lpr"}, {"value": "mail"}, {"value": "mark"}, {"value": "news"}, {"value": "syslog"}, {"value": "user"}, {"value": "uucp"}]}}}, {"type": "array", "name": "logLevels", "item": {"type": "string", "enum": {"items": [{"value": "*"}, {"value": "Alert"}, {"value": "Critical"}, {"value": "Debug"}, {"value": "Emergency"}, {"value": "Error"}, {"value": "Info"}, {"value": "Notice"}, {"value": "Warning"}]}}}, {"type": "string", "name": "name"}, {"type": "array", "name": "streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-Syslog"}]}}}]}, "identifiers": ["name"]}, {"type": "array", "name": "windowsEventLogs", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "array", "name": "streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-Event"}, {"value": "Microsoft-WindowsEvent"}]}}}, {"type": "array", "name": "xPathQueries", "item": {"type": "string"}}]}, "identifiers": ["name"]}, {"type": "array", "name": "windowsFirewallLogs", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "array", "name": "streams", "required": true, "item": {"type": "string"}}]}, "identifiers": ["name"]}]}, {"type": "string", "name": "description"}, {"type": "object", "name": "destinations", "props": [{"type": "object", "name": "azureMonitorMetrics", "props": [{"type": "string", "name": "name"}]}, {"type": "array", "name": "eventHubs", "item": {"type": "object", "props": [{"type": "string", "name": "eventHubResourceId"}, {"type": "string", "name": "name"}]}, "identifiers": ["name"]}, {"type": "array", "name": "eventHubsDirect", "item": {"type": "object", "props": [{"type": "string", "name": "eventHubResourceId"}, {"type": "string", "name": "name"}]}, "identifiers": ["name"]}, {"type": "array", "name": "logAnalytics", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "workspaceId"}, {"type": "string", "name": "workspaceResourceId"}]}, "identifiers": ["name"]}, {"type": "array", "name": "monitoringAccounts", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"type": "string", "name": "accountResourceId"}, {"type": "string", "name": "name"}]}, "identifiers": ["name"]}, {"type": "array<@StorageBlobDestination_read>", "name": "storageAccounts", "item": {"type": "@StorageBlobDestination_read"}, "identifiers": ["name"]}, {"type": "array<@StorageBlobDestination_read>", "name": "storageBlobsDirect", "item": {"type": "@StorageBlobDestination_read"}, "identifiers": ["name"]}, {"type": "array", "name": "storageTablesDirect", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "storageAccountResourceId"}, {"type": "string", "name": "tableName"}]}, "identifiers": ["name"]}]}, {"readOnly": true, "type": "string", "name": "immutableId"}, {"readOnly": true, "type": "object", "name": "metadata", "props": [{"readOnly": true, "type": "string", "name": "provisionedBy"}, {"readOnly": true, "type": "string", "name": "provisionedByResourceId"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "streamDeclarations", "additionalProps": {"item": {"type": "object", "props": [{"type": "array", "name": "columns", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "boolean"}, {"value": "datetime"}, {"value": "dynamic"}, {"value": "int"}, {"value": "long"}, {"value": "real"}, {"value": "string"}]}}]}, "identifiers": ["name"]}]}}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVz/2022-06-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVz/2022-06-01.xml new file mode 100644 index 000000000..a6c4ce3c4 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVz/2022-06-01.xml @@ -0,0 +1,831 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbmVuZHBvaW50cw==/2022-06-01.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbmVuZHBvaW50cw==/2022-06-01.md new file mode 100644 index 000000000..30fe166ab --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbmVuZHBvaW50cw==/2022-06-01.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/microsoft.insights/datacollectionendpoints 2022-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbmVuZHBvaW50cw==/2022-06-01.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbmVuZHBvaW50cy97fQ==/2022-06-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbmVuZHBvaW50cy97fQ==/2022-06-01.json new file mode 100644 index 000000000..58274c6fe --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbmVuZHBvaW50cy97fQ==/2022-06-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionendpoints/{}", "version": "2022-06-01", "swagger": "mgmt-plane/monitor/ResourceProviders/Microsoft.Insights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSW5zaWdodHMvZGF0YUNvbGxlY3Rpb25FbmRwb2ludHMve2RhdGFDb2xsZWN0aW9uRW5kcG9pbnROYW1lfQ==/V/MjAyMi0wNi0wMQ=="}], "commandGroups": [{"name": "monitor data-collection endpoint", "commands": [{"name": "show", "version": "2022-06-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionendpoints/{}", "version": "2022-06-01", "swagger": "mgmt-plane/monitor/ResourceProviders/Microsoft.Insights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSW5zaWdodHMvZGF0YUNvbGxlY3Rpb25FbmRwb2ludHMve2RhdGFDb2xsZWN0aW9uRW5kcG9pbnROYW1lfQ==/V/MjAyMi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.dataCollectionEndpointName", "options": ["n", "name", "data-collection-endpoint-name"], "required": true, "idPart": "name", "help": {"short": "The name of the data collection endpoint. The name is case insensitive."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "DataCollectionEndpoints_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints/{dataCollectionEndpointName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "dataCollectionEndpointName", "arg": "$Path.dataCollectionEndpointName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/dataCollectionEndpoints/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "string", "name": "kind", "enum": {"items": [{"value": "Linux"}, {"value": "Windows"}]}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "configurationAccess", "props": [{"readOnly": true, "type": "string", "name": "endpoint"}]}, {"type": "string", "name": "description"}, {"readOnly": true, "type": "object", "name": "failoverConfiguration", "props": [{"type": "string", "name": "activeLocation"}, {"type": "array", "name": "locations", "item": {"type": "object", "props": [{"type": "string", "name": "location"}, {"type": "string", "name": "provisioningStatus", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}]}, "identifiers": ["location"]}]}, {"type": "string", "name": "immutableId"}, {"type": "object", "name": "logsIngestion", "props": [{"readOnly": true, "type": "string", "name": "endpoint"}]}, {"readOnly": true, "type": "object", "name": "metadata", "props": [{"readOnly": true, "type": "string", "name": "provisionedBy"}, {"readOnly": true, "type": "string", "name": "provisionedByResourceId"}]}, {"type": "object", "name": "metricsIngestion", "props": [{"readOnly": true, "type": "string", "name": "endpoint"}]}, {"type": "object", "name": "networkAcls", "props": [{"type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "SecuredByPerimeter"}]}}]}, {"readOnly": true, "type": "array", "name": "privateLinkScopedResources", "item": {"type": "object", "props": [{"type": "string", "name": "resourceId"}, {"type": "string", "name": "scopeId"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2022-06-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionendpoints/{}", "version": "2022-06-01", "swagger": "mgmt-plane/monitor/ResourceProviders/Microsoft.Insights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSW5zaWdodHMvZGF0YUNvbGxlY3Rpb25FbmRwb2ludHMve2RhdGFDb2xsZWN0aW9uRW5kcG9pbnROYW1lfQ==/V/MjAyMi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.dataCollectionEndpointName", "options": ["n", "name", "data-collection-endpoint-name"], "required": true, "idPart": "name", "help": {"short": "The name of the data collection endpoint. The name is case insensitive."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "DataCollectionEndpoints_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints/{dataCollectionEndpointName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "dataCollectionEndpointName", "arg": "$Path.dataCollectionEndpointName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2022-06-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionendpoints/{}", "version": "2022-06-01", "swagger": "mgmt-plane/monitor/ResourceProviders/Microsoft.Insights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSW5zaWdodHMvZGF0YUNvbGxlY3Rpb25FbmRwb2ludHMve2RhdGFDb2xsZWN0aW9uRW5kcG9pbnROYW1lfQ==/V/MjAyMi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.dataCollectionEndpointName", "options": ["n", "name", "data-collection-endpoint-name"], "required": true, "idPart": "name", "help": {"short": "The name of the data collection endpoint. The name is case insensitive."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "object", "var": "$body.identity", "options": ["identity"], "group": "", "help": {"short": "Managed service identity of the resource."}, "args": [{"type": "string", "var": "$body.identity.type", "options": ["type"], "required": true, "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned,UserAssigned", "value": "SystemAssigned,UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"type": "object", "var": "$body.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"type": "string", "var": "$body.kind", "options": ["kind"], "group": "", "help": {"short": "The kind of the resource."}, "enum": {"items": [{"name": "Linux", "value": "Linux"}, {"name": "Windows", "value": "Windows"}]}}, {"type": "ResourceLocation", "var": "$body.location", "options": ["l", "location"], "group": "", "help": {"short": "The geo-location where the resource lives."}}, {"type": "string", "var": "$body.properties.description", "options": ["description"], "group": "", "help": {"short": "Description of the association."}}, {"type": "object", "var": "$body.tags", "options": ["tags"], "group": "", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Network Acls", "args": [{"type": "string", "var": "$body.properties.networkAcls.publicNetworkAccess", "options": ["public-network-access"], "group": "Network Acls", "help": {"short": "The configuration to set whether network access from public internet to the endpoints are allowed."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}, {"name": "SecuredByPerimeter", "value": "SecuredByPerimeter"}]}}]}, {"name": "Properties", "args": [{"type": "string", "var": "$body.properties.immutableId", "options": ["immutable-id"], "hide": true, "group": "Properties", "help": {"short": "The immutable ID of this data collection endpoint resource. This property is READ-ONLY."}}]}], "operations": [{"operationId": "DataCollectionEndpoints_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints/{dataCollectionEndpointName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "dataCollectionEndpointName", "arg": "$Path.dataCollectionEndpointName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "body", "props": [{"type": "IdentityObject", "name": "identity", "arg": "$body.identity", "props": [{"type": "string", "name": "type", "arg": "$body.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$body.identity.userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object"}}}]}, {"type": "string", "name": "kind", "arg": "$body.kind", "enum": {"items": [{"value": "Linux"}, {"value": "Windows"}]}}, {"type": "ResourceLocation", "name": "location", "arg": "$body.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "description", "arg": "$body.properties.description"}, {"type": "string", "name": "immutableId", "arg": "$body.properties.immutableId"}, {"type": "object", "name": "networkAcls", "props": [{"type": "string", "name": "publicNetworkAccess", "arg": "$body.properties.networkAcls.publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "SecuredByPerimeter"}]}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$body.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/dataCollectionEndpoints/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "string", "name": "kind", "enum": {"items": [{"value": "Linux"}, {"value": "Windows"}]}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "configurationAccess", "props": [{"readOnly": true, "type": "string", "name": "endpoint"}]}, {"type": "string", "name": "description"}, {"readOnly": true, "type": "object", "name": "failoverConfiguration", "props": [{"type": "string", "name": "activeLocation"}, {"type": "array", "name": "locations", "item": {"type": "object", "props": [{"type": "string", "name": "location"}, {"type": "string", "name": "provisioningStatus", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}]}, "identifiers": ["location"]}]}, {"type": "string", "name": "immutableId"}, {"type": "object", "name": "logsIngestion", "props": [{"readOnly": true, "type": "string", "name": "endpoint"}]}, {"readOnly": true, "type": "object", "name": "metadata", "props": [{"readOnly": true, "type": "string", "name": "provisionedBy"}, {"readOnly": true, "type": "string", "name": "provisionedByResourceId"}]}, {"type": "object", "name": "metricsIngestion", "props": [{"readOnly": true, "type": "string", "name": "endpoint"}]}, {"type": "object", "name": "networkAcls", "props": [{"type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "SecuredByPerimeter"}]}}]}, {"readOnly": true, "type": "array", "name": "privateLinkScopedResources", "item": {"type": "object", "props": [{"type": "string", "name": "resourceId"}, {"type": "string", "name": "scopeId"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2022-06-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionendpoints/{}", "version": "2022-06-01", "swagger": "mgmt-plane/monitor/ResourceProviders/Microsoft.Insights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSW5zaWdodHMvZGF0YUNvbGxlY3Rpb25FbmRwb2ludHMve2RhdGFDb2xsZWN0aW9uRW5kcG9pbnROYW1lfQ==/V/MjAyMi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.dataCollectionEndpointName", "options": ["n", "name", "data-collection-endpoint-name"], "required": true, "idPart": "name", "help": {"short": "The name of the data collection endpoint. The name is case insensitive."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"nullable": true, "type": "object", "var": "$body.identity", "options": ["identity"], "group": "", "help": {"short": "Managed service identity of the resource."}, "args": [{"type": "string", "var": "$body.identity.type", "options": ["type"], "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned,UserAssigned", "value": "SystemAssigned,UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"nullable": true, "type": "object", "var": "$body.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"nullable": true, "type": "string", "var": "$body.kind", "options": ["kind"], "group": "", "help": {"short": "The kind of the resource."}, "enum": {"items": [{"name": "Linux", "value": "Linux"}, {"name": "Windows", "value": "Windows"}]}}, {"nullable": true, "type": "string", "var": "$body.properties.description", "options": ["description"], "group": "", "help": {"short": "Description of the association."}}, {"nullable": true, "type": "object", "var": "$body.tags", "options": ["tags"], "group": "", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Network Acls", "args": [{"nullable": true, "type": "string", "var": "$body.properties.networkAcls.publicNetworkAccess", "options": ["public-network-access"], "group": "Network Acls", "help": {"short": "The configuration to set whether network access from public internet to the endpoints are allowed."}, "enum": {"items": [{"name": "Disabled", "value": "Disabled"}, {"name": "Enabled", "value": "Enabled"}, {"name": "SecuredByPerimeter", "value": "SecuredByPerimeter"}]}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "string", "var": "$body.properties.immutableId", "options": ["immutable-id"], "hide": true, "group": "Properties", "help": {"short": "The immutable ID of this data collection endpoint resource. This property is READ-ONLY."}}]}], "operations": [{"operationId": "DataCollectionEndpoints_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints/{dataCollectionEndpointName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "dataCollectionEndpointName", "arg": "$Path.dataCollectionEndpointName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/dataCollectionEndpoints/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "string", "name": "kind", "enum": {"items": [{"value": "Linux"}, {"value": "Windows"}]}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "object", "name": "configurationAccess", "props": [{"readOnly": true, "type": "string", "name": "endpoint"}]}, {"type": "string", "name": "description"}, {"readOnly": true, "type": "object", "name": "failoverConfiguration", "props": [{"type": "string", "name": "activeLocation"}, {"type": "array", "name": "locations", "item": {"type": "object", "props": [{"type": "string", "name": "location"}, {"type": "string", "name": "provisioningStatus", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}]}, "identifiers": ["location"]}]}, {"type": "string", "name": "immutableId"}, {"type": "object", "name": "logsIngestion", "props": [{"readOnly": true, "type": "string", "name": "endpoint"}]}, {"readOnly": true, "type": "object", "name": "metadata", "props": [{"readOnly": true, "type": "string", "name": "provisionedBy"}, {"readOnly": true, "type": "string", "name": "provisionedByResourceId"}]}, {"type": "object", "name": "metricsIngestion", "props": [{"readOnly": true, "type": "string", "name": "endpoint"}]}, {"type": "object", "name": "networkAcls", "props": [{"type": "string", "name": "publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "SecuredByPerimeter"}]}}]}, {"readOnly": true, "type": "array", "name": "privateLinkScopedResources", "item": {"type": "object", "props": [{"type": "string", "name": "resourceId"}, {"type": "string", "name": "scopeId"}]}}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "DataCollectionEndpointResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "body", "props": [{"type": "IdentityObject", "name": "identity", "arg": "$body.identity", "props": [{"type": "string", "name": "type", "arg": "$body.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$body.identity.userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object"}}}]}, {"type": "string", "name": "kind", "arg": "$body.kind", "enum": {"items": [{"value": "Linux"}, {"value": "Windows"}]}}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "description", "arg": "$body.properties.description"}, {"type": "string", "name": "immutableId", "arg": "$body.properties.immutableId"}, {"type": "object", "name": "networkAcls", "props": [{"type": "string", "name": "publicNetworkAccess", "arg": "$body.properties.networkAcls.publicNetworkAccess", "enum": {"items": [{"value": "Disabled"}, {"value": "Enabled"}, {"value": "SecuredByPerimeter"}]}}]}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$body.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"operationId": "DataCollectionEndpoints_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints/{dataCollectionEndpointName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "dataCollectionEndpointName", "arg": "$Path.dataCollectionEndpointName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@DataCollectionEndpointResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbmVuZHBvaW50cy97fQ==/2022-06-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbmVuZHBvaW50cy97fQ==/2022-06-01.xml new file mode 100644 index 000000000..fac1cf8cb --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbmVuZHBvaW50cy97fQ==/2022-06-01.xml @@ -0,0 +1,783 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbmVuZHBvaW50cy97fS9hc3NvY2lhdGlvbnM=/2022-06-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbmVuZHBvaW50cy97fS9hc3NvY2lhdGlvbnM=/2022-06-01.json new file mode 100644 index 000000000..0f6e9e3f7 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbmVuZHBvaW50cy97fS9hc3NvY2lhdGlvbnM=/2022-06-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionendpoints/{}/associations", "version": "2022-06-01", "swagger": "mgmt-plane/monitor/ResourceProviders/Microsoft.Insights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSW5zaWdodHMvZGF0YUNvbGxlY3Rpb25FbmRwb2ludHMve2RhdGFDb2xsZWN0aW9uRW5kcG9pbnROYW1lfS9hc3NvY2lhdGlvbnM=/V/MjAyMi0wNi0wMQ=="}], "commandGroups": [{"name": "monitor data-collection endpoint association", "commands": [{"name": "list", "version": "2022-06-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionendpoints/{}/associations", "version": "2022-06-01", "swagger": "mgmt-plane/monitor/ResourceProviders/Microsoft.Insights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSW5zaWdodHMvZGF0YUNvbGxlY3Rpb25FbmRwb2ludHMve2RhdGFDb2xsZWN0aW9uRW5kcG9pbnROYW1lfS9hc3NvY2lhdGlvbnM=/V/MjAyMi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.dataCollectionEndpointName", "options": ["n", "name", "data-collection-endpoint-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the data collection endpoint. The name is case insensitive."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "DataCollectionRuleAssociations_ListByDataCollectionEndpoint", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionEndpoints/{dataCollectionEndpointName}/associations", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "dataCollectionEndpointName", "arg": "$Path.dataCollectionEndpointName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataCollectionEndpointId"}, {"type": "string", "name": "dataCollectionRuleId"}, {"type": "string", "name": "description"}, {"readOnly": true, "type": "object", "name": "metadata", "props": [{"readOnly": true, "type": "string", "name": "provisionedBy"}, {"readOnly": true, "type": "string", "name": "provisionedByResourceId"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbmVuZHBvaW50cy97fS9hc3NvY2lhdGlvbnM=/2022-06-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbmVuZHBvaW50cy97fS9hc3NvY2lhdGlvbnM=/2022-06-01.xml new file mode 100644 index 000000000..4799e3fb4 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbmVuZHBvaW50cy97fS9hc3NvY2lhdGlvbnM=/2022-06-01.xml @@ -0,0 +1,105 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVz/2022-06-01.md b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVz/2022-06-01.md new file mode 100644 index 000000000..9daa79f33 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVz/2022-06-01.md @@ -0,0 +1 @@ +Reference [/subscriptions/{}/providers/microsoft.insights/datacollectionrules 2022-06-01](/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVz/2022-06-01.xml) diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9/2022-06-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9/2022-06-01.json new file mode 100644 index 000000000..5ce1173e4 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9/2022-06-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules/{}", "version": "2022-06-01", "swagger": "mgmt-plane/monitor/ResourceProviders/Microsoft.Insights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSW5zaWdodHMvZGF0YUNvbGxlY3Rpb25SdWxlcy97ZGF0YUNvbGxlY3Rpb25SdWxlTmFtZX0=/V/MjAyMi0wNi0wMQ=="}], "commandGroups": [{"name": "monitor data-collection rule", "commands": [{"name": "show", "version": "2022-06-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules/{}", "version": "2022-06-01", "swagger": "mgmt-plane/monitor/ResourceProviders/Microsoft.Insights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSW5zaWdodHMvZGF0YUNvbGxlY3Rpb25SdWxlcy97ZGF0YUNvbGxlY3Rpb25SdWxlTmFtZX0=/V/MjAyMi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.dataCollectionRuleName", "options": ["n", "name", "rule-name", "data-collection-rule-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the data collection rule. The name is case insensitive."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "DataCollectionRules_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dataCollectionRuleName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "dataCollectionRuleName", "arg": "$Path.dataCollectionRuleName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/dataCollectionRules/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "string", "name": "kind", "enum": {"items": [{"value": "Linux"}, {"value": "Windows"}]}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataCollectionEndpointId"}, {"type": "array", "name": "dataFlows", "item": {"type": "object", "props": [{"type": "string", "name": "builtInTransform"}, {"type": "array", "name": "destinations", "item": {"type": "string"}}, {"type": "string", "name": "outputStream"}, {"type": "array", "name": "streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-Event"}, {"value": "Microsoft-InsightsMetrics"}, {"value": "Microsoft-Perf"}, {"value": "Microsoft-Syslog"}, {"value": "Microsoft-WindowsEvent"}]}}}, {"type": "string", "name": "transformKql"}]}}, {"type": "object", "name": "dataSources", "props": [{"type": "object", "name": "dataImports", "props": [{"type": "object", "name": "eventHub", "props": [{"type": "string", "name": "consumerGroup"}, {"type": "string", "name": "name"}, {"type": "string", "name": "stream"}]}]}, {"type": "array", "name": "extensions", "item": {"type": "object", "props": [{"type": "string", "name": "extensionName", "required": true}, {"type": "object", "name": "extensionSettings"}, {"type": "array", "name": "inputDataSources", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "array", "name": "streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-Event"}, {"value": "Microsoft-InsightsMetrics"}, {"value": "Microsoft-Perf"}, {"value": "Microsoft-Syslog"}, {"value": "Microsoft-WindowsEvent"}]}}}]}, "identifiers": ["name"]}, {"type": "array", "name": "iisLogs", "item": {"type": "object", "props": [{"type": "array", "name": "logDirectories", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "array", "name": "streams", "required": true, "item": {"type": "string"}}]}, "identifiers": ["name"]}, {"type": "array", "name": "logFiles", "item": {"type": "object", "props": [{"type": "array", "name": "filePatterns", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "format", "required": true, "enum": {"items": [{"value": "text"}]}}, {"type": "string", "name": "name"}, {"type": "object", "name": "settings", "props": [{"type": "object", "name": "text", "props": [{"type": "string", "name": "recordStartTimestampFormat", "required": true, "enum": {"items": [{"value": "ISO 8601"}, {"value": "M/D/YYYY HH:MM:SS AM/PM"}, {"value": "MMM d hh:mm:ss"}, {"value": "Mon DD, YYYY HH:MM:SS"}, {"value": "YYYY-MM-DD HH:MM:SS"}, {"value": "dd/MMM/yyyy:HH:mm:ss zzz"}, {"value": "ddMMyy HH:mm:ss"}, {"value": "yyMMdd HH:mm:ss"}, {"value": "yyyy-MM-ddTHH:mm:ssK"}]}}]}]}, {"type": "array", "name": "streams", "required": true, "item": {"type": "string"}}]}, "identifiers": ["name"]}, {"type": "array", "name": "performanceCounters", "item": {"type": "object", "props": [{"type": "array", "name": "counterSpecifiers", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "integer32", "name": "samplingFrequencyInSeconds"}, {"type": "array", "name": "streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-InsightsMetrics"}, {"value": "Microsoft-Perf"}]}}}]}, "identifiers": ["name"]}, {"type": "array", "name": "platformTelemetry", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "array", "name": "streams", "required": true, "item": {"type": "string"}}]}, "identifiers": ["name"]}, {"type": "array", "name": "prometheusForwarder", "item": {"type": "object", "props": [{"type": "object", "name": "labelIncludeFilter", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "name"}, {"type": "array", "name": "streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-PrometheusMetrics"}]}}}]}, "identifiers": ["name"]}, {"type": "array", "name": "syslog", "item": {"type": "object", "props": [{"type": "array", "name": "facilityNames", "item": {"type": "string", "enum": {"items": [{"value": "*"}, {"value": "auth"}, {"value": "authpriv"}, {"value": "cron"}, {"value": "daemon"}, {"value": "kern"}, {"value": "local0"}, {"value": "local1"}, {"value": "local2"}, {"value": "local3"}, {"value": "local4"}, {"value": "local5"}, {"value": "local6"}, {"value": "local7"}, {"value": "lpr"}, {"value": "mail"}, {"value": "mark"}, {"value": "news"}, {"value": "syslog"}, {"value": "user"}, {"value": "uucp"}]}}}, {"type": "array", "name": "logLevels", "item": {"type": "string", "enum": {"items": [{"value": "*"}, {"value": "Alert"}, {"value": "Critical"}, {"value": "Debug"}, {"value": "Emergency"}, {"value": "Error"}, {"value": "Info"}, {"value": "Notice"}, {"value": "Warning"}]}}}, {"type": "string", "name": "name"}, {"type": "array", "name": "streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-Syslog"}]}}}]}, "identifiers": ["name"]}, {"type": "array", "name": "windowsEventLogs", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "array", "name": "streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-Event"}, {"value": "Microsoft-WindowsEvent"}]}}}, {"type": "array", "name": "xPathQueries", "item": {"type": "string"}}]}, "identifiers": ["name"]}, {"type": "array", "name": "windowsFirewallLogs", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "array", "name": "streams", "required": true, "item": {"type": "string"}}]}, "identifiers": ["name"]}]}, {"type": "string", "name": "description"}, {"type": "object", "name": "destinations", "props": [{"type": "object", "name": "azureMonitorMetrics", "props": [{"type": "string", "name": "name"}]}, {"type": "array", "name": "eventHubs", "item": {"type": "object", "props": [{"type": "string", "name": "eventHubResourceId"}, {"type": "string", "name": "name"}]}, "identifiers": ["name"]}, {"type": "array", "name": "eventHubsDirect", "item": {"type": "object", "props": [{"type": "string", "name": "eventHubResourceId"}, {"type": "string", "name": "name"}]}, "identifiers": ["name"]}, {"type": "array", "name": "logAnalytics", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "workspaceId"}, {"type": "string", "name": "workspaceResourceId"}]}, "identifiers": ["name"]}, {"type": "array", "name": "monitoringAccounts", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"type": "string", "name": "accountResourceId"}, {"type": "string", "name": "name"}]}, "identifiers": ["name"]}, {"type": "array<@StorageBlobDestination_read>", "name": "storageAccounts", "item": {"type": "@StorageBlobDestination_read"}, "identifiers": ["name"]}, {"type": "array", "name": "storageBlobsDirect", "item": {"type": "object", "props": [{"type": "string", "name": "containerName"}, {"type": "string", "name": "name"}, {"type": "string", "name": "storageAccountResourceId"}], "cls": "StorageBlobDestination_read"}, "identifiers": ["name"]}, {"type": "array", "name": "storageTablesDirect", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "storageAccountResourceId"}, {"type": "string", "name": "tableName"}]}, "identifiers": ["name"]}]}, {"readOnly": true, "type": "string", "name": "immutableId"}, {"readOnly": true, "type": "object", "name": "metadata", "props": [{"readOnly": true, "type": "string", "name": "provisionedBy"}, {"readOnly": true, "type": "string", "name": "provisionedByResourceId"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "streamDeclarations", "additionalProps": {"item": {"type": "object", "props": [{"type": "array", "name": "columns", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "boolean"}, {"value": "datetime"}, {"value": "dynamic"}, {"value": "int"}, {"value": "long"}, {"value": "real"}, {"value": "string"}]}}]}, "identifiers": ["name"]}]}}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}], "confirmation": ""}, {"name": "delete", "version": "2022-06-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules/{}", "version": "2022-06-01", "swagger": "mgmt-plane/monitor/ResourceProviders/Microsoft.Insights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSW5zaWdodHMvZGF0YUNvbGxlY3Rpb25SdWxlcy97ZGF0YUNvbGxlY3Rpb25SdWxlTmFtZX0=/V/MjAyMi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.dataCollectionRuleName", "options": ["n", "name", "rule-name", "data-collection-rule-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the data collection rule. The name is case insensitive."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "DataCollectionRules_Delete", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dataCollectionRuleName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "dataCollectionRuleName", "arg": "$Path.dataCollectionRuleName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2022-06-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules/{}", "version": "2022-06-01", "swagger": "mgmt-plane/monitor/ResourceProviders/Microsoft.Insights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSW5zaWdodHMvZGF0YUNvbGxlY3Rpb25SdWxlcy97ZGF0YUNvbGxlY3Rpb25SdWxlTmFtZX0=/V/MjAyMi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.dataCollectionRuleName", "options": ["n", "name", "rule-name", "data-collection-rule-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the data collection rule. The name is case insensitive."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"type": "object", "var": "$body.identity", "options": ["identity"], "group": "", "help": {"short": "Managed service identity of the resource."}, "args": [{"type": "string", "var": "$body.identity.type", "options": ["type"], "required": true, "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned,UserAssigned", "value": "SystemAssigned,UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"type": "object", "var": "$body.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"type": "string", "var": "$body.kind", "options": ["kind"], "group": "", "help": {"short": "The kind of the resource."}, "enum": {"items": [{"name": "Linux", "value": "Linux"}, {"name": "Windows", "value": "Windows"}]}}, {"type": "ResourceLocation", "var": "$body.location", "options": ["l", "location"], "group": "", "help": {"short": "The geo-location where the resource lives."}}, {"type": "string", "var": "$body.properties.dataCollectionEndpointId", "options": ["endpoint-id", "data-collection-endpoint-id"], "group": "", "help": {"short": "The resource ID of the data collection endpoint that is to be associated."}}, {"type": "string", "var": "$body.properties.description", "options": ["description"], "group": "", "help": {"short": "Description of the association."}}, {"type": "object", "var": "$body.tags", "options": ["tags"], "group": "", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"type": "string"}}}]}, {"name": "Properties", "args": [{"type": "array", "var": "$body.properties.dataFlows", "options": ["data-flows"], "group": "Properties", "help": {"short": "The specification of data flows."}, "item": {"type": "object", "args": [{"type": "string", "var": "$body.properties.dataFlows[].builtInTransform", "options": ["built-in-transform"], "help": {"short": "The builtIn transform to transform stream data"}}, {"type": "array", "var": "$body.properties.dataFlows[].destinations", "options": ["destinations"], "help": {"short": "List of destinations for this data flow."}, "item": {"type": "string"}}, {"type": "string", "var": "$body.properties.dataFlows[].outputStream", "options": ["output-stream"], "group": "", "help": {"short": "The output stream of the transform. Only required if the transform changes data to a different stream."}}, {"type": "array", "var": "$body.properties.dataFlows[].streams", "options": ["streams"], "help": {"short": "List of streams for this data flow."}, "item": {"type": "string", "enum": {"items": [{"name": "Microsoft-Event", "value": "Microsoft-Event"}, {"name": "Microsoft-InsightsMetrics", "value": "Microsoft-InsightsMetrics"}, {"name": "Microsoft-Perf", "value": "Microsoft-Perf"}, {"name": "Microsoft-Syslog", "value": "Microsoft-Syslog"}, {"name": "Microsoft-WindowsEvent", "value": "Microsoft-WindowsEvent"}]}}}, {"type": "string", "var": "$body.properties.dataFlows[].transformKql", "options": ["transform-kql"], "help": {"short": "The KQL query to transform stream data."}}]}}, {"type": "object", "var": "$body.properties.dataSources", "options": ["data-sources"], "group": "Properties", "help": {"short": "The specification of data sources. This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint."}, "args": [{"type": "object", "var": "$body.properties.dataSources.dataImports", "options": ["data-imports"], "help": {"short": "Specifications of pull based data sources"}, "args": [{"type": "object", "var": "$body.properties.dataSources.dataImports.eventHub", "options": ["event-hub"], "help": {"short": "Definition of Event Hub configuration."}, "args": [{"type": "string", "var": "$body.properties.dataSources.dataImports.eventHub.consumerGroup", "options": ["consumer-group"], "help": {"short": "Event Hub consumer group name"}}, {"type": "string", "var": "$body.properties.dataSources.dataImports.eventHub.name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule."}}, {"type": "string", "var": "$body.properties.dataSources.dataImports.eventHub.stream", "options": ["stream"], "help": {"short": "The stream to collect from EventHub"}}]}]}, {"type": "array", "var": "$body.properties.dataSources.extensions", "options": ["extensions"], "help": {"short": "The list of Azure VM extension data source configurations."}, "item": {"type": "object", "args": [{"type": "string", "var": "$body.properties.dataSources.extensions[].extensionName", "options": ["extension-name"], "required": true, "help": {"short": "The name of the VM extension."}}, {"blank": {"value": {}}, "type": "object", "var": "$body.properties.dataSources.extensions[].extensionSettings", "options": ["extension-settings"], "help": {"short": "The extension settings. The format is specific for particular extension."}}, {"type": "array", "var": "$body.properties.dataSources.extensions[].inputDataSources", "options": ["input-data-sources"], "help": {"short": "The list of data sources this extension needs data from."}, "item": {"type": "string"}}, {"type": "string", "var": "$body.properties.dataSources.extensions[].name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule."}}, {"type": "array", "var": "$body.properties.dataSources.extensions[].streams", "options": ["streams"], "group": "", "help": {"short": "List of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to."}, "item": {"type": "string", "enum": {"items": [{"name": "Microsoft-Event", "value": "Microsoft-Event"}, {"name": "Microsoft-InsightsMetrics", "value": "Microsoft-InsightsMetrics"}, {"name": "Microsoft-Perf", "value": "Microsoft-Perf"}, {"name": "Microsoft-Syslog", "value": "Microsoft-Syslog"}, {"name": "Microsoft-WindowsEvent", "value": "Microsoft-WindowsEvent"}]}}}]}}, {"type": "array", "var": "$body.properties.dataSources.iisLogs", "options": ["iis-logs"], "help": {"short": "The list of IIS logs source configurations."}, "item": {"type": "object", "args": [{"type": "array", "var": "$body.properties.dataSources.iisLogs[].logDirectories", "options": ["log-directories"], "help": {"short": "Absolute paths file location"}, "item": {"type": "string"}}, {"type": "string", "var": "$body.properties.dataSources.iisLogs[].name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule."}}, {"type": "array", "var": "$body.properties.dataSources.iisLogs[].streams", "options": ["streams"], "required": true, "help": {"short": "IIS streams"}, "item": {"type": "string"}}]}}, {"type": "array", "var": "$body.properties.dataSources.logFiles", "options": ["log-files"], "help": {"short": "The list of Log files source configurations."}, "item": {"type": "object", "args": [{"type": "array", "var": "$body.properties.dataSources.logFiles[].filePatterns", "options": ["file-patterns"], "required": true, "help": {"short": "File Patterns where the log files are located"}, "item": {"type": "string"}}, {"type": "string", "var": "$body.properties.dataSources.logFiles[].format", "options": ["format"], "required": true, "help": {"short": "The data format of the log files"}, "enum": {"items": [{"name": "text", "value": "text"}]}}, {"type": "string", "var": "$body.properties.dataSources.logFiles[].name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule."}}, {"type": "object", "var": "$body.properties.dataSources.logFiles[].settings", "options": ["settings"], "help": {"short": "The log files specific settings."}, "args": [{"type": "object", "var": "$body.properties.dataSources.logFiles[].settings.text", "options": ["text"], "help": {"short": "Text settings"}, "args": [{"type": "string", "var": "$body.properties.dataSources.logFiles[].settings.text.recordStartTimestampFormat", "options": ["record-start-timestamp-format"], "required": true, "help": {"short": "One of the supported timestamp formats"}, "enum": {"items": [{"name": "ISO 8601", "value": "ISO 8601"}, {"name": "M/D/YYYY HH:MM:SS AM/PM", "value": "M/D/YYYY HH:MM:SS AM/PM"}, {"name": "MMM d hh:mm:ss", "value": "MMM d hh:mm:ss"}, {"name": "Mon DD, YYYY HH:MM:SS", "value": "Mon DD, YYYY HH:MM:SS"}, {"name": "YYYY-MM-DD HH:MM:SS", "value": "YYYY-MM-DD HH:MM:SS"}, {"name": "dd/MMM/yyyy:HH:mm:ss zzz", "value": "dd/MMM/yyyy:HH:mm:ss zzz"}, {"name": "ddMMyy HH:mm:ss", "value": "ddMMyy HH:mm:ss"}, {"name": "yyMMdd HH:mm:ss", "value": "yyMMdd HH:mm:ss"}, {"name": "yyyy-MM-ddTHH:mm:ssK", "value": "yyyy-MM-ddTHH:mm:ssK"}]}}]}]}, {"type": "array", "var": "$body.properties.dataSources.logFiles[].streams", "options": ["streams"], "required": true, "group": "", "help": {"short": "List of streams that this data source will be sent to. A stream indicates what schema will be used for this data source"}, "item": {"type": "string"}}]}}, {"type": "array", "var": "$body.properties.dataSources.performanceCounters", "options": ["performance-counters"], "help": {"short": "The list of performance counter data source configurations."}, "item": {"type": "object", "args": [{"type": "array", "var": "$body.properties.dataSources.performanceCounters[].counterSpecifiers", "options": ["counter-specifiers"], "group": "", "help": {"short": "A list of specifier names of the performance counters you want to collect. Use a wildcard (*) to collect a counter for all instances. To get a list of performance counters on Windows, run the command 'typeperf'."}, "item": {"type": "string"}}, {"type": "string", "var": "$body.properties.dataSources.performanceCounters[].name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule."}}, {"type": "integer32", "var": "$body.properties.dataSources.performanceCounters[].samplingFrequencyInSeconds", "options": ["sampling-frequency-in-seconds"], "help": {"short": "The number of seconds between consecutive counter measurements (samples)."}}, {"type": "array", "var": "$body.properties.dataSources.performanceCounters[].streams", "options": ["streams"], "group": "", "help": {"short": "List of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to."}, "item": {"type": "string", "enum": {"items": [{"name": "Microsoft-InsightsMetrics", "value": "Microsoft-InsightsMetrics"}, {"name": "Microsoft-Perf", "value": "Microsoft-Perf"}]}}}]}}, {"type": "array", "var": "$body.properties.dataSources.platformTelemetry", "options": ["platform-telemetry"], "help": {"short": "The list of platform telemetry configurations"}, "item": {"type": "object", "args": [{"type": "string", "var": "$body.properties.dataSources.platformTelemetry[].name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule."}}, {"type": "array", "var": "$body.properties.dataSources.platformTelemetry[].streams", "options": ["streams"], "required": true, "help": {"short": "List of platform telemetry streams to collect"}, "item": {"type": "string"}}]}}, {"type": "array", "var": "$body.properties.dataSources.prometheusForwarder", "options": ["prometheus-forwarder"], "help": {"short": "The list of Prometheus forwarder data source configurations."}, "item": {"type": "object", "args": [{"type": "object", "var": "$body.properties.dataSources.prometheusForwarder[].labelIncludeFilter", "options": ["label-include-filter"], "group": "", "help": {"short": "The list of label inclusion filters in the form of label \"name-value\" pairs. Currently only one label is supported: 'microsoft_metrics_include_label'. Label values are matched case-insensitively."}, "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "var": "$body.properties.dataSources.prometheusForwarder[].name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule."}}, {"type": "array", "var": "$body.properties.dataSources.prometheusForwarder[].streams", "options": ["streams"], "help": {"short": "List of streams that this data source will be sent to."}, "item": {"type": "string", "enum": {"items": [{"name": "Microsoft-PrometheusMetrics", "value": "Microsoft-PrometheusMetrics"}]}}}]}}, {"type": "array", "var": "$body.properties.dataSources.syslog", "options": ["syslog"], "help": {"short": "The list of Syslog data source configurations."}, "item": {"type": "object", "args": [{"type": "array", "var": "$body.properties.dataSources.syslog[].facilityNames", "options": ["facility-names"], "help": {"short": "The list of facility names."}, "item": {"type": "string", "enum": {"items": [{"name": "*", "value": "*"}, {"name": "auth", "value": "auth"}, {"name": "authpriv", "value": "authpriv"}, {"name": "cron", "value": "cron"}, {"name": "daemon", "value": "daemon"}, {"name": "kern", "value": "kern"}, {"name": "local0", "value": "local0"}, {"name": "local1", "value": "local1"}, {"name": "local2", "value": "local2"}, {"name": "local3", "value": "local3"}, {"name": "local4", "value": "local4"}, {"name": "local5", "value": "local5"}, {"name": "local6", "value": "local6"}, {"name": "local7", "value": "local7"}, {"name": "lpr", "value": "lpr"}, {"name": "mail", "value": "mail"}, {"name": "mark", "value": "mark"}, {"name": "news", "value": "news"}, {"name": "syslog", "value": "syslog"}, {"name": "user", "value": "user"}, {"name": "uucp", "value": "uucp"}]}}}, {"type": "array", "var": "$body.properties.dataSources.syslog[].logLevels", "options": ["log-levels"], "help": {"short": "The log levels to collect."}, "item": {"type": "string", "enum": {"items": [{"name": "*", "value": "*"}, {"name": "Alert", "value": "Alert"}, {"name": "Critical", "value": "Critical"}, {"name": "Debug", "value": "Debug"}, {"name": "Emergency", "value": "Emergency"}, {"name": "Error", "value": "Error"}, {"name": "Info", "value": "Info"}, {"name": "Notice", "value": "Notice"}, {"name": "Warning", "value": "Warning"}]}}}, {"type": "string", "var": "$body.properties.dataSources.syslog[].name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule."}}, {"type": "array", "var": "$body.properties.dataSources.syslog[].streams", "options": ["streams"], "group": "", "help": {"short": "List of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to."}, "item": {"type": "string", "enum": {"items": [{"name": "Microsoft-Syslog", "value": "Microsoft-Syslog"}]}}}]}}, {"type": "array", "var": "$body.properties.dataSources.windowsEventLogs", "options": ["windows-event-logs"], "help": {"short": "The list of Windows Event Log data source configurations."}, "item": {"type": "object", "args": [{"type": "string", "var": "$body.properties.dataSources.windowsEventLogs[].name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule."}}, {"type": "array", "var": "$body.properties.dataSources.windowsEventLogs[].streams", "options": ["streams"], "group": "", "help": {"short": "List of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to."}, "item": {"type": "string", "enum": {"items": [{"name": "Microsoft-Event", "value": "Microsoft-Event"}, {"name": "Microsoft-WindowsEvent", "value": "Microsoft-WindowsEvent"}]}}}, {"type": "array", "var": "$body.properties.dataSources.windowsEventLogs[].xPathQueries", "options": ["x-path-queries"], "help": {"short": "A list of Windows Event Log queries in XPATH format."}, "item": {"type": "string"}}]}}, {"type": "array", "var": "$body.properties.dataSources.windowsFirewallLogs", "options": ["windows-firewall-logs"], "help": {"short": "The list of Windows Firewall logs source configurations."}, "item": {"type": "object", "args": [{"type": "string", "var": "$body.properties.dataSources.windowsFirewallLogs[].name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule."}}, {"type": "array", "var": "$body.properties.dataSources.windowsFirewallLogs[].streams", "options": ["streams"], "required": true, "help": {"short": "Firewall logs streams"}, "item": {"type": "string"}}]}}]}, {"type": "object", "var": "$body.properties.destinations", "options": ["destinations"], "group": "Properties", "help": {"short": "The specification of destinations."}, "args": [{"type": "object", "var": "$body.properties.destinations.azureMonitorMetrics", "options": ["azure-monitor-metrics"], "help": {"short": "Azure Monitor Metrics destination."}, "args": [{"type": "string", "var": "$body.properties.destinations.azureMonitorMetrics.name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the destination. This name should be unique across all destinations (regardless of type) within the data collection rule."}}]}, {"type": "array", "var": "$body.properties.destinations.eventHubs", "options": ["event-hubs"], "help": {"short": "List of Event Hubs destinations."}, "item": {"type": "object", "args": [{"type": "string", "var": "$body.properties.destinations.eventHubs[].eventHubResourceId", "options": ["event-hub-resource-id"], "help": {"short": "The resource ID of the event hub."}}, {"type": "string", "var": "$body.properties.destinations.eventHubs[].name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the destination. This name should be unique across all destinations (regardless of type) within the data collection rule."}}]}}, {"type": "array", "var": "$body.properties.destinations.eventHubsDirect", "options": ["event-hubs-direct"], "help": {"short": "List of Event Hubs Direct destinations."}, "item": {"type": "object", "args": [{"type": "string", "var": "$body.properties.destinations.eventHubsDirect[].eventHubResourceId", "options": ["event-hub-resource-id"], "help": {"short": "The resource ID of the event hub."}}, {"type": "string", "var": "$body.properties.destinations.eventHubsDirect[].name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the destination. This name should be unique across all destinations (regardless of type) within the data collection rule."}}]}}, {"type": "array", "var": "$body.properties.destinations.logAnalytics", "options": ["log-analytics"], "help": {"short": "List of Log Analytics destinations."}, "item": {"type": "object", "args": [{"type": "string", "var": "$body.properties.destinations.logAnalytics[].name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the destination. This name should be unique across all destinations (regardless of type) within the data collection rule."}}, {"type": "string", "var": "$body.properties.destinations.logAnalytics[].workspaceResourceId", "options": ["workspace-resource-id"], "help": {"short": "The resource ID of the Log Analytics workspace."}}]}}, {"type": "array", "var": "$body.properties.destinations.monitoringAccounts", "options": ["monitoring-accounts"], "help": {"short": "List of monitoring account destinations."}, "item": {"type": "object", "args": [{"type": "string", "var": "$body.properties.destinations.monitoringAccounts[].accountResourceId", "options": ["account-resource-id"], "help": {"short": "The resource ID of the monitoring account."}}, {"type": "string", "var": "$body.properties.destinations.monitoringAccounts[].name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the destination. This name should be unique across all destinations (regardless of type) within the data collection rule."}}]}}, {"type": "array<@StorageBlobDestination_create>", "var": "$body.properties.destinations.storageAccounts", "options": ["storage-accounts"], "help": {"short": "List of storage accounts destinations."}, "item": {"type": "@StorageBlobDestination_create"}}, {"type": "array", "var": "$body.properties.destinations.storageBlobsDirect", "options": ["storage-blobs-direct"], "help": {"short": "List of Storage Blob Direct destinations. To be used only for sending data directly to store from the agent."}, "item": {"type": "object", "args": [{"type": "string", "var": "@StorageBlobDestination_create.containerName", "options": ["container-name"], "help": {"short": "The container name of the Storage Blob."}}, {"type": "string", "var": "@StorageBlobDestination_create.name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the destination. This name should be unique across all destinations (regardless of type) within the data collection rule."}}, {"type": "string", "var": "@StorageBlobDestination_create.storageAccountResourceId", "options": ["storage-account-resource-id"], "help": {"short": "The resource ID of the storage account."}}], "cls": "StorageBlobDestination_create"}}, {"type": "array", "var": "$body.properties.destinations.storageTablesDirect", "options": ["storage-tables-direct"], "help": {"short": "List of Storage Table Direct destinations."}, "item": {"type": "object", "args": [{"type": "string", "var": "$body.properties.destinations.storageTablesDirect[].name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the destination. This name should be unique across all destinations (regardless of type) within the data collection rule."}}, {"type": "string", "var": "$body.properties.destinations.storageTablesDirect[].storageAccountResourceId", "options": ["storage-account-resource-id"], "help": {"short": "The resource ID of the storage account."}}, {"type": "string", "var": "$body.properties.destinations.storageTablesDirect[].tableName", "options": ["table-name"], "help": {"short": "The name of the Storage Table."}}]}}]}, {"type": "object", "var": "$body.properties.streamDeclarations", "options": ["stream-declarations"], "group": "Properties", "help": {"short": "Declaration of custom streams used in this rule."}, "additionalProps": {"item": {"type": "object", "args": [{"type": "array", "var": "$body.properties.streamDeclarations{}.columns", "options": ["columns"], "help": {"short": "List of columns used by data in this stream."}, "item": {"type": "object", "args": [{"type": "string", "var": "$body.properties.streamDeclarations{}.columns[].name", "options": ["name"], "help": {"short": "The name of the column."}}, {"type": "string", "var": "$body.properties.streamDeclarations{}.columns[].type", "options": ["type"], "help": {"short": "The type of the column data."}, "enum": {"items": [{"name": "boolean", "value": "boolean"}, {"name": "datetime", "value": "datetime"}, {"name": "dynamic", "value": "dynamic"}, {"name": "int", "value": "int"}, {"name": "long", "value": "long"}, {"name": "real", "value": "real"}, {"name": "string", "value": "string"}]}}]}}]}}}]}], "operations": [{"operationId": "DataCollectionRules_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dataCollectionRuleName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "dataCollectionRuleName", "arg": "$Path.dataCollectionRuleName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "body", "props": [{"type": "IdentityObject", "name": "identity", "arg": "$body.identity", "props": [{"type": "string", "name": "type", "arg": "$body.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$body.identity.userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object"}}}]}, {"type": "string", "name": "kind", "arg": "$body.kind", "enum": {"items": [{"value": "Linux"}, {"value": "Windows"}]}}, {"type": "ResourceLocation", "name": "location", "arg": "$body.location", "required": true}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataCollectionEndpointId", "arg": "$body.properties.dataCollectionEndpointId"}, {"type": "array", "name": "dataFlows", "arg": "$body.properties.dataFlows", "item": {"type": "object", "props": [{"type": "string", "name": "builtInTransform", "arg": "$body.properties.dataFlows[].builtInTransform"}, {"type": "array", "name": "destinations", "arg": "$body.properties.dataFlows[].destinations", "item": {"type": "string"}}, {"type": "string", "name": "outputStream", "arg": "$body.properties.dataFlows[].outputStream"}, {"type": "array", "name": "streams", "arg": "$body.properties.dataFlows[].streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-Event"}, {"value": "Microsoft-InsightsMetrics"}, {"value": "Microsoft-Perf"}, {"value": "Microsoft-Syslog"}, {"value": "Microsoft-WindowsEvent"}]}}}, {"type": "string", "name": "transformKql", "arg": "$body.properties.dataFlows[].transformKql"}]}}, {"type": "object", "name": "dataSources", "arg": "$body.properties.dataSources", "props": [{"type": "object", "name": "dataImports", "arg": "$body.properties.dataSources.dataImports", "props": [{"type": "object", "name": "eventHub", "arg": "$body.properties.dataSources.dataImports.eventHub", "props": [{"type": "string", "name": "consumerGroup", "arg": "$body.properties.dataSources.dataImports.eventHub.consumerGroup"}, {"type": "string", "name": "name", "arg": "$body.properties.dataSources.dataImports.eventHub.name"}, {"type": "string", "name": "stream", "arg": "$body.properties.dataSources.dataImports.eventHub.stream"}]}]}, {"type": "array", "name": "extensions", "arg": "$body.properties.dataSources.extensions", "item": {"type": "object", "props": [{"type": "string", "name": "extensionName", "arg": "$body.properties.dataSources.extensions[].extensionName", "required": true}, {"type": "object", "name": "extensionSettings", "arg": "$body.properties.dataSources.extensions[].extensionSettings"}, {"type": "array", "name": "inputDataSources", "arg": "$body.properties.dataSources.extensions[].inputDataSources", "item": {"type": "string"}}, {"type": "string", "name": "name", "arg": "$body.properties.dataSources.extensions[].name"}, {"type": "array", "name": "streams", "arg": "$body.properties.dataSources.extensions[].streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-Event"}, {"value": "Microsoft-InsightsMetrics"}, {"value": "Microsoft-Perf"}, {"value": "Microsoft-Syslog"}, {"value": "Microsoft-WindowsEvent"}]}}}]}, "identifiers": ["name"]}, {"type": "array", "name": "iisLogs", "arg": "$body.properties.dataSources.iisLogs", "item": {"type": "object", "props": [{"type": "array", "name": "logDirectories", "arg": "$body.properties.dataSources.iisLogs[].logDirectories", "item": {"type": "string"}}, {"type": "string", "name": "name", "arg": "$body.properties.dataSources.iisLogs[].name"}, {"type": "array", "name": "streams", "arg": "$body.properties.dataSources.iisLogs[].streams", "required": true, "item": {"type": "string"}}]}, "identifiers": ["name"]}, {"type": "array", "name": "logFiles", "arg": "$body.properties.dataSources.logFiles", "item": {"type": "object", "props": [{"type": "array", "name": "filePatterns", "arg": "$body.properties.dataSources.logFiles[].filePatterns", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "format", "arg": "$body.properties.dataSources.logFiles[].format", "required": true, "enum": {"items": [{"value": "text"}]}}, {"type": "string", "name": "name", "arg": "$body.properties.dataSources.logFiles[].name"}, {"type": "object", "name": "settings", "arg": "$body.properties.dataSources.logFiles[].settings", "props": [{"type": "object", "name": "text", "arg": "$body.properties.dataSources.logFiles[].settings.text", "props": [{"type": "string", "name": "recordStartTimestampFormat", "arg": "$body.properties.dataSources.logFiles[].settings.text.recordStartTimestampFormat", "required": true, "enum": {"items": [{"value": "ISO 8601"}, {"value": "M/D/YYYY HH:MM:SS AM/PM"}, {"value": "MMM d hh:mm:ss"}, {"value": "Mon DD, YYYY HH:MM:SS"}, {"value": "YYYY-MM-DD HH:MM:SS"}, {"value": "dd/MMM/yyyy:HH:mm:ss zzz"}, {"value": "ddMMyy HH:mm:ss"}, {"value": "yyMMdd HH:mm:ss"}, {"value": "yyyy-MM-ddTHH:mm:ssK"}]}}]}]}, {"type": "array", "name": "streams", "arg": "$body.properties.dataSources.logFiles[].streams", "required": true, "item": {"type": "string"}}]}, "identifiers": ["name"]}, {"type": "array", "name": "performanceCounters", "arg": "$body.properties.dataSources.performanceCounters", "item": {"type": "object", "props": [{"type": "array", "name": "counterSpecifiers", "arg": "$body.properties.dataSources.performanceCounters[].counterSpecifiers", "item": {"type": "string"}}, {"type": "string", "name": "name", "arg": "$body.properties.dataSources.performanceCounters[].name"}, {"type": "integer32", "name": "samplingFrequencyInSeconds", "arg": "$body.properties.dataSources.performanceCounters[].samplingFrequencyInSeconds"}, {"type": "array", "name": "streams", "arg": "$body.properties.dataSources.performanceCounters[].streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-InsightsMetrics"}, {"value": "Microsoft-Perf"}]}}}]}, "identifiers": ["name"]}, {"type": "array", "name": "platformTelemetry", "arg": "$body.properties.dataSources.platformTelemetry", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$body.properties.dataSources.platformTelemetry[].name"}, {"type": "array", "name": "streams", "arg": "$body.properties.dataSources.platformTelemetry[].streams", "required": true, "item": {"type": "string"}}]}, "identifiers": ["name"]}, {"type": "array", "name": "prometheusForwarder", "arg": "$body.properties.dataSources.prometheusForwarder", "item": {"type": "object", "props": [{"type": "object", "name": "labelIncludeFilter", "arg": "$body.properties.dataSources.prometheusForwarder[].labelIncludeFilter", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "name", "arg": "$body.properties.dataSources.prometheusForwarder[].name"}, {"type": "array", "name": "streams", "arg": "$body.properties.dataSources.prometheusForwarder[].streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-PrometheusMetrics"}]}}}]}, "identifiers": ["name"]}, {"type": "array", "name": "syslog", "arg": "$body.properties.dataSources.syslog", "item": {"type": "object", "props": [{"type": "array", "name": "facilityNames", "arg": "$body.properties.dataSources.syslog[].facilityNames", "item": {"type": "string", "enum": {"items": [{"value": "*"}, {"value": "auth"}, {"value": "authpriv"}, {"value": "cron"}, {"value": "daemon"}, {"value": "kern"}, {"value": "local0"}, {"value": "local1"}, {"value": "local2"}, {"value": "local3"}, {"value": "local4"}, {"value": "local5"}, {"value": "local6"}, {"value": "local7"}, {"value": "lpr"}, {"value": "mail"}, {"value": "mark"}, {"value": "news"}, {"value": "syslog"}, {"value": "user"}, {"value": "uucp"}]}}}, {"type": "array", "name": "logLevels", "arg": "$body.properties.dataSources.syslog[].logLevels", "item": {"type": "string", "enum": {"items": [{"value": "*"}, {"value": "Alert"}, {"value": "Critical"}, {"value": "Debug"}, {"value": "Emergency"}, {"value": "Error"}, {"value": "Info"}, {"value": "Notice"}, {"value": "Warning"}]}}}, {"type": "string", "name": "name", "arg": "$body.properties.dataSources.syslog[].name"}, {"type": "array", "name": "streams", "arg": "$body.properties.dataSources.syslog[].streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-Syslog"}]}}}]}, "identifiers": ["name"]}, {"type": "array", "name": "windowsEventLogs", "arg": "$body.properties.dataSources.windowsEventLogs", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$body.properties.dataSources.windowsEventLogs[].name"}, {"type": "array", "name": "streams", "arg": "$body.properties.dataSources.windowsEventLogs[].streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-Event"}, {"value": "Microsoft-WindowsEvent"}]}}}, {"type": "array", "name": "xPathQueries", "arg": "$body.properties.dataSources.windowsEventLogs[].xPathQueries", "item": {"type": "string"}}]}, "identifiers": ["name"]}, {"type": "array", "name": "windowsFirewallLogs", "arg": "$body.properties.dataSources.windowsFirewallLogs", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$body.properties.dataSources.windowsFirewallLogs[].name"}, {"type": "array", "name": "streams", "arg": "$body.properties.dataSources.windowsFirewallLogs[].streams", "required": true, "item": {"type": "string"}}]}, "identifiers": ["name"]}]}, {"type": "string", "name": "description", "arg": "$body.properties.description"}, {"type": "object", "name": "destinations", "arg": "$body.properties.destinations", "props": [{"type": "object", "name": "azureMonitorMetrics", "arg": "$body.properties.destinations.azureMonitorMetrics", "props": [{"type": "string", "name": "name", "arg": "$body.properties.destinations.azureMonitorMetrics.name"}]}, {"type": "array", "name": "eventHubs", "arg": "$body.properties.destinations.eventHubs", "item": {"type": "object", "props": [{"type": "string", "name": "eventHubResourceId", "arg": "$body.properties.destinations.eventHubs[].eventHubResourceId"}, {"type": "string", "name": "name", "arg": "$body.properties.destinations.eventHubs[].name"}]}, "identifiers": ["name"]}, {"type": "array", "name": "eventHubsDirect", "arg": "$body.properties.destinations.eventHubsDirect", "item": {"type": "object", "props": [{"type": "string", "name": "eventHubResourceId", "arg": "$body.properties.destinations.eventHubsDirect[].eventHubResourceId"}, {"type": "string", "name": "name", "arg": "$body.properties.destinations.eventHubsDirect[].name"}]}, "identifiers": ["name"]}, {"type": "array", "name": "logAnalytics", "arg": "$body.properties.destinations.logAnalytics", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$body.properties.destinations.logAnalytics[].name"}, {"type": "string", "name": "workspaceResourceId", "arg": "$body.properties.destinations.logAnalytics[].workspaceResourceId"}]}, "identifiers": ["name"]}, {"type": "array", "name": "monitoringAccounts", "arg": "$body.properties.destinations.monitoringAccounts", "item": {"type": "object", "props": [{"type": "string", "name": "accountResourceId", "arg": "$body.properties.destinations.monitoringAccounts[].accountResourceId"}, {"type": "string", "name": "name", "arg": "$body.properties.destinations.monitoringAccounts[].name"}]}, "identifiers": ["name"]}, {"type": "array<@StorageBlobDestination_create>", "name": "storageAccounts", "arg": "$body.properties.destinations.storageAccounts", "item": {"type": "@StorageBlobDestination_create"}, "identifiers": ["name"]}, {"type": "array", "name": "storageBlobsDirect", "arg": "$body.properties.destinations.storageBlobsDirect", "item": {"type": "object", "props": [{"type": "string", "name": "containerName", "arg": "@StorageBlobDestination_create.containerName"}, {"type": "string", "name": "name", "arg": "@StorageBlobDestination_create.name"}, {"type": "string", "name": "storageAccountResourceId", "arg": "@StorageBlobDestination_create.storageAccountResourceId"}], "cls": "StorageBlobDestination_create"}, "identifiers": ["name"]}, {"type": "array", "name": "storageTablesDirect", "arg": "$body.properties.destinations.storageTablesDirect", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$body.properties.destinations.storageTablesDirect[].name"}, {"type": "string", "name": "storageAccountResourceId", "arg": "$body.properties.destinations.storageTablesDirect[].storageAccountResourceId"}, {"type": "string", "name": "tableName", "arg": "$body.properties.destinations.storageTablesDirect[].tableName"}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "streamDeclarations", "arg": "$body.properties.streamDeclarations", "additionalProps": {"item": {"type": "object", "props": [{"type": "array", "name": "columns", "arg": "$body.properties.streamDeclarations{}.columns", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$body.properties.streamDeclarations{}.columns[].name"}, {"type": "string", "name": "type", "arg": "$body.properties.streamDeclarations{}.columns[].type", "enum": {"items": [{"value": "boolean"}, {"value": "datetime"}, {"value": "dynamic"}, {"value": "int"}, {"value": "long"}, {"value": "real"}, {"value": "string"}]}}]}, "identifiers": ["name"]}]}}}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$body.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/dataCollectionRules/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "string", "name": "kind", "enum": {"items": [{"value": "Linux"}, {"value": "Windows"}]}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataCollectionEndpointId"}, {"type": "array", "name": "dataFlows", "item": {"type": "object", "props": [{"type": "string", "name": "builtInTransform"}, {"type": "array", "name": "destinations", "item": {"type": "string"}}, {"type": "string", "name": "outputStream"}, {"type": "array", "name": "streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-Event"}, {"value": "Microsoft-InsightsMetrics"}, {"value": "Microsoft-Perf"}, {"value": "Microsoft-Syslog"}, {"value": "Microsoft-WindowsEvent"}]}}}, {"type": "string", "name": "transformKql"}]}}, {"type": "object", "name": "dataSources", "props": [{"type": "object", "name": "dataImports", "props": [{"type": "object", "name": "eventHub", "props": [{"type": "string", "name": "consumerGroup"}, {"type": "string", "name": "name"}, {"type": "string", "name": "stream"}]}]}, {"type": "array", "name": "extensions", "item": {"type": "object", "props": [{"type": "string", "name": "extensionName", "required": true}, {"type": "object", "name": "extensionSettings"}, {"type": "array", "name": "inputDataSources", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "array", "name": "streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-Event"}, {"value": "Microsoft-InsightsMetrics"}, {"value": "Microsoft-Perf"}, {"value": "Microsoft-Syslog"}, {"value": "Microsoft-WindowsEvent"}]}}}]}, "identifiers": ["name"]}, {"type": "array", "name": "iisLogs", "item": {"type": "object", "props": [{"type": "array", "name": "logDirectories", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "array", "name": "streams", "required": true, "item": {"type": "string"}}]}, "identifiers": ["name"]}, {"type": "array", "name": "logFiles", "item": {"type": "object", "props": [{"type": "array", "name": "filePatterns", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "format", "required": true, "enum": {"items": [{"value": "text"}]}}, {"type": "string", "name": "name"}, {"type": "object", "name": "settings", "props": [{"type": "object", "name": "text", "props": [{"type": "string", "name": "recordStartTimestampFormat", "required": true, "enum": {"items": [{"value": "ISO 8601"}, {"value": "M/D/YYYY HH:MM:SS AM/PM"}, {"value": "MMM d hh:mm:ss"}, {"value": "Mon DD, YYYY HH:MM:SS"}, {"value": "YYYY-MM-DD HH:MM:SS"}, {"value": "dd/MMM/yyyy:HH:mm:ss zzz"}, {"value": "ddMMyy HH:mm:ss"}, {"value": "yyMMdd HH:mm:ss"}, {"value": "yyyy-MM-ddTHH:mm:ssK"}]}}]}]}, {"type": "array", "name": "streams", "required": true, "item": {"type": "string"}}]}, "identifiers": ["name"]}, {"type": "array", "name": "performanceCounters", "item": {"type": "object", "props": [{"type": "array", "name": "counterSpecifiers", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "integer32", "name": "samplingFrequencyInSeconds"}, {"type": "array", "name": "streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-InsightsMetrics"}, {"value": "Microsoft-Perf"}]}}}]}, "identifiers": ["name"]}, {"type": "array", "name": "platformTelemetry", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "array", "name": "streams", "required": true, "item": {"type": "string"}}]}, "identifiers": ["name"]}, {"type": "array", "name": "prometheusForwarder", "item": {"type": "object", "props": [{"type": "object", "name": "labelIncludeFilter", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "name"}, {"type": "array", "name": "streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-PrometheusMetrics"}]}}}]}, "identifiers": ["name"]}, {"type": "array", "name": "syslog", "item": {"type": "object", "props": [{"type": "array", "name": "facilityNames", "item": {"type": "string", "enum": {"items": [{"value": "*"}, {"value": "auth"}, {"value": "authpriv"}, {"value": "cron"}, {"value": "daemon"}, {"value": "kern"}, {"value": "local0"}, {"value": "local1"}, {"value": "local2"}, {"value": "local3"}, {"value": "local4"}, {"value": "local5"}, {"value": "local6"}, {"value": "local7"}, {"value": "lpr"}, {"value": "mail"}, {"value": "mark"}, {"value": "news"}, {"value": "syslog"}, {"value": "user"}, {"value": "uucp"}]}}}, {"type": "array", "name": "logLevels", "item": {"type": "string", "enum": {"items": [{"value": "*"}, {"value": "Alert"}, {"value": "Critical"}, {"value": "Debug"}, {"value": "Emergency"}, {"value": "Error"}, {"value": "Info"}, {"value": "Notice"}, {"value": "Warning"}]}}}, {"type": "string", "name": "name"}, {"type": "array", "name": "streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-Syslog"}]}}}]}, "identifiers": ["name"]}, {"type": "array", "name": "windowsEventLogs", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "array", "name": "streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-Event"}, {"value": "Microsoft-WindowsEvent"}]}}}, {"type": "array", "name": "xPathQueries", "item": {"type": "string"}}]}, "identifiers": ["name"]}, {"type": "array", "name": "windowsFirewallLogs", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "array", "name": "streams", "required": true, "item": {"type": "string"}}]}, "identifiers": ["name"]}]}, {"type": "string", "name": "description"}, {"type": "object", "name": "destinations", "props": [{"type": "object", "name": "azureMonitorMetrics", "props": [{"type": "string", "name": "name"}]}, {"type": "array", "name": "eventHubs", "item": {"type": "object", "props": [{"type": "string", "name": "eventHubResourceId"}, {"type": "string", "name": "name"}]}, "identifiers": ["name"]}, {"type": "array", "name": "eventHubsDirect", "item": {"type": "object", "props": [{"type": "string", "name": "eventHubResourceId"}, {"type": "string", "name": "name"}]}, "identifiers": ["name"]}, {"type": "array", "name": "logAnalytics", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "workspaceId"}, {"type": "string", "name": "workspaceResourceId"}]}, "identifiers": ["name"]}, {"type": "array", "name": "monitoringAccounts", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"type": "string", "name": "accountResourceId"}, {"type": "string", "name": "name"}]}, "identifiers": ["name"]}, {"type": "array<@StorageBlobDestination_read>", "name": "storageAccounts", "item": {"type": "@StorageBlobDestination_read"}, "identifiers": ["name"]}, {"type": "array", "name": "storageBlobsDirect", "item": {"type": "object", "props": [{"type": "string", "name": "containerName"}, {"type": "string", "name": "name"}, {"type": "string", "name": "storageAccountResourceId"}], "cls": "StorageBlobDestination_read"}, "identifiers": ["name"]}, {"type": "array", "name": "storageTablesDirect", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "storageAccountResourceId"}, {"type": "string", "name": "tableName"}]}, "identifiers": ["name"]}]}, {"readOnly": true, "type": "string", "name": "immutableId"}, {"readOnly": true, "type": "object", "name": "metadata", "props": [{"readOnly": true, "type": "string", "name": "provisionedBy"}, {"readOnly": true, "type": "string", "name": "provisionedByResourceId"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "streamDeclarations", "additionalProps": {"item": {"type": "object", "props": [{"type": "array", "name": "columns", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "boolean"}, {"value": "datetime"}, {"value": "dynamic"}, {"value": "int"}, {"value": "long"}, {"value": "real"}, {"value": "string"}]}}]}, "identifiers": ["name"]}]}}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2022-06-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules/{}", "version": "2022-06-01", "swagger": "mgmt-plane/monitor/ResourceProviders/Microsoft.Insights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSW5zaWdodHMvZGF0YUNvbGxlY3Rpb25SdWxlcy97ZGF0YUNvbGxlY3Rpb25SdWxlTmFtZX0=/V/MjAyMi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.dataCollectionRuleName", "options": ["n", "name", "rule-name", "data-collection-rule-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the data collection rule. The name is case insensitive."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}, {"nullable": true, "type": "object", "var": "$body.identity", "options": ["identity"], "group": "", "help": {"short": "Managed service identity of the resource."}, "args": [{"type": "string", "var": "$body.identity.type", "options": ["type"], "help": {"short": "Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."}, "enum": {"items": [{"name": "None", "value": "None"}, {"name": "SystemAssigned", "value": "SystemAssigned"}, {"name": "SystemAssigned,UserAssigned", "value": "SystemAssigned,UserAssigned"}, {"name": "UserAssigned", "value": "UserAssigned"}]}}, {"nullable": true, "type": "object", "var": "$body.identity.userAssignedIdentities", "options": ["user-assigned-identities"], "help": {"short": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}, "additionalProps": {"item": {"nullable": true, "blank": {"value": {}}, "type": "object"}}}]}, {"nullable": true, "type": "string", "var": "$body.kind", "options": ["kind"], "group": "", "help": {"short": "The kind of the resource."}, "enum": {"items": [{"name": "Linux", "value": "Linux"}, {"name": "Windows", "value": "Windows"}]}}, {"nullable": true, "type": "string", "var": "$body.properties.dataCollectionEndpointId", "options": ["endpoint-id", "data-collection-endpoint-id"], "group": "", "help": {"short": "The resource ID of the data collection endpoint that is to be associated."}}, {"nullable": true, "type": "string", "var": "$body.properties.description", "options": ["description"], "group": "", "help": {"short": "Description of the association."}}, {"nullable": true, "type": "object", "var": "$body.tags", "options": ["tags"], "group": "", "help": {"short": "Resource tags."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}]}, {"name": "Properties", "args": [{"nullable": true, "type": "array", "var": "$body.properties.dataFlows", "options": ["data-flows-raw"], "group": "Properties", "help": {"short": "The specification of data flows."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$body.properties.dataFlows[].builtInTransform", "options": ["built-in-transform"], "help": {"short": "The builtIn transform to transform stream data"}}, {"nullable": true, "type": "array", "var": "$body.properties.dataFlows[].destinations", "options": ["destinations"], "help": {"short": "List of destinations for this data flow."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$body.properties.dataFlows[].outputStream", "options": ["output-stream"], "group": "", "help": {"short": "The output stream of the transform. Only required if the transform changes data to a different stream."}}, {"nullable": true, "type": "array", "var": "$body.properties.dataFlows[].streams", "options": ["streams"], "help": {"short": "List of streams for this data flow."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "Microsoft-Event", "value": "Microsoft-Event"}, {"name": "Microsoft-InsightsMetrics", "value": "Microsoft-InsightsMetrics"}, {"name": "Microsoft-Perf", "value": "Microsoft-Perf"}, {"name": "Microsoft-Syslog", "value": "Microsoft-Syslog"}, {"name": "Microsoft-WindowsEvent", "value": "Microsoft-WindowsEvent"}]}}}, {"nullable": true, "type": "string", "var": "$body.properties.dataFlows[].transformKql", "options": ["transform-kql"], "help": {"short": "The KQL query to transform stream data."}}]}}, {"nullable": true, "type": "object", "var": "$body.properties.dataSources", "options": ["data-sources"], "group": "Properties", "help": {"short": "The specification of data sources. This property is optional and can be omitted if the rule is meant to be used via direct calls to the provisioned endpoint."}, "args": [{"nullable": true, "type": "object", "var": "$body.properties.dataSources.dataImports", "options": ["data-imports"], "help": {"short": "Specifications of pull based data sources"}, "args": [{"nullable": true, "type": "object", "var": "$body.properties.dataSources.dataImports.eventHub", "options": ["event-hub"], "help": {"short": "Definition of Event Hub configuration."}, "args": [{"nullable": true, "type": "string", "var": "$body.properties.dataSources.dataImports.eventHub.consumerGroup", "options": ["consumer-group"], "help": {"short": "Event Hub consumer group name"}}, {"nullable": true, "type": "string", "var": "$body.properties.dataSources.dataImports.eventHub.name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule."}}, {"nullable": true, "type": "string", "var": "$body.properties.dataSources.dataImports.eventHub.stream", "options": ["stream"], "help": {"short": "The stream to collect from EventHub"}}]}]}, {"nullable": true, "type": "array", "var": "$body.properties.dataSources.extensions", "options": ["extensions"], "help": {"short": "The list of Azure VM extension data source configurations."}, "item": {"nullable": true, "type": "object", "args": [{"type": "string", "var": "$body.properties.dataSources.extensions[].extensionName", "options": ["extension-name"], "help": {"short": "The name of the VM extension."}}, {"nullable": true, "blank": {"value": {}}, "type": "object", "var": "$body.properties.dataSources.extensions[].extensionSettings", "options": ["extension-settings"], "help": {"short": "The extension settings. The format is specific for particular extension."}}, {"nullable": true, "type": "array", "var": "$body.properties.dataSources.extensions[].inputDataSources", "options": ["input-data-sources"], "help": {"short": "The list of data sources this extension needs data from."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$body.properties.dataSources.extensions[].name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule."}}, {"nullable": true, "type": "array", "var": "$body.properties.dataSources.extensions[].streams", "options": ["streams"], "group": "", "help": {"short": "List of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "Microsoft-Event", "value": "Microsoft-Event"}, {"name": "Microsoft-InsightsMetrics", "value": "Microsoft-InsightsMetrics"}, {"name": "Microsoft-Perf", "value": "Microsoft-Perf"}, {"name": "Microsoft-Syslog", "value": "Microsoft-Syslog"}, {"name": "Microsoft-WindowsEvent", "value": "Microsoft-WindowsEvent"}]}}}]}}, {"nullable": true, "type": "array", "var": "$body.properties.dataSources.iisLogs", "options": ["iis-logs"], "help": {"short": "The list of IIS logs source configurations."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "array", "var": "$body.properties.dataSources.iisLogs[].logDirectories", "options": ["log-directories"], "help": {"short": "Absolute paths file location"}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$body.properties.dataSources.iisLogs[].name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule."}}, {"type": "array", "var": "$body.properties.dataSources.iisLogs[].streams", "options": ["streams"], "help": {"short": "IIS streams"}, "item": {"nullable": true, "type": "string"}}]}}, {"nullable": true, "type": "array", "var": "$body.properties.dataSources.logFiles", "options": ["log-files"], "help": {"short": "The list of Log files source configurations."}, "item": {"nullable": true, "type": "object", "args": [{"type": "array", "var": "$body.properties.dataSources.logFiles[].filePatterns", "options": ["file-patterns"], "help": {"short": "File Patterns where the log files are located"}, "item": {"nullable": true, "type": "string"}}, {"type": "string", "var": "$body.properties.dataSources.logFiles[].format", "options": ["format"], "help": {"short": "The data format of the log files"}, "enum": {"items": [{"name": "text", "value": "text"}]}}, {"nullable": true, "type": "string", "var": "$body.properties.dataSources.logFiles[].name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule."}}, {"nullable": true, "type": "object", "var": "$body.properties.dataSources.logFiles[].settings", "options": ["settings"], "help": {"short": "The log files specific settings."}, "args": [{"nullable": true, "type": "object", "var": "$body.properties.dataSources.logFiles[].settings.text", "options": ["text"], "help": {"short": "Text settings"}, "args": [{"type": "string", "var": "$body.properties.dataSources.logFiles[].settings.text.recordStartTimestampFormat", "options": ["record-start-timestamp-format"], "help": {"short": "One of the supported timestamp formats"}, "enum": {"items": [{"name": "ISO 8601", "value": "ISO 8601"}, {"name": "M/D/YYYY HH:MM:SS AM/PM", "value": "M/D/YYYY HH:MM:SS AM/PM"}, {"name": "MMM d hh:mm:ss", "value": "MMM d hh:mm:ss"}, {"name": "Mon DD, YYYY HH:MM:SS", "value": "Mon DD, YYYY HH:MM:SS"}, {"name": "YYYY-MM-DD HH:MM:SS", "value": "YYYY-MM-DD HH:MM:SS"}, {"name": "dd/MMM/yyyy:HH:mm:ss zzz", "value": "dd/MMM/yyyy:HH:mm:ss zzz"}, {"name": "ddMMyy HH:mm:ss", "value": "ddMMyy HH:mm:ss"}, {"name": "yyMMdd HH:mm:ss", "value": "yyMMdd HH:mm:ss"}, {"name": "yyyy-MM-ddTHH:mm:ssK", "value": "yyyy-MM-ddTHH:mm:ssK"}]}}]}]}, {"type": "array", "var": "$body.properties.dataSources.logFiles[].streams", "options": ["streams"], "group": "", "help": {"short": "List of streams that this data source will be sent to. A stream indicates what schema will be used for this data source"}, "item": {"nullable": true, "type": "string"}}]}}, {"nullable": true, "type": "array", "var": "$body.properties.dataSources.performanceCounters", "options": ["performance-counters"], "help": {"short": "The list of performance counter data source configurations."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "array", "var": "$body.properties.dataSources.performanceCounters[].counterSpecifiers", "options": ["counter-specifiers"], "group": "", "help": {"short": "A list of specifier names of the performance counters you want to collect. Use a wildcard (*) to collect a counter for all instances. To get a list of performance counters on Windows, run the command 'typeperf'."}, "item": {"nullable": true, "type": "string"}}, {"nullable": true, "type": "string", "var": "$body.properties.dataSources.performanceCounters[].name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule."}}, {"nullable": true, "type": "integer32", "var": "$body.properties.dataSources.performanceCounters[].samplingFrequencyInSeconds", "options": ["sampling-frequency-in-seconds"], "help": {"short": "The number of seconds between consecutive counter measurements (samples)."}}, {"nullable": true, "type": "array", "var": "$body.properties.dataSources.performanceCounters[].streams", "options": ["streams"], "group": "", "help": {"short": "List of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "Microsoft-InsightsMetrics", "value": "Microsoft-InsightsMetrics"}, {"name": "Microsoft-Perf", "value": "Microsoft-Perf"}]}}}]}}, {"nullable": true, "type": "array", "var": "$body.properties.dataSources.platformTelemetry", "options": ["platform-telemetry"], "help": {"short": "The list of platform telemetry configurations"}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$body.properties.dataSources.platformTelemetry[].name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule."}}, {"type": "array", "var": "$body.properties.dataSources.platformTelemetry[].streams", "options": ["streams"], "help": {"short": "List of platform telemetry streams to collect"}, "item": {"nullable": true, "type": "string"}}]}}, {"nullable": true, "type": "array", "var": "$body.properties.dataSources.prometheusForwarder", "options": ["prometheus-forwarder"], "help": {"short": "The list of Prometheus forwarder data source configurations."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "object", "var": "$body.properties.dataSources.prometheusForwarder[].labelIncludeFilter", "options": ["label-include-filter"], "group": "", "help": {"short": "The list of label inclusion filters in the form of label \"name-value\" pairs. Currently only one label is supported: 'microsoft_metrics_include_label'. Label values are matched case-insensitively."}, "additionalProps": {"item": {"nullable": true, "type": "string"}}}, {"nullable": true, "type": "string", "var": "$body.properties.dataSources.prometheusForwarder[].name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule."}}, {"nullable": true, "type": "array", "var": "$body.properties.dataSources.prometheusForwarder[].streams", "options": ["streams"], "help": {"short": "List of streams that this data source will be sent to."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "Microsoft-PrometheusMetrics", "value": "Microsoft-PrometheusMetrics"}]}}}]}}, {"nullable": true, "type": "array", "var": "$body.properties.dataSources.syslog", "options": ["syslog"], "help": {"short": "The list of Syslog data source configurations."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "array", "var": "$body.properties.dataSources.syslog[].facilityNames", "options": ["facility-names"], "help": {"short": "The list of facility names."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "*", "value": "*"}, {"name": "auth", "value": "auth"}, {"name": "authpriv", "value": "authpriv"}, {"name": "cron", "value": "cron"}, {"name": "daemon", "value": "daemon"}, {"name": "kern", "value": "kern"}, {"name": "local0", "value": "local0"}, {"name": "local1", "value": "local1"}, {"name": "local2", "value": "local2"}, {"name": "local3", "value": "local3"}, {"name": "local4", "value": "local4"}, {"name": "local5", "value": "local5"}, {"name": "local6", "value": "local6"}, {"name": "local7", "value": "local7"}, {"name": "lpr", "value": "lpr"}, {"name": "mail", "value": "mail"}, {"name": "mark", "value": "mark"}, {"name": "news", "value": "news"}, {"name": "syslog", "value": "syslog"}, {"name": "user", "value": "user"}, {"name": "uucp", "value": "uucp"}]}}}, {"nullable": true, "type": "array", "var": "$body.properties.dataSources.syslog[].logLevels", "options": ["log-levels"], "help": {"short": "The log levels to collect."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "*", "value": "*"}, {"name": "Alert", "value": "Alert"}, {"name": "Critical", "value": "Critical"}, {"name": "Debug", "value": "Debug"}, {"name": "Emergency", "value": "Emergency"}, {"name": "Error", "value": "Error"}, {"name": "Info", "value": "Info"}, {"name": "Notice", "value": "Notice"}, {"name": "Warning", "value": "Warning"}]}}}, {"nullable": true, "type": "string", "var": "$body.properties.dataSources.syslog[].name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule."}}, {"nullable": true, "type": "array", "var": "$body.properties.dataSources.syslog[].streams", "options": ["streams"], "group": "", "help": {"short": "List of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "Microsoft-Syslog", "value": "Microsoft-Syslog"}]}}}]}}, {"nullable": true, "type": "array", "var": "$body.properties.dataSources.windowsEventLogs", "options": ["windows-event-logs"], "help": {"short": "The list of Windows Event Log data source configurations."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$body.properties.dataSources.windowsEventLogs[].name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule."}}, {"nullable": true, "type": "array", "var": "$body.properties.dataSources.windowsEventLogs[].streams", "options": ["streams"], "group": "", "help": {"short": "List of streams that this data source will be sent to. A stream indicates what schema will be used for this data and usually what table in Log Analytics the data will be sent to."}, "item": {"nullable": true, "type": "string", "enum": {"items": [{"name": "Microsoft-Event", "value": "Microsoft-Event"}, {"name": "Microsoft-WindowsEvent", "value": "Microsoft-WindowsEvent"}]}}}, {"nullable": true, "type": "array", "var": "$body.properties.dataSources.windowsEventLogs[].xPathQueries", "options": ["x-path-queries"], "help": {"short": "A list of Windows Event Log queries in XPATH format."}, "item": {"nullable": true, "type": "string"}}]}}, {"nullable": true, "type": "array", "var": "$body.properties.dataSources.windowsFirewallLogs", "options": ["windows-firewall-logs"], "help": {"short": "The list of Windows Firewall logs source configurations."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$body.properties.dataSources.windowsFirewallLogs[].name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the data source. This name should be unique across all data sources (regardless of type) within the data collection rule."}}, {"type": "array", "var": "$body.properties.dataSources.windowsFirewallLogs[].streams", "options": ["streams"], "help": {"short": "Firewall logs streams"}, "item": {"nullable": true, "type": "string"}}]}}]}, {"nullable": true, "type": "object", "var": "$body.properties.destinations", "options": ["destinations"], "group": "Properties", "help": {"short": "The specification of destinations."}, "args": [{"nullable": true, "type": "object", "var": "$body.properties.destinations.azureMonitorMetrics", "options": ["azure-monitor-metrics"], "help": {"short": "Azure Monitor Metrics destination."}, "args": [{"nullable": true, "type": "string", "var": "$body.properties.destinations.azureMonitorMetrics.name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the destination. This name should be unique across all destinations (regardless of type) within the data collection rule."}}]}, {"nullable": true, "type": "array", "var": "$body.properties.destinations.eventHubs", "options": ["event-hubs"], "help": {"short": "List of Event Hubs destinations."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$body.properties.destinations.eventHubs[].eventHubResourceId", "options": ["event-hub-resource-id"], "help": {"short": "The resource ID of the event hub."}}, {"nullable": true, "type": "string", "var": "$body.properties.destinations.eventHubs[].name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the destination. This name should be unique across all destinations (regardless of type) within the data collection rule."}}]}}, {"nullable": true, "type": "array", "var": "$body.properties.destinations.eventHubsDirect", "options": ["event-hubs-direct"], "help": {"short": "List of Event Hubs Direct destinations."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$body.properties.destinations.eventHubsDirect[].eventHubResourceId", "options": ["event-hub-resource-id"], "help": {"short": "The resource ID of the event hub."}}, {"nullable": true, "type": "string", "var": "$body.properties.destinations.eventHubsDirect[].name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the destination. This name should be unique across all destinations (regardless of type) within the data collection rule."}}]}}, {"nullable": true, "type": "array", "var": "$body.properties.destinations.logAnalytics", "options": ["log-analytics"], "help": {"short": "List of Log Analytics destinations."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$body.properties.destinations.logAnalytics[].name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the destination. This name should be unique across all destinations (regardless of type) within the data collection rule."}}, {"nullable": true, "type": "string", "var": "$body.properties.destinations.logAnalytics[].workspaceResourceId", "options": ["workspace-resource-id"], "help": {"short": "The resource ID of the Log Analytics workspace."}}]}}, {"nullable": true, "type": "array", "var": "$body.properties.destinations.monitoringAccounts", "options": ["monitoring-accounts"], "help": {"short": "List of monitoring account destinations."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$body.properties.destinations.monitoringAccounts[].accountResourceId", "options": ["account-resource-id"], "help": {"short": "The resource ID of the monitoring account."}}, {"nullable": true, "type": "string", "var": "$body.properties.destinations.monitoringAccounts[].name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the destination. This name should be unique across all destinations (regardless of type) within the data collection rule."}}]}}, {"nullable": true, "type": "array<@StorageBlobDestination_update>", "var": "$body.properties.destinations.storageAccounts", "options": ["storage-accounts"], "help": {"short": "List of storage accounts destinations."}, "item": {"nullable": true, "type": "@StorageBlobDestination_update"}}, {"nullable": true, "type": "array", "var": "$body.properties.destinations.storageBlobsDirect", "options": ["storage-blobs-direct"], "help": {"short": "List of Storage Blob Direct destinations. To be used only for sending data directly to store from the agent."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "@StorageBlobDestination_update.containerName", "options": ["container-name"], "help": {"short": "The container name of the Storage Blob."}}, {"nullable": true, "type": "string", "var": "@StorageBlobDestination_update.name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the destination. This name should be unique across all destinations (regardless of type) within the data collection rule."}}, {"nullable": true, "type": "string", "var": "@StorageBlobDestination_update.storageAccountResourceId", "options": ["storage-account-resource-id"], "help": {"short": "The resource ID of the storage account."}}], "cls": "StorageBlobDestination_update"}}, {"nullable": true, "type": "array", "var": "$body.properties.destinations.storageTablesDirect", "options": ["storage-tables-direct"], "help": {"short": "List of Storage Table Direct destinations."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$body.properties.destinations.storageTablesDirect[].name", "options": ["name"], "group": "", "help": {"short": "A friendly name for the destination. This name should be unique across all destinations (regardless of type) within the data collection rule."}}, {"nullable": true, "type": "string", "var": "$body.properties.destinations.storageTablesDirect[].storageAccountResourceId", "options": ["storage-account-resource-id"], "help": {"short": "The resource ID of the storage account."}}, {"nullable": true, "type": "string", "var": "$body.properties.destinations.storageTablesDirect[].tableName", "options": ["table-name"], "help": {"short": "The name of the Storage Table."}}]}}]}, {"nullable": true, "type": "object", "var": "$body.properties.streamDeclarations", "options": ["stream-declarations"], "group": "Properties", "help": {"short": "Declaration of custom streams used in this rule."}, "additionalProps": {"item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "array", "var": "$body.properties.streamDeclarations{}.columns", "options": ["columns"], "help": {"short": "List of columns used by data in this stream."}, "item": {"nullable": true, "type": "object", "args": [{"nullable": true, "type": "string", "var": "$body.properties.streamDeclarations{}.columns[].name", "options": ["name"], "help": {"short": "The name of the column."}}, {"nullable": true, "type": "string", "var": "$body.properties.streamDeclarations{}.columns[].type", "options": ["type"], "help": {"short": "The type of the column data."}, "enum": {"items": [{"name": "boolean", "value": "boolean"}, {"name": "datetime", "value": "datetime"}, {"name": "dynamic", "value": "dynamic"}, {"name": "int", "value": "int"}, {"name": "long", "value": "long"}, {"name": "real", "value": "real"}, {"name": "string", "value": "string"}]}}]}}]}}}]}], "operations": [{"operationId": "DataCollectionRules_Get", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dataCollectionRuleName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "dataCollectionRuleName", "arg": "$Path.dataCollectionRuleName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/subscriptions/{}/resourceGroups/{}/providers/Microsoft.Insights/dataCollectionRules/{}"}}, {"type": "IdentityObject", "name": "identity", "props": [{"readOnly": true, "type": "uuid", "name": "principalId"}, {"readOnly": true, "type": "uuid", "name": "tenantId"}, {"type": "string", "name": "type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object", "props": [{"readOnly": true, "type": "uuid", "name": "clientId"}, {"readOnly": true, "type": "uuid", "name": "principalId"}]}}}]}, {"type": "string", "name": "kind", "enum": {"items": [{"value": "Linux"}, {"value": "Windows"}]}}, {"type": "ResourceLocation", "name": "location", "required": true}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataCollectionEndpointId"}, {"type": "array", "name": "dataFlows", "item": {"type": "object", "props": [{"type": "string", "name": "builtInTransform"}, {"type": "array", "name": "destinations", "item": {"type": "string"}}, {"type": "string", "name": "outputStream"}, {"type": "array", "name": "streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-Event"}, {"value": "Microsoft-InsightsMetrics"}, {"value": "Microsoft-Perf"}, {"value": "Microsoft-Syslog"}, {"value": "Microsoft-WindowsEvent"}]}}}, {"type": "string", "name": "transformKql"}]}}, {"type": "object", "name": "dataSources", "props": [{"type": "object", "name": "dataImports", "props": [{"type": "object", "name": "eventHub", "props": [{"type": "string", "name": "consumerGroup"}, {"type": "string", "name": "name"}, {"type": "string", "name": "stream"}]}]}, {"type": "array", "name": "extensions", "item": {"type": "object", "props": [{"type": "string", "name": "extensionName", "required": true}, {"type": "object", "name": "extensionSettings"}, {"type": "array", "name": "inputDataSources", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "array", "name": "streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-Event"}, {"value": "Microsoft-InsightsMetrics"}, {"value": "Microsoft-Perf"}, {"value": "Microsoft-Syslog"}, {"value": "Microsoft-WindowsEvent"}]}}}]}, "identifiers": ["name"]}, {"type": "array", "name": "iisLogs", "item": {"type": "object", "props": [{"type": "array", "name": "logDirectories", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "array", "name": "streams", "required": true, "item": {"type": "string"}}]}, "identifiers": ["name"]}, {"type": "array", "name": "logFiles", "item": {"type": "object", "props": [{"type": "array", "name": "filePatterns", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "format", "required": true, "enum": {"items": [{"value": "text"}]}}, {"type": "string", "name": "name"}, {"type": "object", "name": "settings", "props": [{"type": "object", "name": "text", "props": [{"type": "string", "name": "recordStartTimestampFormat", "required": true, "enum": {"items": [{"value": "ISO 8601"}, {"value": "M/D/YYYY HH:MM:SS AM/PM"}, {"value": "MMM d hh:mm:ss"}, {"value": "Mon DD, YYYY HH:MM:SS"}, {"value": "YYYY-MM-DD HH:MM:SS"}, {"value": "dd/MMM/yyyy:HH:mm:ss zzz"}, {"value": "ddMMyy HH:mm:ss"}, {"value": "yyMMdd HH:mm:ss"}, {"value": "yyyy-MM-ddTHH:mm:ssK"}]}}]}]}, {"type": "array", "name": "streams", "required": true, "item": {"type": "string"}}]}, "identifiers": ["name"]}, {"type": "array", "name": "performanceCounters", "item": {"type": "object", "props": [{"type": "array", "name": "counterSpecifiers", "item": {"type": "string"}}, {"type": "string", "name": "name"}, {"type": "integer32", "name": "samplingFrequencyInSeconds"}, {"type": "array", "name": "streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-InsightsMetrics"}, {"value": "Microsoft-Perf"}]}}}]}, "identifiers": ["name"]}, {"type": "array", "name": "platformTelemetry", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "array", "name": "streams", "required": true, "item": {"type": "string"}}]}, "identifiers": ["name"]}, {"type": "array", "name": "prometheusForwarder", "item": {"type": "object", "props": [{"type": "object", "name": "labelIncludeFilter", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "name"}, {"type": "array", "name": "streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-PrometheusMetrics"}]}}}]}, "identifiers": ["name"]}, {"type": "array", "name": "syslog", "item": {"type": "object", "props": [{"type": "array", "name": "facilityNames", "item": {"type": "string", "enum": {"items": [{"value": "*"}, {"value": "auth"}, {"value": "authpriv"}, {"value": "cron"}, {"value": "daemon"}, {"value": "kern"}, {"value": "local0"}, {"value": "local1"}, {"value": "local2"}, {"value": "local3"}, {"value": "local4"}, {"value": "local5"}, {"value": "local6"}, {"value": "local7"}, {"value": "lpr"}, {"value": "mail"}, {"value": "mark"}, {"value": "news"}, {"value": "syslog"}, {"value": "user"}, {"value": "uucp"}]}}}, {"type": "array", "name": "logLevels", "item": {"type": "string", "enum": {"items": [{"value": "*"}, {"value": "Alert"}, {"value": "Critical"}, {"value": "Debug"}, {"value": "Emergency"}, {"value": "Error"}, {"value": "Info"}, {"value": "Notice"}, {"value": "Warning"}]}}}, {"type": "string", "name": "name"}, {"type": "array", "name": "streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-Syslog"}]}}}]}, "identifiers": ["name"]}, {"type": "array", "name": "windowsEventLogs", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "array", "name": "streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-Event"}, {"value": "Microsoft-WindowsEvent"}]}}}, {"type": "array", "name": "xPathQueries", "item": {"type": "string"}}]}, "identifiers": ["name"]}, {"type": "array", "name": "windowsFirewallLogs", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "array", "name": "streams", "required": true, "item": {"type": "string"}}]}, "identifiers": ["name"]}]}, {"type": "string", "name": "description"}, {"type": "object", "name": "destinations", "props": [{"type": "object", "name": "azureMonitorMetrics", "props": [{"type": "string", "name": "name"}]}, {"type": "array", "name": "eventHubs", "item": {"type": "object", "props": [{"type": "string", "name": "eventHubResourceId"}, {"type": "string", "name": "name"}]}, "identifiers": ["name"]}, {"type": "array", "name": "eventHubsDirect", "item": {"type": "object", "props": [{"type": "string", "name": "eventHubResourceId"}, {"type": "string", "name": "name"}]}, "identifiers": ["name"]}, {"type": "array", "name": "logAnalytics", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"readOnly": true, "type": "string", "name": "workspaceId"}, {"type": "string", "name": "workspaceResourceId"}]}, "identifiers": ["name"]}, {"type": "array", "name": "monitoringAccounts", "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "accountId"}, {"type": "string", "name": "accountResourceId"}, {"type": "string", "name": "name"}]}, "identifiers": ["name"]}, {"type": "array<@StorageBlobDestination_read>", "name": "storageAccounts", "item": {"type": "@StorageBlobDestination_read"}, "identifiers": ["name"]}, {"type": "array", "name": "storageBlobsDirect", "item": {"type": "object", "props": [{"type": "string", "name": "containerName"}, {"type": "string", "name": "name"}, {"type": "string", "name": "storageAccountResourceId"}], "cls": "StorageBlobDestination_read"}, "identifiers": ["name"]}, {"type": "array", "name": "storageTablesDirect", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "storageAccountResourceId"}, {"type": "string", "name": "tableName"}]}, "identifiers": ["name"]}]}, {"readOnly": true, "type": "string", "name": "immutableId"}, {"readOnly": true, "type": "object", "name": "metadata", "props": [{"readOnly": true, "type": "string", "name": "provisionedBy"}, {"readOnly": true, "type": "string", "name": "provisionedByResourceId"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}, {"type": "object", "name": "streamDeclarations", "additionalProps": {"item": {"type": "object", "props": [{"type": "array", "name": "columns", "item": {"type": "object", "props": [{"type": "string", "name": "name"}, {"type": "string", "name": "type", "enum": {"items": [{"value": "boolean"}, {"value": "datetime"}, {"value": "dynamic"}, {"value": "int"}, {"value": "long"}, {"value": "real"}, {"value": "string"}]}}]}, "identifiers": ["name"]}]}}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"type": "object", "name": "tags", "additionalProps": {"item": {"type": "string"}}}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "DataCollectionRuleResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "body", "props": [{"type": "IdentityObject", "name": "identity", "arg": "$body.identity", "props": [{"type": "string", "name": "type", "arg": "$body.identity.type", "required": true, "enum": {"items": [{"value": "None"}, {"value": "SystemAssigned"}, {"value": "SystemAssigned,UserAssigned"}, {"value": "UserAssigned"}]}}, {"type": "object", "name": "userAssignedIdentities", "arg": "$body.identity.userAssignedIdentities", "additionalProps": {"item": {"nullable": true, "type": "object"}}}]}, {"type": "string", "name": "kind", "arg": "$body.kind", "enum": {"items": [{"value": "Linux"}, {"value": "Windows"}]}}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataCollectionEndpointId", "arg": "$body.properties.dataCollectionEndpointId"}, {"type": "array", "name": "dataFlows", "arg": "$body.properties.dataFlows", "item": {"type": "object", "props": [{"type": "string", "name": "builtInTransform", "arg": "$body.properties.dataFlows[].builtInTransform"}, {"type": "array", "name": "destinations", "arg": "$body.properties.dataFlows[].destinations", "item": {"type": "string"}}, {"type": "string", "name": "outputStream", "arg": "$body.properties.dataFlows[].outputStream"}, {"type": "array", "name": "streams", "arg": "$body.properties.dataFlows[].streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-Event"}, {"value": "Microsoft-InsightsMetrics"}, {"value": "Microsoft-Perf"}, {"value": "Microsoft-Syslog"}, {"value": "Microsoft-WindowsEvent"}]}}}, {"type": "string", "name": "transformKql", "arg": "$body.properties.dataFlows[].transformKql"}]}}, {"type": "object", "name": "dataSources", "arg": "$body.properties.dataSources", "props": [{"type": "object", "name": "dataImports", "arg": "$body.properties.dataSources.dataImports", "props": [{"type": "object", "name": "eventHub", "arg": "$body.properties.dataSources.dataImports.eventHub", "props": [{"type": "string", "name": "consumerGroup", "arg": "$body.properties.dataSources.dataImports.eventHub.consumerGroup"}, {"type": "string", "name": "name", "arg": "$body.properties.dataSources.dataImports.eventHub.name"}, {"type": "string", "name": "stream", "arg": "$body.properties.dataSources.dataImports.eventHub.stream"}]}]}, {"type": "array", "name": "extensions", "arg": "$body.properties.dataSources.extensions", "item": {"type": "object", "props": [{"type": "string", "name": "extensionName", "arg": "$body.properties.dataSources.extensions[].extensionName", "required": true}, {"type": "object", "name": "extensionSettings", "arg": "$body.properties.dataSources.extensions[].extensionSettings"}, {"type": "array", "name": "inputDataSources", "arg": "$body.properties.dataSources.extensions[].inputDataSources", "item": {"type": "string"}}, {"type": "string", "name": "name", "arg": "$body.properties.dataSources.extensions[].name"}, {"type": "array", "name": "streams", "arg": "$body.properties.dataSources.extensions[].streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-Event"}, {"value": "Microsoft-InsightsMetrics"}, {"value": "Microsoft-Perf"}, {"value": "Microsoft-Syslog"}, {"value": "Microsoft-WindowsEvent"}]}}}]}, "identifiers": ["name"]}, {"type": "array", "name": "iisLogs", "arg": "$body.properties.dataSources.iisLogs", "item": {"type": "object", "props": [{"type": "array", "name": "logDirectories", "arg": "$body.properties.dataSources.iisLogs[].logDirectories", "item": {"type": "string"}}, {"type": "string", "name": "name", "arg": "$body.properties.dataSources.iisLogs[].name"}, {"type": "array", "name": "streams", "arg": "$body.properties.dataSources.iisLogs[].streams", "required": true, "item": {"type": "string"}}]}, "identifiers": ["name"]}, {"type": "array", "name": "logFiles", "arg": "$body.properties.dataSources.logFiles", "item": {"type": "object", "props": [{"type": "array", "name": "filePatterns", "arg": "$body.properties.dataSources.logFiles[].filePatterns", "required": true, "item": {"type": "string"}}, {"type": "string", "name": "format", "arg": "$body.properties.dataSources.logFiles[].format", "required": true, "enum": {"items": [{"value": "text"}]}}, {"type": "string", "name": "name", "arg": "$body.properties.dataSources.logFiles[].name"}, {"type": "object", "name": "settings", "arg": "$body.properties.dataSources.logFiles[].settings", "props": [{"type": "object", "name": "text", "arg": "$body.properties.dataSources.logFiles[].settings.text", "props": [{"type": "string", "name": "recordStartTimestampFormat", "arg": "$body.properties.dataSources.logFiles[].settings.text.recordStartTimestampFormat", "required": true, "enum": {"items": [{"value": "ISO 8601"}, {"value": "M/D/YYYY HH:MM:SS AM/PM"}, {"value": "MMM d hh:mm:ss"}, {"value": "Mon DD, YYYY HH:MM:SS"}, {"value": "YYYY-MM-DD HH:MM:SS"}, {"value": "dd/MMM/yyyy:HH:mm:ss zzz"}, {"value": "ddMMyy HH:mm:ss"}, {"value": "yyMMdd HH:mm:ss"}, {"value": "yyyy-MM-ddTHH:mm:ssK"}]}}]}]}, {"type": "array", "name": "streams", "arg": "$body.properties.dataSources.logFiles[].streams", "required": true, "item": {"type": "string"}}]}, "identifiers": ["name"]}, {"type": "array", "name": "performanceCounters", "arg": "$body.properties.dataSources.performanceCounters", "item": {"type": "object", "props": [{"type": "array", "name": "counterSpecifiers", "arg": "$body.properties.dataSources.performanceCounters[].counterSpecifiers", "item": {"type": "string"}}, {"type": "string", "name": "name", "arg": "$body.properties.dataSources.performanceCounters[].name"}, {"type": "integer32", "name": "samplingFrequencyInSeconds", "arg": "$body.properties.dataSources.performanceCounters[].samplingFrequencyInSeconds"}, {"type": "array", "name": "streams", "arg": "$body.properties.dataSources.performanceCounters[].streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-InsightsMetrics"}, {"value": "Microsoft-Perf"}]}}}]}, "identifiers": ["name"]}, {"type": "array", "name": "platformTelemetry", "arg": "$body.properties.dataSources.platformTelemetry", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$body.properties.dataSources.platformTelemetry[].name"}, {"type": "array", "name": "streams", "arg": "$body.properties.dataSources.platformTelemetry[].streams", "required": true, "item": {"type": "string"}}]}, "identifiers": ["name"]}, {"type": "array", "name": "prometheusForwarder", "arg": "$body.properties.dataSources.prometheusForwarder", "item": {"type": "object", "props": [{"type": "object", "name": "labelIncludeFilter", "arg": "$body.properties.dataSources.prometheusForwarder[].labelIncludeFilter", "additionalProps": {"item": {"type": "string"}}}, {"type": "string", "name": "name", "arg": "$body.properties.dataSources.prometheusForwarder[].name"}, {"type": "array", "name": "streams", "arg": "$body.properties.dataSources.prometheusForwarder[].streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-PrometheusMetrics"}]}}}]}, "identifiers": ["name"]}, {"type": "array", "name": "syslog", "arg": "$body.properties.dataSources.syslog", "item": {"type": "object", "props": [{"type": "array", "name": "facilityNames", "arg": "$body.properties.dataSources.syslog[].facilityNames", "item": {"type": "string", "enum": {"items": [{"value": "*"}, {"value": "auth"}, {"value": "authpriv"}, {"value": "cron"}, {"value": "daemon"}, {"value": "kern"}, {"value": "local0"}, {"value": "local1"}, {"value": "local2"}, {"value": "local3"}, {"value": "local4"}, {"value": "local5"}, {"value": "local6"}, {"value": "local7"}, {"value": "lpr"}, {"value": "mail"}, {"value": "mark"}, {"value": "news"}, {"value": "syslog"}, {"value": "user"}, {"value": "uucp"}]}}}, {"type": "array", "name": "logLevels", "arg": "$body.properties.dataSources.syslog[].logLevels", "item": {"type": "string", "enum": {"items": [{"value": "*"}, {"value": "Alert"}, {"value": "Critical"}, {"value": "Debug"}, {"value": "Emergency"}, {"value": "Error"}, {"value": "Info"}, {"value": "Notice"}, {"value": "Warning"}]}}}, {"type": "string", "name": "name", "arg": "$body.properties.dataSources.syslog[].name"}, {"type": "array", "name": "streams", "arg": "$body.properties.dataSources.syslog[].streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-Syslog"}]}}}]}, "identifiers": ["name"]}, {"type": "array", "name": "windowsEventLogs", "arg": "$body.properties.dataSources.windowsEventLogs", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$body.properties.dataSources.windowsEventLogs[].name"}, {"type": "array", "name": "streams", "arg": "$body.properties.dataSources.windowsEventLogs[].streams", "item": {"type": "string", "enum": {"items": [{"value": "Microsoft-Event"}, {"value": "Microsoft-WindowsEvent"}]}}}, {"type": "array", "name": "xPathQueries", "arg": "$body.properties.dataSources.windowsEventLogs[].xPathQueries", "item": {"type": "string"}}]}, "identifiers": ["name"]}, {"type": "array", "name": "windowsFirewallLogs", "arg": "$body.properties.dataSources.windowsFirewallLogs", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$body.properties.dataSources.windowsFirewallLogs[].name"}, {"type": "array", "name": "streams", "arg": "$body.properties.dataSources.windowsFirewallLogs[].streams", "required": true, "item": {"type": "string"}}]}, "identifiers": ["name"]}]}, {"type": "string", "name": "description", "arg": "$body.properties.description"}, {"type": "object", "name": "destinations", "arg": "$body.properties.destinations", "props": [{"type": "object", "name": "azureMonitorMetrics", "arg": "$body.properties.destinations.azureMonitorMetrics", "props": [{"type": "string", "name": "name", "arg": "$body.properties.destinations.azureMonitorMetrics.name"}]}, {"type": "array", "name": "eventHubs", "arg": "$body.properties.destinations.eventHubs", "item": {"type": "object", "props": [{"type": "string", "name": "eventHubResourceId", "arg": "$body.properties.destinations.eventHubs[].eventHubResourceId"}, {"type": "string", "name": "name", "arg": "$body.properties.destinations.eventHubs[].name"}]}, "identifiers": ["name"]}, {"type": "array", "name": "eventHubsDirect", "arg": "$body.properties.destinations.eventHubsDirect", "item": {"type": "object", "props": [{"type": "string", "name": "eventHubResourceId", "arg": "$body.properties.destinations.eventHubsDirect[].eventHubResourceId"}, {"type": "string", "name": "name", "arg": "$body.properties.destinations.eventHubsDirect[].name"}]}, "identifiers": ["name"]}, {"type": "array", "name": "logAnalytics", "arg": "$body.properties.destinations.logAnalytics", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$body.properties.destinations.logAnalytics[].name"}, {"type": "string", "name": "workspaceResourceId", "arg": "$body.properties.destinations.logAnalytics[].workspaceResourceId"}]}, "identifiers": ["name"]}, {"type": "array", "name": "monitoringAccounts", "arg": "$body.properties.destinations.monitoringAccounts", "item": {"type": "object", "props": [{"type": "string", "name": "accountResourceId", "arg": "$body.properties.destinations.monitoringAccounts[].accountResourceId"}, {"type": "string", "name": "name", "arg": "$body.properties.destinations.monitoringAccounts[].name"}]}, "identifiers": ["name"]}, {"type": "array<@StorageBlobDestination_update>", "name": "storageAccounts", "arg": "$body.properties.destinations.storageAccounts", "item": {"type": "@StorageBlobDestination_update"}, "identifiers": ["name"]}, {"type": "array", "name": "storageBlobsDirect", "arg": "$body.properties.destinations.storageBlobsDirect", "item": {"type": "object", "props": [{"type": "string", "name": "containerName", "arg": "@StorageBlobDestination_update.containerName"}, {"type": "string", "name": "name", "arg": "@StorageBlobDestination_update.name"}, {"type": "string", "name": "storageAccountResourceId", "arg": "@StorageBlobDestination_update.storageAccountResourceId"}], "cls": "StorageBlobDestination_update"}, "identifiers": ["name"]}, {"type": "array", "name": "storageTablesDirect", "arg": "$body.properties.destinations.storageTablesDirect", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$body.properties.destinations.storageTablesDirect[].name"}, {"type": "string", "name": "storageAccountResourceId", "arg": "$body.properties.destinations.storageTablesDirect[].storageAccountResourceId"}, {"type": "string", "name": "tableName", "arg": "$body.properties.destinations.storageTablesDirect[].tableName"}]}, "identifiers": ["name"]}]}, {"type": "object", "name": "streamDeclarations", "arg": "$body.properties.streamDeclarations", "additionalProps": {"item": {"type": "object", "props": [{"type": "array", "name": "columns", "arg": "$body.properties.streamDeclarations{}.columns", "item": {"type": "object", "props": [{"type": "string", "name": "name", "arg": "$body.properties.streamDeclarations{}.columns[].name"}, {"type": "string", "name": "type", "arg": "$body.properties.streamDeclarations{}.columns[].type", "enum": {"items": [{"value": "boolean"}, {"value": "datetime"}, {"value": "dynamic"}, {"value": "int"}, {"value": "long"}, {"value": "real"}, {"value": "string"}]}}]}, "identifiers": ["name"]}]}}}], "clientFlatten": true}, {"type": "object", "name": "tags", "arg": "$body.tags", "additionalProps": {"item": {"type": "string"}}}], "clientFlatten": true}}}}, {"operationId": "DataCollectionRules_Create", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dataCollectionRuleName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "dataCollectionRuleName", "arg": "$Path.dataCollectionRuleName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@DataCollectionRuleResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9/2022-06-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9/2022-06-01.xml new file mode 100644 index 000000000..7a338f0ad --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9/2022-06-01.xml @@ -0,0 +1,2843 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9L2Fzc29jaWF0aW9ucw==/2022-06-01.json b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9L2Fzc29jaWF0aW9ucw==/2022-06-01.json new file mode 100644 index 000000000..2e60ae96f --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9L2Fzc29jaWF0aW9ucw==/2022-06-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules/{}/associations", "version": "2022-06-01", "swagger": "mgmt-plane/monitor/ResourceProviders/Microsoft.Insights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSW5zaWdodHMvZGF0YUNvbGxlY3Rpb25SdWxlcy97ZGF0YUNvbGxlY3Rpb25SdWxlTmFtZX0vYXNzb2NpYXRpb25z/V/MjAyMi0wNi0wMQ=="}], "commandGroups": [{"name": "monitor data-collection rule association", "commands": [{"name": "list", "version": "2022-06-01", "resources": [{"id": "/subscriptions/{}/resourcegroups/{}/providers/microsoft.insights/datacollectionrules/{}/associations", "version": "2022-06-01", "swagger": "mgmt-plane/monitor/ResourceProviders/Microsoft.Insights/Paths/L3N1YnNjcmlwdGlvbnMve3N1YnNjcmlwdGlvbklkfS9yZXNvdXJjZUdyb3Vwcy97cmVzb3VyY2VHcm91cE5hbWV9L3Byb3ZpZGVycy9NaWNyb3NvZnQuSW5zaWdodHMvZGF0YUNvbGxlY3Rpb25SdWxlcy97ZGF0YUNvbGxlY3Rpb25SdWxlTmFtZX0vYXNzb2NpYXRpb25z/V/MjAyMi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.dataCollectionRuleName", "options": ["rule-name", "data-collection-rule-name"], "required": true, "group": "", "idPart": "name", "help": {"short": "The name of the data collection rule. The name is case insensitive."}}, {"type": "ResourceGroupName", "var": "$Path.resourceGroupName", "options": ["g", "resource-group"], "required": true, "idPart": "resource_group"}, {"type": "SubscriptionId", "var": "$Path.subscriptionId", "options": ["subscription"], "required": true, "idPart": "subscription"}]}], "operations": [{"operationId": "DataCollectionRuleAssociations_ListByRule", "http": {"path": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/dataCollectionRules/{dataCollectionRuleName}/associations", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "dataCollectionRuleName", "arg": "$Path.dataCollectionRuleName", "required": true}, {"type": "string", "name": "resourceGroupName", "arg": "$Path.resourceGroupName", "required": true, "format": {"maxLength": 90, "minLength": 1}}, {"type": "string", "name": "subscriptionId", "arg": "$Path.subscriptionId", "required": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataCollectionEndpointId"}, {"type": "string", "name": "dataCollectionRuleId"}, {"type": "string", "name": "description"}, {"readOnly": true, "type": "object", "name": "metadata", "props": [{"readOnly": true, "type": "string", "name": "provisionedBy"}, {"readOnly": true, "type": "string", "name": "provisionedByResourceId"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9L2Fzc29jaWF0aW9ucw==/2022-06-01.xml b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9L2Fzc29jaWF0aW9ucw==/2022-06-01.xml new file mode 100644 index 000000000..1afda4fe0 --- /dev/null +++ b/Resources/mgmt-plane/L3N1YnNjcmlwdGlvbnMve30vcmVzb3VyY2Vncm91cHMve30vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVzL3t9L2Fzc29jaWF0aW9ucw==/2022-06-01.xml @@ -0,0 +1,105 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVhc3NvY2lhdGlvbnM=/2022-06-01.json b/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVhc3NvY2lhdGlvbnM=/2022-06-01.json new file mode 100644 index 000000000..347e6e04a --- /dev/null +++ b/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVhc3NvY2lhdGlvbnM=/2022-06-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/{resourceuri}/providers/microsoft.insights/datacollectionruleassociations", "version": "2022-06-01", "swagger": "mgmt-plane/monitor/ResourceProviders/Microsoft.Insights/Paths/L3tyZXNvdXJjZVVyaX0vcHJvdmlkZXJzL01pY3Jvc29mdC5JbnNpZ2h0cy9kYXRhQ29sbGVjdGlvblJ1bGVBc3NvY2lhdGlvbnM=/V/MjAyMi0wNi0wMQ=="}], "commandGroups": [{"name": "monitor data-collection rule association", "commands": [{"name": "list-by-resource", "version": "2022-06-01", "resources": [{"id": "/{resourceuri}/providers/microsoft.insights/datacollectionruleassociations", "version": "2022-06-01", "swagger": "mgmt-plane/monitor/ResourceProviders/Microsoft.Insights/Paths/L3tyZXNvdXJjZVVyaX0vcHJvdmlkZXJzL01pY3Jvc29mdC5JbnNpZ2h0cy9kYXRhQ29sbGVjdGlvblJ1bGVBc3NvY2lhdGlvbnM=/V/MjAyMi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.resourceUri", "options": ["resource", "resource-uri"], "required": true, "group": "", "help": {"short": "The identifier of the resource."}, "format": {"minLength": 1}}]}], "operations": [{"operationId": "DataCollectionRuleAssociations_ListByResource", "http": {"path": "/{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "resourceUri", "arg": "$Path.resourceUri", "required": true, "skipUrlEncoding": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"type": "string", "name": "nextLink"}, {"type": "array", "name": "value", "required": true, "item": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataCollectionEndpointId"}, {"type": "string", "name": "dataCollectionRuleId"}, {"type": "string", "name": "description"}, {"readOnly": true, "type": "object", "name": "metadata", "props": [{"readOnly": true, "type": "string", "name": "provisionedBy"}, {"readOnly": true, "type": "string", "name": "provisionedByResourceId"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "array", "ref": "$Instance.value", "clientFlatten": true, "nextLink": "$Instance.nextLink"}], "confirmation": ""}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVhc3NvY2lhdGlvbnM=/2022-06-01.xml b/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVhc3NvY2lhdGlvbnM=/2022-06-01.xml new file mode 100644 index 000000000..4fd8f231b --- /dev/null +++ b/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVhc3NvY2lhdGlvbnM=/2022-06-01.xml @@ -0,0 +1,100 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVhc3NvY2lhdGlvbnMve30=/2022-06-01.json b/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVhc3NvY2lhdGlvbnMve30=/2022-06-01.json new file mode 100644 index 000000000..d9d9af562 --- /dev/null +++ b/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVhc3NvY2lhdGlvbnMve30=/2022-06-01.json @@ -0,0 +1 @@ +{"plane": "mgmt-plane", "resources": [{"id": "/{resourceuri}/providers/microsoft.insights/datacollectionruleassociations/{}", "version": "2022-06-01", "swagger": "mgmt-plane/monitor/ResourceProviders/Microsoft.Insights/Paths/L3tyZXNvdXJjZVVyaX0vcHJvdmlkZXJzL01pY3Jvc29mdC5JbnNpZ2h0cy9kYXRhQ29sbGVjdGlvblJ1bGVBc3NvY2lhdGlvbnMve2Fzc29jaWF0aW9uTmFtZX0=/V/MjAyMi0wNi0wMQ=="}], "commandGroups": [{"name": "monitor data-collection rule association", "commands": [{"name": "show", "version": "2022-06-01", "resources": [{"id": "/{resourceuri}/providers/microsoft.insights/datacollectionruleassociations/{}", "version": "2022-06-01", "swagger": "mgmt-plane/monitor/ResourceProviders/Microsoft.Insights/Paths/L3tyZXNvdXJjZVVyaX0vcHJvdmlkZXJzL01pY3Jvc29mdC5JbnNpZ2h0cy9kYXRhQ29sbGVjdGlvblJ1bGVBc3NvY2lhdGlvbnMve2Fzc29jaWF0aW9uTmFtZX0=/V/MjAyMi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.associationName", "options": ["n", "name", "association-name"], "required": true, "group": "", "help": {"short": "The name of the association. The name is case insensitive."}}, {"type": "string", "var": "$Path.resourceUri", "options": ["resource", "resource-uri"], "required": true, "group": "", "help": {"short": "The identifier of the resource."}, "format": {"minLength": 1}}]}], "operations": [{"operationId": "DataCollectionRuleAssociations_Get", "http": {"path": "/{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations/{associationName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "associationName", "arg": "$Path.associationName", "required": true}, {"type": "string", "name": "resourceUri", "arg": "$Path.resourceUri", "required": true, "skipUrlEncoding": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataCollectionEndpointId"}, {"type": "string", "name": "dataCollectionRuleId"}, {"type": "string", "name": "description"}, {"readOnly": true, "type": "object", "name": "metadata", "props": [{"readOnly": true, "type": "string", "name": "provisionedBy"}, {"readOnly": true, "type": "string", "name": "provisionedByResourceId"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "delete", "version": "2022-06-01", "resources": [{"id": "/{resourceuri}/providers/microsoft.insights/datacollectionruleassociations/{}", "version": "2022-06-01", "swagger": "mgmt-plane/monitor/ResourceProviders/Microsoft.Insights/Paths/L3tyZXNvdXJjZVVyaX0vcHJvdmlkZXJzL01pY3Jvc29mdC5JbnNpZ2h0cy9kYXRhQ29sbGVjdGlvblJ1bGVBc3NvY2lhdGlvbnMve2Fzc29jaWF0aW9uTmFtZX0=/V/MjAyMi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.associationName", "options": ["n", "name", "association-name"], "required": true, "group": "", "help": {"short": "The name of the association. The name is case insensitive."}}, {"type": "string", "var": "$Path.resourceUri", "options": ["resource", "resource-uri"], "required": true, "group": "", "help": {"short": "The identifier of the resource."}, "format": {"minLength": 1}}]}], "operations": [{"operationId": "DataCollectionRuleAssociations_Delete", "http": {"path": "/{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations/{associationName}", "request": {"method": "delete", "path": {"params": [{"type": "string", "name": "associationName", "arg": "$Path.associationName", "required": true}, {"type": "string", "name": "resourceUri", "arg": "$Path.resourceUri", "required": true, "skipUrlEncoding": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200]}, {"statusCode": [204]}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "confirmation": "Are you sure you want to perform this operation?"}, {"name": "create", "version": "2022-06-01", "resources": [{"id": "/{resourceuri}/providers/microsoft.insights/datacollectionruleassociations/{}", "version": "2022-06-01", "swagger": "mgmt-plane/monitor/ResourceProviders/Microsoft.Insights/Paths/L3tyZXNvdXJjZVVyaX0vcHJvdmlkZXJzL01pY3Jvc29mdC5JbnNpZ2h0cy9kYXRhQ29sbGVjdGlvblJ1bGVBc3NvY2lhdGlvbnMve2Fzc29jaWF0aW9uTmFtZX0=/V/MjAyMi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.associationName", "options": ["n", "name", "association-name"], "required": true, "group": "", "help": {"short": "The name of the association. The name is case insensitive."}}, {"type": "string", "var": "$Path.resourceUri", "options": ["resource", "resource-uri"], "required": true, "group": "", "help": {"short": "The identifier of the resource."}, "format": {"minLength": 1}}, {"type": "string", "var": "$body.properties.dataCollectionEndpointId", "options": ["endpoint-id", "data-collection-endpoint-id"], "group": "", "help": {"short": "The resource ID of the data collection endpoint that is to be associated."}}, {"type": "string", "var": "$body.properties.dataCollectionRuleId", "options": ["rule-id", "data-collection-rule-id"], "group": "", "help": {"short": "The resource ID of the data collection rule that is to be associated."}}, {"type": "string", "var": "$body.properties.description", "options": ["description"], "group": "", "help": {"short": "Description of the association."}}]}], "operations": [{"operationId": "DataCollectionRuleAssociations_Create", "http": {"path": "/{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations/{associationName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "associationName", "arg": "$Path.associationName", "required": true}, {"type": "string", "name": "resourceUri", "arg": "$Path.resourceUri", "required": true, "skipUrlEncoding": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"schema": {"type": "object", "name": "body", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataCollectionEndpointId", "arg": "$body.properties.dataCollectionEndpointId"}, {"type": "string", "name": "dataCollectionRuleId", "arg": "$body.properties.dataCollectionRuleId"}, {"type": "string", "name": "description", "arg": "$body.properties.description"}], "clientFlatten": true}], "clientFlatten": true}}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataCollectionEndpointId"}, {"type": "string", "name": "dataCollectionRuleId"}, {"type": "string", "name": "description"}, {"readOnly": true, "type": "object", "name": "metadata", "props": [{"readOnly": true, "type": "string", "name": "provisionedBy"}, {"readOnly": true, "type": "string", "name": "provisionedByResourceId"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}]}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}, {"name": "update", "version": "2022-06-01", "resources": [{"id": "/{resourceuri}/providers/microsoft.insights/datacollectionruleassociations/{}", "version": "2022-06-01", "swagger": "mgmt-plane/monitor/ResourceProviders/Microsoft.Insights/Paths/L3tyZXNvdXJjZVVyaX0vcHJvdmlkZXJzL01pY3Jvc29mdC5JbnNpZ2h0cy9kYXRhQ29sbGVjdGlvblJ1bGVBc3NvY2lhdGlvbnMve2Fzc29jaWF0aW9uTmFtZX0=/V/MjAyMi0wNi0wMQ=="}], "argGroups": [{"name": "", "args": [{"type": "string", "var": "$Path.associationName", "options": ["n", "name", "association-name"], "required": true, "group": "", "help": {"short": "The name of the association. The name is case insensitive."}}, {"type": "string", "var": "$Path.resourceUri", "options": ["resource", "resource-uri"], "required": true, "group": "", "help": {"short": "The identifier of the resource."}, "format": {"minLength": 1}}, {"nullable": true, "type": "string", "var": "$body.properties.dataCollectionEndpointId", "options": ["endpoint-id", "data-collection-endpoint-id"], "group": "", "help": {"short": "The resource ID of the data collection endpoint that is to be associated."}}, {"nullable": true, "type": "string", "var": "$body.properties.dataCollectionRuleId", "options": ["rule-id", "data-collection-rule-id"], "group": "", "help": {"short": "The resource ID of the data collection rule that is to be associated."}}, {"nullable": true, "type": "string", "var": "$body.properties.description", "options": ["description"], "group": "", "help": {"short": "Description of the association."}}]}], "operations": [{"operationId": "DataCollectionRuleAssociations_Get", "http": {"path": "/{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations/{associationName}", "request": {"method": "get", "path": {"params": [{"type": "string", "name": "associationName", "arg": "$Path.associationName", "required": true}, {"type": "string", "name": "resourceUri", "arg": "$Path.resourceUri", "required": true, "skipUrlEncoding": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}}, "responses": [{"statusCode": [200], "body": {"json": {"var": "$Instance", "schema": {"type": "object", "props": [{"readOnly": true, "type": "string", "name": "etag"}, {"readOnly": true, "type": "ResourceId", "name": "id", "format": {"template": "/{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations/{}"}}, {"readOnly": true, "type": "string", "name": "name"}, {"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataCollectionEndpointId"}, {"type": "string", "name": "dataCollectionRuleId"}, {"type": "string", "name": "description"}, {"readOnly": true, "type": "object", "name": "metadata", "props": [{"readOnly": true, "type": "string", "name": "provisionedBy"}, {"readOnly": true, "type": "string", "name": "provisionedByResourceId"}]}, {"readOnly": true, "type": "string", "name": "provisioningState", "enum": {"items": [{"value": "Canceled"}, {"value": "Creating"}, {"value": "Deleting"}, {"value": "Failed"}, {"value": "Succeeded"}, {"value": "Updating"}]}}], "clientFlatten": true}, {"readOnly": true, "type": "object", "name": "systemData", "props": [{"type": "dateTime", "name": "createdAt"}, {"type": "string", "name": "createdBy"}, {"type": "string", "name": "createdByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}, {"type": "dateTime", "name": "lastModifiedAt"}, {"type": "string", "name": "lastModifiedBy"}, {"type": "string", "name": "lastModifiedByType", "enum": {"items": [{"value": "Application"}, {"value": "Key"}, {"value": "ManagedIdentity"}, {"value": "User"}]}}]}, {"readOnly": true, "type": "string", "name": "type"}], "cls": "DataCollectionRuleAssociationProxyOnlyResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}, {"instanceUpdate": {"ref": "$Instance", "json": {"schema": {"type": "object", "name": "body", "props": [{"type": "object", "name": "properties", "props": [{"type": "string", "name": "dataCollectionEndpointId", "arg": "$body.properties.dataCollectionEndpointId"}, {"type": "string", "name": "dataCollectionRuleId", "arg": "$body.properties.dataCollectionRuleId"}, {"type": "string", "name": "description", "arg": "$body.properties.description"}], "clientFlatten": true}], "clientFlatten": true}}}}, {"operationId": "DataCollectionRuleAssociations_Create", "http": {"path": "/{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations/{associationName}", "request": {"method": "put", "path": {"params": [{"type": "string", "name": "associationName", "arg": "$Path.associationName", "required": true}, {"type": "string", "name": "resourceUri", "arg": "$Path.resourceUri", "required": true, "skipUrlEncoding": true, "format": {"minLength": 1}}]}, "query": {"consts": [{"readOnly": true, "const": true, "default": {"value": "2022-06-01"}, "type": "string", "name": "api-version", "required": true, "format": {"minLength": 1}}]}, "body": {"json": {"ref": "$Instance"}}}, "responses": [{"statusCode": [200, 201], "body": {"json": {"var": "$Instance", "schema": {"type": "@DataCollectionRuleAssociationProxyOnlyResource_read"}}}}, {"isError": true, "body": {"json": {"schema": {"type": "@MgmtErrorFormat"}}}}]}}], "outputs": [{"type": "object", "ref": "$Instance", "clientFlatten": true}]}]}]} \ No newline at end of file diff --git a/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVhc3NvY2lhdGlvbnMve30=/2022-06-01.xml b/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVhc3NvY2lhdGlvbnMve30=/2022-06-01.xml new file mode 100644 index 000000000..4ce150e54 --- /dev/null +++ b/Resources/mgmt-plane/L3tyZXNvdXJjZXVyaX0vcHJvdmlkZXJzL21pY3Jvc29mdC5pbnNpZ2h0cy9kYXRhY29sbGVjdGlvbnJ1bGVhc3NvY2lhdGlvbnMve30=/2022-06-01.xml @@ -0,0 +1,401 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +