DeviceGroups Interface
public interface DeviceGroups
Resource collection API of DeviceGroups.
Method Summary
Method Details
claimDevices
public abstract void claimDevices(String resourceGroupName, String catalogName, String productName, String deviceGroupName, ClaimDevicesRequest claimDevicesRequest)
Bulk claims the devices. Use '.unassigned' or '.default' for the device group and product names when bulk claiming devices to a catalog only.
Parameters:
claimDevices
public abstract void claimDevices(String resourceGroupName, String catalogName, String productName, String deviceGroupName, ClaimDevicesRequest claimDevicesRequest, Context context)
Bulk claims the devices. Use '.unassigned' or '.default' for the device group and product names when bulk claiming devices to a catalog only.
Parameters:
countDevices
public abstract CountDevicesResponse countDevices(String resourceGroupName, String catalogName, String productName, String deviceGroupName)
Counts devices in device group. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.
Parameters:
Returns:
countDevicesWithResponse
public abstract Response<CountDevicesResponse> countDevicesWithResponse(String resourceGroupName, String catalogName, String productName, String deviceGroupName, Context context)
Counts devices in device group. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.
Parameters:
Returns:
define
public abstract DeviceGroup.DefinitionStages.Blank define(String name)
Begins definition for a new DeviceGroup resource.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String catalogName, String productName, String deviceGroupName)
Delete a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.
Parameters:
delete
public abstract void delete(String resourceGroupName, String catalogName, String productName, String deviceGroupName, Context context)
Delete a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.
Parameters:
deleteById
public abstract void deleteById(String id)
Delete a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.
Parameters:
deleteByIdWithResponse
public abstract void deleteByIdWithResponse(String id, Context context)
Delete a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.
Parameters:
get
public abstract DeviceGroup get(String resourceGroupName, String catalogName, String productName, String deviceGroupName)
Get a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.
Parameters:
Returns:
getById
public abstract DeviceGroup getById(String id)
Get a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.
Parameters:
Returns:
getByIdWithResponse
public abstract Response<DeviceGroup> getByIdWithResponse(String id, Context context)
Get a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.
Parameters:
Returns:
getWithResponse
public abstract Response<DeviceGroup> getWithResponse(String resourceGroupName, String catalogName, String productName, String deviceGroupName, Context context)
Get a DeviceGroup. '.default' and '.unassigned' are system defined values and cannot be used for product or device group name.
Parameters:
Returns:
listByProduct
public abstract PagedIterable<DeviceGroup> listByProduct(String resourceGroupName, String catalogName, String productName)
List DeviceGroup resources by Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
Parameters:
Returns:
listByProduct
public abstract PagedIterable<DeviceGroup> listByProduct(String resourceGroupName, String catalogName, String productName, String filter, Integer top, Integer skip, Integer maxpagesize, Context context)
List DeviceGroup resources by Product. '.default' and '.unassigned' are system defined values and cannot be used for product name.
Parameters:
Returns: