Skip to content

Commit

Permalink
[Hub Generated] Public private branch 'ikanni/2021-04-30-preview_new' (
Browse files Browse the repository at this point in the history
…#16681)

* Copy the existing version 2020-06-30-preview as new version 2020-06-30-preview

* [Automanage]Added new version 2021-04-30-preview

* Fixed Hassan's commnet

* Updated one example

* Added report for Michele

* Pushing for Michele

* Pushing changes for Michele

* Pushing changes for Michele

* Pushing changes for Michele

* Pushing changes for Michele

* Pushing changes for Michele

* Pushing changes for Michele

* Fixed comments

* Fixed comments
  • Loading branch information
ikanni authored Nov 9, 2021
1 parent f2aaaa7 commit 5c9696d
Show file tree
Hide file tree
Showing 25 changed files with 3,362 additions and 0 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,173 @@
{
"parameters": {
"subscriptionId": "mySubscriptionId",
"resourceGroupName": "myResourceGroupName",
"configurationProfileName": "customConfigurationProfile",
"api-version": "2021-04-30-preview",
"parameters": {
"location": "East US",
"tags": {
"Organization": "Administration"
},
"properties": {
"configuration": {
"Antimalware/Enable": false,
"Backup/Enable": false,
"VMInsights/Enable": true,
"AzureSecurityCenter/Enable": true,
"UpdateManagement/Enable": true,
"ChangeTrackingAndInventory/Enable": true,
"GuestConfiguration/Enable": true,
"LogAnalytics/Enable": true,
"BootDiagnostics/Enable": true
},
"overrides": [
{
"priority": 100,
"if": {
"field": "$.location",
"equals": "eastus"
},
"then": {
"LogAnalytics/Enable": true,
"LogAnalytics/Workspace": "/subscriptions/abc/resourceGroups/xyz/providers/Microsoft.La/Workspaces/eastus",
"LogAnalytics/Reprovision": true
}
},
{
"priority": 200,
"if": {
"field": "$.location",
"equals": "centralcanada"
},
"then": {
"LogAnalytics/Enable": true,
"LogAnalytics/Workspace": "/subscriptions/abc/resourceGroups/xyz/providers/Microsoft.La/Workspaces/centralcanada",
"LogAnalytics/Reprovision": true
}
}
]
}
}
},
"responses": {
"201": {
"headers": {},
"body": {
"id": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Automanage/configurationProfiles/customConfigurationProfile",
"name": "customConfigurationProfile",
"type": "Microsoft.Automanage/configurationProfiles",
"location": "East US",
"tags": {
"Organization": "Administration"
},
"properties": {
"configuration": {
"Antimalware/Enable": false,
"Backup/Enable": false,
"VMInsights/Enable": true,
"AzureSecurityCenter/Enable": true,
"UpdateManagement/Enable": true,
"ChangeTrackingAndInventory/Enable": true,
"GuestConfiguration/Enable": true,
"LogAnalytics/Enable": true,
"BootDiagnostics/Enable": true
},
"overrides": [
{
"priority": 100,
"if": {
"field": "$.location",
"equals": "eastus"
},
"then": {
"LogAnalytics/Enable": true,
"LogAnalytics/Workspace": "/subscriptions/abc/resourceGroups/xyz/providers/Microsoft.La/Workspaces/eastus",
"LogAnalytics/Reprovision": true
}
},
{
"priority": 200,
"if": {
"field": "$.location",
"equals": "centralcanada"
},
"then": {
"LogAnalytics/Enable": true,
"LogAnalytics/Workspace": "/subscriptions/abc/resourceGroups/xyz/providers/Microsoft.La/Workspaces/centralcanada",
"LogAnalytics/Reprovision": true
}
}
]
},
"systemData": {
"createdBy": "user1@outlook.com",
"createdByType": "User",
"createdAt": "2020-02-03T01:01:01.1075056Z",
"lastModifiedBy": "user2@outlook.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-02-14T02:03:01.1974346Z"
}
}
},
"200": {
"headers": {},
"body": {
"id": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Automanage/configurationProfiles/customConfigurationProfile",
"name": "customConfigurationProfile",
"type": "Microsoft.Automanage/configurationProfiles",
"location": "East US",
"tags": {
"Organization": "Administration"
},
"properties": {
"configuration": {
"Antimalware/Enable": false,
"Backup/Enable": false,
"VMInsights/Enable": true,
"AzureSecurityCenter/Enable": true,
"UpdateManagement/Enable": true,
"ChangeTrackingAndInventory/Enable": true,
"GuestConfiguration/Enable": true,
"LogAnalytics/Enable": true,
"BootDiagnostics/Enable": true
},
"overrides": [
{
"priority": 100,
"if": {
"field": "$.location",
"equals": "eastus"
},
"then": {
"LogAnalytics/Enable": true,
"LogAnalytics/Workspace": "/subscriptions/abc/resourceGroups/xyz/providers/Microsoft.La/Workspaces/eastus",
"LogAnalytics/Reprovision": true
}
},
{
"priority": 200,
"if": {
"field": "$.location",
"equals": "centralcanada"
},
"then": {
"LogAnalytics/Enable": true,
"LogAnalytics/Workspace": "/subscriptions/abc/resourceGroups/xyz/providers/Microsoft.La/Workspaces/centralcanada",
"LogAnalytics/Reprovision": true
}
}
]
},
"systemData": {
"createdBy": "user1@outlook.com",
"createdByType": "User",
"createdAt": "2020-02-03T01:01:01.1075056Z",
"lastModifiedBy": "user2@outlook.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-02-04T02:03:01.1974346Z"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"parameters": {
"subscriptionId": "mySubscriptionId",
"resourceGroupName": "myResourceGroupName",
"vmName": "myVMName",
"configurationProfileAssignmentName": "default",
"api-version": "2021-04-30-preview",
"parameters": {
"properties": {
"configurationProfile": "/providers/Microsoft.Automanage/bestPractices/AzureBestPracticesProduction"
}
}
},
"responses": {
"201": {
"headers": {},
"body": {
"id": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myVMName/providers/Microsoft.Automanage/AutomanageAssignments/default",
"name": "default",
"properties": {
"targetId": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myVMName",
"configurationProfile": "/providers/Microsoft.Automanage/bestPractices/AzureBestPracticesProduction",
"profileOverrides": null,
"status": null
},
"systemData": {
"createdBy": "user1@outlook.com",
"createdByType": "User",
"createdAt": "2020-02-03T01:01:01.1075056Z",
"lastModifiedBy": "user2@outlook.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-02-04T02:03:01.1974346Z"
}
}
},
"200": {
"headers": {},
"body": {
"id": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myVMName/providers/Microsoft.Automanage/AutomanageAssignments/default",
"name": "default",
"properties": {
"targetId": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myVMName",
"configurationProfile": "/providers/Microsoft.Automanage/bestPractices/AzureBestPracticesProduction",
"profileOverrides": null,
"status": null
},
"systemData": {
"createdBy": "user1@outlook.com",
"createdByType": "User",
"createdAt": "2020-02-03T01:01:01.1075056Z",
"lastModifiedBy": "user2@outlook.com",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-02-04T02:03:01.1974346Z"
}
}
}
}
}
Loading

0 comments on commit 5c9696d

Please sign in to comment.