|
| 1 | +{ |
| 2 | + "parameters": { |
| 3 | + "subscriptionId": "mySubscriptionId", |
| 4 | + "resourceGroupName": "myResourceGroupName", |
| 5 | + "vmssName": "myVMSSName", |
| 6 | + "name": "NotInstalledApplicationForWindows", |
| 7 | + "api-version": "2022-01-25", |
| 8 | + "parameters": { |
| 9 | + "location": "westcentralus", |
| 10 | + "name": "NotInstalledApplicationForWindows", |
| 11 | + "properties": { |
| 12 | + "context": "Azure policy", |
| 13 | + "guestConfiguration": { |
| 14 | + "name": "NotInstalledApplicationForWindows", |
| 15 | + "version": "1.*", |
| 16 | + "contentUri": "https://thisisfake/pacakge", |
| 17 | + "contentHash": "123contenthash", |
| 18 | + "assignmentType": "ApplyAndAutoCorrect", |
| 19 | + "configurationParameter": [ |
| 20 | + { |
| 21 | + "name": "[InstalledApplication]NotInstalledApplicationResource1;Name", |
| 22 | + "value": "NotePad,sql" |
| 23 | + } |
| 24 | + ] |
| 25 | + } |
| 26 | + } |
| 27 | + } |
| 28 | + }, |
| 29 | + "responses": { |
| 30 | + "201": { |
| 31 | + "headers": {}, |
| 32 | + "body": { |
| 33 | + "location": "westcentralus", |
| 34 | + "id": "/subscriptions/mysubscriptionid/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualmachinescalesets/myvmssname/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/NotInstalledApplicationForWindows", |
| 35 | + "name": "NotInstalledApplicationForWindows", |
| 36 | + "properties": { |
| 37 | + "complianceStatus": "Pending", |
| 38 | + "assignmentHash": null, |
| 39 | + "latestReportId": null, |
| 40 | + "lastComplianceStatusChecked": null, |
| 41 | + "context": "Azure policy", |
| 42 | + "resourceType": null, |
| 43 | + "vmssVMList": null, |
| 44 | + "guestConfiguration": { |
| 45 | + "kind": null, |
| 46 | + "name": "NotInstalledApplicationForWindows", |
| 47 | + "version": "1.0.0.3", |
| 48 | + "contentUri": null, |
| 49 | + "contentHash": null, |
| 50 | + "contentType": null, |
| 51 | + "assignmentSource": "AzurePolicy", |
| 52 | + "configurationParameter": [ |
| 53 | + { |
| 54 | + "name": "[InstalledApplication]NotInstalledApplicationResource1;Name", |
| 55 | + "value": "NotePad,sql" |
| 56 | + } |
| 57 | + ] |
| 58 | + }, |
| 59 | + "provisioningState": "Succeeded" |
| 60 | + } |
| 61 | + } |
| 62 | + }, |
| 63 | + "200": { |
| 64 | + "headers": {}, |
| 65 | + "body": { |
| 66 | + "location": "westcentralus", |
| 67 | + "id": "/subscriptions/mysubscriptionid/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualmachinescalesets/myvmssname/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/NotInstalledApplicationForWindows", |
| 68 | + "name": "NotInstalledApplicationForWindows", |
| 69 | + "properties": { |
| 70 | + "complianceStatus": "Pending", |
| 71 | + "assignmentHash": null, |
| 72 | + "latestReportId": null, |
| 73 | + "lastComplianceStatusChecked": null, |
| 74 | + "context": "Azure policy", |
| 75 | + "resourceType": null, |
| 76 | + "vmssVMList": null, |
| 77 | + "guestConfiguration": { |
| 78 | + "kind": null, |
| 79 | + "name": "NotInstalledApplicationForWindows", |
| 80 | + "version": "1.0.0.3", |
| 81 | + "contentUri": null, |
| 82 | + "contentHash": null, |
| 83 | + "contentType": null, |
| 84 | + "assignmentSource": "AzurePolicy", |
| 85 | + "configurationParameter": [ |
| 86 | + { |
| 87 | + "name": "[InstalledApplication]NotInstalledApplicationResource1;Name", |
| 88 | + "value": "NotePad,sql" |
| 89 | + } |
| 90 | + ] |
| 91 | + }, |
| 92 | + "provisioningState": "Succeeded" |
| 93 | + } |
| 94 | + } |
| 95 | + } |
| 96 | + } |
| 97 | +} |
0 commit comments