From 2a0e1016e59486640eca8f6bced2e299e389d0f6 Mon Sep 17 00:00:00 2001 From: Jesper Fajers Date: Mon, 2 May 2022 18:55:18 +0200 Subject: [PATCH] ExpandResourceDiscoveryUpdate --- docs/wiki/Frequently-Asked-Questions.md | 10 +++++++++- docs/wiki/Settings.md | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/docs/wiki/Frequently-Asked-Questions.md b/docs/wiki/Frequently-Asked-Questions.md index bf737519..d7588221 100644 --- a/docs/wiki/Frequently-Asked-Questions.md +++ b/docs/wiki/Frequently-Asked-Questions.md @@ -64,6 +64,7 @@ Can AzOps settings be configured to enable this? Yes, ensure the following setting combinations are applied (replace `SubscriptionId` with your specific information) +```bash "Core.IncludeResourcesInResourceGroup": ["*"] "Core.IncludeResourceType": ["*"] @@ -73,6 +74,7 @@ Yes, ensure the following setting combinations are applied (replace `Subscriptio "Core.SkipResourceGroup": false "Core.SubscriptionsToIncludeResourceGroups": ["SubscriptionId"] +``` ### **I want to discover all resources in specific resource groups in one specific subscription** @@ -80,6 +82,7 @@ Can AzOps settings be configured to enable this? Yes, ensure the following setting combinations are applied (replace `rgname1`, `rgname2`, `rgname3` and `SubscriptionId` with your specific information) +```bash "Core.IncludeResourcesInResourceGroup": ["rgname1","rgname2","rgname3"] "Core.IncludeResourceType": ["*"] @@ -89,6 +92,7 @@ Yes, ensure the following setting combinations are applied (replace `rgname1`, ` "Core.SkipResourceGroup": false "Core.SubscriptionsToIncludeResourceGroups": ["SubscriptionId"] +``` ### **I want to discover a specific resource type in specific resource group in one specific subscription** @@ -96,6 +100,7 @@ Can AzOps settings be configured to enable this? Yes, ensure the following setting combinations are applied (replace `rgname1`, `resource-provider/resource-type` and `SubscriptionId` with your specific information) +```bash "Core.IncludeResourcesInResourceGroup": ["rgname1"] "Core.IncludeResourceType": ["resource-provider/resource-type"] @@ -105,6 +110,7 @@ Yes, ensure the following setting combinations are applied (replace `rgname1`, ` "Core.SkipResourceGroup": false "Core.SubscriptionsToIncludeResourceGroups": ["SubscriptionId"] +``` ### **I want to discover and manage several Azure Firewall Policy's and rule collections spread out across several resource groups and subscriptions** @@ -112,6 +118,7 @@ Can AzOps settings be configured to enable this? Yes, ensure the following setting combinations are applied (replace `rgname1`, `rgname2`, `Microsoft.Network/firewallPolicies` and `SubscriptionId1`, `SubscriptionId2` with your specific information) +```bash "Core.IncludeResourcesInResourceGroup": ["rgname1","rgname2"] "Core.IncludeResourceType": ["Microsoft.Network/firewallPolicies"] @@ -122,4 +129,5 @@ Yes, ensure the following setting combinations are applied (replace `rgname1`, ` "Core.SkipResourceGroup": false - "Core.SubscriptionsToIncludeResourceGroups": ["SubscriptionId1","SubscriptionId2"] \ No newline at end of file + "Core.SubscriptionsToIncludeResourceGroups": ["SubscriptionId1","SubscriptionId2"] +``` diff --git a/docs/wiki/Settings.md b/docs/wiki/Settings.md index 96e1f7a6..afcf40ba 100644 --- a/docs/wiki/Settings.md +++ b/docs/wiki/Settings.md @@ -1,6 +1,6 @@ The following configuration values can be modified within the `settings.json` file to change the default behavior of AzOps. -| Id | Name | Description | Example | +| ID | Name | Description | Example | | --- | ------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------- | | 01 | AutoGeneratedTemplateFolderPath | Generate sub folder for composite resources (/.Az) | ![Auto-Generated-Template-FolderPath](./Media/Pipelines/Auto-Generated-Template-FolderPath.PNG) | | 02 | AutoInitialize | Run Initialize-AzOpsEnvironment when module is loaded. *Not recommended to change* | `"Core.AutoInitialize": true` |