@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Security Center
@base https://management.azure.com
@version 2019-08-01
@auth OAuth2
@endpoints 4
@toc {resourceId}(4)

@endpoint GET /{resourceId}/providers/Microsoft.Security/deviceSecurityGroups
@desc Use this method get the list of device security groups for the specified IoT Hub resource.
@returns(200) OK

@endpoint GET /{resourceId}/providers/Microsoft.Security/deviceSecurityGroups/{deviceSecurityGroupName}
@desc Use this method to get the device security group for the specified IoT Hub resource.
@required {deviceSecurityGroupName: any # The name of the device security group. Note that the name of the device security group is case insensitive.}
@returns(200) Successful request to get device security group.

@endpoint PUT /{resourceId}/providers/Microsoft.Security/deviceSecurityGroups/{deviceSecurityGroupName}
@desc Use this method to creates or updates the device security group on a specified IoT Hub resource.
@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.}
@returns(200) Security group was updated.
@returns(201) Security group was created.

@endpoint DELETE /{resourceId}/providers/Microsoft.Security/deviceSecurityGroups/{deviceSecurityGroupName}
@desc User this method to deletes the device security group.
@required {deviceSecurityGroupName: any # The name of the device security group. Note that the name of the device security group is case insensitive.}
@returns(200) Device security group has been deleted.
@returns(204) Device security group does not exist.

@end
