DevicesOperations Class
DevicesOperations operations.
- Inheritance
-
builtins.objectDevicesOperations
Constructor
DevicesOperations(client, config, serializer, deserializer)
Parameters
- client
Client for service requests.
- config
Configuration of service client.
- serializer
An object model serializer.
- deserializer
An object model deserializer.
Variables
- api_version
The API version. Constant value: "2019-03-01".
Methods
| create_or_update |
Creates or updates a Data Box Edge/Gateway resource. |
| create_or_update_security_settings |
Updates the security settings on a data box edge/gateway device. |
| delete |
Deletes the data box edge/gateway device. |
| download_updates |
Downloads the updates on a data box edge/gateway device. |
| get |
Gets the properties of the data box edge/gateway device. |
| get_extended_information |
Gets additional information for the specified data box edge/gateway device. |
| get_network_settings |
Gets the network settings of the specified data box edge/gateway device. |
| get_update_summary |
Gets information about the availability of updates based on the last scan of the device. It also gets information about any ongoing download or install jobs on the device. |
| install_updates |
Installs the updates on the data box edge/gateway device. |
| list_by_resource_group |
Gets all the data box edge/gateway devices in a resource group. |
| list_by_subscription |
Gets all the data box edge/gateway devices in a subscription. |
| scan_for_updates |
Scans for updates on a data box edge/gateway device. |
| update |
Modifies a Data Box Edge/Gateway resource. |
| upload_certificate |
Uploads registration certificate for the device. |
create_or_update
Creates or updates a Data Box Edge/Gateway resource.
create_or_update(device_name, data_box_edge_device, resource_group_name, custom_headers=None, raw=False, polling=True, **operation_config)
Parameters
- raw
- bool
The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns
An instance of LROPoller that returns DataBoxEdgeDevice or ClientRawResponse if raw==True
Return type
Exceptions
create_or_update_security_settings
Updates the security settings on a data box edge/gateway device.
create_or_update_security_settings(device_name, resource_group_name, device_admin_password, custom_headers=None, raw=False, polling=True, **operation_config)
Parameters
- device_admin_password
- AsymmetricEncryptedSecret
Device administrator password as an encrypted string (encrypted using RSA PKCS #1) is used to sign into the local web UI of the device. The Actual password should have at least 8 characters that are a combination of uppercase, lowercase, numeric, and special characters.
- raw
- bool
The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns
An instance of LROPoller that returns None or ClientRawResponse if raw==True
Return type
Exceptions
delete
Deletes the data box edge/gateway device.
delete(device_name, resource_group_name, custom_headers=None, raw=False, polling=True, **operation_config)
Parameters
- raw
- bool
The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns
An instance of LROPoller that returns None or ClientRawResponse if raw==True
Return type
Exceptions
download_updates
Downloads the updates on a data box edge/gateway device.
download_updates(device_name, resource_group_name, custom_headers=None, raw=False, polling=True, **operation_config)
Parameters
- raw
- bool
The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns
An instance of LROPoller that returns None or ClientRawResponse if raw==True
Return type
Exceptions
get
Gets the properties of the data box edge/gateway device.
get(device_name, resource_group_name, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
DataBoxEdgeDevice or ClientRawResponse if raw=true
Return type
Exceptions
get_extended_information
Gets additional information for the specified data box edge/gateway device.
get_extended_information(device_name, resource_group_name, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
DataBoxEdgeDeviceExtendedInfo or ClientRawResponse if raw=true
Return type
Exceptions
get_network_settings
Gets the network settings of the specified data box edge/gateway device.
get_network_settings(device_name, resource_group_name, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
NetworkSettings or ClientRawResponse if raw=true
Return type
Exceptions
get_update_summary
Gets information about the availability of updates based on the last scan of the device. It also gets information about any ongoing download or install jobs on the device.
get_update_summary(device_name, resource_group_name, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
UpdateSummary or ClientRawResponse if raw=true
Return type
Exceptions
install_updates
Installs the updates on the data box edge/gateway device.
install_updates(device_name, resource_group_name, custom_headers=None, raw=False, polling=True, **operation_config)
Parameters
- raw
- bool
The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns
An instance of LROPoller that returns None or ClientRawResponse if raw==True
Return type
Exceptions
list_by_resource_group
Gets all the data box edge/gateway devices in a resource group.
list_by_resource_group(resource_group_name, expand=None, custom_headers=None, raw=False, **operation_config)
Parameters
- expand
- str
Specify $expand=details to populate additional fields related to the resource or Specify $skipToken= to populate the next page in the list.
- operation_config
Operation configuration overrides.
Returns
An iterator like instance of DataBoxEdgeDevice
Return type
Exceptions
list_by_subscription
Gets all the data box edge/gateway devices in a subscription.
list_by_subscription(expand=None, custom_headers=None, raw=False, **operation_config)
Parameters
- expand
- str
Specify $expand=details to populate additional fields related to the resource or Specify $skipToken= to populate the next page in the list.
- operation_config
Operation configuration overrides.
Returns
An iterator like instance of DataBoxEdgeDevice
Return type
Exceptions
scan_for_updates
Scans for updates on a data box edge/gateway device.
scan_for_updates(device_name, resource_group_name, custom_headers=None, raw=False, polling=True, **operation_config)
Parameters
- raw
- bool
The poller return type is ClientRawResponse, the direct response alongside the deserialized response
- polling
True for ARMPolling, False for no polling, or a polling object for personal polling strategy
Returns
An instance of LROPoller that returns None or ClientRawResponse if raw==True
Return type
Exceptions
update
Modifies a Data Box Edge/Gateway resource.
update(device_name, resource_group_name, tags=None, custom_headers=None, raw=False, **operation_config)
Parameters
- operation_config
Operation configuration overrides.
Returns
DataBoxEdgeDevice or ClientRawResponse if raw=true
Return type
Exceptions
upload_certificate
Uploads registration certificate for the device.
upload_certificate(device_name, resource_group_name, certificate, authentication_type=None, custom_headers=None, raw=False, **operation_config)
Parameters
- authentication_type
- str or AuthenticationType
The authentication type. Possible values include: 'Invalid', 'AzureActiveDirectory'
- operation_config
Operation configuration overrides.
Returns
UploadCertificateResponse or ClientRawResponse if raw=true
Return type
Exceptions
Attributes
models
models = <module 'azure.mgmt.edgegateway.models' from 'C:\\hostedtoolcache\\windows\\Python\\3.9.13\\x64\\lib\\site-packages\\azure\\mgmt\\edgegateway\\models\\__init__.py'>
Feedback
Submit and view feedback for