repository_name
stringlengths
5
67
func_path_in_repository
stringlengths
4
234
func_name
stringlengths
0
314
whole_func_string
stringlengths
52
3.87M
language
stringclasses
6 values
func_code_string
stringlengths
52
3.87M
func_documentation_string
stringlengths
1
47.2k
func_code_url
stringlengths
85
339
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/device_directory/device_directory.py
DeviceDirectoryAPI.delete_query
def delete_query(self, query_id): """Delete query in device query service. :param int query_id: ID of the query to delete (Required) :return: void """ api = self._get_api(device_directory.DefaultApi) api.device_query_destroy(query_id) return
python
def delete_query(self, query_id): """Delete query in device query service. :param int query_id: ID of the query to delete (Required) :return: void """ api = self._get_api(device_directory.DefaultApi) api.device_query_destroy(query_id) return
Delete query in device query service. :param int query_id: ID of the query to delete (Required) :return: void
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/device_directory/device_directory.py#L268-L276
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/device_directory/device_directory.py
DeviceDirectoryAPI.get_query
def get_query(self, query_id): """Get query in device query service. :param int query_id: ID of the query to get (Required) :returns: device query object :rtype: Query """ api = self._get_api(device_directory.DefaultApi) return Query(api.device_query_retrieve(que...
python
def get_query(self, query_id): """Get query in device query service. :param int query_id: ID of the query to get (Required) :returns: device query object :rtype: Query """ api = self._get_api(device_directory.DefaultApi) return Query(api.device_query_retrieve(que...
Get query in device query service. :param int query_id: ID of the query to get (Required) :returns: device query object :rtype: Query
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/device_directory/device_directory.py#L279-L287
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/device_directory/device_directory.py
DeviceDirectoryAPI.list_device_events
def list_device_events(self, **kwargs): """List all device logs. :param int limit: The number of logs to retrieve. :param str order: The ordering direction, ascending (asc) or descending (desc) :param str after: Get logs after/starting at given `device_event_id` :par...
python
def list_device_events(self, **kwargs): """List all device logs. :param int limit: The number of logs to retrieve. :param str order: The ordering direction, ascending (asc) or descending (desc) :param str after: Get logs after/starting at given `device_event_id` :par...
List all device logs. :param int limit: The number of logs to retrieve. :param str order: The ordering direction, ascending (asc) or descending (desc) :param str after: Get logs after/starting at given `device_event_id` :param dict filters: Dictionary of filters to apply. ...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/device_directory/device_directory.py#L290-L305
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/device_directory/device_directory.py
DeviceDirectoryAPI.get_device_event
def get_device_event(self, device_event_id): """Get device event with provided ID. :param int device_event_id: id of the event to get (Required) :rtype: DeviceEvent """ api = self._get_api(device_directory.DefaultApi) return DeviceEvent(api.device_log_retrieve(device_eve...
python
def get_device_event(self, device_event_id): """Get device event with provided ID. :param int device_event_id: id of the event to get (Required) :rtype: DeviceEvent """ api = self._get_api(device_directory.DefaultApi) return DeviceEvent(api.device_log_retrieve(device_eve...
Get device event with provided ID. :param int device_event_id: id of the event to get (Required) :rtype: DeviceEvent
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/device_directory/device_directory.py#L308-L315
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/device_directory/device_directory.py
Query.filter
def filter(self): """Get the query of this Query. The device query :return: The query of this Query. :rtype: dict """ if isinstance(self._filter, str): return self._decode_query(self._filter) return self._filter
python
def filter(self): """Get the query of this Query. The device query :return: The query of this Query. :rtype: dict """ if isinstance(self._filter, str): return self._decode_query(self._filter) return self._filter
Get the query of this Query. The device query :return: The query of this Query. :rtype: dict
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/device_directory/device_directory.py#L664-L674
ARMmbed/mbed-cloud-sdk-python
scripts/tpip.py
get_metadata
def get_metadata(item): """Get metadata information from the distribution. Depending on the package this may either be in METADATA or PKG-INFO :param item: pkg_resources WorkingSet item :returns: metadata resource as list of non-blank non-comment lines """ for metadata_key in ('METADATA', 'PKG...
python
def get_metadata(item): """Get metadata information from the distribution. Depending on the package this may either be in METADATA or PKG-INFO :param item: pkg_resources WorkingSet item :returns: metadata resource as list of non-blank non-comment lines """ for metadata_key in ('METADATA', 'PKG...
Get metadata information from the distribution. Depending on the package this may either be in METADATA or PKG-INFO :param item: pkg_resources WorkingSet item :returns: metadata resource as list of non-blank non-comment lines
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/scripts/tpip.py#L67-L84
ARMmbed/mbed-cloud-sdk-python
scripts/tpip.py
license_cleanup
def license_cleanup(text): """Tidy up a license string e.g. "::OSI:: mit software license" -> "MIT" """ if not text: return None text = text.rsplit(':', 1)[-1] replacements = [ 'licenses', 'license', 'licences', 'licence', 'software', ',...
python
def license_cleanup(text): """Tidy up a license string e.g. "::OSI:: mit software license" -> "MIT" """ if not text: return None text = text.rsplit(':', 1)[-1] replacements = [ 'licenses', 'license', 'licences', 'licence', 'software', ',...
Tidy up a license string e.g. "::OSI:: mit software license" -> "MIT"
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/scripts/tpip.py#L87-L110
ARMmbed/mbed-cloud-sdk-python
scripts/tpip.py
get_package_info_from_line
def get_package_info_from_line(tpip_pkg, line): """Given a line of text from metadata, extract semantic info""" lower_line = line.lower() try: metadata_key, metadata_value = lower_line.split(':', 1) except ValueError: return metadata_key = metadata_key.strip() metadata_value = ...
python
def get_package_info_from_line(tpip_pkg, line): """Given a line of text from metadata, extract semantic info""" lower_line = line.lower() try: metadata_key, metadata_value = lower_line.split(':', 1) except ValueError: return metadata_key = metadata_key.strip() metadata_value = ...
Given a line of text from metadata, extract semantic info
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/scripts/tpip.py#L113-L144
ARMmbed/mbed-cloud-sdk-python
scripts/tpip.py
process_metadata
def process_metadata(pkg_name, metadata_lines): """Create a dictionary containing the relevant fields. The following is an example of the generated dictionary: :Example: { 'name': 'six', 'version': '1.11.0', 'repository': 'pypi.python.org/pypi/six', 'licence': 'MIT', ...
python
def process_metadata(pkg_name, metadata_lines): """Create a dictionary containing the relevant fields. The following is an example of the generated dictionary: :Example: { 'name': 'six', 'version': '1.11.0', 'repository': 'pypi.python.org/pypi/six', 'licence': 'MIT', ...
Create a dictionary containing the relevant fields. The following is an example of the generated dictionary: :Example: { 'name': 'six', 'version': '1.11.0', 'repository': 'pypi.python.org/pypi/six', 'licence': 'MIT', 'classifier': 'MIT License' } :param st...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/scripts/tpip.py#L147-L194
ARMmbed/mbed-cloud-sdk-python
scripts/tpip.py
write_csv_file
def write_csv_file(output_filename, tpip_pkgs): """Write the TPIP report out to a CSV file. :param str output_filename: filename for CSV. :param List tpip_pkgs: a list of dictionaries compatible with DictWriter. """ dirname = os.path.dirname(os.path.abspath(os.path.expanduser(output_filename))) ...
python
def write_csv_file(output_filename, tpip_pkgs): """Write the TPIP report out to a CSV file. :param str output_filename: filename for CSV. :param List tpip_pkgs: a list of dictionaries compatible with DictWriter. """ dirname = os.path.dirname(os.path.abspath(os.path.expanduser(output_filename))) ...
Write the TPIP report out to a CSV file. :param str output_filename: filename for CSV. :param List tpip_pkgs: a list of dictionaries compatible with DictWriter.
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/scripts/tpip.py#L197-L211
ARMmbed/mbed-cloud-sdk-python
scripts/tpip.py
force_ascii_values
def force_ascii_values(data): """Ensures each value is ascii-only""" return { k: v.encode('utf8').decode('ascii', 'backslashreplace') for k, v in data.items() }
python
def force_ascii_values(data): """Ensures each value is ascii-only""" return { k: v.encode('utf8').decode('ascii', 'backslashreplace') for k, v in data.items() }
Ensures each value is ascii-only
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/scripts/tpip.py#L214-L219
ARMmbed/mbed-cloud-sdk-python
scripts/tpip.py
main
def main(): """Generate a TPIP report.""" parser = argparse.ArgumentParser(description='Generate a TPIP report as a CSV file.') parser.add_argument('output_filename', type=str, metavar='output-file', help='the output path and filename', nargs='?') parser.add_argument('--only', ty...
python
def main(): """Generate a TPIP report.""" parser = argparse.ArgumentParser(description='Generate a TPIP report as a CSV file.') parser.add_argument('output_filename', type=str, metavar='output-file', help='the output path and filename', nargs='?') parser.add_argument('--only', ty...
Generate a TPIP report.
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/scripts/tpip.py#L222-L250
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/billing/models/service_package_metadata.py
ServicePackageMetadata.remaining_quota
def remaining_quota(self, remaining_quota): """ Sets the remaining_quota of this ServicePackageMetadata. Current available service package quota. :param remaining_quota: The remaining_quota of this ServicePackageMetadata. :type: int """ if remaining_quota is None...
python
def remaining_quota(self, remaining_quota): """ Sets the remaining_quota of this ServicePackageMetadata. Current available service package quota. :param remaining_quota: The remaining_quota of this ServicePackageMetadata. :type: int """ if remaining_quota is None...
Sets the remaining_quota of this ServicePackageMetadata. Current available service package quota. :param remaining_quota: The remaining_quota of this ServicePackageMetadata. :type: int
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/billing/models/service_package_metadata.py#L95-L108
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/billing/models/service_package_metadata.py
ServicePackageMetadata.reserved_quota
def reserved_quota(self, reserved_quota): """ Sets the reserved_quota of this ServicePackageMetadata. Sum of all open reservations for this account. :param reserved_quota: The reserved_quota of this ServicePackageMetadata. :type: int """ if reserved_quota is None...
python
def reserved_quota(self, reserved_quota): """ Sets the reserved_quota of this ServicePackageMetadata. Sum of all open reservations for this account. :param reserved_quota: The reserved_quota of this ServicePackageMetadata. :type: int """ if reserved_quota is None...
Sets the reserved_quota of this ServicePackageMetadata. Sum of all open reservations for this account. :param reserved_quota: The reserved_quota of this ServicePackageMetadata. :type: int
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/billing/models/service_package_metadata.py#L122-L135
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/enrollment/apis/public_api_api.py
PublicAPIApi.create_bulk_device_enrollment
def create_bulk_device_enrollment(self, enrollment_identities, **kwargs): # noqa: E501 """Bulk upload # noqa: E501 With bulk upload, you can upload a `CSV` file containing a number of enrollment IDs. **Example usage:** ``` curl -X POST \\ -H 'Authorization: Bearer <valid access token>' \\ -F 'enroll...
python
def create_bulk_device_enrollment(self, enrollment_identities, **kwargs): # noqa: E501 """Bulk upload # noqa: E501 With bulk upload, you can upload a `CSV` file containing a number of enrollment IDs. **Example usage:** ``` curl -X POST \\ -H 'Authorization: Bearer <valid access token>' \\ -F 'enroll...
Bulk upload # noqa: E501 With bulk upload, you can upload a `CSV` file containing a number of enrollment IDs. **Example usage:** ``` curl -X POST \\ -H 'Authorization: Bearer <valid access token>' \\ -F 'enrollment_identities=@/path/to/enrollments/enrollments.csv' \\ https://api.us-east-1.mbedcloud.com/v3/de...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/enrollment/apis/public_api_api.py#L36-L56
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/enrollment/apis/public_api_api.py
PublicAPIApi.create_device_enrollment
def create_device_enrollment(self, enrollment_identity, **kwargs): # noqa: E501 """Place an enrollment claim for one or several devices. # noqa: E501 When the device connects to the bootstrap server and provides the enrollment ID, it will be assigned to your account. <br> **Example usage:** ``` curl ...
python
def create_device_enrollment(self, enrollment_identity, **kwargs): # noqa: E501 """Place an enrollment claim for one or several devices. # noqa: E501 When the device connects to the bootstrap server and provides the enrollment ID, it will be assigned to your account. <br> **Example usage:** ``` curl ...
Place an enrollment claim for one or several devices. # noqa: E501 When the device connects to the bootstrap server and provides the enrollment ID, it will be assigned to your account. <br> **Example usage:** ``` curl -X POST \\ -H 'Authorization: Bearer <valid access token>' \\ -H 'content-type: application/...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/enrollment/apis/public_api_api.py#L135-L155
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/enrollment/apis/public_api_api.py
PublicAPIApi.delete_bulk_device_enrollment
def delete_bulk_device_enrollment(self, enrollment_identities, **kwargs): # noqa: E501 """Bulk delete # noqa: E501 With bulk delete, you can upload a `CSV` file containing a number of enrollment IDs to be deleted. **Example usage:** ``` curl -X POST \\ -H 'Authorization: Bearer <valid access token>'...
python
def delete_bulk_device_enrollment(self, enrollment_identities, **kwargs): # noqa: E501 """Bulk delete # noqa: E501 With bulk delete, you can upload a `CSV` file containing a number of enrollment IDs to be deleted. **Example usage:** ``` curl -X POST \\ -H 'Authorization: Bearer <valid access token>'...
Bulk delete # noqa: E501 With bulk delete, you can upload a `CSV` file containing a number of enrollment IDs to be deleted. **Example usage:** ``` curl -X POST \\ -H 'Authorization: Bearer <valid access token>' \\ -F 'enrollment_identities=@/path/to/enrollments/enrollments.csv' \\ https://api.us-east-1.mbedc...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/enrollment/apis/public_api_api.py#L234-L254
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/enrollment/apis/public_api_api.py
PublicAPIApi.delete_device_enrollment
def delete_device_enrollment(self, id, **kwargs): # noqa: E501 """Delete an enrollment by ID. # noqa: E501 To free a device from your account you can delete the enrollment claim. To bypass the device ownership, you need to delete the enrollment and do a factory reset for the device. For more informat...
python
def delete_device_enrollment(self, id, **kwargs): # noqa: E501 """Delete an enrollment by ID. # noqa: E501 To free a device from your account you can delete the enrollment claim. To bypass the device ownership, you need to delete the enrollment and do a factory reset for the device. For more informat...
Delete an enrollment by ID. # noqa: E501 To free a device from your account you can delete the enrollment claim. To bypass the device ownership, you need to delete the enrollment and do a factory reset for the device. For more information, see [Transferring the ownership using First-to-Claim](/docs/current/co...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/enrollment/apis/public_api_api.py#L333-L353
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/enrollment/apis/public_api_api.py
PublicAPIApi.get_bulk_device_enrollment
def get_bulk_device_enrollment(self, id, **kwargs): # noqa: E501 """Get bulk upload entity # noqa: E501 Provides information on bulk upload for the given ID. For example, the bulk status and the number of processed enrollment identities. Also links to the bulk upload reports are provided. **Example u...
python
def get_bulk_device_enrollment(self, id, **kwargs): # noqa: E501 """Get bulk upload entity # noqa: E501 Provides information on bulk upload for the given ID. For example, the bulk status and the number of processed enrollment identities. Also links to the bulk upload reports are provided. **Example u...
Get bulk upload entity # noqa: E501 Provides information on bulk upload for the given ID. For example, the bulk status and the number of processed enrollment identities. Also links to the bulk upload reports are provided. **Example usage:** ``` curl -X GET \\ -H 'Authorization: Bearer <valid access token>' \\...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/enrollment/apis/public_api_api.py#L432-L452
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/enrollment/apis/public_api_api.py
PublicAPIApi.get_bulk_device_enrollment_delete
def get_bulk_device_enrollment_delete(self, id, **kwargs): # noqa: E501 """Get bulk delete entity # noqa: E501 Provides information on bulk delete for the given ID. For example, the bulk status and the number of processed enrollment identities. Also links to the bulk delete reports are provided. **Ex...
python
def get_bulk_device_enrollment_delete(self, id, **kwargs): # noqa: E501 """Get bulk delete entity # noqa: E501 Provides information on bulk delete for the given ID. For example, the bulk status and the number of processed enrollment identities. Also links to the bulk delete reports are provided. **Ex...
Get bulk delete entity # noqa: E501 Provides information on bulk delete for the given ID. For example, the bulk status and the number of processed enrollment identities. Also links to the bulk delete reports are provided. **Example usage:** ``` curl -X GET \\ -H 'Authorization: Bearer <valid access token>' \\...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/enrollment/apis/public_api_api.py#L531-L551
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/enrollment/apis/public_api_api.py
PublicAPIApi.get_device_enrollment
def get_device_enrollment(self, id, **kwargs): # noqa: E501 """Get details of an enrollment by ID. # noqa: E501 To check the enrollment info in detail, for example date of claim and expiration date. **Example usage:** ``` curl -X GET \\ -H 'Authorization: Bearer <valid access token>' \\ https://api.u...
python
def get_device_enrollment(self, id, **kwargs): # noqa: E501 """Get details of an enrollment by ID. # noqa: E501 To check the enrollment info in detail, for example date of claim and expiration date. **Example usage:** ``` curl -X GET \\ -H 'Authorization: Bearer <valid access token>' \\ https://api.u...
Get details of an enrollment by ID. # noqa: E501 To check the enrollment info in detail, for example date of claim and expiration date. **Example usage:** ``` curl -X GET \\ -H 'Authorization: Bearer <valid access token>' \\ https://api.us-east-1.mbedcloud.com/v3/device-enrollments/{id} ``` # noqa: E501 ...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/enrollment/apis/public_api_api.py#L630-L650
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/enrollment/apis/public_api_api.py
PublicAPIApi.get_device_enrollments
def get_device_enrollments(self, **kwargs): # noqa: E501 """Get enrollment list. # noqa: E501 Provides a list of pending and claimed enrollments. **Example usage:** ``` curl -X GET \\ -H 'Authorization: Bearer <valid access token>' \\ https://api.us-east-1.mbedcloud.com/v3/device-enrollments ``` With...
python
def get_device_enrollments(self, **kwargs): # noqa: E501 """Get enrollment list. # noqa: E501 Provides a list of pending and claimed enrollments. **Example usage:** ``` curl -X GET \\ -H 'Authorization: Bearer <valid access token>' \\ https://api.us-east-1.mbedcloud.com/v3/device-enrollments ``` With...
Get enrollment list. # noqa: E501 Provides a list of pending and claimed enrollments. **Example usage:** ``` curl -X GET \\ -H 'Authorization: Bearer <valid access token>' \\ https://api.us-east-1.mbedcloud.com/v3/device-enrollments ``` With query parameters: ``` curl -X GET \\ -H 'Authorization: Bearer <vali...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/enrollment/apis/public_api_api.py#L729-L752
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/update_service/models/update_campaign_put_request.py
UpdateCampaignPutRequest.root_manifest_id
def root_manifest_id(self, root_manifest_id): """ Sets the root_manifest_id of this UpdateCampaignPutRequest. :param root_manifest_id: The root_manifest_id of this UpdateCampaignPutRequest. :type: str """ if root_manifest_id is not None and len(root_manifest_id) > 32: ...
python
def root_manifest_id(self, root_manifest_id): """ Sets the root_manifest_id of this UpdateCampaignPutRequest. :param root_manifest_id: The root_manifest_id of this UpdateCampaignPutRequest. :type: str """ if root_manifest_id is not None and len(root_manifest_id) > 32: ...
Sets the root_manifest_id of this UpdateCampaignPutRequest. :param root_manifest_id: The root_manifest_id of this UpdateCampaignPutRequest. :type: str
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/update_service/models/update_campaign_put_request.py#L174-L184
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/update_service/models/update_campaign_put_request.py
UpdateCampaignPutRequest.state
def state(self, state): """ Sets the state of this UpdateCampaignPutRequest. The state of the campaign :param state: The state of this UpdateCampaignPutRequest. :type: str """ allowed_values = ["draft", "scheduled", "allocatingquota", "allocatedquota", "quotaallo...
python
def state(self, state): """ Sets the state of this UpdateCampaignPutRequest. The state of the campaign :param state: The state of this UpdateCampaignPutRequest. :type: str """ allowed_values = ["draft", "scheduled", "allocatingquota", "allocatedquota", "quotaallo...
Sets the state of this UpdateCampaignPutRequest. The state of the campaign :param state: The state of this UpdateCampaignPutRequest. :type: str
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/update_service/models/update_campaign_put_request.py#L198-L213
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/subscribe/observer.py
Observer.notify
def notify(self, data): """Notify this observer that data has arrived""" LOG.debug('notify received: %s', data) self._notify_count += 1 if self._cancelled: LOG.debug('notify skipping due to `cancelled`') return self if self._once_done and self._once: ...
python
def notify(self, data): """Notify this observer that data has arrived""" LOG.debug('notify received: %s', data) self._notify_count += 1 if self._cancelled: LOG.debug('notify skipping due to `cancelled`') return self if self._once_done and self._once: ...
Notify this observer that data has arrived
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/subscribe/observer.py#L127-L156
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/subscribe/observer.py
Observer.cancel
def cancel(self): """Cancels the observer No more notifications will be passed on """ LOG.debug('cancelling %s', self) self._cancelled = True self.clear_callbacks() # not strictly necessary, but may release references while True: try: ...
python
def cancel(self): """Cancels the observer No more notifications will be passed on """ LOG.debug('cancelling %s', self) self._cancelled = True self.clear_callbacks() # not strictly necessary, but may release references while True: try: ...
Cancels the observer No more notifications will be passed on
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/subscribe/observer.py#L163-L175
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/external_ca/models/cfssl_auth_credentials.py
CfsslAuthCredentials.hmac_hex_key
def hmac_hex_key(self, hmac_hex_key): """ Sets the hmac_hex_key of this CfsslAuthCredentials. The key that is used to compute the HMAC of the request using the HMAC-SHA-256 algorithm. Must contain an even number of hexadecimal characters. :param hmac_hex_key: The hmac_hex_key of this C...
python
def hmac_hex_key(self, hmac_hex_key): """ Sets the hmac_hex_key of this CfsslAuthCredentials. The key that is used to compute the HMAC of the request using the HMAC-SHA-256 algorithm. Must contain an even number of hexadecimal characters. :param hmac_hex_key: The hmac_hex_key of this C...
Sets the hmac_hex_key of this CfsslAuthCredentials. The key that is used to compute the HMAC of the request using the HMAC-SHA-256 algorithm. Must contain an even number of hexadecimal characters. :param hmac_hex_key: The hmac_hex_key of this CfsslAuthCredentials. :type: str
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/external_ca/models/cfssl_auth_credentials.py#L61-L76
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/device_directory/models/device_query_post_put_request.py
DeviceQueryPostPutRequest.name
def name(self, name): """ Sets the name of this DeviceQueryPostPutRequest. The name of the query. :param name: The name of this DeviceQueryPostPutRequest. :type: str """ if name is None: raise ValueError("Invalid value for `name`, must not be `None`")...
python
def name(self, name): """ Sets the name of this DeviceQueryPostPutRequest. The name of the query. :param name: The name of this DeviceQueryPostPutRequest. :type: str """ if name is None: raise ValueError("Invalid value for `name`, must not be `None`")...
Sets the name of this DeviceQueryPostPutRequest. The name of the query. :param name: The name of this DeviceQueryPostPutRequest. :type: str
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/device_directory/models/device_query_post_put_request.py#L64-L77
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/device_directory/models/device_query_post_put_request.py
DeviceQueryPostPutRequest.query
def query(self, query): """ Sets the query of this DeviceQueryPostPutRequest. The device query. :param query: The query of this DeviceQueryPostPutRequest. :type: str """ if query is None: raise ValueError("Invalid value for `query`, must not be `None`...
python
def query(self, query): """ Sets the query of this DeviceQueryPostPutRequest. The device query. :param query: The query of this DeviceQueryPostPutRequest. :type: str """ if query is None: raise ValueError("Invalid value for `query`, must not be `None`...
Sets the query of this DeviceQueryPostPutRequest. The device query. :param query: The query of this DeviceQueryPostPutRequest. :type: str
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/device_directory/models/device_query_post_put_request.py#L91-L104
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/account_management/account_management.py
AccountManagementAPI.list_api_keys
def list_api_keys(self, **kwargs): """List the API keys registered in the organisation. List api keys Example: .. code-block:: python account_management_api = AccountManagementAPI() # List api keys api_keys_paginated_response = account_management_api.list_...
python
def list_api_keys(self, **kwargs): """List the API keys registered in the organisation. List api keys Example: .. code-block:: python account_management_api = AccountManagementAPI() # List api keys api_keys_paginated_response = account_management_api.list_...
List the API keys registered in the organisation. List api keys Example: .. code-block:: python account_management_api = AccountManagementAPI() # List api keys api_keys_paginated_response = account_management_api.list_api_keys() # get single api key ...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/account_management/account_management.py#L44-L72
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/account_management/account_management.py
AccountManagementAPI.get_api_key
def get_api_key(self, api_key_id): """Get API key details for key registered in organisation. :param str api_key_id: The ID of the API key to be updated (Required) :returns: API key object :rtype: ApiKey """ api = self._get_api(iam.DeveloperApi) return ApiKey(api...
python
def get_api_key(self, api_key_id): """Get API key details for key registered in organisation. :param str api_key_id: The ID of the API key to be updated (Required) :returns: API key object :rtype: ApiKey """ api = self._get_api(iam.DeveloperApi) return ApiKey(api...
Get API key details for key registered in organisation. :param str api_key_id: The ID of the API key to be updated (Required) :returns: API key object :rtype: ApiKey
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/account_management/account_management.py#L75-L83
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/account_management/account_management.py
AccountManagementAPI.delete_api_key
def delete_api_key(self, api_key_id): """Delete an API key registered in the organisation. :param str api_key_id: The ID of the API key (Required) :returns: void """ api = self._get_api(iam.DeveloperApi) api.delete_api_key(api_key_id) return
python
def delete_api_key(self, api_key_id): """Delete an API key registered in the organisation. :param str api_key_id: The ID of the API key (Required) :returns: void """ api = self._get_api(iam.DeveloperApi) api.delete_api_key(api_key_id) return
Delete an API key registered in the organisation. :param str api_key_id: The ID of the API key (Required) :returns: void
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/account_management/account_management.py#L86-L94
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/account_management/account_management.py
AccountManagementAPI.add_api_key
def add_api_key(self, name, **kwargs): """Create new API key registered to organisation. :param str name: The name of the API key (Required) :param list groups: List of group IDs (`str`) :param str owner: User ID owning the API key :param str status: The status of the API key. V...
python
def add_api_key(self, name, **kwargs): """Create new API key registered to organisation. :param str name: The name of the API key (Required) :param list groups: List of group IDs (`str`) :param str owner: User ID owning the API key :param str status: The status of the API key. V...
Create new API key registered to organisation. :param str name: The name of the API key (Required) :param list groups: List of group IDs (`str`) :param str owner: User ID owning the API key :param str status: The status of the API key. Values: ACTIVE, INACTIVE :returns: Newly cr...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/account_management/account_management.py#L97-L111
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/account_management/account_management.py
AccountManagementAPI.update_api_key
def update_api_key(self, api_key_id, **kwargs): """Update API key. :param str api_key_id: The ID of the API key to be updated (Required) :param str name: The name of the API key :param str owner: User ID owning the API key :param str status: The status of the API key. Values: AC...
python
def update_api_key(self, api_key_id, **kwargs): """Update API key. :param str api_key_id: The ID of the API key to be updated (Required) :param str name: The name of the API key :param str owner: User ID owning the API key :param str status: The status of the API key. Values: AC...
Update API key. :param str api_key_id: The ID of the API key to be updated (Required) :param str name: The name of the API key :param str owner: User ID owning the API key :param str status: The status of the API key. Values: ACTIVE, INACTIVE :returns: Newly created API key obje...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/account_management/account_management.py#L114-L127
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/account_management/account_management.py
AccountManagementAPI.list_users
def list_users(self, **kwargs): """List all users in organisation. :param int limit: The number of users to retrieve :param str order: The ordering direction, ascending (asc) or descending (desc) :param str after: Get users after/starting at given user ID :param dict filters: Di...
python
def list_users(self, **kwargs): """List all users in organisation. :param int limit: The number of users to retrieve :param str order: The ordering direction, ascending (asc) or descending (desc) :param str after: Get users after/starting at given user ID :param dict filters: Di...
List all users in organisation. :param int limit: The number of users to retrieve :param str order: The ordering direction, ascending (asc) or descending (desc) :param str after: Get users after/starting at given user ID :param dict filters: Dictionary of filters to apply: str status (e...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/account_management/account_management.py#L130-L143
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/account_management/account_management.py
AccountManagementAPI.get_user
def get_user(self, user_id): """Get user details of specified user. :param str user_id: the ID of the user to get (Required) :returns: the user object with details about the user. :rtype: User """ api = self._get_api(iam.AccountAdminApi) return User(api.get_user(...
python
def get_user(self, user_id): """Get user details of specified user. :param str user_id: the ID of the user to get (Required) :returns: the user object with details about the user. :rtype: User """ api = self._get_api(iam.AccountAdminApi) return User(api.get_user(...
Get user details of specified user. :param str user_id: the ID of the user to get (Required) :returns: the user object with details about the user. :rtype: User
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/account_management/account_management.py#L146-L154
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/account_management/account_management.py
AccountManagementAPI.update_user
def update_user(self, user_id, **kwargs): """Update user properties of specified user. :param str user_id: The ID of the user to update (Required) :param str username: The unique username of the user :param str email: The unique email of the user :param str full_name: The full n...
python
def update_user(self, user_id, **kwargs): """Update user properties of specified user. :param str user_id: The ID of the user to update (Required) :param str username: The unique username of the user :param str email: The unique email of the user :param str full_name: The full n...
Update user properties of specified user. :param str user_id: The ID of the user to update (Required) :param str username: The unique username of the user :param str email: The unique email of the user :param str full_name: The full name of the user :param str password: The pass...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/account_management/account_management.py#L157-L174
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/account_management/account_management.py
AccountManagementAPI.delete_user
def delete_user(self, user_id): """Delete user specified user. :param str user_id: the ID of the user to delete (Required) :returns: void """ api = self._get_api(iam.AccountAdminApi) api.delete_user(user_id) return
python
def delete_user(self, user_id): """Delete user specified user. :param str user_id: the ID of the user to delete (Required) :returns: void """ api = self._get_api(iam.AccountAdminApi) api.delete_user(user_id) return
Delete user specified user. :param str user_id: the ID of the user to delete (Required) :returns: void
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/account_management/account_management.py#L177-L185
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/account_management/account_management.py
AccountManagementAPI.add_user
def add_user(self, username, email, **kwargs): """Create a new user with provided details. Add user example: .. code-block:: python account_management_api = AccountManagementAPI() # Add user user = { "username": "test_user", ...
python
def add_user(self, username, email, **kwargs): """Create a new user with provided details. Add user example: .. code-block:: python account_management_api = AccountManagementAPI() # Add user user = { "username": "test_user", ...
Create a new user with provided details. Add user example: .. code-block:: python account_management_api = AccountManagementAPI() # Add user user = { "username": "test_user", "email": "test@gmail.com", "phone_number":...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/account_management/account_management.py#L188-L219
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/account_management/account_management.py
AccountManagementAPI.get_account
def get_account(self): """Get details of the current account. :returns: an account object. :rtype: Account """ api = self._get_api(iam.DeveloperApi) return Account(api.get_my_account_info(include="limits, policies"))
python
def get_account(self): """Get details of the current account. :returns: an account object. :rtype: Account """ api = self._get_api(iam.DeveloperApi) return Account(api.get_my_account_info(include="limits, policies"))
Get details of the current account. :returns: an account object. :rtype: Account
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/account_management/account_management.py#L222-L229
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/account_management/account_management.py
AccountManagementAPI.update_account
def update_account(self, **kwargs): """Update details of account associated with current API key. :param str address_line1: Postal address line 1. :param str address_line2: Postal address line 2. :param str city: The city part of the postal address. :param str display_name: The ...
python
def update_account(self, **kwargs): """Update details of account associated with current API key. :param str address_line1: Postal address line 1. :param str address_line2: Postal address line 2. :param str city: The city part of the postal address. :param str display_name: The ...
Update details of account associated with current API key. :param str address_line1: Postal address line 1. :param str address_line2: Postal address line 2. :param str city: The city part of the postal address. :param str display_name: The display name for the account. :param st...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/account_management/account_management.py#L232-L254
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/account_management/account_management.py
AccountManagementAPI.list_groups
def list_groups(self, **kwargs): """List all groups in organisation. :param int limit: The number of groups to retrieve :param str order: The ordering direction, ascending (asc) or descending (desc) :param str after: Get groups after/starting at given group ID :returns: a list o...
python
def list_groups(self, **kwargs): """List all groups in organisation. :param int limit: The number of groups to retrieve :param str order: The ordering direction, ascending (asc) or descending (desc) :param str after: Get groups after/starting at given group ID :returns: a list o...
List all groups in organisation. :param int limit: The number of groups to retrieve :param str order: The ordering direction, ascending (asc) or descending (desc) :param str after: Get groups after/starting at given group ID :returns: a list of :py:class:`Group` objects. :rtype:...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/account_management/account_management.py#L257-L268
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/account_management/account_management.py
AccountManagementAPI.get_group
def get_group(self, group_id): """Get details of the group. :param str group_id: The group ID (Required) :returns: :py:class:`Group` object. :rtype: Group """ api = self._get_api(iam.DeveloperApi) return Group(api.get_group_summary(group_id))
python
def get_group(self, group_id): """Get details of the group. :param str group_id: The group ID (Required) :returns: :py:class:`Group` object. :rtype: Group """ api = self._get_api(iam.DeveloperApi) return Group(api.get_group_summary(group_id))
Get details of the group. :param str group_id: The group ID (Required) :returns: :py:class:`Group` object. :rtype: Group
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/account_management/account_management.py#L271-L279
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/account_management/account_management.py
AccountManagementAPI.list_group_users
def list_group_users(self, group_id, **kwargs): """List users of a group. :param str group_id: The group ID (Required) :param int limit: The number of users to retrieve :param str order: The ordering direction, ascending (asc) or descending (desc) :param str after: Get API keys ...
python
def list_group_users(self, group_id, **kwargs): """List users of a group. :param str group_id: The group ID (Required) :param int limit: The number of users to retrieve :param str order: The ordering direction, ascending (asc) or descending (desc) :param str after: Get API keys ...
List users of a group. :param str group_id: The group ID (Required) :param int limit: The number of users to retrieve :param str order: The ordering direction, ascending (asc) or descending (desc) :param str after: Get API keys after/starting at given user ID :returns: a list of...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/account_management/account_management.py#L282-L295
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/account_management/account_management.py
AccountManagementAPI.list_group_api_keys
def list_group_api_keys(self, group_id, **kwargs): """List API keys of a group. :param str group_id: The group ID (Required) :param int limit: The number of api keys to retrieve. :param str order: The ordering direction, ascending (asc) or descending (desc). :param str after: Ge...
python
def list_group_api_keys(self, group_id, **kwargs): """List API keys of a group. :param str group_id: The group ID (Required) :param int limit: The number of api keys to retrieve. :param str order: The ordering direction, ascending (asc) or descending (desc). :param str after: Ge...
List API keys of a group. :param str group_id: The group ID (Required) :param int limit: The number of api keys to retrieve. :param str order: The ordering direction, ascending (asc) or descending (desc). :param str after: Get API keys after/starting at given api key ID. :return...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/account_management/account_management.py#L298-L311
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/subscribe/async_wrapper.py
AsyncWrapper.defer
def defer(self, *args, **kwargs): """Call the function and immediately return an asynchronous object. The calling code will need to check for the result at a later time using: In Python 2/3 using ThreadPools - an AsyncResult (https://docs.python.org/2/library/multiprocessing.html#m...
python
def defer(self, *args, **kwargs): """Call the function and immediately return an asynchronous object. The calling code will need to check for the result at a later time using: In Python 2/3 using ThreadPools - an AsyncResult (https://docs.python.org/2/library/multiprocessing.html#m...
Call the function and immediately return an asynchronous object. The calling code will need to check for the result at a later time using: In Python 2/3 using ThreadPools - an AsyncResult (https://docs.python.org/2/library/multiprocessing.html#multiprocessing.pool.AsyncResult) In ...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/subscribe/async_wrapper.py#L70-L119
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/subscribe/async_wrapper.py
AsyncWrapper.block
def block(self, *args, **kwargs): """Call the wrapped function, and wait for the result in a blocking fashion Returns the result of the function call. :param args: :param kwargs: :return: result of function call """ LOG.debug( '%s on %s (awaitable %s...
python
def block(self, *args, **kwargs): """Call the wrapped function, and wait for the result in a blocking fashion Returns the result of the function call. :param args: :param kwargs: :return: result of function call """ LOG.debug( '%s on %s (awaitable %s...
Call the wrapped function, and wait for the result in a blocking fashion Returns the result of the function call. :param args: :param kwargs: :return: result of function call
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/subscribe/async_wrapper.py#L121-L151
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/enrollment/models/enrollment_identities.py
EnrollmentIdentities.after
def after(self, after): """ Sets the after of this EnrollmentIdentities. ID :param after: The after of this EnrollmentIdentities. :type: str """ if after is None: raise ValueError("Invalid value for `after`, must not be `None`") if after is no...
python
def after(self, after): """ Sets the after of this EnrollmentIdentities. ID :param after: The after of this EnrollmentIdentities. :type: str """ if after is None: raise ValueError("Invalid value for `after`, must not be `None`") if after is no...
Sets the after of this EnrollmentIdentities. ID :param after: The after of this EnrollmentIdentities. :type: str
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/enrollment/models/enrollment_identities.py#L79-L92
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/enrollment/models/enrollment_identities.py
EnrollmentIdentities.order
def order(self, order): """ Sets the order of this EnrollmentIdentities. :param order: The order of this EnrollmentIdentities. :type: str """ if order is None: raise ValueError("Invalid value for `order`, must not be `None`") allowed_values = ["ASC", ...
python
def order(self, order): """ Sets the order of this EnrollmentIdentities. :param order: The order of this EnrollmentIdentities. :type: str """ if order is None: raise ValueError("Invalid value for `order`, must not be `None`") allowed_values = ["ASC", ...
Sets the order of this EnrollmentIdentities. :param order: The order of this EnrollmentIdentities. :type: str
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/enrollment/models/enrollment_identities.py#L209-L225
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/update_service/models/update_campaign.py
UpdateCampaign.health_indicator
def health_indicator(self, health_indicator): """ Sets the health_indicator of this UpdateCampaign. An indication to the condition of the campaign. :param health_indicator: The health_indicator of this UpdateCampaign. :type: str """ allowed_values = ["ok", "warni...
python
def health_indicator(self, health_indicator): """ Sets the health_indicator of this UpdateCampaign. An indication to the condition of the campaign. :param health_indicator: The health_indicator of this UpdateCampaign. :type: str """ allowed_values = ["ok", "warni...
Sets the health_indicator of this UpdateCampaign. An indication to the condition of the campaign. :param health_indicator: The health_indicator of this UpdateCampaign. :type: str
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/update_service/models/update_campaign.py#L249-L264
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/billing/models/service_package_quota.py
ServicePackageQuota.quota
def quota(self, quota): """ Sets the quota of this ServicePackageQuota. Available quota for the service package. :param quota: The quota of this ServicePackageQuota. :type: int """ if quota is None: raise ValueError("Invalid value for `quota`, must no...
python
def quota(self, quota): """ Sets the quota of this ServicePackageQuota. Available quota for the service package. :param quota: The quota of this ServicePackageQuota. :type: int """ if quota is None: raise ValueError("Invalid value for `quota`, must no...
Sets the quota of this ServicePackageQuota. Available quota for the service package. :param quota: The quota of this ServicePackageQuota. :type: int
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/billing/models/service_package_quota.py#L95-L108
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/enrollment/models/enrollment_identity.py
EnrollmentIdentity.enrolled_device_id
def enrolled_device_id(self, enrolled_device_id): """ Sets the enrolled_device_id of this EnrollmentIdentity. The ID of the device in the Device Directory once it has been registered. :param enrolled_device_id: The enrolled_device_id of this EnrollmentIdentity. :type: str ...
python
def enrolled_device_id(self, enrolled_device_id): """ Sets the enrolled_device_id of this EnrollmentIdentity. The ID of the device in the Device Directory once it has been registered. :param enrolled_device_id: The enrolled_device_id of this EnrollmentIdentity. :type: str ...
Sets the enrolled_device_id of this EnrollmentIdentity. The ID of the device in the Device Directory once it has been registered. :param enrolled_device_id: The enrolled_device_id of this EnrollmentIdentity. :type: str
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/enrollment/models/enrollment_identity.py#L160-L173
ARMmbed/mbed-cloud-sdk-python
scripts/assert_news.py
main
def main(news_dir=None): """Checks for existence of a new newsfile""" if news_dir is None: from generate_news import news_dir news_dir = os.path.abspath(news_dir) # assume the name of the remote alias is just 'origin' remote_alias = 'origin' # figure out what the 'default branch' for t...
python
def main(news_dir=None): """Checks for existence of a new newsfile""" if news_dir is None: from generate_news import news_dir news_dir = os.path.abspath(news_dir) # assume the name of the remote alias is just 'origin' remote_alias = 'origin' # figure out what the 'default branch' for t...
Checks for existence of a new newsfile
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/scripts/assert_news.py#L24-L81
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.add_account_api_key_to_groups
def add_account_api_key_to_groups(self, account_id, api_key, body, **kwargs): # noqa: E501 """Add API key to a list of groups. # noqa: E501 An endpoint for adding API key to groups. **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/api-keys/{apikey}/groups...
python
def add_account_api_key_to_groups(self, account_id, api_key, body, **kwargs): # noqa: E501 """Add API key to a list of groups. # noqa: E501 An endpoint for adding API key to groups. **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/api-keys/{apikey}/groups...
Add API key to a list of groups. # noqa: E501 An endpoint for adding API key to groups. **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/api-keys/{apikey}/groups -d '[0162056a9a1586f30242590700000000,0117056a9a1586f30242590700000000]' -H 'content-type: application...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L36-L58
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.add_account_certificate
def add_account_certificate(self, account_id, body, **kwargs): # noqa: E501 """Upload new trusted certificate. # noqa: E501 An endpoint for uploading new trusted certificates. **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/trusted-certificates -d {\"nam...
python
def add_account_certificate(self, account_id, body, **kwargs): # noqa: E501 """Upload new trusted certificate. # noqa: E501 An endpoint for uploading new trusted certificates. **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/trusted-certificates -d {\"nam...
Upload new trusted certificate. # noqa: E501 An endpoint for uploading new trusted certificates. **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/trusted-certificates -d {\"name\": \"myCert1\", \"description\": \"very important cert\", \"certificate\": \"certifica...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L151-L172
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.add_account_user_to_groups
def add_account_user_to_groups(self, account_id, user_id, body, **kwargs): # noqa: E501 """Add user to a list of groups. # noqa: E501 An endpoint for adding user to groups. **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/users/{user-id}/groups -d '[01620...
python
def add_account_user_to_groups(self, account_id, user_id, body, **kwargs): # noqa: E501 """Add user to a list of groups. # noqa: E501 An endpoint for adding user to groups. **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/users/{user-id}/groups -d '[01620...
Add user to a list of groups. # noqa: E501 An endpoint for adding user to groups. **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/users/{user-id}/groups -d '[0162056a9a1586f30242590700000000,0117056a9a1586f30242590700000000]' -H 'content-type: application/json' -...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L258-L280
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.add_subjects_to_account_group
def add_subjects_to_account_group(self, account_id, group_id, body, **kwargs): # noqa: E501 """Add members to a group. # noqa: E501 An endpoint for adding users and API keys to groups. **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/policy-groups/{groupI...
python
def add_subjects_to_account_group(self, account_id, group_id, body, **kwargs): # noqa: E501 """Add members to a group. # noqa: E501 An endpoint for adding users and API keys to groups. **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/policy-groups/{groupI...
Add members to a group. # noqa: E501 An endpoint for adding users and API keys to groups. **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/policy-groups/{groupID} -d '{\"users\": [0162056a9a1586f30242590700000000,0117056a9a1586f30242590700000000]\"}' -H 'content-t...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L373-L395
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.check_account_api_key
def check_account_api_key(self, account_id, api_key, **kwargs): # noqa: E501 """Check the API key. # noqa: E501 An endpoint for checking API key. **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/api-keys/{apiKey} -H 'Authorization: Bearer API_KEY'` # noq...
python
def check_account_api_key(self, account_id, api_key, **kwargs): # noqa: E501 """Check the API key. # noqa: E501 An endpoint for checking API key. **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/api-keys/{apiKey} -H 'Authorization: Bearer API_KEY'` # noq...
Check the API key. # noqa: E501 An endpoint for checking API key. **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/api-keys/{apiKey} -H 'Authorization: Bearer API_KEY'` # noqa: E501 This method makes a synchronous HTTP request by default. To make an ...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L488-L509
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.create_account
def create_account(self, body, **kwargs): # noqa: E501 """Create a new account. # noqa: E501 An endpoint for creating a new account. **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accounts -d '{\"display_name\": \"MyAccount1\", \"admin_name\": \"accountAdmin1\", \"email\": ...
python
def create_account(self, body, **kwargs): # noqa: E501 """Create a new account. # noqa: E501 An endpoint for creating a new account. **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accounts -d '{\"display_name\": \"MyAccount1\", \"admin_name\": \"accountAdmin1\", \"email\": ...
Create a new account. # noqa: E501 An endpoint for creating a new account. **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accounts -d '{\"display_name\": \"MyAccount1\", \"admin_name\": \"accountAdmin1\", \"email\": \"example_admin@myaccount.info\"}' -H 'content-type: application/js...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L591-L612
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.create_account_api_key
def create_account_api_key(self, account_id, body, **kwargs): # noqa: E501 """Create a new API key. # noqa: E501 An endpoint for creating a new API key. There is no default value for the owner ID and it must be from the same account where the new API key is created. **Example usage:** `curl -X POST...
python
def create_account_api_key(self, account_id, body, **kwargs): # noqa: E501 """Create a new API key. # noqa: E501 An endpoint for creating a new API key. There is no default value for the owner ID and it must be from the same account where the new API key is created. **Example usage:** `curl -X POST...
Create a new API key. # noqa: E501 An endpoint for creating a new API key. There is no default value for the owner ID and it must be from the same account where the new API key is created. **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/api-keys -d '{\"name\": \"...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L694-L715
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.create_account_group
def create_account_group(self, account_id, body, **kwargs): # noqa: E501 """Create a new group. # noqa: E501 An endpoint for creating a new group. **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/policy-groups -d '{\"name\": \"MyGroup1\"}' -H 'content-typ...
python
def create_account_group(self, account_id, body, **kwargs): # noqa: E501 """Create a new group. # noqa: E501 An endpoint for creating a new group. **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/policy-groups -d '{\"name\": \"MyGroup1\"}' -H 'content-typ...
Create a new group. # noqa: E501 An endpoint for creating a new group. **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/policy-groups -d '{\"name\": \"MyGroup1\"}' -H 'content-type: application/json' -H 'Authorization: Bearer API_KEY'` # noqa: E501 This m...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L801-L822
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.create_account_invitation
def create_account_invitation(self, account_id, body, **kwargs): # noqa: E501 """Create a user invitation. # noqa: E501 An endpoint for inviting a new or an existing user to join the account. **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accouns/{account-id}/user-invitatio...
python
def create_account_invitation(self, account_id, body, **kwargs): # noqa: E501 """Create a user invitation. # noqa: E501 An endpoint for inviting a new or an existing user to join the account. **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accouns/{account-id}/user-invitatio...
Create a user invitation. # noqa: E501 An endpoint for inviting a new or an existing user to join the account. **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accouns/{account-id}/user-invitations -d {\"email\": \"myemail@company.com\"} -H 'content-type: application/json' -H 'Authori...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L908-L929
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.create_account_user
def create_account_user(self, account_id, body, **kwargs): # noqa: E501 """Create a new user. # noqa: E501 An endpoint for creating or inviting a new user to the account. In case of invitation email address is used only, other attributes are set in the 2nd step. **Example usage:** `curl -X POST htt...
python
def create_account_user(self, account_id, body, **kwargs): # noqa: E501 """Create a new user. # noqa: E501 An endpoint for creating or inviting a new user to the account. In case of invitation email address is used only, other attributes are set in the 2nd step. **Example usage:** `curl -X POST htt...
Create a new user. # noqa: E501 An endpoint for creating or inviting a new user to the account. In case of invitation email address is used only, other attributes are set in the 2nd step. **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/users -d {\"email\": \"myem...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L1015-L1037
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.delete_account_api_key
def delete_account_api_key(self, account_id, api_key, **kwargs): # noqa: E501 """Delete the API key. # noqa: E501 An endpoint for deleting an API key. **Example usage:** `curl -X DELETE https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/api-keys/{apikey} -H 'Authorization: Bearer API_KEY'`...
python
def delete_account_api_key(self, account_id, api_key, **kwargs): # noqa: E501 """Delete the API key. # noqa: E501 An endpoint for deleting an API key. **Example usage:** `curl -X DELETE https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/api-keys/{apikey} -H 'Authorization: Bearer API_KEY'`...
Delete the API key. # noqa: E501 An endpoint for deleting an API key. **Example usage:** `curl -X DELETE https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/api-keys/{apikey} -H 'Authorization: Bearer API_KEY'` # noqa: E501 This method makes a synchronous HTTP request by default. To make an...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L1126-L1147
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.delete_account_certificate
def delete_account_certificate(self, account_id, cert_id, **kwargs): # noqa: E501 """Delete trusted certificate by ID. # noqa: E501 An endpoint for deleting the trusted certificate. **Example usage:** `curl -X DELETE https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/trusted-certificates/{...
python
def delete_account_certificate(self, account_id, cert_id, **kwargs): # noqa: E501 """Delete trusted certificate by ID. # noqa: E501 An endpoint for deleting the trusted certificate. **Example usage:** `curl -X DELETE https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/trusted-certificates/{...
Delete trusted certificate by ID. # noqa: E501 An endpoint for deleting the trusted certificate. **Example usage:** `curl -X DELETE https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/trusted-certificates/{cert-id} -H 'Authorization: Bearer API_KEY'` # noqa: E501 This method makes a synchro...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L1229-L1250
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.delete_account_group
def delete_account_group(self, account_id, group_id, **kwargs): # noqa: E501 """Delete a group. # noqa: E501 An endpoint for deleting a group. **Example usage:** `curl -X DELETE https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/policy-groups/{groupID} -H 'Authorization: Bearer API_KEY'` ...
python
def delete_account_group(self, account_id, group_id, **kwargs): # noqa: E501 """Delete a group. # noqa: E501 An endpoint for deleting a group. **Example usage:** `curl -X DELETE https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/policy-groups/{groupID} -H 'Authorization: Bearer API_KEY'` ...
Delete a group. # noqa: E501 An endpoint for deleting a group. **Example usage:** `curl -X DELETE https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/policy-groups/{groupID} -H 'Authorization: Bearer API_KEY'` # noqa: E501 This method makes a synchronous HTTP request by default. To make an ...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L1332-L1353
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.delete_account_invitation
def delete_account_invitation(self, account_id, invitation_id, **kwargs): # noqa: E501 """Delete a user invitation. # noqa: E501 An endpoint for deleting an active user invitation which has been sent for a new or an existing user to join the account. **Example usage:** `curl -X DELETE https://api.u...
python
def delete_account_invitation(self, account_id, invitation_id, **kwargs): # noqa: E501 """Delete a user invitation. # noqa: E501 An endpoint for deleting an active user invitation which has been sent for a new or an existing user to join the account. **Example usage:** `curl -X DELETE https://api.u...
Delete a user invitation. # noqa: E501 An endpoint for deleting an active user invitation which has been sent for a new or an existing user to join the account. **Example usage:** `curl -X DELETE https://api.us-east-1.mbedcloud.com/v3/accounts/{account-id}/user-invitations/{invitation-id} -H 'Authorization:...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L1435-L1456
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.delete_account_user
def delete_account_user(self, account_id, user_id, **kwargs): # noqa: E501 """Delete a user. # noqa: E501 An endpoint for deleting a user. **Example usage:** `curl -X DELETE https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/users/{user-id} -H 'Authorization: Bearer API_KEY'` # noqa: E501...
python
def delete_account_user(self, account_id, user_id, **kwargs): # noqa: E501 """Delete a user. # noqa: E501 An endpoint for deleting a user. **Example usage:** `curl -X DELETE https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/users/{user-id} -H 'Authorization: Bearer API_KEY'` # noqa: E501...
Delete a user. # noqa: E501 An endpoint for deleting a user. **Example usage:** `curl -X DELETE https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/users/{user-id} -H 'Authorization: Bearer API_KEY'` # noqa: E501 This method makes a synchronous HTTP request by default. To make an as...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L1538-L1559
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.get_account_api_key
def get_account_api_key(self, account_id, api_key, **kwargs): # noqa: E501 """Get API key details. # noqa: E501 An endpoint for retrieving API key details. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/api-keys/{apiKey} -H 'Authorization: Bearer API_KEY'` # n...
python
def get_account_api_key(self, account_id, api_key, **kwargs): # noqa: E501 """Get API key details. # noqa: E501 An endpoint for retrieving API key details. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/api-keys/{apiKey} -H 'Authorization: Bearer API_KEY'` # n...
Get API key details. # noqa: E501 An endpoint for retrieving API key details. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/api-keys/{apiKey} -H 'Authorization: Bearer API_KEY'` # noqa: E501 This method makes a synchronous HTTP request by default. To make an ...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L1641-L1662
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.get_account_certificate
def get_account_certificate(self, account_id, cert_id, **kwargs): # noqa: E501 """Get trusted certificate by ID. # noqa: E501 An endpoint for retrieving a trusted certificate by ID. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/trusted-certificates/{cert-id} -...
python
def get_account_certificate(self, account_id, cert_id, **kwargs): # noqa: E501 """Get trusted certificate by ID. # noqa: E501 An endpoint for retrieving a trusted certificate by ID. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/trusted-certificates/{cert-id} -...
Get trusted certificate by ID. # noqa: E501 An endpoint for retrieving a trusted certificate by ID. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/trusted-certificates/{cert-id} -H 'Authorization: Bearer API_KEY'` # noqa: E501 This method makes a synchronous HT...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L1744-L1765
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.get_account_group_summary
def get_account_group_summary(self, account_id, group_id, **kwargs): # noqa: E501 """Get group information. # noqa: E501 An endpoint for getting general information about the group. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/policy-groups/{groupID} -H 'Auth...
python
def get_account_group_summary(self, account_id, group_id, **kwargs): # noqa: E501 """Get group information. # noqa: E501 An endpoint for getting general information about the group. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/policy-groups/{groupID} -H 'Auth...
Get group information. # noqa: E501 An endpoint for getting general information about the group. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/policy-groups/{groupID} -H 'Authorization: Bearer API_KEY'` # noqa: E501 This method makes a synchronous HTTP request...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L1847-L1868
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.get_account_info
def get_account_info(self, account_id, **kwargs): # noqa: E501 """Get account info. # noqa: E501 Returns detailed information about the account. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{account-id} -H 'Authorization: Bearer API_KEY'`. # noqa: E501 This meth...
python
def get_account_info(self, account_id, **kwargs): # noqa: E501 """Get account info. # noqa: E501 Returns detailed information about the account. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{account-id} -H 'Authorization: Bearer API_KEY'`. # noqa: E501 This meth...
Get account info. # noqa: E501 Returns detailed information about the account. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{account-id} -H 'Authorization: Bearer API_KEY'`. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchro...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L1950-L1972
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.get_account_invitation
def get_account_invitation(self, account_id, invitation_id, **kwargs): # noqa: E501 """Details of a user invitation. # noqa: E501 An endpoint for retrieving the details of an active user invitation sent for a new or an existing user to join the account. **Example usage:** `curl https://api.us-east-...
python
def get_account_invitation(self, account_id, invitation_id, **kwargs): # noqa: E501 """Details of a user invitation. # noqa: E501 An endpoint for retrieving the details of an active user invitation sent for a new or an existing user to join the account. **Example usage:** `curl https://api.us-east-...
Details of a user invitation. # noqa: E501 An endpoint for retrieving the details of an active user invitation sent for a new or an existing user to join the account. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{account-id}/user-invitations/{invitation-id} -H 'Authorization: Bea...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L2053-L2074
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.get_account_user
def get_account_user(self, account_id, user_id, **kwargs): # noqa: E501 """Details of the user. # noqa: E501 An endpoint for retrieving details of the user. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/users/{userID} -H 'Authorization: Bearer API_KEY'` # noq...
python
def get_account_user(self, account_id, user_id, **kwargs): # noqa: E501 """Details of the user. # noqa: E501 An endpoint for retrieving details of the user. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/users/{userID} -H 'Authorization: Bearer API_KEY'` # noq...
Details of the user. # noqa: E501 An endpoint for retrieving details of the user. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/users/{userID} -H 'Authorization: Bearer API_KEY'` # noqa: E501 This method makes a synchronous HTTP request by default. To make an ...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L2156-L2177
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.get_all_account_api_keys
def get_all_account_api_keys(self, account_id, **kwargs): # noqa: E501 """Get all API keys. # noqa: E501 An endpoint for retrieving the API keys in an array, optionally filtered by the owner. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/api-keys -H 'Authoriza...
python
def get_all_account_api_keys(self, account_id, **kwargs): # noqa: E501 """Get all API keys. # noqa: E501 An endpoint for retrieving the API keys in an array, optionally filtered by the owner. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/api-keys -H 'Authoriza...
Get all API keys. # noqa: E501 An endpoint for retrieving the API keys in an array, optionally filtered by the owner. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/api-keys -H 'Authorization: Bearer API_KEY'` # noqa: E501 This method makes a synchronous HTTP r...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L2259-L2285
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.get_all_account_certificates
def get_all_account_certificates(self, account_id, **kwargs): # noqa: E501 """Get all trusted certificates. # noqa: E501 An endpoint for retrieving trusted certificates in an array. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/trusted-certificates -H 'Authori...
python
def get_all_account_certificates(self, account_id, **kwargs): # noqa: E501 """Get all trusted certificates. # noqa: E501 An endpoint for retrieving trusted certificates in an array. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/trusted-certificates -H 'Authori...
Get all trusted certificates. # noqa: E501 An endpoint for retrieving trusted certificates in an array. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/trusted-certificates -H 'Authorization: Bearer API_KEY'` # noqa: E501 This method makes a synchronous HTTP req...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L2378-L2411
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.get_all_account_groups
def get_all_account_groups(self, account_id, **kwargs): # noqa: E501 """Get all group information. # noqa: E501 An endpoint for retrieving all group information. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/policy-groups -H 'Authorization: Bearer API_KEY'` #...
python
def get_all_account_groups(self, account_id, **kwargs): # noqa: E501 """Get all group information. # noqa: E501 An endpoint for retrieving all group information. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/policy-groups -H 'Authorization: Bearer API_KEY'` #...
Get all group information. # noqa: E501 An endpoint for retrieving all group information. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/policy-groups -H 'Authorization: Bearer API_KEY'` # noqa: E501 This method makes a synchronous HTTP request by default. To m...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L2525-L2550
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.get_all_account_invitations
def get_all_account_invitations(self, account_id, **kwargs): # noqa: E501 """Get the details of all the user invitations. # noqa: E501 An endpoint for retrieving the details of all the active user invitations sent for new or existing users to join the account. **Example usage:** `curl https://api.u...
python
def get_all_account_invitations(self, account_id, **kwargs): # noqa: E501 """Get the details of all the user invitations. # noqa: E501 An endpoint for retrieving the details of all the active user invitations sent for new or existing users to join the account. **Example usage:** `curl https://api.u...
Get the details of all the user invitations. # noqa: E501 An endpoint for retrieving the details of all the active user invitations sent for new or existing users to join the account. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{account-id}/user-invitations -H 'Authorization: Be...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L2640-L2663
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.get_all_account_users
def get_all_account_users(self, account_id, **kwargs): # noqa: E501 """Get all user details. # noqa: E501 An endpoint for retrieving details of all users. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/users -H 'Authorization: Bearer API_KEY'` # noqa: E501 ...
python
def get_all_account_users(self, account_id, **kwargs): # noqa: E501 """Get all user details. # noqa: E501 An endpoint for retrieving details of all users. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/users -H 'Authorization: Bearer API_KEY'` # noqa: E501 ...
Get all user details. # noqa: E501 An endpoint for retrieving details of all users. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/users -H 'Authorization: Bearer API_KEY'` # noqa: E501 This method makes a synchronous HTTP request by default. To make an ...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L2747-L2775
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.get_all_accounts
def get_all_accounts(self, **kwargs): # noqa: E501 """Get all accounts. # noqa: E501 Returns an array of account objects, optionally filtered by status and tier level. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts -H 'Authorization: Bearer API_KEY'`. # noqa: E501 ...
python
def get_all_accounts(self, **kwargs): # noqa: E501 """Get all accounts. # noqa: E501 Returns an array of account objects, optionally filtered by status and tier level. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts -H 'Authorization: Bearer API_KEY'`. # noqa: E501 ...
Get all accounts. # noqa: E501 Returns an array of account objects, optionally filtered by status and tier level. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts -H 'Authorization: Bearer API_KEY'`. # noqa: E501 This method makes a synchronous HTTP request by default. To ma...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L2874-L2906
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.get_api_keys_of_account_group
def get_api_keys_of_account_group(self, account_id, group_id, **kwargs): # noqa: E501 """Get API keys of a group. # noqa: E501 An endpoint for listing the API keys of the group with details. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/policy-groups/{groupID}...
python
def get_api_keys_of_account_group(self, account_id, group_id, **kwargs): # noqa: E501 """Get API keys of a group. # noqa: E501 An endpoint for listing the API keys of the group with details. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/policy-groups/{groupID}...
Get API keys of a group. # noqa: E501 An endpoint for listing the API keys of the group with details. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/policy-groups/{groupID}/api-keys -H 'Authorization: Bearer API_KEY'` # noqa: E501 This method makes a synchronou...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L3013-L3038
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.get_groups_of_account_apikey
def get_groups_of_account_apikey(self, account_id, api_key, **kwargs): # noqa: E501 """Get groups of the API key. # noqa: E501 An endpoint for retrieving groups of the API key. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/api-keys/{apiKey}/groups -H 'Authoriz...
python
def get_groups_of_account_apikey(self, account_id, api_key, **kwargs): # noqa: E501 """Get groups of the API key. # noqa: E501 An endpoint for retrieving groups of the API key. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/api-keys/{apiKey}/groups -H 'Authoriz...
Get groups of the API key. # noqa: E501 An endpoint for retrieving groups of the API key. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/api-keys/{apiKey}/groups -H 'Authorization: Bearer API_KEY'` # noqa: E501 This method makes a synchronous HTTP request by de...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L3132-L3157
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.get_groups_of_account_user
def get_groups_of_account_user(self, account_id, user_id, **kwargs): # noqa: E501 """Get groups of the user. # noqa: E501 An endpoint for retrieving groups of the user. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/users/{user-id}/groups -H 'Authorization: Bea...
python
def get_groups_of_account_user(self, account_id, user_id, **kwargs): # noqa: E501 """Get groups of the user. # noqa: E501 An endpoint for retrieving groups of the user. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/users/{user-id}/groups -H 'Authorization: Bea...
Get groups of the user. # noqa: E501 An endpoint for retrieving groups of the user. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/users/{user-id}/groups -H 'Authorization: Bearer API_KEY'` # noqa: E501 This method makes a synchronous HTTP request by default. T...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L3251-L3276
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.get_users_of_account_group
def get_users_of_account_group(self, account_id, group_id, **kwargs): # noqa: E501 """Get users of a group. # noqa: E501 An endpoint for listing users of the group with details. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/policy-groups/{groupID}/users -H 'Au...
python
def get_users_of_account_group(self, account_id, group_id, **kwargs): # noqa: E501 """Get users of a group. # noqa: E501 An endpoint for listing users of the group with details. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/policy-groups/{groupID}/users -H 'Au...
Get users of a group. # noqa: E501 An endpoint for listing users of the group with details. **Example usage:** `curl https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/policy-groups/{groupID}/users -H 'Authorization: Bearer API_KEY'` # noqa: E501 This method makes a synchronous HTTP reques...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L3370-L3398
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.remove_account_api_key_from_groups
def remove_account_api_key_from_groups(self, account_id, api_key, body, **kwargs): # noqa: E501 """Remove API key from groups. # noqa: E501 An endpoint for removing API key from groups. **Example usage:** `curl -X DELETE https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/api-keys/{apiKey}/...
python
def remove_account_api_key_from_groups(self, account_id, api_key, body, **kwargs): # noqa: E501 """Remove API key from groups. # noqa: E501 An endpoint for removing API key from groups. **Example usage:** `curl -X DELETE https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/api-keys/{apiKey}/...
Remove API key from groups. # noqa: E501 An endpoint for removing API key from groups. **Example usage:** `curl -X DELETE https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/api-keys/{apiKey}/groups -d '[0162056a9a1586f30242590700000000,0117056a9a1586f30242590700000000]' -H 'content-type: applicatio...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L3501-L3523
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.remove_account_user_from_groups
def remove_account_user_from_groups(self, account_id, user_id, body, **kwargs): # noqa: E501 """Remove user from groups. # noqa: E501 An endpoint for removing user from groups. **Example usage:** `curl -X DELETE https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/users/{user-id}/groups -d '...
python
def remove_account_user_from_groups(self, account_id, user_id, body, **kwargs): # noqa: E501 """Remove user from groups. # noqa: E501 An endpoint for removing user from groups. **Example usage:** `curl -X DELETE https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/users/{user-id}/groups -d '...
Remove user from groups. # noqa: E501 An endpoint for removing user from groups. **Example usage:** `curl -X DELETE https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/users/{user-id}/groups -d '[0162056a9a1586f30242590700000000,0117056a9a1586f30242590700000000]' -H 'content-type: application/json' ...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L3616-L3638
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.remove_api_keys_from_account_group
def remove_api_keys_from_account_group(self, account_id, group_id, **kwargs): # noqa: E501 """Remove API keys from a group. # noqa: E501 An endpoint for removing API keys from groups. **Example usage:** `curl -X DELETE https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/policy-groups/{group...
python
def remove_api_keys_from_account_group(self, account_id, group_id, **kwargs): # noqa: E501 """Remove API keys from a group. # noqa: E501 An endpoint for removing API keys from groups. **Example usage:** `curl -X DELETE https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/policy-groups/{group...
Remove API keys from a group. # noqa: E501 An endpoint for removing API keys from groups. **Example usage:** `curl -X DELETE https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/policy-groups/{groupID}/api-keys -d '[0162056a9a1586f30242590700000000,0117056a9a1586f30242590700000000]' -H 'content-type:...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L3731-L3753
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.remove_users_from_account_group
def remove_users_from_account_group(self, account_id, group_id, **kwargs): # noqa: E501 """Remove users from a group. # noqa: E501 An endpoint for removing users from groups. **Example usage:** `curl -X DELETE https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/policy-groups/{groupID}/users...
python
def remove_users_from_account_group(self, account_id, group_id, **kwargs): # noqa: E501 """Remove users from a group. # noqa: E501 An endpoint for removing users from groups. **Example usage:** `curl -X DELETE https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/policy-groups/{groupID}/users...
Remove users from a group. # noqa: E501 An endpoint for removing users from groups. **Example usage:** `curl -X DELETE https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/policy-groups/{groupID}/users -d '[0162056a9a1586f30242590700000000,0117056a9a1586f30242590700000000]' -H 'content-type: applicat...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L3842-L3864
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.reset_account_api_key_secret
def reset_account_api_key_secret(self, account_id, api_key, **kwargs): # noqa: E501 """Reset the secret key. # noqa: E501 An endpoint for resetting the secret key of the API key. **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/api-keys/{apiKey}/reset-sec...
python
def reset_account_api_key_secret(self, account_id, api_key, **kwargs): # noqa: E501 """Reset the secret key. # noqa: E501 An endpoint for resetting the secret key of the API key. **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/api-keys/{apiKey}/reset-sec...
Reset the secret key. # noqa: E501 An endpoint for resetting the secret key of the API key. **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/api-keys/{apiKey}/reset-secret -H 'Authorization: Bearer API_KEY'` # noqa: E501 This method makes a synchronous HT...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L3953-L3974
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.update_account
def update_account(self, account_id, body, **kwargs): # noqa: E501 """Update attributes of an existing account. # noqa: E501 An endpoint for updating an account. **Example usage:** `curl -X PUT https://api.us-east-1.mbedcloud.com/v3/accounts/{account-id} -d '{\"phone_number\": \"12345678\"}' -H 'co...
python
def update_account(self, account_id, body, **kwargs): # noqa: E501 """Update attributes of an existing account. # noqa: E501 An endpoint for updating an account. **Example usage:** `curl -X PUT https://api.us-east-1.mbedcloud.com/v3/accounts/{account-id} -d '{\"phone_number\": \"12345678\"}' -H 'co...
Update attributes of an existing account. # noqa: E501 An endpoint for updating an account. **Example usage:** `curl -X PUT https://api.us-east-1.mbedcloud.com/v3/accounts/{account-id} -d '{\"phone_number\": \"12345678\"}' -H 'content-type: application/json' -H 'Authorization: Bearer API_KEY'` # noqa: E501...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L4056-L4077
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.update_account_api_key
def update_account_api_key(self, account_id, api_key, body, **kwargs): # noqa: E501 """Update API key details. # noqa: E501 An endpoint for updating API key details. **Example usage:** `curl -X PUT https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/api-keys/{apiKey} -d '{\"name\": \"TestAp...
python
def update_account_api_key(self, account_id, api_key, body, **kwargs): # noqa: E501 """Update API key details. # noqa: E501 An endpoint for updating API key details. **Example usage:** `curl -X PUT https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/api-keys/{apiKey} -d '{\"name\": \"TestAp...
Update API key details. # noqa: E501 An endpoint for updating API key details. **Example usage:** `curl -X PUT https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/api-keys/{apiKey} -d '{\"name\": \"TestApiKey25\"}' -H 'content-type: application/json' -H 'Authorization: Bearer API_KEY'` # noqa: E501...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L4163-L4185
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.update_account_certificate
def update_account_certificate(self, account_id, cert_id, body, **kwargs): # noqa: E501 """Update trusted certificate. # noqa: E501 An endpoint for updating existing trusted certificates. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HT...
python
def update_account_certificate(self, account_id, cert_id, body, **kwargs): # noqa: E501 """Update trusted certificate. # noqa: E501 An endpoint for updating existing trusted certificates. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HT...
Update trusted certificate. # noqa: E501 An endpoint for updating existing trusted certificates. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass asynchronous=True >>> thread = api.update_account_certificate(accoun...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L4274-L4296
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.update_account_group_name
def update_account_group_name(self, account_id, group_id, body, **kwargs): # noqa: E501 """Update the group name. # noqa: E501 An endpoint for updating a group name. **Example usage:** `curl -X PUT https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/policy-groups/{groupID}/ -d '{\"name\": \...
python
def update_account_group_name(self, account_id, group_id, body, **kwargs): # noqa: E501 """Update the group name. # noqa: E501 An endpoint for updating a group name. **Example usage:** `curl -X PUT https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/policy-groups/{groupID}/ -d '{\"name\": \...
Update the group name. # noqa: E501 An endpoint for updating a group name. **Example usage:** `curl -X PUT https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/policy-groups/{groupID}/ -d '{\"name\": \"TestGroup2\"}' -H 'content-type: application/json' -H 'Authorization: Bearer API_KEY'` # noqa: E50...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L4389-L4411
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.update_account_user
def update_account_user(self, account_id, user_id, body, **kwargs): # noqa: E501 """Update user details. # noqa: E501 An endpoint for updating user details. **Example usage:** `curl -X PUT https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/users/{user-id} -d '{\"username\": \"myusername\"}...
python
def update_account_user(self, account_id, user_id, body, **kwargs): # noqa: E501 """Update user details. # noqa: E501 An endpoint for updating user details. **Example usage:** `curl -X PUT https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/users/{user-id} -d '{\"username\": \"myusername\"}...
Update user details. # noqa: E501 An endpoint for updating user details. **Example usage:** `curl -X PUT https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/users/{user-id} -d '{\"username\": \"myusername\"}' -H 'content-type: application/json' -H 'Authorization: Bearer API_KEY'` # noqa: E501 ...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L4504-L4526
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py
AggregatorAccountAdminApi.validate_account_user_email
def validate_account_user_email(self, account_id, user_id, **kwargs): # noqa: E501 """Validate the user email. # noqa: E501 An endpoint for validating the user email. **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/users/{user-id}/validate-email -H 'Auth...
python
def validate_account_user_email(self, account_id, user_id, **kwargs): # noqa: E501 """Validate the user email. # noqa: E501 An endpoint for validating the user email. **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/users/{user-id}/validate-email -H 'Auth...
Validate the user email. # noqa: E501 An endpoint for validating the user email. **Example usage:** `curl -X POST https://api.us-east-1.mbedcloud.com/v3/accounts/{accountID}/users/{user-id}/validate-email -H 'Authorization: Bearer API_KEY'` # noqa: E501 This method makes a synchronous HTTP request ...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/iam/apis/aggregator_account_admin_api.py#L4619-L4640
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/external_ca/apis/certificate_issuers_api.py
CertificateIssuersApi.create_certificate_issuer
def create_certificate_issuer(self, certificate_issuer_request, **kwargs): # noqa: E501 """Create certificate issuer. # noqa: E501 Create a certificate issuer. The maximum number of issuers is limited to 20 per account. Multiple certificate issuers of the same issuer type can be created, provided the...
python
def create_certificate_issuer(self, certificate_issuer_request, **kwargs): # noqa: E501 """Create certificate issuer. # noqa: E501 Create a certificate issuer. The maximum number of issuers is limited to 20 per account. Multiple certificate issuers of the same issuer type can be created, provided the...
Create certificate issuer. # noqa: E501 Create a certificate issuer. The maximum number of issuers is limited to 20 per account. Multiple certificate issuers of the same issuer type can be created, provided they have a different name. This allows verification of the certificate issuer configuration before act...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/external_ca/apis/certificate_issuers_api.py#L36-L56
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/external_ca/apis/certificate_issuers_api.py
CertificateIssuersApi.delete_certificate_issuer
def delete_certificate_issuer(self, certificate_issuer_id, **kwargs): # noqa: E501 """Delete certificate issuer. # noqa: E501 Delete a certificate issuer by ID. <br> **Example usage:** ``` curl -X DELETE \\ -H 'authorization: <valid access token>' \\ https://api.us-east-1.mbedcloud.com/v3/certificat...
python
def delete_certificate_issuer(self, certificate_issuer_id, **kwargs): # noqa: E501 """Delete certificate issuer. # noqa: E501 Delete a certificate issuer by ID. <br> **Example usage:** ``` curl -X DELETE \\ -H 'authorization: <valid access token>' \\ https://api.us-east-1.mbedcloud.com/v3/certificat...
Delete certificate issuer. # noqa: E501 Delete a certificate issuer by ID. <br> **Example usage:** ``` curl -X DELETE \\ -H 'authorization: <valid access token>' \\ https://api.us-east-1.mbedcloud.com/v3/certificate-issuers/0162155dc77d507b9d48a91b00000000 ``` # noqa: E501 This method makes a synch...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/external_ca/apis/certificate_issuers_api.py#L135-L155
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/external_ca/apis/certificate_issuers_api.py
CertificateIssuersApi.get_certificate_issuer
def get_certificate_issuer(self, certificate_issuer_id, **kwargs): # noqa: E501 """Get certificate issuer by ID. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass asynchronous=True >>> thread = api.get_certificate_i...
python
def get_certificate_issuer(self, certificate_issuer_id, **kwargs): # noqa: E501 """Get certificate issuer by ID. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass asynchronous=True >>> thread = api.get_certificate_i...
Get certificate issuer by ID. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass asynchronous=True >>> thread = api.get_certificate_issuer(certificate_issuer_id, asynchronous=True) >>> result = thread.get() :...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/external_ca/apis/certificate_issuers_api.py#L234-L253
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/external_ca/apis/certificate_issuers_api.py
CertificateIssuersApi.get_certificate_issuers
def get_certificate_issuers(self, **kwargs): # noqa: E501 """Get certificate issuers list. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass asynchronous=True >>> thread = api.get_certificate_issuers(asynchronous=Tr...
python
def get_certificate_issuers(self, **kwargs): # noqa: E501 """Get certificate issuers list. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass asynchronous=True >>> thread = api.get_certificate_issuers(asynchronous=Tr...
Get certificate issuers list. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass asynchronous=True >>> thread = api.get_certificate_issuers(asynchronous=True) >>> result = thread.get() :param asynchronous boo...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/external_ca/apis/certificate_issuers_api.py#L331-L349
ARMmbed/mbed-cloud-sdk-python
src/mbed_cloud/_backends/external_ca/apis/certificate_issuers_api.py
CertificateIssuersApi.update_certificate_issuer
def update_certificate_issuer(self, certificate_issuer_id, certificate_issuer_update_request, **kwargs): # noqa: E501 """Update certificate issuer. # noqa: E501 Update a certificate issuer. <br> **Example usage:** ``` curl -X PUT \\ -H 'authorization: <valid access token>' \\ -H 'content-type: appli...
python
def update_certificate_issuer(self, certificate_issuer_id, certificate_issuer_update_request, **kwargs): # noqa: E501 """Update certificate issuer. # noqa: E501 Update a certificate issuer. <br> **Example usage:** ``` curl -X PUT \\ -H 'authorization: <valid access token>' \\ -H 'content-type: appli...
Update certificate issuer. # noqa: E501 Update a certificate issuer. <br> **Example usage:** ``` curl -X PUT \\ -H 'authorization: <valid access token>' \\ -H 'content-type: application/json;charset=UTF-8' \\ https://api.us-east-1.mbedcloud.com/v3/certificate-issuers/01621560be51507b9d48a91b00000000 \\ -d '{...
https://github.com/ARMmbed/mbed-cloud-sdk-python/blob/c0af86fb2cdd4dc7ed26f236139241067d293509/src/mbed_cloud/_backends/external_ca/apis/certificate_issuers_api.py#L420-L441