Skip to content

Commit 7d4a583

Browse files
ikanniLeiwang3SQL
authored andcommitted
[Hub Generated] Public private branch 'ikanni/2021-04-30-preview_new' (Azure#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
1 parent 272b020 commit 7d4a583

25 files changed

+3362
-0
lines changed

specification/automanage/resource-manager/Microsoft.Automanage/preview/2021-04-30-preview/automanage.json

Lines changed: 1626 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,173 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "mySubscriptionId",
4+
"resourceGroupName": "myResourceGroupName",
5+
"configurationProfileName": "customConfigurationProfile",
6+
"api-version": "2021-04-30-preview",
7+
"parameters": {
8+
"location": "East US",
9+
"tags": {
10+
"Organization": "Administration"
11+
},
12+
"properties": {
13+
"configuration": {
14+
"Antimalware/Enable": false,
15+
"Backup/Enable": false,
16+
"VMInsights/Enable": true,
17+
"AzureSecurityCenter/Enable": true,
18+
"UpdateManagement/Enable": true,
19+
"ChangeTrackingAndInventory/Enable": true,
20+
"GuestConfiguration/Enable": true,
21+
"LogAnalytics/Enable": true,
22+
"BootDiagnostics/Enable": true
23+
},
24+
"overrides": [
25+
{
26+
"priority": 100,
27+
"if": {
28+
"field": "$.location",
29+
"equals": "eastus"
30+
},
31+
"then": {
32+
"LogAnalytics/Enable": true,
33+
"LogAnalytics/Workspace": "/subscriptions/abc/resourceGroups/xyz/providers/Microsoft.La/Workspaces/eastus",
34+
"LogAnalytics/Reprovision": true
35+
}
36+
},
37+
{
38+
"priority": 200,
39+
"if": {
40+
"field": "$.location",
41+
"equals": "centralcanada"
42+
},
43+
"then": {
44+
"LogAnalytics/Enable": true,
45+
"LogAnalytics/Workspace": "/subscriptions/abc/resourceGroups/xyz/providers/Microsoft.La/Workspaces/centralcanada",
46+
"LogAnalytics/Reprovision": true
47+
}
48+
}
49+
]
50+
}
51+
}
52+
},
53+
"responses": {
54+
"201": {
55+
"headers": {},
56+
"body": {
57+
"id": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Automanage/configurationProfiles/customConfigurationProfile",
58+
"name": "customConfigurationProfile",
59+
"type": "Microsoft.Automanage/configurationProfiles",
60+
"location": "East US",
61+
"tags": {
62+
"Organization": "Administration"
63+
},
64+
"properties": {
65+
"configuration": {
66+
"Antimalware/Enable": false,
67+
"Backup/Enable": false,
68+
"VMInsights/Enable": true,
69+
"AzureSecurityCenter/Enable": true,
70+
"UpdateManagement/Enable": true,
71+
"ChangeTrackingAndInventory/Enable": true,
72+
"GuestConfiguration/Enable": true,
73+
"LogAnalytics/Enable": true,
74+
"BootDiagnostics/Enable": true
75+
},
76+
"overrides": [
77+
{
78+
"priority": 100,
79+
"if": {
80+
"field": "$.location",
81+
"equals": "eastus"
82+
},
83+
"then": {
84+
"LogAnalytics/Enable": true,
85+
"LogAnalytics/Workspace": "/subscriptions/abc/resourceGroups/xyz/providers/Microsoft.La/Workspaces/eastus",
86+
"LogAnalytics/Reprovision": true
87+
}
88+
},
89+
{
90+
"priority": 200,
91+
"if": {
92+
"field": "$.location",
93+
"equals": "centralcanada"
94+
},
95+
"then": {
96+
"LogAnalytics/Enable": true,
97+
"LogAnalytics/Workspace": "/subscriptions/abc/resourceGroups/xyz/providers/Microsoft.La/Workspaces/centralcanada",
98+
"LogAnalytics/Reprovision": true
99+
}
100+
}
101+
]
102+
},
103+
"systemData": {
104+
"createdBy": "user1@outlook.com",
105+
"createdByType": "User",
106+
"createdAt": "2020-02-03T01:01:01.1075056Z",
107+
"lastModifiedBy": "user2@outlook.com",
108+
"lastModifiedByType": "User",
109+
"lastModifiedAt": "2020-02-14T02:03:01.1974346Z"
110+
}
111+
}
112+
},
113+
"200": {
114+
"headers": {},
115+
"body": {
116+
"id": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Automanage/configurationProfiles/customConfigurationProfile",
117+
"name": "customConfigurationProfile",
118+
"type": "Microsoft.Automanage/configurationProfiles",
119+
"location": "East US",
120+
"tags": {
121+
"Organization": "Administration"
122+
},
123+
"properties": {
124+
"configuration": {
125+
"Antimalware/Enable": false,
126+
"Backup/Enable": false,
127+
"VMInsights/Enable": true,
128+
"AzureSecurityCenter/Enable": true,
129+
"UpdateManagement/Enable": true,
130+
"ChangeTrackingAndInventory/Enable": true,
131+
"GuestConfiguration/Enable": true,
132+
"LogAnalytics/Enable": true,
133+
"BootDiagnostics/Enable": true
134+
},
135+
"overrides": [
136+
{
137+
"priority": 100,
138+
"if": {
139+
"field": "$.location",
140+
"equals": "eastus"
141+
},
142+
"then": {
143+
"LogAnalytics/Enable": true,
144+
"LogAnalytics/Workspace": "/subscriptions/abc/resourceGroups/xyz/providers/Microsoft.La/Workspaces/eastus",
145+
"LogAnalytics/Reprovision": true
146+
}
147+
},
148+
{
149+
"priority": 200,
150+
"if": {
151+
"field": "$.location",
152+
"equals": "centralcanada"
153+
},
154+
"then": {
155+
"LogAnalytics/Enable": true,
156+
"LogAnalytics/Workspace": "/subscriptions/abc/resourceGroups/xyz/providers/Microsoft.La/Workspaces/centralcanada",
157+
"LogAnalytics/Reprovision": true
158+
}
159+
}
160+
]
161+
},
162+
"systemData": {
163+
"createdBy": "user1@outlook.com",
164+
"createdByType": "User",
165+
"createdAt": "2020-02-03T01:01:01.1075056Z",
166+
"lastModifiedBy": "user2@outlook.com",
167+
"lastModifiedByType": "User",
168+
"lastModifiedAt": "2020-02-04T02:03:01.1974346Z"
169+
}
170+
}
171+
}
172+
}
173+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "mySubscriptionId",
4+
"resourceGroupName": "myResourceGroupName",
5+
"vmName": "myVMName",
6+
"configurationProfileAssignmentName": "default",
7+
"api-version": "2021-04-30-preview",
8+
"parameters": {
9+
"properties": {
10+
"configurationProfile": "/providers/Microsoft.Automanage/bestPractices/AzureBestPracticesProduction"
11+
}
12+
}
13+
},
14+
"responses": {
15+
"201": {
16+
"headers": {},
17+
"body": {
18+
"id": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myVMName/providers/Microsoft.Automanage/AutomanageAssignments/default",
19+
"name": "default",
20+
"properties": {
21+
"targetId": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myVMName",
22+
"configurationProfile": "/providers/Microsoft.Automanage/bestPractices/AzureBestPracticesProduction",
23+
"profileOverrides": null,
24+
"status": null
25+
},
26+
"systemData": {
27+
"createdBy": "user1@outlook.com",
28+
"createdByType": "User",
29+
"createdAt": "2020-02-03T01:01:01.1075056Z",
30+
"lastModifiedBy": "user2@outlook.com",
31+
"lastModifiedByType": "User",
32+
"lastModifiedAt": "2020-02-04T02:03:01.1974346Z"
33+
}
34+
}
35+
},
36+
"200": {
37+
"headers": {},
38+
"body": {
39+
"id": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myVMName/providers/Microsoft.Automanage/AutomanageAssignments/default",
40+
"name": "default",
41+
"properties": {
42+
"targetId": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myVMName",
43+
"configurationProfile": "/providers/Microsoft.Automanage/bestPractices/AzureBestPracticesProduction",
44+
"profileOverrides": null,
45+
"status": null
46+
},
47+
"systemData": {
48+
"createdBy": "user1@outlook.com",
49+
"createdByType": "User",
50+
"createdAt": "2020-02-03T01:01:01.1075056Z",
51+
"lastModifiedBy": "user2@outlook.com",
52+
"lastModifiedByType": "User",
53+
"lastModifiedAt": "2020-02-04T02:03:01.1974346Z"
54+
}
55+
}
56+
}
57+
}
58+
}

0 commit comments

Comments
 (0)