Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guest Configuration: Add new API version - 2022-01-25 for SET scenario #17811

Merged
merged 38 commits into from
May 6, 2022
Merged
Show file tree
Hide file tree
Changes from 28 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
1bcc20d
Add blockchain to latest profile
markcowl Aug 22, 2019
7b46097
Add additional types
markcowl Aug 22, 2019
43381b5
Add GET all methods for resource group and subscription
Aug 12, 2021
838bb79
Fix Linter Validation issue
Aug 13, 2021
2570a48
Fix Swagger Correctness S360 items
Sep 9, 2021
e35147b
Merge branch 'Azure:master' into master
aashish1987 Sep 9, 2021
d6e611a
Fix swagger validation comments
Sep 14, 2021
ccfa3a4
Merge branch 'Azure:master' into master
aashish1987 Sep 14, 2021
5083c29
Merge branch 'master' of https://github.com/aashish1987/azure-rest-ap…
Sep 14, 2021
e0419af
Fix model validaiton
Sep 14, 2021
b5c44ce
Fix Lint errors
Sep 14, 2021
245e977
Fix model validation for examples
Sep 14, 2021
a861859
IoT Central Public API 1.1-preview Oct Release (#16514)
yang-hai-feng Oct 27, 2021
34df7b5
Merge branch 'Azure:master' into master
aashish1987 Oct 29, 2021
aa74624
Make ConfigurationSetting read-only property
Oct 29, 2021
72f2e1f
Merge branch 'Azure:main' into master
aashish1987 Dec 6, 2021
3907a92
Merge branch 'Azure:main' into master
aashish1987 Jan 5, 2022
42ca347
Fix Swagger S360 issues
Jan 12, 2022
e0ca413
Remove the unknown file
Jan 12, 2022
a75b345
Fix prettier check
Jan 13, 2022
ab69aa1
Changing the vmssResourceId to camelCasing
Jan 13, 2022
2888edd
Revert the readOnly tag on name property
Jan 13, 2022
3b814c1
Merge branch 'Azure:main' into main
aashish1987 Feb 10, 2022
3ded590
Guest Configuration - Add new API version 2022-01-25 for SET Scenario
Feb 11, 2022
6be2621
Merge branch 'Azure:main' into main
aashish1987 Feb 11, 2022
419f660
Merge branch 'main'
Feb 11, 2022
3812896
fix LinDiff errors
Mar 3, 2022
a22d141
Run prettier check
Mar 3, 2022
ff89d43
Fix review comments
Mar 5, 2022
48a299e
Keep the parameter sequence same as before
Mar 7, 2022
f8d7fc1
Update GO SDK read me file
Mar 21, 2022
feaf865
Fix LinttDiff errors
Mar 21, 2022
8d3cf3e
Fix Prettier check
Mar 21, 2022
9149e83
adding assignmentSource field
anineela Apr 6, 2022
f98fe8d
fixing lint issues raised by current PR
anineela May 5, 2022
18d5e78
fixing pageable placement
anineela May 5, 2022
6d1f727
making nextLink null
anineela May 5, 2022
4d4078e
fixing policheck error to replace whitelisted
anineela May 5, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
"parameters": {
"subscriptionId": "mySubscriptionId",
"resourceGroupName": "myResourceGroupName",
"vmName": "myVMName",
"guestConfigurationAssignmentName": "WhitelistedApplication",
"api-version": "2022-01-25",
"parameters": {
"location": "westcentralus",
"name": "WhitelistedApplication",
"properties": {
"context": "Azure policy",
"guestConfiguration": {
"name": "WhitelistedApplication",
"version": "1.*",
"contentUri": "https://thisisfake/pacakge",
"contentHash": "123contenthash",
"assignmentType": "ApplyAndAutoCorrect",
"configurationParameter": [
{
"name": "[InstalledApplication]bwhitelistedapp;Name",
"value": "NotePad,sql"
}
]
}
}
}
},
"responses": {
"201": {
"headers": {},
"body": {
"location": "westcentralus",
"id": "/subscriptions/mysubscriptionid/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myvm/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/WhitelistedApplication",
"name": "WhitelistedApplication",
"properties": {
"complianceStatus": "Pending",
"assignmentHash": null,
"latestReportId": null,
"lastComplianceStatusChecked": null,
"context": "Azure policy",
"resourceType": null,
"vmssVMList": null,
"guestConfiguration": {
"kind": null,
"name": "WhitelistedApplication",
"version": "1.0.0.3",
"contentUri": null,
"contentHash": null,
"contentType": null,
"configurationParameter": [
{
"name": "[InstalledApplication]bwhitelistedapp;Name",
"value": "NotePad,sql"
}
]
},
"provisioningState": "Succeeded"
}
}
},
"200": {
"headers": {},
"body": {
"location": "westcentralus",
"id": "/subscriptions/mysubscriptionid/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myvm/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/WhitelistedApplication",
"name": "WhitelistedApplication",
"properties": {
"complianceStatus": "Pending",
"assignmentHash": null,
"latestReportId": null,
"lastComplianceStatusChecked": null,
"context": "Azure policy",
"resourceType": null,
"vmssVMList": null,
"guestConfiguration": {
"kind": null,
"name": "WhitelistedApplication",
"version": "1.0.0.3",
"contentUri": null,
"contentHash": null,
"contentType": null,
"configurationParameter": [
{
"name": "[InstalledApplication]bwhitelistedapp;Name",
"value": "NotePad,sql"
}
]
},
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"parameters": {
"subscriptionId": "mySubscriptionId",
"resourceGroupName": "myResourceGroupName",
"machineName": "myMachineName",
"guestConfigurationAssignmentName": "WhitelistedApplication",
"api-version": "2022-01-25",
"parameters": {
"location": "westcentralus",
"name": "WhitelistedApplication",
"properties": {
"context": "Azure policy",
"guestConfiguration": {
"name": "WhitelistedApplication",
"version": "1.*",
"contentUri": "https://thisisfake/pacakge",
"contentHash": "123contenthash",
"assignmentType": "ApplyAndAutoCorrect",
"configurationParameter": [
{
"name": "[InstalledApplication]bwhitelistedapp;Name",
"value": "NotePad,sql"
}
]
}
}
}
},
"responses": {
"201": {
"headers": {},
"body": {
"location": "westcentralus",
"id": "/subscriptions/mysubscriptionid/resourceGroups/myResourceGroupName/providers/HybridRP.Compute/virtualMachines/myvm/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/WhitelistedApplication",
"name": "WhitelistedApplication",
"properties": {
"complianceStatus": "Pending",
"assignmentHash": "abcdr453g",
"latestReportId": "a2a64e5d-a1a9-4344-a866-fb9e1541f723",
"lastComplianceStatusChecked": null,
"context": "Azure policy",
"guestConfiguration": {
"kind": null,
"name": "WhitelistedApplication",
"version": "1.0.0.3",
"contentUri": null,
"contentHash": null,
"contentType": null,
"configurationParameter": [
{
"name": "[InstalledApplication]bwhitelistedapp;Name",
"value": "NotePad,sql"
}
]
},
"provisioningState": "Succeeded"
}
}
},
"200": {
"headers": {},
"body": {
"location": "westcentralus",
"id": "/subscriptions/mysubscriptionid/resourceGroups/myResourceGroupName/providers/HybridRP.Compute/virtualMachines/myvm/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/WhitelistedApplication",
"name": "WhitelistedApplication",
"properties": {
"complianceStatus": "Pending",
"assignmentHash": "abcdr453g",
"latestReportId": "a2a64e5d-a1a9-4344-a866-fb9e1541f723",
"lastComplianceStatusChecked": null,
"context": "Azure policy",
"guestConfiguration": {
"kind": null,
"name": "WhitelistedApplication",
"version": "1.0.0.3",
"contentUri": null,
"contentHash": null,
"contentType": null,
"configurationParameter": [
{
"name": "[InstalledApplication]bwhitelistedapp;Name",
"value": "NotePad,sql"
}
]
},
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"subscriptionId": "mySubscriptionId",
"resourceGroupName": "myResourceGroupName",
"vmName": "myVMName",
"guestConfigurationAssignmentName": "SecureProtocol",
"api-version": "2022-01-25"
},
"responses": {
"200": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parameters": {
"subscriptionId": "mySubscriptionId",
"resourceGroupName": "myResourceGroupName",
"machineName": "myMachineName",
"guestConfigurationAssignmentName": "SecureProtocol",
"api-version": "2022-01-25"
},
"responses": {
"200": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"parameters": {
"subscriptionId": "mySubscriptionId",
"resourceGroupName": "myResourceGroupName",
"vmssName": "myVMSSName",
"name": "SecureProtocol",
"api-version": "2022-01-25"
},
"responses": {
"200": {
"headers": {},
"body": {
"location": "centraluseuap",
"id": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachineScaleSets/myVMSSName/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/AuditSecureProtocol",
"name": "AuditSecureProtocol",
"properties": {
"complianceStatus": "Compliant",
"assignmentHash": "E0D8941DD713F284284561648C00C18FA76C8602943C7CD38AFD73B56AE4C35F.E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
"latestReportId": null,
"lastComplianceStatusChecked": "2018-08-29T22:14:13Z",
"context": null,
"guestConfiguration": {
"kind": null,
"name": "AuditSecureProtocol",
"version": "1.0.0.3",
"contentUri": "https://mystorageaccount.blob.core.windows.net/builtinconfig/AuditSecureProtocol/AuditSecureProtocol_1.0.0.3.zip",
"contentHash": "content hash",
"configurationParameter": [],
"configurationSetting": null
},
"provisioningState": "Succeeded",
"resourceType": "VMSS",
"vmssVMList": null
}
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"parameters": {
"subscriptionId": "mySubscriptionId",
"resourceGroupName": "myResourceGroupName",
"vmName": "myVMName",
"guestConfigurationAssignmentName": "SecureProtocol",
"api-version": "2022-01-25"
},
"responses": {
"200": {
"headers": {},
"body": {
"location": "centraluseuap",
"id": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myvm/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/AuditSecureProtocol",
"name": "AuditSecureProtocol",
"properties": {
"complianceStatus": "Compliant",
"assignmentHash": "E0D8941DD713F284284561648C00C18FA76C8602943C7CD38AFD73B56AE4C35F.E3B0C44298FC1C149AFBF4C8996FB92427AE41E4649B934CA495991B7852B855",
"latestReportId": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myvm/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/AuditSecureProtocol/reports/7367cbb8-ae99-47d0-a33b-a283564d2cb1",
"lastComplianceStatusChecked": "2018-08-29T22:14:13Z",
"context": null,
"guestConfiguration": {
"kind": null,
"name": "AuditSecureProtocol",
"version": "1.0.0.3",
"contentUri": "https://mystorageaccount.blob.core.windows.net/builtinconfig/AuditSecureProtocol/AuditSecureProtocol_1.0.0.3.zip",
"contentHash": "content hash",
"configurationParameter": [],
"configurationSetting": null
},
"provisioningState": "Succeeded"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
{
"parameters": {
"subscriptionId": "mySubscriptionid",
"resourceGroupName": "myResourceGroupName",
"vmName": "myvm",
"guestConfigurationAssignmentName": "AuditSecureProtocol",
"reportId": "7367cbb8-ae99-47d0-a33b-a283564d2cb1",
"api-version": "2022-01-25"
},
"responses": {
"200": {
"headers": {},
"body": {
"id": "/subscriptions/mysubscriptionid/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myvm/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/AuditSecureProtocol/reports/7367cbb8-ae99-47d0-a33b-a283564d2cb1",
"name": "7367cbb8-ae99-47d0-a33b-a283564d2cb1",
"properties": {
"complianceStatus": "Compliant",
"assignment": {
"name": "AuditSecureProtocol",
"configuration": {
"name": "AuditSecureProtocol",
"version": "1.0.0.0"
}
},
"reportId": "7367cbb8-ae99-47d0-a33b-a283564d2cb1",
"vm": {
"id": "/subscriptions/mysubscriptionid/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myvm",
"uuid": "vmuuid"
},
"details": {
"complianceStatus": "Compliant",
"startTime": "2018-08-29T22:13:53Z",
"endTime": "2018-08-29T22:14:13Z",
"jobId": "7367cbb8-ae99-47d0-a33b-a283564d2cb1",
"resources": [
{
"complianceStatus": "Compliant",
"reasons": [
{
"phrase": "Operation successful.",
"code": "DSC::RESOURCE::SUCCESS"
}
],
"properties": {
"ConfigurationName": "IsWebServerSecure",
"DependsOn": null,
"IsSingleInstance": "Yes",
"ModuleName": "SecureProtocolWebServer",
"ModuleVersion": "1.0.0.3",
"Protocols": [
{
"Ensure": "Absent",
"Protocol": "SSL 2.0"
},
{
"Ensure": "Absent",
"Protocol": "SSL 3.0"
},
{
"Ensure": "Absent",
"Protocol": "TLS 1.0"
},
{
"Ensure": "Absent",
"Protocol": "PCT 1.0"
},
{
"Ensure": "Absent",
"Protocol": "Multi-Protocol Unified Hello"
},
{
"Ensure": "Absent",
"Protocol": "TLS 1.1"
},
{
"Ensure": "Absent",
"Protocol": "TLS 1.2"
}
],
"PsDscRunAsCredential": null,
"Reasons": null,
"ResourceId": "[SecureWebServer]s1",
"SourceInfo": null
}
}
],
"operationType": "Consistency"
},
"startTime": "2018-08-29T22:13:53Z",
"endTime": "2018-08-29T22:14:13Z"
}
}
}
}
}
Loading