DeviceSecurityGroupsOperations interface

Interface representing a DeviceSecurityGroups operations.

Properties

createOrUpdate

Use this method to creates or updates the device security group on a specified IoT Hub resource.

delete

User this method to deletes the device security group.

get

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

list

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

Property Details

createOrUpdate

Use this method to creates or updates the device security group on a specified IoT Hub resource.

createOrUpdate: (resourceId: string, deviceSecurityGroupName: string, deviceSecurityGroup: DeviceSecurityGroup, options?: DeviceSecurityGroupsCreateOrUpdateOptionalParams) => Promise<DeviceSecurityGroup>

Property Value

(resourceId: string, deviceSecurityGroupName: string, deviceSecurityGroup: DeviceSecurityGroup, options?: DeviceSecurityGroupsCreateOrUpdateOptionalParams) => Promise<DeviceSecurityGroup>

delete

User this method to deletes the device security group.

delete: (resourceId: string, deviceSecurityGroupName: string, options?: DeviceSecurityGroupsDeleteOptionalParams) => Promise<void>

Property Value

(resourceId: string, deviceSecurityGroupName: string, options?: DeviceSecurityGroupsDeleteOptionalParams) => Promise<void>

get

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

get: (resourceId: string, deviceSecurityGroupName: string, options?: DeviceSecurityGroupsGetOptionalParams) => Promise<DeviceSecurityGroup>

Property Value

(resourceId: string, deviceSecurityGroupName: string, options?: DeviceSecurityGroupsGetOptionalParams) => Promise<DeviceSecurityGroup>

list

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

list: (resourceId: string, options?: DeviceSecurityGroupsListOptionalParams) => PagedAsyncIterableIterator<DeviceSecurityGroup, DeviceSecurityGroup[], PageSettings>

Property Value

(resourceId: string, options?: DeviceSecurityGroupsListOptionalParams) => PagedAsyncIterableIterator<DeviceSecurityGroup, DeviceSecurityGroup[], PageSettings>