{"files":{"SKILL.md":"---\nname: security-center\ndescription: \"Security Center API skill. Use when working with Security Center for {resourceId}. Covers 4 endpoints.\"\nversion: 1.0.0\ngenerator: lapsh\n---\n\n# Security Center\nAPI version: 2019-08-01\n\n## Auth\nOAuth2\n\n## Base URL\nhttps://management.azure.com\n\n## Setup\n1. Configure auth: OAuth2\n2. GET /{resourceId}/providers/Microsoft.Security/deviceSecurityGroups -- use this method get the list of device security groups for the specified iot hub resource.\n3. Explore available endpoints below\n\n## Endpoints\n4 endpoints across 1 group. See references/api-spec.lap for full details.\n\n### {resourceId}\n| Method | Path | Description |\n|--------|------|-------------|\n| GET | /{resourceId}/providers/Microsoft.Security/deviceSecurityGroups | Use this method get the list of device security groups for the specified IoT Hub resource. |\n| GET | /{resourceId}/providers/Microsoft.Security/deviceSecurityGroups/{deviceSecurityGroupName} | Use this method to get the device security group for the specified IoT Hub resource. |\n| PUT | /{resourceId}/providers/Microsoft.Security/deviceSecurityGroups/{deviceSecurityGroupName} | Use this method to creates or updates the device security group on a specified IoT Hub resource. |\n| DELETE | /{resourceId}/providers/Microsoft.Security/deviceSecurityGroups/{deviceSecurityGroupName} | User this method to deletes the device security group. |\n\n## Common Questions\nMatch user requests to endpoints in references/api-spec.lap. Key patterns:\n- \"List all deviceSecurityGroups?\" -> GET /{resourceId}/providers/Microsoft.Security/deviceSecurityGroups\n- \"Get deviceSecurityGroup details?\" -> GET /{resourceId}/providers/Microsoft.Security/deviceSecurityGroups/{deviceSecurityGroupName}\n- \"Update a deviceSecurityGroup?\" -> PUT /{resourceId}/providers/Microsoft.Security/deviceSecurityGroups/{deviceSecurityGroupName}\n- \"Delete a deviceSecurityGroup?\" -> DELETE /{resourceId}/providers/Microsoft.Security/deviceSecurityGroups/{deviceSecurityGroupName}\n- \"How to authenticate?\" -> See Auth section above\n\n## Response Tips\n- Check response schemas in references/api-spec.lap for field details\n- Create/update endpoints return the modified resource on success\n\n## References\n- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas\n\n> Generated from the official API spec by [LAP](https://lap.sh)\n","references/api-spec.lap":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api Security Center\n@base https://management.azure.com\n@version 2019-08-01\n@auth OAuth2\n@endpoints 4\n@toc {resourceId}(4)\n\n@endpoint GET /{resourceId}/providers/Microsoft.Security/deviceSecurityGroups\n@desc Use this method get the list of device security groups for the specified IoT Hub resource.\n@returns(200) OK\n\n@endpoint GET /{resourceId}/providers/Microsoft.Security/deviceSecurityGroups/{deviceSecurityGroupName}\n@desc Use this method to get the device security group for the specified IoT Hub resource.\n@required {deviceSecurityGroupName: any # The name of the device security group. Note that the name of the device security group is case insensitive.}\n@returns(200) Successful request to get device security group.\n\n@endpoint PUT /{resourceId}/providers/Microsoft.Security/deviceSecurityGroups/{deviceSecurityGroupName}\n@desc Use this method to creates or updates the device security group on a specified IoT Hub resource.\n@required {deviceSecurityGroupName: any # The name of the device security group. Note that the name of the device security group is case insensitive., deviceSecurityGroup: map # Security group object.}\n@returns(200) Security group was updated.\n@returns(201) Security group was created.\n\n@endpoint DELETE /{resourceId}/providers/Microsoft.Security/deviceSecurityGroups/{deviceSecurityGroupName}\n@desc User this method to deletes the device security group.\n@required {deviceSecurityGroupName: any # The name of the device security group. Note that the name of the device security group is case insensitive.}\n@returns(200) Device security group has been deleted.\n@returns(204) Device security group does not exist.\n\n@end\n"}}