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 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.

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.

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 DeviceSecurityGroupInner get(String resourceId, String deviceSecurityGroupName)

Use this method to get the device security group for the specified IoT Hub resource.

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.

abstract PagedIterable<DeviceSecurityGroupInner> list(String resourceId)

Use this method get the list of device security groups for the specified IoT Hub resource.

abstract PagedIterable<DeviceSecurityGroupInner> 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:

resourceId - The fully qualified Azure Resource manager identifier of the resource.
deviceSecurityGroupName - The name of the device security group. Note that the name of the device security group is case insensitive.
deviceSecurityGroup - Security group object.

Returns:

the device security group resource.

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:

resourceId - The fully qualified Azure Resource manager identifier of the resource.
deviceSecurityGroupName - The name of the device security group. Note that the name of the device security group is case insensitive.
deviceSecurityGroup - Security group object.
context - The context to associate with this operation.

Returns:

the device security group resource along with Response<T>.

delete

public abstract void delete(String resourceId, String deviceSecurityGroupName)

User this method to deletes the device security group.

Parameters:

resourceId - The fully qualified Azure Resource manager identifier of the resource.
deviceSecurityGroupName - The name of the device security group. Note that the name of the device security group is case insensitive.

deleteWithResponse

public abstract Response<Void> deleteWithResponse(String resourceId, String deviceSecurityGroupName, Context context)

User this method to deletes the device security group.

Parameters:

resourceId - The fully qualified Azure Resource manager identifier of the resource.
deviceSecurityGroupName - The name of the device security group. Note that the name of the device security group is case insensitive.
context - The context to associate with this operation.

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:

resourceId - The fully qualified Azure Resource manager identifier of the resource.
deviceSecurityGroupName - The name of the device security group. Note that the name of the device security group is case insensitive.

Returns:

the device security group resource.

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:

resourceId - The fully qualified Azure Resource manager identifier of the resource.
deviceSecurityGroupName - The name of the device security group. Note that the name of the device security group is case insensitive.
context - The context to associate with this operation.

Returns:

the device security group resource along with Response<T>.

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:

resourceId - The fully qualified Azure Resource manager identifier of the resource.

Returns:

list of device security groups as paginated response with PagedIterable<T>.

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:

resourceId - The fully qualified Azure Resource manager identifier of the resource.
context - The context to associate with this operation.

Returns:

list of device security groups as paginated response with PagedIterable<T>.

Applies to