DeviceSecurityGroupsClient Interface
public interface DeviceSecurityGroupsClient
An instance of this class provides access to all the operations defined in DeviceSecurityGroupsClient.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
Device |
createOrUpdate(String resourceId, String deviceSecurityGroupName, DeviceSecurityGroupInner deviceSecurityGroup)
Use this method to creates or updates the device security group on a specified IoT Hub resource. |
|
abstract
Response<Device |
createOrUpdateWithResponse(String resourceId, String deviceSecurityGroupName, DeviceSecurityGroupInner deviceSecurityGroup, Context context)
Use this method to creates or updates the device security group on a specified IoT Hub resource. |
| abstract void |
delete(String resourceId, String deviceSecurityGroupName)
User this method to deletes the device security group. |
| abstract Response<Void> |
deleteWithResponse(String resourceId, String deviceSecurityGroupName, Context context)
User this method to deletes the device security group. |
|
abstract
Device |
get(String resourceId, String deviceSecurityGroupName)
Use this method to get the device security group for the specified IoT Hub resource. |
|
abstract
Response<Device |
getWithResponse(String resourceId, String deviceSecurityGroupName, Context context)
Use this method to get the device security group for the specified IoT Hub resource. |
|
abstract
Paged |
list(String resourceId)
Use this method get the list of device security groups for the specified IoT Hub resource. |
|
abstract
Paged |
list(String resourceId, Context context)
Use this method get the list of device security groups for the specified IoT Hub resource. |
Method Details
createOrUpdate
public abstract DeviceSecurityGroupInner createOrUpdate(String resourceId, String deviceSecurityGroupName, DeviceSecurityGroupInner deviceSecurityGroup)
Use this method to creates or updates the device security group on a specified IoT Hub resource.
Parameters:
Returns:
createOrUpdateWithResponse
public abstract Response<DeviceSecurityGroupInner> createOrUpdateWithResponse(String resourceId, String deviceSecurityGroupName, DeviceSecurityGroupInner deviceSecurityGroup, Context context)
Use this method to creates or updates the device security group on a specified IoT Hub resource.
Parameters:
Returns:
delete
public abstract void delete(String resourceId, String deviceSecurityGroupName)
User this method to deletes the device security group.
Parameters:
deleteWithResponse
public abstract Response<Void> deleteWithResponse(String resourceId, String deviceSecurityGroupName, Context context)
User this method to deletes the device security group.
Parameters:
Returns:
get
public abstract DeviceSecurityGroupInner get(String resourceId, String deviceSecurityGroupName)
Use this method to get the device security group for the specified IoT Hub resource.
Parameters:
Returns:
getWithResponse
public abstract Response<DeviceSecurityGroupInner> getWithResponse(String resourceId, String deviceSecurityGroupName, Context context)
Use this method to get the device security group for the specified IoT Hub resource.
Parameters:
Returns:
list
public abstract PagedIterable<DeviceSecurityGroupInner> list(String resourceId)
Use this method get the list of device security groups for the specified IoT Hub resource.
Parameters:
Returns:
list
public abstract PagedIterable<DeviceSecurityGroupInner> list(String resourceId, Context context)
Use this method get the list of device security groups for the specified IoT Hub resource.
Parameters:
Returns: