-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Public private branch 'ikanni/2021-04-30-preview_new' (…
…#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
Showing
25 changed files
with
3,362 additions
and
0 deletions.
There are no files selected for viewing
1,626 changes: 1,626 additions & 0 deletions
1,626
...tomanage/resource-manager/Microsoft.Automanage/preview/2021-04-30-preview/automanage.json
Large diffs are not rendered by default.
Oops, something went wrong.
173 changes: 173 additions & 0 deletions
173
...ft.Automanage/preview/2021-04-30-preview/examples/createOrUpdateConfigurationProfile.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
58 changes: 58 additions & 0 deletions
58
...age/preview/2021-04-30-preview/examples/createOrUpdateConfigurationProfileAssignment.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.