DevicesForSubscriptionOperations Class

DevicesForSubscriptionOperations async operations.

You should not instantiate this class directly. Instead, you should create a Client instance that instantiates it for you and attaches it as an attribute.

Inheritance
builtins.object
DevicesForSubscriptionOperations

Constructor

DevicesForSubscriptionOperations(client, config, serializer, deserializer)

Parameters

client
Required

Client for service requests.

config
Required

Configuration of service client.

serializer
Required

An object model serializer.

deserializer
Required

An object model deserializer.

Variables

models

Alias to model classes used in this operation group.

Methods

list

Get list of the devices by their subscription.

list

Get list of the devices by their subscription.

list(limit: Optional[int] = None, skip_token: Optional[str] = None, device_management_type: Optional[Union[str, azure.mgmt.security.models._security_center_enums.ManagementState]] = None, **kwargs) -> AsyncIterable[azure.mgmt.security.models._models_py3.DeviceList]

Parameters

limit
int
default value: None

Limit the number of items returned in a single page.

skip_token
str
default value: None

Skip token used for pagination.

device_management_type
str or ManagementState
default value: None

Get devices only from specific type, Managed or Unmanaged.

cls
callable

A custom type or function that will be passed the direct response

Returns

An iterator like instance of either DeviceList or the result of cls(response)

Return type

Exceptions

Attributes

models

models = <module 'azure.mgmt.security.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\security\\models\\__init__.py'>