Skip to content

Commit

Permalink
ExpandResourceDiscoveryUpdate
Browse files Browse the repository at this point in the history
  • Loading branch information
Jefajers authored May 2, 2022
1 parent 3bf99d2 commit 2a0e101
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion docs/wiki/Frequently-Asked-Questions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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": ["*"]
Expand All @@ -73,13 +74,15 @@ 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**

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": ["*"]
Expand All @@ -89,13 +92,15 @@ 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**

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"]
Expand All @@ -105,13 +110,15 @@ 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**

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"]
Expand All @@ -122,4 +129,5 @@ Yes, ensure the following setting combinations are applied (replace `rgname1`, `

"Core.SkipResourceGroup": false

"Core.SubscriptionsToIncludeResourceGroups": ["SubscriptionId1","SubscriptionId2"]
"Core.SubscriptionsToIncludeResourceGroups": ["SubscriptionId1","SubscriptionId2"]
```
2 changes: 1 addition & 1 deletion docs/wiki/Settings.md
Original file line number Diff line number Diff line change
@@ -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` |
Expand Down

0 comments on commit 2a0e101

Please sign in to comment.