forked from Azure/azure-sdk-for-python
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Guest Configuration S360 Swagger fixes (Azure#15988)
* Add GET all methods for resource group and subscription * Fix Linter Validation issue * Fix Swagger Correctness S360 items * Fix swagger validation comments * Fix model validaiton * Fix Lint errors * Fix model validation for examples Co-authored-by: Aashish Rajaram Salokhe <[email protected]>
- Loading branch information
1 parent
0f9a4a2
commit ca93e24
Showing
13 changed files
with
841 additions
and
0 deletions.
There are no files selected for viewing
59 changes: 59 additions & 0 deletions
59
...ft.GuestConfiguration/stable/2018-11-20/examples/listRGGuestConfigurationAssignments.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,59 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "mySubscriptionId", | ||
"resourceGroupName": "myResourceGroupName", | ||
"api-version": "2020-06-25" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": [ | ||
{ | ||
"location": "centraluseuap", | ||
"id": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myvm/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/AuditSecureProtocol2", | ||
"name": "AuditSecureProtocol2", | ||
"properties": { | ||
"complianceStatus": "Compliant", | ||
"assignmentHash": "content hash", | ||
"latestReportId": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myvm/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/AuditSecureProtocol2/reports/7367cbb8-ae99-47d0-a33b-a283564d2cb1", | ||
"lastComplianceStatusChecked": "2018-08-29T22:14:13Z", | ||
"context": null, | ||
"guestConfiguration": { | ||
"kind": null, | ||
"name": "AuditSecureProtocol2", | ||
"version": "1.0.0.3", | ||
"contentUri": "https://mystorageaccount.blob.core.windows.net/builtinconfig/AuditSecureProtocol2/AuditSecureProtocol2_1.0.0.3.zip", | ||
"contentHash": "content hash", | ||
"configurationParameter": [], | ||
"configurationSetting": null | ||
}, | ||
"provisioningState": null | ||
} | ||
}, | ||
{ | ||
"location": "centraluseuap", | ||
"id": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myvm/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/myAssignment", | ||
"name": "myAssignment", | ||
"properties": { | ||
"complianceStatus": "Compliant", | ||
"assignmentHash": "content hash", | ||
"latestReportId": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myvm/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/myAssignment/reports/7367cbb8-ae99-47d0-a33b-a283564d2cb1", | ||
"lastComplianceStatusChecked": "2018-08-29T22:14:13Z", | ||
"context": null, | ||
"guestConfiguration": { | ||
"kind": null, | ||
"name": "myAssignment", | ||
"version": "1.0.0.3", | ||
"contentUri": "https://mystorageaccount.blob.core.windows.net/builtinconfig/myAssignment/myAssignment.0.0.3.zip", | ||
"contentHash": "content hash", | ||
"configurationParameter": [], | ||
"configurationSetting": null | ||
}, | ||
"provisioningState": null | ||
} | ||
} | ||
] | ||
}, | ||
"204": {} | ||
} | ||
} |
58 changes: 58 additions & 0 deletions
58
...t.GuestConfiguration/stable/2018-11-20/examples/listSubGuestConfigurationAssignments.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", | ||
"api-version": "2020-06-25" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": [ | ||
{ | ||
"location": "centraluseuap", | ||
"id": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myvm/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/AuditSecureProtocol2", | ||
"name": "AuditSecureProtocol2", | ||
"properties": { | ||
"complianceStatus": "Compliant", | ||
"assignmentHash": "content hash", | ||
"latestReportId": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myvm/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/AuditSecureProtocol2/reports/7367cbb8-ae99-47d0-a33b-a283564d2cb1", | ||
"lastComplianceStatusChecked": "2018-08-29T22:14:13Z", | ||
"context": null, | ||
"guestConfiguration": { | ||
"kind": null, | ||
"name": "AuditSecureProtocol2", | ||
"version": "1.0.0.3", | ||
"contentUri": "https://mystorageaccount.blob.core.windows.net/builtinconfig/AuditSecureProtocol2/AuditSecureProtocol2_1.0.0.3.zip", | ||
"contentHash": "content hash", | ||
"configurationParameter": [], | ||
"configurationSetting": null | ||
}, | ||
"provisioningState": null | ||
} | ||
}, | ||
{ | ||
"location": "centraluseuap", | ||
"id": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myvm/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/myAssignment", | ||
"name": "myAssignment", | ||
"properties": { | ||
"complianceStatus": "Compliant", | ||
"assignmentHash": "content hash", | ||
"latestReportId": "/subscriptions/subscriptionId/resourceGroups/myResourceGroupName/providers/Microsoft.Compute/virtualMachines/myvm/providers/Microsoft.GuestConfiguration/guestConfigurationAssignments/myAssignment/reports/7367cbb8-ae99-47d0-a33b-a283564d2cb1", | ||
"lastComplianceStatusChecked": "2018-08-29T22:14:13Z", | ||
"context": null, | ||
"guestConfiguration": { | ||
"kind": null, | ||
"name": "myAssignment", | ||
"version": "1.0.0.3", | ||
"contentUri": "https://mystorageaccount.blob.core.windows.net/builtinconfig/myAssignment/myAssignment.0.0.3.zip", | ||
"contentHash": "content hash", | ||
"configurationParameter": [], | ||
"configurationSetting": null | ||
}, | ||
"provisioningState": null | ||
} | ||
} | ||
] | ||
}, | ||
"204": {} | ||
} | ||
} |
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
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
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
Oops, something went wrong.