FlashArray Reference
Client
FlashArray REST Client Factory Method
- pypureclient.flasharray.client.Client(target, version=None, id_token=None, private_key_file=None, private_key_password=None, username=None, client_id=None, key_id=None, issuer=None, api_token=None, retries=5, timeout=15.0, ssl_cert=None, user_agent=None, verify_ssl=None)
Initialize a FlashArray Client.
- Keyword Arguments
target (str, required) – The target array’s IP or hostname.
version (str, optional) – REST API version to use. Defaults to the most recent version supported by both the client and the target array.
id_token (str, optional) – The security token that represents the identity of the party on behalf of whom the request is being made, issued by an enabled API client on the array. Overrides given private key.
private_key_file (str, optional) – The path of the private key to use. Defaults to None.
private_key_password (str, optional) – The password of the private key. Defaults to None.
username (str, optional) – Username of the user the token should be issued for. This must be a valid user in the system.
client_id (str, optional) – ID of API client that issued the identity token.
key_id (str, optional) – Key ID of API client that issued the identity token.
issuer (str, optional) – API client’s trusted identity issuer on the array.
api_token (str, optional) – API token for the user.
retries (int, optional) – The number of times to retry an API call if it fails for a non-blocking reason. Defaults to 5.
timeout (float or (float, float), optional) – The timeout duration in seconds, either in total time or (connect and read) times. Defaults to 15.0 total.
ssl_cert (str, optional) – SSL certificate to use. Defaults to None.
user_agent (str, optional) – User-Agent request header to use.
verify_ssl (bool | str, optional) – Controls SSL certificate validation. True specifies that the server validation uses default trust anchors; False switches certificate validation off, not safe!; It also accepts string value for a path to directory with certificates.
- Raises
PureError – If it could not create an ID or access token
Importable as
from pypureclient.flasharray import Client
FlashArray REST 2.0 Client
- class pypureclient.flasharray.FA_2_0.client.Client(target, id_token=None, private_key_file=None, private_key_password=None, username=None, client_id=None, key_id=None, issuer=None, api_token=None, retries=5, timeout=15.0, ssl_cert=None, user_agent=None, verify_ssl=None)
FlashArray REST 2.1 Client
- class pypureclient.flasharray.FA_2_1.client.Client(target, id_token=None, private_key_file=None, private_key_password=None, username=None, client_id=None, key_id=None, issuer=None, api_token=None, retries=5, timeout=15.0, ssl_cert=None, user_agent=None, verify_ssl=None)
FlashArray REST 2.2 Client
- class pypureclient.flasharray.FA_2_2.client.Client(target, id_token=None, private_key_file=None, private_key_password=None, username=None, client_id=None, key_id=None, issuer=None, api_token=None, retries=5, timeout=15.0, ssl_cert=None, user_agent=None, verify_ssl=None)
FlashArray REST 2.3 Client
- class pypureclient.flasharray.FA_2_3.client.Client(target, id_token=None, private_key_file=None, private_key_password=None, username=None, client_id=None, key_id=None, issuer=None, api_token=None, retries=5, timeout=15.0, ssl_cert=None, user_agent=None, verify_ssl=None)
FlashArray REST 2.4 Client
- class pypureclient.flasharray.FA_2_4.client.Client(target, id_token=None, private_key_file=None, private_key_password=None, username=None, client_id=None, key_id=None, issuer=None, api_token=None, retries=5, timeout=15.0, ssl_cert=None, user_agent=None, verify_ssl=None)
FlashArray REST 2.5 Client
- class pypureclient.flasharray.FA_2_5.client.Client(target, id_token=None, private_key_file=None, private_key_password=None, username=None, client_id=None, key_id=None, issuer=None, api_token=None, retries=5, timeout=15.0, ssl_cert=None, user_agent=None, verify_ssl=None)
FlashArray REST 2.6 Client
- class pypureclient.flasharray.FA_2_6.client.Client(target, id_token=None, private_key_file=None, private_key_password=None, username=None, client_id=None, key_id=None, issuer=None, api_token=None, retries=5, timeout=15.0, ssl_cert=None, user_agent=None, verify_ssl=None)
FlashArray REST 2.7 Client
- class pypureclient.flasharray.FA_2_7.client.Client(target, id_token=None, private_key_file=None, private_key_password=None, username=None, client_id=None, key_id=None, issuer=None, api_token=None, retries=5, timeout=15.0, ssl_cert=None, user_agent=None, verify_ssl=None)
FlashArray REST 2.8 Client
- class pypureclient.flasharray.FA_2_8.client.Client(target, id_token=None, private_key_file=None, private_key_password=None, username=None, client_id=None, key_id=None, issuer=None, api_token=None, retries=5, timeout=15.0, ssl_cert=None, user_agent=None, verify_ssl=None)
FlashArray REST 2.9 Client
- class pypureclient.flasharray.FA_2_9.client.Client(target, id_token=None, private_key_file=None, private_key_password=None, username=None, client_id=None, key_id=None, issuer=None, api_token=None, retries=5, timeout=15.0, ssl_cert=None, user_agent=None, verify_ssl=None)
FlashArray REST 2.10 Client
- class pypureclient.flasharray.FA_2_10.client.Client(target, id_token=None, private_key_file=None, private_key_password=None, username=None, client_id=None, key_id=None, issuer=None, api_token=None, retries=5, timeout=15.0, ssl_cert=None, user_agent=None, verify_ssl=None)
FlashArray REST 2.11 Client
- class pypureclient.flasharray.FA_2_11.client.Client(target, id_token=None, private_key_file=None, private_key_password=None, username=None, client_id=None, key_id=None, issuer=None, api_token=None, retries=5, timeout=15.0, ssl_cert=None, user_agent=None, verify_ssl=None)
FlashArray REST 2.13 Client
- class pypureclient.flasharray.FA_2_13.client.Client(target, id_token=None, private_key_file=None, private_key_password=None, username=None, client_id=None, key_id=None, issuer=None, api_token=None, retries=5, timeout=15.0, ssl_cert=None, user_agent=None, verify_ssl=None)
FlashArray REST 2.14 Client
- class pypureclient.flasharray.FA_2_14.client.Client(target, id_token=None, private_key_file=None, private_key_password=None, username=None, client_id=None, key_id=None, issuer=None, api_token=None, retries=5, timeout=15.0, ssl_cert=None, user_agent=None, verify_ssl=None)
FlashArray REST 2.15 Client
- class pypureclient.flasharray.FA_2_15.client.Client(target, id_token=None, private_key_file=None, private_key_password=None, username=None, client_id=None, key_id=None, issuer=None, api_token=None, retries=5, timeout=15.0, ssl_cert=None, user_agent=None, verify_ssl=None)
FlashArray REST 2.16 Client
- class pypureclient.flasharray.FA_2_16.client.Client(target, id_token=None, private_key_file=None, private_key_password=None, username=None, client_id=None, key_id=None, issuer=None, api_token=None, retries=5, timeout=15.0, ssl_cert=None, user_agent=None, verify_ssl=None)
FlashArray REST 2.17 Client
- class pypureclient.flasharray.FA_2_17.client.Client(target, id_token=None, private_key_file=None, private_key_password=None, username=None, client_id=None, key_id=None, issuer=None, api_token=None, retries=5, timeout=15.0, ssl_cert=None, user_agent=None, verify_ssl=None)
FlashArray REST 2.19 Client
- class pypureclient.flasharray.FA_2_19.client.Client(target, id_token=None, private_key_file=None, private_key_password=None, username=None, client_id=None, key_id=None, issuer=None, api_token=None, retries=5, timeout=15.0, ssl_cert=None, user_agent=None, verify_ssl=None)
FlashArray REST 2.20 Client
- class pypureclient.flasharray.FA_2_20.client.Client(target, id_token=None, private_key_file=None, private_key_password=None, username=None, client_id=None, key_id=None, issuer=None, api_token=None, retries=5, timeout=15.0, ssl_cert=None, user_agent=None, verify_ssl=None)
FlashArray REST 2.21 Client
- class pypureclient.flasharray.FA_2_21.client.Client(target, id_token=None, private_key_file=None, private_key_password=None, username=None, client_id=None, key_id=None, issuer=None, api_token=None, retries=5, timeout=15.0, ssl_cert=None, user_agent=None, verify_ssl=None)
FlashArray REST 2.22 Client
- class pypureclient.flasharray.FA_2_22.client.Client(target, id_token=None, private_key_file=None, private_key_password=None, username=None, client_id=None, key_id=None, issuer=None, api_token=None, retries=5, timeout=15.0, ssl_cert=None, user_agent=None, verify_ssl=None)
FlashArray REST 2.23 Client
- class pypureclient.flasharray.FA_2_23.client.Client(target, id_token=None, private_key_file=None, private_key_password=None, username=None, client_id=None, key_id=None, issuer=None, api_token=None, retries=5, timeout=15.0, ssl_cert=None, user_agent=None, verify_ssl=None)
FlashArray REST 2.24 Client
- class pypureclient.flasharray.FA_2_24.client.Client(target, id_token=None, private_key_file=None, private_key_password=None, username=None, client_id=None, key_id=None, issuer=None, api_token=None, retries=5, timeout=15.0, ssl_cert=None, user_agent=None, verify_ssl=None)
FlashArray REST 2.25 Client
- class pypureclient.flasharray.FA_2_25.client.Client(target, id_token=None, private_key_file=None, private_key_password=None, username=None, client_id=None, key_id=None, issuer=None, api_token=None, retries=5, timeout=15.0, ssl_cert=None, user_agent=None, verify_ssl=None)
FlashArray REST 2.26 Client
- class pypureclient.flasharray.FA_2_26.client.Client(target, id_token=None, private_key_file=None, private_key_password=None, username=None, client_id=None, key_id=None, issuer=None, api_token=None, retries=5, timeout=15.0, ssl_cert=None, user_agent=None, verify_ssl=None)
FlashArray REST 2.27 Client
- class pypureclient.flasharray.FA_2_27.client.Client(target, id_token=None, private_key_file=None, private_key_password=None, username=None, client_id=None, key_id=None, issuer=None, api_token=None, retries=5, timeout=15.0, ssl_cert=None, user_agent=None, verify_ssl=None)
FlashArray REST 2.28 Client
- class pypureclient.flasharray.FA_2_28.client.Client(target, id_token=None, private_key_file=None, private_key_password=None, username=None, client_id=None, key_id=None, issuer=None, api_token=None, retries=5, timeout=15.0, ssl_cert=None, user_agent=None, verify_ssl=None)
- __init__(target, id_token=None, private_key_file=None, private_key_password=None, username=None, client_id=None, key_id=None, issuer=None, api_token=None, retries=5, timeout=15.0, ssl_cert=None, user_agent=None, verify_ssl=None)
Initialize a FlashArray Client. id_token is generated based on app ID and private key info. Either id_token or api_token could be used for authentication. Only one authentication option is allowed.
- Keyword Arguments
target (str, required) – The target array’s IP or hostname.
id_token (str, optional) – The security token that represents the identity of the party on behalf of whom the request is being made, issued by an enabled API client on the array. Overrides given private key.
private_key_file (str, optional) – The path of the private key to use. Defaults to None.
private_key_password (str, optional) – The password of the private key. Defaults to None.
username (str, optional) – Username of the user the token should be issued for. This must be a valid user in the system.
client_id (str, optional) – ID of API client that issued the identity token.
key_id (str, optional) – Key ID of API client that issued the identity token.
issuer (str, optional) – API client’s trusted identity issuer on the array.
api_token (str, optional) – API token for the user.
retries (int, optional) – The number of times to retry an API call if it fails for a non-blocking reason. Defaults to 5.
timeout (float or (float, float), optional) – The timeout duration in seconds, either in total time or (connect and read) times. Defaults to 15.0 total.
ssl_cert (str, optional) – SSL certificate to use. Defaults to None.
user_agent (str, optional) – User-Agent request header to use.
verify_ssl (bool | str, optional) – Controls SSL certificate validation. True specifies that the server validation uses default trust anchors; False switches certificate validation off, not safe!; It also accepts string value for a path to directory with certificates.
- Raises
PureError – If it could not create an ID or access token
- delete_active_directory(references=None, names=None, authorization=None, x_request_id=None, local_only=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes one or more specified Active Directory accounts.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
names (list[str], required) – Performs the operation on the unique name specified. For example, name01. Enter multiple names in comma-separated format.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
local_only (bool, optional) – If specified as true, only delete the Active Directory configuration on the local array, without deleting the computer account created in the Active Directory domain. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_admins(references=None, authorization=None, x_request_id=None, names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes the specified administrator.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_admins_api_tokens(references=None, authorization=None, x_request_id=None, names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes the API tokens of the specified administrators.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_admins_cache(remove_all_entries=None, authorization=None, x_request_id=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes all entries from the administrator cache.
- Parameters
remove_all_entries (bool, required) – If set to true, removes all entries from the administrator cache.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_alert_watchers(references=None, names=None, authorization=None, x_request_id=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Delete alert watcher email address from the list of alert watchers.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
names (list[str], required) – Performs the operation on the unique name specified. For example, name01. Enter multiple names in comma-separated format.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_alerts_rules(code=None, parameter=None, authorization=None, x_request_id=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes a custom alert rule.
- Parameters
code (int, required) – The alert code that the rule applies to. Available alert codes for customization can be found in the alert rules catalog.
parameter (str, required) – The parameter of the custom alert rule to modify. Values include info and warning. Available parameter values can be found in the alert rules catalog.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_api_clients(references=None, authorization=None, x_request_id=None, ids=None, names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes an API client. The ids or names parameter is required, but they cannot be set together.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides ids and names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
ids (list[str], optional) – Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The ids or names parameter is required, but they cannot be set together.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_array_connections(references=None, authorization=None, x_request_id=None, names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes the connection to the current array from the specified array.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_arrays(authorization=None, x_request_id=None, eradicate_all_data=None, factory_reset_token=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes an array. For physical appliances, deleting an array restores the hardware to factory settings. This entails deleting all data, metadata, configuration, and logs. The array returns to the state it was in prior to any configuration changes being made. If the hardware is reused, it must be as a different array with a new ID. For virtual appliances, deleting an array puts it into an unusable state. Virtual resources (e.g., virtual machines) can later be freed, which deletes any remaining data, metadata, configuration, and logs. Prior to factory reset, an array must be manually prepared (e.g., all volumes and snapshots must be eradicated) and a factory reset token must be created.
- Parameters
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
eradicate_all_data (bool, optional) – Set to true to perform a factory reset.
factory_reset_token (int, optional) – A token required to perform a factory reset.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_arrays_cloud_provider_tags(authorization=None, x_request_id=None, keys=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes user tags from deployed cloud resources of a CBS array.
- Parameters
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
keys (list[str], optional) – A list of tag keys.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_arrays_factory_reset_token(authorization=None, x_request_id=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes an existing token that could be used to perform a factory reset on the array.
- Parameters
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_certificates(references=None, authorization=None, x_request_id=None, names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes a specific certificate object.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_connections(host_groups=None, hosts=None, volumes=None, authorization=None, x_request_id=None, host_group_names=None, host_names=None, volume_names=None, volume_ids=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes the connection between a volume and its associated host or host group. One of volume_names or volume_ids and one of host_names or host_group_names query parameters are required.
- Parameters
host_groups (list[FixedReference], optional) – A list of host_groups to query for. Overrides host_group_names keyword arguments.
hosts (list[FixedReference], optional) – A list of hosts to query for. Overrides host_names keyword arguments.
volumes (list[FixedReference], optional) – A list of volumes to query for. Overrides volume_names and volume_ids keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
host_group_names (list[str], optional) – Performs the operation on the host group specified. Enter multiple names in comma-separated format. A request cannot include a mix of multiple objects with multiple names. For example, a request cannot include a mix of multiple host group names and volume names; instead, at least one of the objects (e.g., host_group_names) must be set to only one name (e.g., hgroup01).
host_names (list[str], optional) – Performs the operation on the hosts specified. Enter multiple names in comma- separated format. For example, host01,host02. A request cannot include a mix of multiple objects with multiple names. For example, a request cannot include a mix of multiple host names and volume names; instead, at least one of the objects (e.g., host_names) must be set to only one name (e.g., host01).
volume_names (list[str], optional) – Performs the operation on the volume specified. Enter multiple names in comma- separated format. For example, vol01,vol02. A request cannot include a mix of multiple objects with multiple names. For example, a request cannot include a mix of multiple volume names and host names; instead, at least one of the objects (e.g., volume_names) must be set to only one name (e.g., vol01).
volume_ids (list[str], optional) – Performs the operation on the specified volume. Enter multiple ids in comma- separated format. For example, vol01id,vol02id. A request cannot include a mix of multiple objects with multiple IDs. For example, a request cannot include a mix of multiple volume IDs and host names; instead, at least one of the objects (e.g., volume_ids) must be set to only one name (e.g., vol01id). Only one of the two between volume_names and volume_ids may be used at a time.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_directories(references=None, authorization=None, x_request_id=None, ids=None, names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes one or more managed directories. To be deleted, a managed directory must be empty and not attached to any enabled export policies. Deleted managed directories cannot be recovered. The ids or names parameter is required, but cannot be set together.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides ids and names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
ids (list[str], optional) – Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The ids or names parameter is required, but they cannot be set together.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_directories_policies_autodir(members=None, policies=None, authorization=None, x_request_id=None, member_ids=None, member_names=None, policy_ids=None, policy_names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes a membership between a directory with one or more auto managed directory policies. The policy_ids or policy_names parameter is required, but they cannot be set together. The member_ids or member_names parameter is required, but they cannot be set together.
- Parameters
members (list[FixedReference], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.
policies (list[FixedReference], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
member_ids (list[str], optional) – Performs the operation on the unique member IDs specified. Enter multiple member IDs in comma-separated format. The member_ids or member_names parameter is required, but they cannot be set together.
member_names (list[str], optional) – Performs the operation on the unique member name specified. Examples of members include volumes, hosts, host groups, and directories. Enter multiple names in comma-separated format. For example, vol01,vol02.
policy_ids (list[str], optional) – Performs the operation on the unique policy IDs specified. Enter multiple policy IDs in comma-separated format. The policy_ids or policy_names parameter is required, but they cannot be set together.
policy_names (list[str], optional) – Performs the operation on the policy names specified. Enter multiple policy names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_directories_policies_nfs(members=None, policies=None, authorization=None, x_request_id=None, member_ids=None, member_names=None, policy_ids=None, policy_names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes a membership between a directory and one or more NFS policies. The policy_ids or policy_names parameter is required, but cannot be set together. The member_ids or member_names parameter is required, but cannot be set together.
- Parameters
members (list[FixedReference], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.
policies (list[FixedReference], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
member_ids (list[str], optional) – Performs the operation on the unique member IDs specified. Enter multiple member IDs in comma-separated format. The member_ids or member_names parameter is required, but they cannot be set together.
member_names (list[str], optional) – Performs the operation on the unique member name specified. Examples of members include volumes, hosts, host groups, and directories. Enter multiple names in comma-separated format. For example, vol01,vol02.
policy_ids (list[str], optional) – Performs the operation on the unique policy IDs specified. Enter multiple policy IDs in comma-separated format. The policy_ids or policy_names parameter is required, but they cannot be set together.
policy_names (list[str], optional) – Performs the operation on the policy names specified. Enter multiple policy names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_directories_policies_quota(members=None, policies=None, authorization=None, x_request_id=None, member_ids=None, member_names=None, policy_ids=None, policy_names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes a membership between a directory and one or more quota policies. The policy_ids or policy_names parameter is required, but cannot be set together. The member_ids or member_names parameter is required, but cannot be set together.
- Parameters
members (list[FixedReference], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.
policies (list[FixedReference], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
member_ids (list[str], optional) – Performs the operation on the unique member IDs specified. Enter multiple member IDs in comma-separated format. The member_ids or member_names parameter is required, but they cannot be set together.
member_names (list[str], optional) – Performs the operation on the unique member name specified. Examples of members include volumes, hosts, host groups, and directories. Enter multiple names in comma-separated format. For example, vol01,vol02.
policy_ids (list[str], optional) – Performs the operation on the unique policy IDs specified. Enter multiple policy IDs in comma-separated format. The policy_ids or policy_names parameter is required, but they cannot be set together.
policy_names (list[str], optional) – Performs the operation on the policy names specified. Enter multiple policy names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_directories_policies_smb(members=None, policies=None, authorization=None, x_request_id=None, member_ids=None, member_names=None, policy_ids=None, policy_names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes a membership between a directory and one or more SMB policies. The policy_ids or policy_names parameter is required, but cannot be set together. The member_ids or member_names parameter is required, but cannot be set together.
- Parameters
members (list[FixedReference], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.
policies (list[FixedReference], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
member_ids (list[str], optional) – Performs the operation on the unique member IDs specified. Enter multiple member IDs in comma-separated format. The member_ids or member_names parameter is required, but they cannot be set together.
member_names (list[str], optional) – Performs the operation on the unique member name specified. Examples of members include volumes, hosts, host groups, and directories. Enter multiple names in comma-separated format. For example, vol01,vol02.
policy_ids (list[str], optional) – Performs the operation on the unique policy IDs specified. Enter multiple policy IDs in comma-separated format. The policy_ids or policy_names parameter is required, but they cannot be set together.
policy_names (list[str], optional) – Performs the operation on the policy names specified. Enter multiple policy names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_directories_policies_snapshot(members=None, policies=None, authorization=None, x_request_id=None, member_ids=None, member_names=None, policy_ids=None, policy_names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes a membership between a directory and one or more snapshot policies. The policy_ids or policy_names parameter is required, but cannot be set together. The member_ids or member_names parameter is required, but cannot be set together.
- Parameters
members (list[FixedReference], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.
policies (list[FixedReference], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
member_ids (list[str], optional) – Performs the operation on the unique member IDs specified. Enter multiple member IDs in comma-separated format. The member_ids or member_names parameter is required, but they cannot be set together.
member_names (list[str], optional) – Performs the operation on the unique member name specified. Examples of members include volumes, hosts, host groups, and directories. Enter multiple names in comma-separated format. For example, vol01,vol02.
policy_ids (list[str], optional) – Performs the operation on the unique policy IDs specified. Enter multiple policy IDs in comma-separated format. The policy_ids or policy_names parameter is required, but they cannot be set together.
policy_names (list[str], optional) – Performs the operation on the policy names specified. Enter multiple policy names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_directory_exports(exports=None, policies=None, authorization=None, x_request_id=None, export_names=None, policy_ids=None, policy_names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes one or more directory exports. If any of the export_names is not unique across the system, policy_ids or policy_names must be specified to determine the exports.
- Parameters
exports (list[FixedReference], optional) – A list of exports to query for. Overrides export_names keyword arguments.
policies (list[FixedReference], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
export_names (list[str], optional) – Performs the operation on the export names specified. Enter multiple names in comma-separated format. For example, name01,name02.
policy_ids (list[str], optional) – Performs the operation on the unique policy IDs specified. Enter multiple policy IDs in comma-separated format. The policy_ids or policy_names parameter is required, but they cannot be set together.
policy_names (list[str], optional) – Performs the operation on the policy names specified. Enter multiple policy names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_directory_services_local_groups(references=None, authorization=None, x_request_id=None, names=None, sids=None, gids=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes one or more local groups. The gids, names, or sids parameter is required, but cannot be set together.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
sids (list[str], optional) – Performs the operation on the object SID specified. Enter multiple SIDs in comma-separated format. For example, S-1-2-532-582374278-329482934,S-1-2-532-234235245-423425234.
gids (list[int], optional) – Performs the operation on the specified GIDs. Enter multiple GIDs in comma- separated format. For example, 4234235,9681923.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_directory_services_local_groups_members(groups=None, members=None, authorization=None, x_request_id=None, group_names=None, group_sids=None, group_gids=None, member_names=None, member_sids=None, member_ids=None, member_types=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes one or more local group memberships. The group_names, group_sids, or group_ids parameter is required, but cannot be set together.
- Parameters
groups (list[FixedReference], optional) – A list of groups to query for. Overrides group_names keyword arguments.
members (list[FixedReference], optional) – A list of members to query for. Overrides member_names and member_ids keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
group_names (list[str], optional) – Performs the operation on the group names specified. Enter multiple group names in comma-separated format. For example, group1,group2.
group_sids (list[str], optional) – Performs the operation on the specified group SID. Enter multiple group SIDs in comma-separated format. For example, S-1-2-532-582374278-329482934,S-1-2-532-234235245-423425234.
group_gids (list[int], optional) – Performs the operation on the specified GIDs. Enter multiple GIDs in comma- separated format. For example, 4234235,9681923.
member_names (list[str], optional) – Performs the operation on the unique member name specified. Examples of members include volumes, hosts, host groups, and directories. Enter multiple names in comma-separated format. For example, vol01,vol02.
member_sids (list[str], optional) – Performs the operation on the specified member SID. Enter multiple member SIDs in comma-separated format. For example, S-1-2-532-582374278-329482934,S-1-2-532-234235245-423425234.
member_ids (list[int], optional) – Performs the operation on the unique local member IDs specified. Enter multiple member IDs in comma-separated format. For local group IDs refer to group IDs (GID). For local user IDs refer to user IDs (UID). The member_ids and member_names parameters cannot be provided together.
member_types (list[str], optional) – Performs the operation on the member types specified. The type of member is the full name of the resource endpoint. Valid values include directories. Enter multiple member types in comma-separated format. For example, type01,type02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_directory_services_local_users(references=None, authorization=None, x_request_id=None, names=None, sids=None, uids=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes one or more local users. The uids, names, or sids parameter is required, but cannot be set together.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
sids (list[str], optional) – Performs the operation on the object SID specified. Enter multiple SIDs in comma-separated format. For example, S-1-2-532-582374278-329482934,S-1-2-532-234235245-423425234.
uids (list[int], optional) – A list of local user IDs (UIDs). Enter multiple local user IDs in comma- separated format. For example, 423,51234.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_directory_services_local_users_members(groups=None, members=None, authorization=None, x_request_id=None, group_names=None, group_sids=None, group_gids=None, member_names=None, member_sids=None, member_ids=None, member_types=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes one or more local user memberships. The member_names, member_sids, or member_ids parameter is required, but cannot be set together.
- Parameters
groups (list[FixedReference], optional) – A list of groups to query for. Overrides group_names keyword arguments.
members (list[FixedReference], optional) – A list of members to query for. Overrides member_names and member_ids keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
group_names (list[str], optional) – Performs the operation on the group names specified. Enter multiple group names in comma-separated format. For example, group1,group2.
group_sids (list[str], optional) – Performs the operation on the specified group SID. Enter multiple group SIDs in comma-separated format. For example, S-1-2-532-582374278-329482934,S-1-2-532-234235245-423425234.
group_gids (list[int], optional) – Performs the operation on the specified GIDs. Enter multiple GIDs in comma- separated format. For example, 4234235,9681923.
member_names (list[str], optional) – Performs the operation on the unique member name specified. Examples of members include volumes, hosts, host groups, and directories. Enter multiple names in comma-separated format. For example, vol01,vol02.
member_sids (list[str], optional) – Performs the operation on the specified member SID. Enter multiple member SIDs in comma-separated format. For example, S-1-2-532-582374278-329482934,S-1-2-532-234235245-423425234.
member_ids (list[int], optional) – Performs the operation on the unique local member IDs specified. Enter multiple member IDs in comma-separated format. For local group IDs refer to group IDs (GID). For local user IDs refer to user IDs (UID). The member_ids and member_names parameters cannot be provided together.
member_types (list[str], optional) – Performs the operation on the member types specified. The type of member is the full name of the resource endpoint. Valid values include directories. Enter multiple member types in comma-separated format. For example, type01,type02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_directory_snapshots(references=None, authorization=None, x_request_id=None, ids=None, names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes a directory snapshot that has been destroyed and is pending eradication. Eradicated directory snapshots cannot be recovered. Directory snapshots are destroyed by using the PATCH method. The ids or names parameter is required, but they cannot be set together.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides ids and names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
ids (list[str], optional) – Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The ids or names parameter is required, but they cannot be set together.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_dns(references=None, authorization=None, x_request_id=None, names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes DNS configuration identified by configuration name.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_file_systems(references=None, authorization=None, x_request_id=None, ids=None, names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes a file system that has been destroyed and is pending eradication. Eradicated file systems cannot be recovered. File systems are destroyed using the PATCH method.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides ids and names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
ids (list[str], optional) – Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The ids or names parameter is required, but they cannot be set together.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_host_groups(references=None, authorization=None, x_request_id=None, names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes a host group. The names query parameter is required.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_host_groups_hosts(groups=None, members=None, authorization=None, x_request_id=None, group_names=None, member_names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Removes a host from a host group. Removing a host from a host group automatically disconnects the host from all volumes associated with the group. Hosts can be removed from host groups at any time. The group_names and member_names parameters are required and must be set together, and only one host group can be specified at a time.
- Parameters
groups (list[FixedReference], optional) – A list of groups to query for. Overrides group_names keyword arguments.
members (list[FixedReference], optional) – A list of members to query for. Overrides member_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
group_names (list[str], optional) – Performs the operation on the unique group name specified. Examples of groups include host groups, pods, protection groups, and volume groups. Enter multiple names in comma-separated format. For example, hgroup01,hgroup02.
member_names (list[str], optional) – Performs the operation on the unique member name specified. Examples of members include volumes, hosts, host groups, and directories. Enter multiple names in comma-separated format. For example, vol01,vol02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_host_groups_protection_groups(groups=None, members=None, authorization=None, x_request_id=None, group_ids=None, group_names=None, member_names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes a host group member from a protection group. After the member has been removed, it is no longer protected by the group. Any protection group snapshots that were taken before the member was removed are not affected. Removing a member from a protection group does not delete the member from the array, and the member can be added back to the protection group at any time. The group_names parameter represents the name of the protection group, and the member_names parameter represents the name of the host group. The group_names and member_names parameters are required and must be set together.
- Parameters
groups (list[FixedReference], optional) – A list of groups to query for. Overrides group_ids and group_names keyword arguments.
members (list[FixedReference], optional) – A list of members to query for. Overrides member_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
group_ids (list[str], optional) – A list of group IDs.
group_names (list[str], optional) – Performs the operation on the unique group name specified. Examples of groups include host groups, pods, protection groups, and volume groups. Enter multiple names in comma-separated format. For example, hgroup01,hgroup02.
member_names (list[str], optional) – Performs the operation on the unique member name specified. Examples of members include volumes, hosts, host groups, and directories. Enter multiple names in comma-separated format. For example, vol01,vol02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_hosts(references=None, authorization=None, x_request_id=None, names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes an existing host. All volumes that are connected to the host, either through private or shared connections, must be disconnected from the host before the host can be deleted. The names query parameter is required.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_hosts_host_groups(groups=None, members=None, authorization=None, x_request_id=None, group_names=None, member_names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Removes a host from a host group. Removing a host from a host group automatically disconnects the host from all volumes associated with the group. Hosts can be removed from host groups at any time. The group_names and member_names parameters are required and must be set together, and only one host group can be specified at a time.
- Parameters
groups (list[FixedReference], optional) – A list of groups to query for. Overrides group_names keyword arguments.
members (list[FixedReference], optional) – A list of members to query for. Overrides member_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
group_names (list[str], optional) – Performs the operation on the unique group name specified. Examples of groups include host groups, pods, protection groups, and volume groups. Enter multiple names in comma-separated format. For example, hgroup01,hgroup02.
member_names (list[str], optional) – Performs the operation on the unique member name specified. Examples of members include volumes, hosts, host groups, and directories. Enter multiple names in comma-separated format. For example, vol01,vol02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_hosts_protection_groups(groups=None, members=None, authorization=None, x_request_id=None, group_ids=None, group_names=None, member_names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes a host member from a protection group. After the member has been removed, it is no longer protected by the group. Any protection group snapshots that were taken before the member was removed are not affected. Removing a member from a protection group does not delete the member from the array, and the member can be added back to the protection group at any time. The group_names parameter represents the name of the protection group, and the member_names parameter represents the name of the host. The group_names and member_names parameters are required and must be set together.
- Parameters
groups (list[FixedReference], optional) – A list of groups to query for. Overrides group_ids and group_names keyword arguments.
members (list[FixedReference], optional) – A list of members to query for. Overrides member_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
group_ids (list[str], optional) – A list of group IDs.
group_names (list[str], optional) – Performs the operation on the unique group name specified. Examples of groups include host groups, pods, protection groups, and volume groups. Enter multiple names in comma-separated format. For example, hgroup01,hgroup02.
member_names (list[str], optional) – Performs the operation on the unique member name specified. Examples of members include volumes, hosts, host groups, and directories. Enter multiple names in comma-separated format. For example, vol01,vol02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_kmip(references=None, authorization=None, x_request_id=None, names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes KMIP server objects.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_maintenance_windows(references=None, authorization=None, x_request_id=None, names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes an open maintenance window before its scheduled end (expire) time. The names parameter is required and must be set to environment.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_network_interfaces(references=None, authorization=None, x_request_id=None, names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes a network interface on a controller.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_offloads(references=None, authorization=None, x_request_id=None, names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes an offload target.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_pod_replica_links(references=None, local_pods=None, remote_pods=None, authorization=None, x_request_id=None, ids=None, local_pod_ids=None, local_pod_names=None, remote_pod_ids=None, remote_pod_names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes pod replica links. The local_pod_names and remote_pod_names are required. Valid values are replicating, baselining, paused, unhealthy, quiescing, and quiesced. A status of replicating indicates that the source array is replicating to the target array. A status of baselining indicates that the the initial version of the dataset is being sent. During this phase, you cannot promote the target pod. In addition, changing the link direction might trigger the baselining status to recur. A status of paused ` indicates that data transfer between objects has stopped. A status of `unhealthy indicates that the link is currently unhealthy and customers must perform some health checks to determine the cause. A status of quiescing indicates that the source pod is not accepting new write requests but the most recent changes to the source have not arrived on the target. A status of quiesced indicates that the source pod has been demoted and all changes have been replicated to the target pod.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides ids keyword arguments.
local_pods (list[FixedReference], optional) – A list of local_pods to query for. Overrides local_pod_ids and local_pod_names keyword arguments.
remote_pods (list[FixedReference], optional) – A list of remote_pods to query for. Overrides remote_pod_ids and remote_pod_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
ids (list[str], optional) – Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The ids or names parameter is required, but they cannot be set together.
local_pod_ids (list[str], optional) – A list of local pod IDs. If, after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the local_pod_names query parameter.
local_pod_names (list[str], optional) – A list of local pod names. If, after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the local_pod_ids query parameter.
remote_pod_ids (list[str], optional) – A list of remote pod IDs. If, after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_pod_names query parameter.
remote_pod_names (list[str], optional) – A list of remote pod names. If, after filtering, there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with the remote_pod_ids query parameter.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_pods(references=None, authorization=None, x_request_id=None, ids=None, names=None, eradicate_contents=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes a pod that has been destroyed and is pending eradication. Eradicated pods cannot be recovered. Pods are destroyed using the PATCH method. The ids or names parameter is required, but they cannot be set together.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides ids and names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
ids (list[str], optional) – Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The ids or names parameter is required, but they cannot be set together.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
eradicate_contents (bool, optional) – Set to true to eradicate contents (e.g., volumes, protection groups, snapshots) and containers (e.g., pods, volume groups). This enables you to eradicate containers with contents.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_pods_arrays(groups=None, members=None, authorization=None, x_request_id=None, group_names=None, group_ids=None, member_names=None, member_ids=None, with_unknown=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Unstretches a pod from an array, collapsing the pod to a single array. Unstretch a pod from an array when the volumes within the stretched pod no longer need to be synchronously replicated between the two arrays. After a pod has been unstretched, synchronous replication stops. A destroyed version of the pod with “restretch” appended to the pod name is created on the array that no longer has the pod. The restretch pod represents a point-in-time snapshot of the pod, just before it was unstretched. The restretch pod enters an eradication pending period starting from the time that the pod was unstretched. A restretch can pod can be cloned or destroyed, but it cannot be explicitly recovered. The group_names parameter represents the name of the pod to be unstretched. The member_names parameter represents the name of the array from which the pod is to be unstretched. The group_names and member_names parameters are required and must be set together.
- Parameters
groups (list[FixedReference], optional) – A list of groups to query for. Overrides group_names and group_ids keyword arguments.
members (list[FixedReference], optional) – A list of members to query for. Overrides member_names and member_ids keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
group_names (list[str], optional) – Performs the operation on the unique group name specified. Examples of groups include host groups, pods, protection groups, and volume groups. Enter multiple names in comma-separated format. For example, hgroup01,hgroup02.
group_ids (list[str], optional) – A list of group IDs.
member_names (list[str], optional) – Performs the operation on the unique member name specified. Examples of members include volumes, hosts, host groups, and directories. Enter multiple names in comma-separated format. For example, vol01,vol02.
member_ids (list[str], optional) – Performs the operation on the unique member IDs specified. Enter multiple member IDs in comma-separated format. The member_ids or member_names parameter is required, but they cannot be set together.
with_unknown (bool, optional) – If set to true, unstretches the specified pod from the specified array by force. Use the with_unknown parameter in the following rare event: the local array goes offline while the pod is still stretched across two arrays, the status of the remote array becomes unknown, and there is no guarantee that the pod is online elsewhere.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_policies_autodir(references=None, authorization=None, x_request_id=None, ids=None, names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes one or more auto managed directory policies. The ids or names parameter is required, but they cannot be set together.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides ids and names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
ids (list[str], optional) – Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The ids or names parameter is required, but they cannot be set together.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_policies_autodir_members(members=None, policies=None, authorization=None, x_request_id=None, member_ids=None, member_names=None, member_types=None, policy_ids=None, policy_names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes one or more auto managed directory policies from resources. The policy_ids or policy_names parameter is required, but they cannot be set together. The member_ids or member_names parameter is required, but they cannot be set together.
- Parameters
members (list[FixedReference], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.
policies (list[FixedReference], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
member_ids (list[str], optional) – Performs the operation on the unique member IDs specified. Enter multiple member IDs in comma-separated format. The member_ids or member_names parameter is required, but they cannot be set together.
member_names (list[str], optional) – Performs the operation on the unique member name specified. Examples of members include volumes, hosts, host groups, and directories. Enter multiple names in comma-separated format. For example, vol01,vol02.
member_types (list[str], optional) – Performs the operation on the member types specified. The type of member is the full name of the resource endpoint. Valid values include directories. Enter multiple member types in comma-separated format. For example, type01,type02.
policy_ids (list[str], optional) – Performs the operation on the unique policy IDs specified. Enter multiple policy IDs in comma-separated format. The policy_ids or policy_names parameter is required, but they cannot be set together.
policy_names (list[str], optional) – Performs the operation on the policy names specified. Enter multiple policy names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_policies_nfs(references=None, authorization=None, x_request_id=None, ids=None, names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes one or more NFS policies. The ids or names parameter is required, but they cannot be set together.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides ids and names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
ids (list[str], optional) – Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The ids or names parameter is required, but they cannot be set together.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_policies_nfs_client_rules(references=None, policies=None, authorization=None, x_request_id=None, names=None, policy_ids=None, policy_names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes one or more NFS client policy rules. The policy_ids or policy_names parameter is required, but they cannot be set together.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
policies (list[FixedReference], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
policy_ids (list[str], optional) – Performs the operation on the unique policy IDs specified. Enter multiple policy IDs in comma-separated format. The policy_ids or policy_names parameter is required, but they cannot be set together.
policy_names (list[str], optional) – Performs the operation on the policy names specified. Enter multiple policy names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_policies_nfs_members(members=None, policies=None, authorization=None, x_request_id=None, member_ids=None, member_names=None, member_types=None, policy_ids=None, policy_names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes one or more NFS policies from resources. The policy_ids or policy_names parameter is required, but cannot be set together. The member_ids or member_names parameter is required, but cannot be set together.
- Parameters
members (list[FixedReference], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.
policies (list[FixedReference], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
member_ids (list[str], optional) – Performs the operation on the unique member IDs specified. Enter multiple member IDs in comma-separated format. The member_ids or member_names parameter is required, but they cannot be set together.
member_names (list[str], optional) – Performs the operation on the unique member name specified. Examples of members include volumes, hosts, host groups, and directories. Enter multiple names in comma-separated format. For example, vol01,vol02.
member_types (list[str], optional) – Performs the operation on the member types specified. The type of member is the full name of the resource endpoint. Valid values include directories. Enter multiple member types in comma-separated format. For example, type01,type02.
policy_ids (list[str], optional) – Performs the operation on the unique policy IDs specified. Enter multiple policy IDs in comma-separated format. The policy_ids or policy_names parameter is required, but they cannot be set together.
policy_names (list[str], optional) – Performs the operation on the policy names specified. Enter multiple policy names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_policies_quota(references=None, authorization=None, x_request_id=None, ids=None, names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes one or more quota policies. The ids or names parameter is required, but they cannot be set together.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides ids and names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
ids (list[str], optional) – Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The ids or names parameter is required, but they cannot be set together.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_policies_quota_members(members=None, policies=None, authorization=None, x_request_id=None, member_ids=None, member_names=None, member_types=None, policy_ids=None, policy_names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes a membership between one or more quota policies and managed directories. The policy_ids or policy_names parameter is required, but cannot be set together. The member_ids or member_names parameter is required, but cannot be set together.
- Parameters
members (list[FixedReference], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.
policies (list[FixedReference], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
member_ids (list[str], optional) – Performs the operation on the unique member IDs specified. Enter multiple member IDs in comma-separated format. The member_ids or member_names parameter is required, but they cannot be set together.
member_names (list[str], optional) – Performs the operation on the unique member name specified. Examples of members include volumes, hosts, host groups, and directories. Enter multiple names in comma-separated format. For example, vol01,vol02.
member_types (list[str], optional) – Performs the operation on the member types specified. The type of member is the full name of the resource endpoint. Valid values include directories. Enter multiple member types in comma-separated format. For example, type01,type02.
policy_ids (list[str], optional) – Performs the operation on the unique policy IDs specified. Enter multiple policy IDs in comma-separated format. The policy_ids or policy_names parameter is required, but they cannot be set together.
policy_names (list[str], optional) – Performs the operation on the policy names specified. Enter multiple policy names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_policies_quota_rules(references=None, policies=None, authorization=None, x_request_id=None, names=None, policy_ids=None, policy_names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes one or more quota policy rules. The policy_ids or policy_names parameter is required, but they cannot be set together.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
policies (list[FixedReference], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
policy_ids (list[str], optional) – Performs the operation on the unique policy IDs specified. Enter multiple policy IDs in comma-separated format. The policy_ids or policy_names parameter is required, but they cannot be set together.
policy_names (list[str], optional) – Performs the operation on the policy names specified. Enter multiple policy names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_policies_smb(references=None, authorization=None, x_request_id=None, ids=None, names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes one or more SMB policies. The ids or names parameter is required, but they cannot be set together.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides ids and names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
ids (list[str], optional) – Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The ids or names parameter is required, but they cannot be set together.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_policies_smb_client_rules(references=None, policies=None, authorization=None, x_request_id=None, names=None, policy_ids=None, policy_names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes one or more SMB client policy rules. The policy_ids or policy_names parameter is required, but they cannot be set together.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
policies (list[FixedReference], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
policy_ids (list[str], optional) – Performs the operation on the unique policy IDs specified. Enter multiple policy IDs in comma-separated format. The policy_ids or policy_names parameter is required, but they cannot be set together.
policy_names (list[str], optional) – Performs the operation on the policy names specified. Enter multiple policy names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_policies_smb_members(members=None, policies=None, authorization=None, x_request_id=None, member_ids=None, member_names=None, member_types=None, policy_ids=None, policy_names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes one or more SMB policies from resources. The policy_ids or policy_names parameter is required, but cannot be set together. The member_ids or member_names parameter is required, but cannot be set together.
- Parameters
members (list[FixedReference], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.
policies (list[FixedReference], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
member_ids (list[str], optional) – Performs the operation on the unique member IDs specified. Enter multiple member IDs in comma-separated format. The member_ids or member_names parameter is required, but they cannot be set together.
member_names (list[str], optional) – Performs the operation on the unique member name specified. Examples of members include volumes, hosts, host groups, and directories. Enter multiple names in comma-separated format. For example, vol01,vol02.
member_types (list[str], optional) – Performs the operation on the member types specified. The type of member is the full name of the resource endpoint. Valid values include directories. Enter multiple member types in comma-separated format. For example, type01,type02.
policy_ids (list[str], optional) – Performs the operation on the unique policy IDs specified. Enter multiple policy IDs in comma-separated format. The policy_ids or policy_names parameter is required, but they cannot be set together.
policy_names (list[str], optional) – Performs the operation on the policy names specified. Enter multiple policy names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_policies_snapshot(references=None, authorization=None, x_request_id=None, ids=None, names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes one or more snapshot policies. The ids or names parameter is required, but they cannot be set together.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides ids and names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
ids (list[str], optional) – Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The ids or names parameter is required, but they cannot be set together.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_policies_snapshot_members(members=None, policies=None, authorization=None, x_request_id=None, member_ids=None, member_names=None, member_types=None, policy_ids=None, policy_names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes one or more snapshot policies from resources. The policy_ids or policy_names parameter is required, but cannot be set together. The member_ids or member_names parameter is required, but cannot be set together.
- Parameters
members (list[FixedReference], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.
policies (list[FixedReference], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
member_ids (list[str], optional) – Performs the operation on the unique member IDs specified. Enter multiple member IDs in comma-separated format. The member_ids or member_names parameter is required, but they cannot be set together.
member_names (list[str], optional) – Performs the operation on the unique member name specified. Examples of members include volumes, hosts, host groups, and directories. Enter multiple names in comma-separated format. For example, vol01,vol02.
member_types (list[str], optional) – Performs the operation on the member types specified. The type of member is the full name of the resource endpoint. Valid values include directories. Enter multiple member types in comma-separated format. For example, type01,type02.
policy_ids (list[str], optional) – Performs the operation on the unique policy IDs specified. Enter multiple policy IDs in comma-separated format. The policy_ids or policy_names parameter is required, but they cannot be set together.
policy_names (list[str], optional) – Performs the operation on the policy names specified. Enter multiple policy names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_policies_snapshot_rules(references=None, policies=None, authorization=None, x_request_id=None, names=None, policy_ids=None, policy_names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes one or more snapshot policy rules. The policy_ids or policy_names parameter is required, but cannot be set together.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
policies (list[FixedReference], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
policy_ids (list[str], optional) – Performs the operation on the unique policy IDs specified. Enter multiple policy IDs in comma-separated format. The policy_ids or policy_names parameter is required, but they cannot be set together.
policy_names (list[str], optional) – Performs the operation on the policy names specified. Enter multiple policy names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_protection_group_snapshots(references=None, authorization=None, x_request_id=None, ids=None, names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes a protection group snapshot that has been destroyed and is pending eradication. Eradicating a protection group snapshot eradicates all of its protection group snapshots and cannot be recovered. Protection group snapshots are destroyed through the PATCH method. The names or ids parameter is required, but they cannot be set together.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides ids and names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
ids (list[str], optional) – Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The ids or names parameter is required, but they cannot be set together.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_protection_groups(references=None, authorization=None, x_request_id=None, ids=None, names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes a protection group that has been destroyed and is pending eradication. Eradicated protection groups cannot be recovered. Protection groups are destroyed through the PATCH method. The names parameter is required.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides ids and names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
ids (list[str], optional) – Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The ids or names parameter is required, but they cannot be set together.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_protection_groups_host_groups(groups=None, members=None, authorization=None, x_request_id=None, group_ids=None, group_names=None, member_names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes a host group member from a protection group. After the member has been removed, it is no longer protected by the group. Protection group snapshots taken before the member was removed will not be affected. Removing a member from a protection group does not delete the member from the array, and the member can be added back to the protection group at any time. The group_names parameter represents the name of the protection group, and the member_names parameter represents the name of the host group. The group_names and member_names parameters are required and must be set together.
- Parameters
groups (list[FixedReference], optional) – A list of groups to query for. Overrides group_ids and group_names keyword arguments.
members (list[FixedReference], optional) – A list of members to query for. Overrides member_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
group_ids (list[str], optional) – A list of group IDs.
group_names (list[str], optional) – Performs the operation on the unique group name specified. Examples of groups include host groups, pods, protection groups, and volume groups. Enter multiple names in comma-separated format. For example, hgroup01,hgroup02.
member_names (list[str], optional) – Performs the operation on the unique member name specified. Examples of members include volumes, hosts, host groups, and directories. Enter multiple names in comma-separated format. For example, vol01,vol02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_protection_groups_hosts(groups=None, members=None, authorization=None, x_request_id=None, group_ids=None, group_names=None, member_names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes a host member from a protection group. After the member has been removed, it is no longer protected by the group. Any protection group snapshots that were taken before the member was removed will not be affected. Removing a member from a protection group does not delete the member from the array, and the member can be added back to the protection group at any time. The group_names parameter represents the name of the protection group, and the member_names parameter represents the name of the host. The group_names and member_names parameters are required and must be set together.
- Parameters
groups (list[FixedReference], optional) – A list of groups to query for. Overrides group_ids and group_names keyword arguments.
members (list[FixedReference], optional) – A list of members to query for. Overrides member_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
group_ids (list[str], optional) – A list of group IDs.
group_names (list[str], optional) – Performs the operation on the unique group name specified. Examples of groups include host groups, pods, protection groups, and volume groups. Enter multiple names in comma-separated format. For example, hgroup01,hgroup02.
member_names (list[str], optional) – Performs the operation on the unique member name specified. Examples of members include volumes, hosts, host groups, and directories. Enter multiple names in comma-separated format. For example, vol01,vol02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_protection_groups_targets(groups=None, members=None, authorization=None, x_request_id=None, group_ids=None, group_names=None, member_names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes an array or offload target from a protection group. The group_names parameter represents the name of the protection group. The member_names parameter represents the name of the array or offload target that is being removed from the protection group. The group_names and member_names parameters are required and must be set together.
- Parameters
groups (list[FixedReference], optional) – A list of groups to query for. Overrides group_ids and group_names keyword arguments.
members (list[FixedReference], optional) – A list of members to query for. Overrides member_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
group_ids (list[str], optional) – A list of group IDs.
group_names (list[str], optional) – Performs the operation on the unique group name specified. Examples of groups include host groups, pods, protection groups, and volume groups. Enter multiple names in comma-separated format. For example, hgroup01,hgroup02.
member_names (list[str], optional) – Performs the operation on the unique member name specified. Examples of members include volumes, hosts, host groups, and directories. Enter multiple names in comma-separated format. For example, vol01,vol02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_protection_groups_volumes(groups=None, members=None, authorization=None, x_request_id=None, group_ids=None, group_names=None, member_names=None, member_ids=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes a volume member from a protection group. After the member has been deleted, it is no longer protected by the group. Any protection group snapshots that were taken before the member was deleted are not affected. Deleting a member from a protection group does not delete the member from the array, and the member can be added back to the protection group at any time. The group_names parameter represents the name of the protection group, and the member_names and member_ids parameters represent the names or IDs of the volume. The group_names parameter, and either the member_names or member_ids parameters are required and must be set together.
- Parameters
groups (list[FixedReference], optional) – A list of groups to query for. Overrides group_ids and group_names keyword arguments.
members (list[FixedReference], optional) – A list of members to query for. Overrides member_names and member_ids keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
group_ids (list[str], optional) – A list of group IDs.
group_names (list[str], optional) – Performs the operation on the unique group name specified. Examples of groups include host groups, pods, protection groups, and volume groups. Enter multiple names in comma-separated format. For example, hgroup01,hgroup02.
member_names (list[str], optional) – Performs the operation on the unique member name specified. Examples of members include volumes, hosts, host groups, and directories. Enter multiple names in comma-separated format. For example, vol01,vol02.
member_ids (list[str], optional) – Performs the operation on the unique member IDs specified. Enter multiple member IDs in comma-separated format. The member_ids or member_names parameter is required, but they cannot be set together.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_remote_protection_group_snapshots(references=None, authorization=None, x_request_id=None, names=None, ids=None, on=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes a remote protection group snapshot that has been destroyed and is pending eradication. Eradicated remote protection group snapshots cannot be recovered. Remote protection group snapshots are destroyed using the PATCH method. The names parameter represents the name of the protection group snapshot. The on parameter represents the name of the offload target. The names and on parameters are required and must be used together.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names and ids keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
ids (list[str], optional) – Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The ids or names parameter is required, but they cannot be set together.
on (str, optional) – Performs the operation on the target name specified. For example, targetName01.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_remote_protection_groups(references=None, authorization=None, x_request_id=None, ids=None, names=None, on=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Eradicates a remote protection group that has been destroyed and is pending eradication. Eradicated remote protection groups cannot be recovered. Remote protection groups are destroyed through the PATCH method. The on parameter represents the name of the offload target. The ids or names parameter and the on parameter are required and must be used together.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides ids and names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
ids (list[str], optional) – Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The ids or names parameter is required, but they cannot be set together.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
on (str, optional) – Performs the operation on the target name specified. For example, targetName01.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_remote_volume_snapshots(references=None, authorization=None, x_request_id=None, names=None, on=None, replication_snapshot=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes (eradicates) a remote volume snapshot that has been destroyed and is pending eradication. Eradicated remote volume snapshots cannot be recovered. Remote volume snapshots are destroyed through the PATCH method. The names parameter represents the name of the volume snapshot. The on parameter represents the name of the offload target. The names and on parameters are required and must be used together.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
on (str, optional) – Performs the operation on the target name specified. For example, targetName01.
replication_snapshot (bool, optional) – If set to true, allow destruction/eradication of snapshots in use by replication. If set to false, allow destruction/eradication of snapshots not in use by replication. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_snmp_managers(references=None, authorization=None, x_request_id=None, names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes the SNMP manager object and stops communication with specified managers.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_software(references=None, authorization=None, x_request_id=None, names=None, software_versions=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes a software package specified by software name and version. A software package being used for an installation can be deleted if the installation is downloading, downloaded, aborted, or finished. If the software package is currently downloading, the download will be cancelled.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
software_versions (list[str], optional) – A list of target software versions.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_software_check(softwares=None, authorization=None, x_request_id=None, software_versions=None, software_names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes a software check task specified by software name and version. The check task must be queued. If the check task is running or passed/failed then the task cannot be deleted.
- Parameters
softwares (list[FixedReference], optional) – A list of softwares to query for. Overrides software_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
software_versions (list[str], optional) – A list of target software versions.
software_names (list[str], optional) – A list of software names.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_sso_saml2_idps(references=None, authorization=None, x_request_id=None, ids=None, names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes SAML2 SSO configurations.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides ids and names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
ids (list[str], optional) – Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The ids or names parameter is required, but they cannot be set together.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_subnets(references=None, authorization=None, x_request_id=None, names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes subnets. A subnet can only be deleted if it has no interfaces. Interfaces must be removed by using the network-interfaces endpoint.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_syslog_servers(references=None, authorization=None, x_request_id=None, names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes a configured syslog server and stop forwarding syslog messages.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_vchosts(references=None, authorization=None, x_request_id=None, names=None, ids=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes an existing vchost. The names or ids query parameter is required.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names and ids keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
ids (list[str], optional) – Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The ids or names parameter is required, but they cannot be set together.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_vchosts_certificates(references=None, vchosts=None, certificates=None, authorization=None, x_request_id=None, ids=None, vchost_names=None, vchost_ids=None, certificate_names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes an existing vchost certificate. The ids query parameter alone, or the certificate_names query parameter together with one of vchost_names or vchost_ids, is required.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides ids keyword arguments.
vchosts (list[FixedReference], optional) – A list of vchosts to query for. Overrides vchost_names and vchost_ids keyword arguments.
certificates (list[FixedReference], optional) – A list of certificates to query for. Overrides certificate_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
ids (list[str], optional) – Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The ids or names parameter is required, but they cannot be set together.
vchost_names (list[str], optional) – Performs the operation on the unique vchost name specified. Enter multiple names in a comma-separated format. For example, vchost01,vchost02.
vchost_ids (list[str], optional) – Performs the operation on the unique vchost IDs specified. Enter multiple vchost IDs in a comma-separated format. For example, vchostid01,vchostid02.
certificate_names (list[str], optional) – The names of one or more certificates. Enter multiple names in comma-separated format. For example, cert01,cert02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_vchosts_endpoints(references=None, vchosts=None, authorization=None, x_request_id=None, ids=None, vchost_names=None, vchost_ids=None, endpoints=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes an existing vchost endpoint The ids query parameter alone, or the endpoints query parameter together with one of vchost_names or vchost_ids, is required.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides ids keyword arguments.
vchosts (list[FixedReference], optional) – A list of vchosts to query for. Overrides vchost_names and vchost_ids keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
ids (list[str], optional) – Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The ids or names parameter is required, but they cannot be set together.
vchost_names (list[str], optional) – Performs the operation on the unique vchost name specified. Enter multiple names in a comma-separated format. For example, vchost01,vchost02.
vchost_ids (list[str], optional) – Performs the operation on the unique vchost IDs specified. Enter multiple vchost IDs in a comma-separated format. For example, vchostid01,vchostid02.
endpoints (list[str], optional) – Performs the operation on the unique endpoints specified. Enter multiple endpoints in a comma-separated format.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_volume_groups(references=None, authorization=None, x_request_id=None, ids=None, names=None, eradicate_contents=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes a volume group that has been destroyed and is pending eradication. Eradicated volume groups cannot be recovered. Volume groups are destroyed through the PATCH method. The ids or names parameter is required, but they cannot be set together.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides ids and names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
ids (list[str], optional) – Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The ids or names parameter is required, but they cannot be set together.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
eradicate_contents (bool, optional) – Set to true to eradicate contents (e.g., volumes, protection groups, snapshots) and containers (e.g., pods, volume groups). This enables you to eradicate containers with contents.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_volume_snapshots(references=None, authorization=None, x_request_id=None, ids=None, names=None, replication_snapshot=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes a volume snapshot that has been destroyed and is pending eradication. Eradicated volume snapshots cannot be recovered. Volume snapshots are destroyed by using the PATCH method. The ids or names parameter is required, but they cannot be set together.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides ids and names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
ids (list[str], optional) – Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The ids or names parameter is required, but they cannot be set together.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
replication_snapshot (bool, optional) – If set to true, allow destruction/eradication of snapshots in use by replication. If set to false, allow destruction/eradication of snapshots not in use by replication. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_volume_snapshots_tags(resources=None, authorization=None, x_request_id=None, keys=None, namespaces=None, resource_ids=None, resource_names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes specified tags.
- Parameters
resources (list[FixedReference], optional) – A list of resources to query for. Overrides resource_ids and resource_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
keys (list[str], optional) – A list of tag keys.
namespaces (list[str], optional) – A list of namespaces. Only one namespace is allowed per delete request.
resource_ids (list[str], optional) – A list of resource IDs. The resource_ids or resource_names parameter is required, but they cannot be set together.
resource_names (list[str], optional) – A list of resource names. The resource_ids or resource_names parameter is required, but they cannot be set together.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_volumes(references=None, authorization=None, x_request_id=None, ids=None, names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes a volume that has been destroyed and is pending eradication. Eradicated volumes cannot be recovered. Volumes are destroyed using the PATCH method. The ids or names parameter is required, but they cannot be set together.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides ids and names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
ids (list[str], optional) – Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The ids or names parameter is required, but they cannot be set together.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_volumes_protection_groups(groups=None, members=None, authorization=None, x_request_id=None, group_ids=None, group_names=None, member_names=None, member_ids=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes a volume member from a protection group. After the member has been deleted, it is no longer protected by the group. Any protection group snapshots that were taken before the member was deleted are not affected. Deleting a member from a protection group does not delete the member from the array, and the member can be added back to the protection group at any time. The group_names parameter represents the name of the protection group, and the member_names and member_ids parameters represent the names or IDs of the volume. The group_names and only one of member_names or member_ids parameters are required and must be set together.
- Parameters
groups (list[FixedReference], optional) – A list of groups to query for. Overrides group_ids and group_names keyword arguments.
members (list[FixedReference], optional) – A list of members to query for. Overrides member_names and member_ids keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
group_ids (list[str], optional) – A list of group IDs.
group_names (list[str], optional) – Performs the operation on the unique group name specified. Examples of groups include host groups, pods, protection groups, and volume groups. Enter multiple names in comma-separated format. For example, hgroup01,hgroup02.
member_names (list[str], optional) – Performs the operation on the unique member name specified. Examples of members include volumes, hosts, host groups, and directories. Enter multiple names in comma-separated format. For example, vol01,vol02.
member_ids (list[str], optional) – Performs the operation on the unique member IDs specified. Enter multiple member IDs in comma-separated format. The member_ids or member_names parameter is required, but they cannot be set together.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- delete_volumes_tags(resources=None, authorization=None, x_request_id=None, keys=None, namespaces=None, resource_ids=None, resource_names=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Deletes specified tags.
- Parameters
resources (list[FixedReference], optional) – A list of resources to query for. Overrides resource_ids and resource_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
keys (list[str], optional) – A list of tag keys.
namespaces (list[str], optional) – A list of namespaces. Only one namespace is allowed per delete request.
resource_ids (list[str], optional) – A list of resource IDs. The resource_ids or resource_names parameter is required, but they cannot be set together.
resource_names (list[str], optional) – A list of resource names. The resource_ids or resource_names parameter is required, but they cannot be set together.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_access_token(refresh=False)
Get the last used access token.
- Parameters
refresh (bool, optional) – Whether to retrieve a new access token. Defaults to False.
- Returns
str
- Raises
PureError – If there was an error retrieving an access token.
- get_active_directory(references=None, authorization=None, x_request_id=None, continuation_token=None, filter=None, limit=None, names=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays configured Active Directory accounts.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
continuation_token (str, optional) – An opaque token to iterate over a collection of resources.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_admins(references=None, authorization=None, x_request_id=None, continuation_token=None, expose_api_token=None, filter=None, limit=None, names=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays a list of administrators.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
continuation_token (str, optional) – An opaque token to iterate over a collection of resources.
expose_api_token (bool, optional) – If true, exposes the API token of the current user.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_admins_api_tokens(references=None, authorization=None, x_request_id=None, continuation_token=None, expose_api_token=None, filter=None, limit=None, names=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays API tokens for the specified administrators.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
continuation_token (str, optional) – An opaque token to iterate over a collection of resources.
expose_api_token (bool, optional) – If true, exposes the API token of the current user.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_admins_cache(references=None, authorization=None, x_request_id=None, continuation_token=None, filter=None, limit=None, names=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays entries in the administrator cache.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
continuation_token (str, optional) – An opaque token to iterate over a collection of resources.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_admins_settings(authorization=None, x_request_id=None, filter=None, limit=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays the global administrator settings for the array.
- Parameters
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_alert_watchers(references=None, authorization=None, x_request_id=None, continuation_token=None, filter=None, limit=None, names=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays alert watcher email addressess and indicates whether they are enabled.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
continuation_token (str, optional) – An opaque token to iterate over a collection of resources.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_alert_watchers_test(references=None, authorization=None, x_request_id=None, filter=None, limit=None, names=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays alert watcher email test results.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_alerts(references=None, authorization=None, x_request_id=None, continuation_token=None, filter=None, flagged=None, ids=None, limit=None, names=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays a list of alerts.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides ids and names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
continuation_token (str, optional) – An opaque token to iterate over a collection of resources.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
flagged (bool, optional) – If set to true, lists only flagged messages. If set to false, lists only unflagged messages. if not specified, lists all messages.
ids (list[str], optional) – Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The ids or names parameter is required, but they cannot be set together.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_alerts_events(references=None, authorization=None, x_request_id=None, continuation_token=None, filter=None, flagged=None, ids=None, limit=None, names=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays a list of alert events.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides ids and names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
continuation_token (str, optional) – An opaque token to iterate over a collection of resources.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
flagged (bool, optional) – If set to true, lists only flagged messages. If set to false, lists only unflagged messages. if not specified, lists all messages.
ids (list[str], optional) – Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The ids or names parameter is required, but they cannot be set together.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
names (list[str], optional) – Performs the operation on the unique name specified. For example, name01. Enter multiple names in comma-separated format. The ids or names parameter is required, but they cannot be set together.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_alerts_rules(authorization=None, x_request_id=None, filter=None, limit=None, offset=None, sort=None, total_item_count=None, code=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays a list of custom alert rules.
- Parameters
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
code (int, optional) – The alert code to display.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_alerts_rules_catalog(authorization=None, x_request_id=None, filter=None, limit=None, offset=None, sort=None, total_item_count=None, code=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays a list of available customizable alert codes.
- Parameters
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
code (int, optional) – The alert code to display.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_api_clients(references=None, authorization=None, x_request_id=None, filter=None, ids=None, limit=None, names=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Returns a list of API clients.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides ids and names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
ids (list[str], optional) – Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The ids or names parameter is required, but they cannot be set together.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_apps(references=None, authorization=None, x_request_id=None, continuation_token=None, filter=None, limit=None, names=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays a list of installed apps.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
continuation_token (str, optional) – An opaque token to iterate over a collection of resources.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_apps_nodes(apps=None, authorization=None, x_request_id=None, continuation_token=None, app_names=None, filter=None, limit=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays a list of installed apps and their nodes.
- Parameters
apps (list[FixedReference], optional) – A list of apps to query for. Overrides app_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
continuation_token (str, optional) – An opaque token to iterate over a collection of resources.
app_names (list[str], optional) – The name of the installed app. Enter multiple names in comma-separated format.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_array_connections(references=None, authorization=None, x_request_id=None, continuation_token=None, filter=None, limit=None, names=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Display a list of connected arrays.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
continuation_token (str, optional) – An opaque token to iterate over a collection of resources.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_array_connections_connection_key(authorization=None, x_request_id=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays the connection key for the array.
- Parameters
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_array_connections_path(references=None, authorization=None, x_request_id=None, continuation_token=None, filter=None, limit=None, names=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays the connection path from the array where the connection was made.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
continuation_token (str, optional) – An opaque token to iterate over a collection of resources.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_arrays(authorization=None, x_request_id=None, filter=None, limit=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays general array properties including the array name, login banner, idle timeout for management sessions, and NTP servers.
- Parameters
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_arrays_cloud_provider_tags(authorization=None, x_request_id=None, continuation_token=None, filter=None, limit=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays the list of user tags on deployed cloud resources of a CBS array.
- Parameters
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
continuation_token (str, optional) – An opaque token to iterate over a collection of resources.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_arrays_eula(authorization=None, x_request_id=None, filter=None, limit=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays the End User Agreement and signature.
- Parameters
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_arrays_factory_reset_token(authorization=None, x_request_id=None, filter=None, limit=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays a list of tokens used to perform a factory reset on the array.
- Parameters
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_arrays_ntp_test(authorization=None, x_request_id=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays test results for configured NTP servers.
- Parameters
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_arrays_performance(authorization=None, x_request_id=None, filter=None, end_time=None, resolution=None, start_time=None, protocol=None, protocol_group=None, limit=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays real-time and historical front-end performance data at the array level including latency, bandwidth, IOPS, average I/O size, and queue depth.
- Parameters
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
end_time (int, optional) – Displays historical performance data for the specified time window, where start_time is the beginning of the time window, and end_time is the end of the time window. The start_time and end_time parameters are specified in milliseconds since the UNIX epoch. If start_time is not specified, the start time will default to one resolution before the end time, meaning that the most recent sample of performance data will be displayed. If end_time`is not specified, the end time will default to the current time. Include the `resolution parameter to display the performance data at the specified resolution. If not specified, resolution defaults to the lowest valid resolution.
resolution (int, optional) – The number of milliseconds between samples of historical data. For array-wide performance metrics (/arrays/performance endpoint), valid values are 1000 (1 second), 30000 (30 seconds), 300000 (5 minutes), 1800000 (30 minutes), 7200000 (2 hours), 28800000 (8 hours), and 86400000 (24 hours). For performance metrics on storage objects (<object name>/performance endpoint), such as volumes, valid values are 30000 (30 seconds), 300000 (5 minutes), 1800000 (30 minutes), 7200000 (2 hours), 28800000 (8 hours), and 86400000 (24 hours). For space metrics, (<object name>/space endpoint), valid values are 300000 (5 minutes), 1800000 (30 minutes), 7200000 (2 hours), 28800000 (8 hours), and 86400000 (24 hours). Include the start_time parameter to display the performance data starting at the specified start time. If start_time is not specified, the start time will default to one resolution before the end time, meaning that the most recent sample of performance data will be displayed. Include the end_time parameter to display the performance data until the specified end time. If end_time`is not specified, the end time will default to the current time. If the `resolution parameter is not specified but either the start_time or end_time parameter is, then resolution will default to the lowest valid resolution.
start_time (int, optional) – Displays historical performance data for the specified time window, where start_time is the beginning of the time window, and end_time is the end of the time window. The start_time and end_time parameters are specified in milliseconds since the UNIX epoch. If start_time is not specified, the start time will default to one resolution before the end time, meaning that the most recent sample of performance data will be displayed. If end_time`is not specified, the end time will default to the current time. Include the `resolution parameter to display the performance data at the specified resolution. If not specified, resolution defaults to the lowest valid resolution.
protocol (str, optional) – Protocol type. Valid values are nfs, smb, and all.
protocol_group (str, optional) – Protocol group type. Valid values are block, file, and all.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_arrays_performance_by_link(authorization=None, x_request_id=None, filter=None, end_time=None, resolution=None, start_time=None, limit=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays real-time and historical front-end performance data at the array level including latency, bandwidth, IOPS, average I/O size, and queue depth. Group output is shown by link. A link represents a set of arrays that an I/O operation depends on. For local-only I/Os, this is a local array. For mirrored I/Os, this is a set of synchronous replication peer arrays.
- Parameters
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
end_time (int, optional) – Displays historical performance data for the specified time window, where start_time is the beginning of the time window, and end_time is the end of the time window. The start_time and end_time parameters are specified in milliseconds since the UNIX epoch. If start_time is not specified, the start time will default to one resolution before the end time, meaning that the most recent sample of performance data will be displayed. If end_time`is not specified, the end time will default to the current time. Include the `resolution parameter to display the performance data at the specified resolution. If not specified, resolution defaults to the lowest valid resolution.
resolution (int, optional) – The number of milliseconds between samples of historical data. For array-wide performance metrics (/arrays/performance endpoint), valid values are 1000 (1 second), 30000 (30 seconds), 300000 (5 minutes), 1800000 (30 minutes), 7200000 (2 hours), 28800000 (8 hours), and 86400000 (24 hours). For performance metrics on storage objects (<object name>/performance endpoint), such as volumes, valid values are 30000 (30 seconds), 300000 (5 minutes), 1800000 (30 minutes), 7200000 (2 hours), 28800000 (8 hours), and 86400000 (24 hours). For space metrics, (<object name>/space endpoint), valid values are 300000 (5 minutes), 1800000 (30 minutes), 7200000 (2 hours), 28800000 (8 hours), and 86400000 (24 hours). Include the start_time parameter to display the performance data starting at the specified start time. If start_time is not specified, the start time will default to one resolution before the end time, meaning that the most recent sample of performance data will be displayed. Include the end_time parameter to display the performance data until the specified end time. If end_time`is not specified, the end time will default to the current time. If the `resolution parameter is not specified but either the start_time or end_time parameter is, then resolution will default to the lowest valid resolution.
start_time (int, optional) – Displays historical performance data for the specified time window, where start_time is the beginning of the time window, and end_time is the end of the time window. The start_time and end_time parameters are specified in milliseconds since the UNIX epoch. If start_time is not specified, the start time will default to one resolution before the end time, meaning that the most recent sample of performance data will be displayed. If end_time`is not specified, the end time will default to the current time. Include the `resolution parameter to display the performance data at the specified resolution. If not specified, resolution defaults to the lowest valid resolution.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_arrays_space(authorization=None, x_request_id=None, filter=None, end_time=None, resolution=None, start_time=None, limit=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays real-time and historical array space information including unique volume and snapshot space, shared space, data reduction, provisioned capacity, usable capacity, and parity.
- Parameters
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
end_time (int, optional) – Displays historical performance data for the specified time window, where start_time is the beginning of the time window, and end_time is the end of the time window. The start_time and end_time parameters are specified in milliseconds since the UNIX epoch. If start_time is not specified, the start time will default to one resolution before the end time, meaning that the most recent sample of performance data will be displayed. If end_time`is not specified, the end time will default to the current time. Include the `resolution parameter to display the performance data at the specified resolution. If not specified, resolution defaults to the lowest valid resolution.
resolution (int, optional) – The number of milliseconds between samples of historical data. For array-wide performance metrics (/arrays/performance endpoint), valid values are 1000 (1 second), 30000 (30 seconds), 300000 (5 minutes), 1800000 (30 minutes), 7200000 (2 hours), 28800000 (8 hours), and 86400000 (24 hours). For performance metrics on storage objects (<object name>/performance endpoint), such as volumes, valid values are 30000 (30 seconds), 300000 (5 minutes), 1800000 (30 minutes), 7200000 (2 hours), 28800000 (8 hours), and 86400000 (24 hours). For space metrics, (<object name>/space endpoint), valid values are 300000 (5 minutes), 1800000 (30 minutes), 7200000 (2 hours), 28800000 (8 hours), and 86400000 (24 hours). Include the start_time parameter to display the performance data starting at the specified start time. If start_time is not specified, the start time will default to one resolution before the end time, meaning that the most recent sample of performance data will be displayed. Include the end_time parameter to display the performance data until the specified end time. If end_time`is not specified, the end time will default to the current time. If the `resolution parameter is not specified but either the start_time or end_time parameter is, then resolution will default to the lowest valid resolution.
start_time (int, optional) – Displays historical performance data for the specified time window, where start_time is the beginning of the time window, and end_time is the end of the time window. The start_time and end_time parameters are specified in milliseconds since the UNIX epoch. If start_time is not specified, the start time will default to one resolution before the end time, meaning that the most recent sample of performance data will be displayed. If end_time`is not specified, the end time will default to the current time. Include the `resolution parameter to display the performance data at the specified resolution. If not specified, resolution defaults to the lowest valid resolution.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_audits(references=None, authorization=None, x_request_id=None, continuation_token=None, filter=None, ids=None, limit=None, names=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays a list of audits.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides ids and names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
continuation_token (str, optional) – An opaque token to iterate over a collection of resources.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
ids (list[str], optional) – Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The ids or names parameter is required, but they cannot be set together.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_certificates(references=None, authorization=None, x_request_id=None, continuation_token=None, filter=None, limit=None, names=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays certificate attributes.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
continuation_token (str, optional) – An opaque token to iterate over a collection of resources.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_connections(host_groups=None, hosts=None, protocol_endpoints=None, volumes=None, authorization=None, x_request_id=None, continuation_token=None, filter=None, host_group_names=None, host_names=None, limit=None, offset=None, protocol_endpoint_ids=None, protocol_endpoint_names=None, sort=None, total_item_count=None, volume_names=None, volume_ids=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays a list of connections between a volume and its hosts and host groups, as well as the logical unit numbers (LUNs) or NVMe Namespace IDs (NSIDs) used by the associated hosts to address these volumes.
- Parameters
host_groups (list[FixedReference], optional) – A list of host_groups to query for. Overrides host_group_names keyword arguments.
hosts (list[FixedReference], optional) – A list of hosts to query for. Overrides host_names keyword arguments.
protocol_endpoints (list[FixedReference], optional) – A list of protocol_endpoints to query for. Overrides protocol_endpoint_ids and protocol_endpoint_names keyword arguments.
volumes (list[FixedReference], optional) – A list of volumes to query for. Overrides volume_names and volume_ids keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
continuation_token (str, optional) – An opaque token to iterate over a collection of resources.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
host_group_names (list[str], optional) – Performs the operation on the host group specified. Enter multiple names in comma-separated format. A request cannot include a mix of multiple objects with multiple names. For example, a request cannot include a mix of multiple host group names and volume names; instead, at least one of the objects (e.g., host_group_names) must be set to only one name (e.g., hgroup01).
host_names (list[str], optional) – Performs the operation on the hosts specified. Enter multiple names in comma- separated format. For example, host01,host02. A request cannot include a mix of multiple objects with multiple names. For example, a request cannot include a mix of multiple host names and volume names; instead, at least one of the objects (e.g., host_names) must be set to only one name (e.g., host01).
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
protocol_endpoint_ids (list[str], optional) – Performs the operation on the protocol endpoints specified. Enter multiple IDs in comma-separated format. For example, peid01,peid02. A request cannot include a mix of multiple objects with multiple IDs. For example, a request cannot include a mix of multiple protocol endpoint IDs and host names. Instead, at least one of the objects (e.g., protocol_endpoint_ids) must be set to one ID (e.g., peid01).
protocol_endpoint_names (list[str], optional) – Performs the operation on the protocol endpoints specified. Enter multiple names in comma-separated format. For example, pe01,pe02. A request cannot include a mix of multiple objects with multiple names. For example, a request cannot include a mix of multiple protocol endpoint names and host names; instead, at least one of the objects (e.g., protocol_endpoint_names) must be set to one name (e.g., pe01).
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
volume_names (list[str], optional) – Performs the operation on the volume specified. Enter multiple names in comma- separated format. For example, vol01,vol02. A request cannot include a mix of multiple objects with multiple names. For example, a request cannot include a mix of multiple volume names and host names; instead, at least one of the objects (e.g., volume_names) must be set to only one name (e.g., vol01).
volume_ids (list[str], optional) – Performs the operation on the specified volume. Enter multiple ids in comma- separated format. For example, vol01id,vol02id. A request cannot include a mix of multiple objects with multiple IDs. For example, a request cannot include a mix of multiple volume IDs and host names; instead, at least one of the objects (e.g., volume_ids) must be set to only one name (e.g., vol01id). Only one of the two between volume_names and volume_ids may be used at a time.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_container_default_protections(references=None, authorization=None, x_request_id=None, ids=None, names=None, continuation_token=None, destroyed=None, filter=None, limit=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays a list of containers with its default protections.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides ids and names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
ids (list[str], optional) – Performs the operation on the container ID specified. Enter multiple source IDs in comma-separated format. The ids or names parameter is required, but they cannot be set together. Specifying ids or names with no value will perform the operation on local array.
names (list[str], optional) – Performs the operation on the unique container name specified. Enter multiple names in comma-separated format. The ids or names parameter is required, but they cannot be set together. Specifying ids or names with no value will perform the operation on local array.
continuation_token (str, optional) – An opaque token to iterate over a collection of resources.
destroyed (bool, optional) – If set to true, lists only destroyed objects that are in the eradication pending state. If set to false, lists only objects that are not destroyed. For destroyed objects, the time remaining is displayed in milliseconds.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_controllers(references=None, authorization=None, x_request_id=None, continuation_token=None, filter=None, limit=None, names=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays the name, mode, FlashArray model, Purity//FA software version, and status of each controller in the array.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
continuation_token (str, optional) – An opaque token to iterate over a collection of resources.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_directories(file_systems=None, references=None, authorization=None, x_request_id=None, continuation_token=None, destroyed=None, file_system_ids=None, file_system_names=None, filter=None, ids=None, limit=None, names=None, offset=None, sort=None, total_item_count=None, total_only=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays a list of directories, including those pending eradication.
- Parameters
file_systems (list[FixedReference], optional) – A list of file_systems to query for. Overrides file_system_ids and file_system_names keyword arguments.
references (list[FixedReference], optional) – A list of references to query for. Overrides ids and names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
continuation_token (str, optional) – An opaque token to iterate over a collection of resources.
destroyed (bool, optional) – If set to true, lists only destroyed objects that are in the eradication pending state. If set to false, lists only objects that are not destroyed. For destroyed objects, the time remaining is displayed in milliseconds.
file_system_ids (list[str], optional) – Performs the operation on the file system ID specified. Enter multiple file system IDs in comma-separated format. The file_system_ids or file_system_names parameter is required, but they cannot be set together.
file_system_names (list[str], optional) – Performs the operation on the file system name specified. Enter multiple file system names in comma-separated format. For example, filesystem01,filesystem02.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
ids (list[str], optional) – Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The ids or names parameter is required, but they cannot be set together.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
total_only (bool, optional) – If set to true, returns the aggregate value of all items after filtering. Where it makes more sense, the average value is displayed instead. The values are displayed for each name where meaningful. If total_only=true, the items list will be empty.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_directories_performance(references=None, authorization=None, x_request_id=None, destroyed=None, filter=None, end_time=None, resolution=None, start_time=None, ids=None, limit=None, names=None, offset=None, protocol=None, protocol_group=None, sort=None, total_item_count=None, total_only=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays real-time and historical performance data, real-time latency data, and average I/O sizes for each directory and as a total of all directories across the entire array.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides ids and names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
destroyed (bool, optional) – If set to true, lists only destroyed objects that are in the eradication pending state. If set to false, lists only objects that are not destroyed. For destroyed objects, the time remaining is displayed in milliseconds.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
end_time (int, optional) – Displays historical performance data for the specified time window, where start_time is the beginning of the time window, and end_time is the end of the time window. The start_time and end_time parameters are specified in milliseconds since the UNIX epoch. If start_time is not specified, the start time will default to one resolution before the end time, meaning that the most recent sample of performance data will be displayed. If end_time`is not specified, the end time will default to the current time. Include the `resolution parameter to display the performance data at the specified resolution. If not specified, resolution defaults to the lowest valid resolution.
resolution (int, optional) – The number of milliseconds between samples of historical data. For array-wide performance metrics (/arrays/performance endpoint), valid values are 1000 (1 second), 30000 (30 seconds), 300000 (5 minutes), 1800000 (30 minutes), 7200000 (2 hours), 28800000 (8 hours), and 86400000 (24 hours). For performance metrics on storage objects (<object name>/performance endpoint), such as volumes, valid values are 30000 (30 seconds), 300000 (5 minutes), 1800000 (30 minutes), 7200000 (2 hours), 28800000 (8 hours), and 86400000 (24 hours). For space metrics, (<object name>/space endpoint), valid values are 300000 (5 minutes), 1800000 (30 minutes), 7200000 (2 hours), 28800000 (8 hours), and 86400000 (24 hours). Include the start_time parameter to display the performance data starting at the specified start time. If start_time is not specified, the start time will default to one resolution before the end time, meaning that the most recent sample of performance data will be displayed. Include the end_time parameter to display the performance data until the specified end time. If end_time`is not specified, the end time will default to the current time. If the `resolution parameter is not specified but either the start_time or end_time parameter is, then resolution will default to the lowest valid resolution.
start_time (int, optional) – Displays historical performance data for the specified time window, where start_time is the beginning of the time window, and end_time is the end of the time window. The start_time and end_time parameters are specified in milliseconds since the UNIX epoch. If start_time is not specified, the start time will default to one resolution before the end time, meaning that the most recent sample of performance data will be displayed. If end_time`is not specified, the end time will default to the current time. Include the `resolution parameter to display the performance data at the specified resolution. If not specified, resolution defaults to the lowest valid resolution.
ids (list[str], optional) – Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The ids or names parameter is required, but they cannot be set together.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
protocol (str, optional) – Protocol type. Valid values are nfs, smb, and all.
protocol_group (str, optional) – Protocol group type. Valid values are block, file, and all.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
total_only (bool, optional) – If set to true, returns the aggregate value of all items after filtering. Where it makes more sense, the average value is displayed instead. The values are displayed for each name where meaningful. If total_only=true, the items list will be empty.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_directories_policies(members=None, policies=None, authorization=None, x_request_id=None, continuation_token=None, destroyed=None, filter=None, limit=None, member_ids=None, member_names=None, policy_ids=None, policy_names=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays a list of policies that are attached to directories.
- Parameters
members (list[FixedReference], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.
policies (list[FixedReference], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
continuation_token (str, optional) – An opaque token to iterate over a collection of resources.
destroyed (bool, optional) – If set to true, lists only destroyed objects that are in the eradication pending state. If set to false, lists only objects that are not destroyed. For destroyed objects, the time remaining is displayed in milliseconds.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
member_ids (list[str], optional) – Performs the operation on the unique member IDs specified. Enter multiple member IDs in comma-separated format. The member_ids or member_names parameter is required, but they cannot be set together.
member_names (list[str], optional) – Performs the operation on the unique member name specified. Examples of members include volumes, hosts, host groups, and directories. Enter multiple names in comma-separated format. For example, vol01,vol02.
policy_ids (list[str], optional) – Performs the operation on the unique policy IDs specified. Enter multiple policy IDs in comma-separated format. The policy_ids or policy_names parameter is required, but they cannot be set together.
policy_names (list[str], optional) – Performs the operation on the policy names specified. Enter multiple policy names in comma-separated format. For example, name01,name02.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_directories_policies_autodir(members=None, policies=None, authorization=None, x_request_id=None, continuation_token=None, destroyed=None, filter=None, limit=None, member_ids=None, member_names=None, policy_ids=None, policy_names=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays a list of auto managed directory policies that are attached to directories.
- Parameters
members (list[FixedReference], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.
policies (list[FixedReference], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
continuation_token (str, optional) – An opaque token to iterate over a collection of resources.
destroyed (bool, optional) – If set to true, lists only destroyed objects that are in the eradication pending state. If set to false, lists only objects that are not destroyed. For destroyed objects, the time remaining is displayed in milliseconds.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
member_ids (list[str], optional) – Performs the operation on the unique member IDs specified. Enter multiple member IDs in comma-separated format. The member_ids or member_names parameter is required, but they cannot be set together.
member_names (list[str], optional) – Performs the operation on the unique member name specified. Examples of members include volumes, hosts, host groups, and directories. Enter multiple names in comma-separated format. For example, vol01,vol02.
policy_ids (list[str], optional) – Performs the operation on the unique policy IDs specified. Enter multiple policy IDs in comma-separated format. The policy_ids or policy_names parameter is required, but they cannot be set together.
policy_names (list[str], optional) – Performs the operation on the policy names specified. Enter multiple policy names in comma-separated format. For example, name01,name02.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_directories_policies_nfs(members=None, policies=None, authorization=None, x_request_id=None, continuation_token=None, destroyed=None, filter=None, limit=None, member_ids=None, member_names=None, policy_ids=None, policy_names=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays a list of NFS policies that are attached to directories.
- Parameters
members (list[FixedReference], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.
policies (list[FixedReference], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
continuation_token (str, optional) – An opaque token to iterate over a collection of resources.
destroyed (bool, optional) – If set to true, lists only destroyed objects that are in the eradication pending state. If set to false, lists only objects that are not destroyed. For destroyed objects, the time remaining is displayed in milliseconds.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
member_ids (list[str], optional) – Performs the operation on the unique member IDs specified. Enter multiple member IDs in comma-separated format. The member_ids or member_names parameter is required, but they cannot be set together.
member_names (list[str], optional) – Performs the operation on the unique member name specified. Examples of members include volumes, hosts, host groups, and directories. Enter multiple names in comma-separated format. For example, vol01,vol02.
policy_ids (list[str], optional) – Performs the operation on the unique policy IDs specified. Enter multiple policy IDs in comma-separated format. The policy_ids or policy_names parameter is required, but they cannot be set together.
policy_names (list[str], optional) – Performs the operation on the policy names specified. Enter multiple policy names in comma-separated format. For example, name01,name02.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_directories_policies_quota(members=None, policies=None, authorization=None, x_request_id=None, continuation_token=None, destroyed=None, filter=None, limit=None, member_ids=None, member_names=None, policy_ids=None, policy_names=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays a list of quota policies that are attached to directories.
- Parameters
members (list[FixedReference], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.
policies (list[FixedReference], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
continuation_token (str, optional) – An opaque token to iterate over a collection of resources.
destroyed (bool, optional) – If set to true, lists only destroyed objects that are in the eradication pending state. If set to false, lists only objects that are not destroyed. For destroyed objects, the time remaining is displayed in milliseconds.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
member_ids (list[str], optional) – Performs the operation on the unique member IDs specified. Enter multiple member IDs in comma-separated format. The member_ids or member_names parameter is required, but they cannot be set together.
member_names (list[str], optional) – Performs the operation on the unique member name specified. Examples of members include volumes, hosts, host groups, and directories. Enter multiple names in comma-separated format. For example, vol01,vol02.
policy_ids (list[str], optional) – Performs the operation on the unique policy IDs specified. Enter multiple policy IDs in comma-separated format. The policy_ids or policy_names parameter is required, but they cannot be set together.
policy_names (list[str], optional) – Performs the operation on the policy names specified. Enter multiple policy names in comma-separated format. For example, name01,name02.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_directories_policies_smb(members=None, policies=None, authorization=None, x_request_id=None, continuation_token=None, destroyed=None, filter=None, limit=None, member_ids=None, member_names=None, policy_ids=None, policy_names=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays a list of SMB policies that are attached to directories.
- Parameters
members (list[FixedReference], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.
policies (list[FixedReference], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
continuation_token (str, optional) – An opaque token to iterate over a collection of resources.
destroyed (bool, optional) – If set to true, lists only destroyed objects that are in the eradication pending state. If set to false, lists only objects that are not destroyed. For destroyed objects, the time remaining is displayed in milliseconds.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
member_ids (list[str], optional) – Performs the operation on the unique member IDs specified. Enter multiple member IDs in comma-separated format. The member_ids or member_names parameter is required, but they cannot be set together.
member_names (list[str], optional) – Performs the operation on the unique member name specified. Examples of members include volumes, hosts, host groups, and directories. Enter multiple names in comma-separated format. For example, vol01,vol02.
policy_ids (list[str], optional) – Performs the operation on the unique policy IDs specified. Enter multiple policy IDs in comma-separated format. The policy_ids or policy_names parameter is required, but they cannot be set together.
policy_names (list[str], optional) – Performs the operation on the policy names specified. Enter multiple policy names in comma-separated format. For example, name01,name02.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_directories_policies_snapshot(members=None, policies=None, authorization=None, x_request_id=None, continuation_token=None, destroyed=None, filter=None, limit=None, member_ids=None, member_names=None, policy_ids=None, policy_names=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays a list of snapshot policies that are attached to directories.
- Parameters
members (list[FixedReference], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.
policies (list[FixedReference], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
continuation_token (str, optional) – An opaque token to iterate over a collection of resources.
destroyed (bool, optional) – If set to true, lists only destroyed objects that are in the eradication pending state. If set to false, lists only objects that are not destroyed. For destroyed objects, the time remaining is displayed in milliseconds.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
member_ids (list[str], optional) – Performs the operation on the unique member IDs specified. Enter multiple member IDs in comma-separated format. The member_ids or member_names parameter is required, but they cannot be set together.
member_names (list[str], optional) – Performs the operation on the unique member name specified. Examples of members include volumes, hosts, host groups, and directories. Enter multiple names in comma-separated format. For example, vol01,vol02.
policy_ids (list[str], optional) – Performs the operation on the unique policy IDs specified. Enter multiple policy IDs in comma-separated format. The policy_ids or policy_names parameter is required, but they cannot be set together.
policy_names (list[str], optional) – Performs the operation on the policy names specified. Enter multiple policy names in comma-separated format. For example, name01,name02.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_directories_space(references=None, authorization=None, x_request_id=None, destroyed=None, filter=None, end_time=None, resolution=None, start_time=None, ids=None, limit=None, names=None, offset=None, sort=None, total_item_count=None, total_only=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays physical storage consumption data for each directory.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides ids and names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
destroyed (bool, optional) – If set to true, lists only destroyed objects that are in the eradication pending state. If set to false, lists only objects that are not destroyed. For destroyed objects, the time remaining is displayed in milliseconds.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
end_time (int, optional) – Displays historical performance data for the specified time window, where start_time is the beginning of the time window, and end_time is the end of the time window. The start_time and end_time parameters are specified in milliseconds since the UNIX epoch. If start_time is not specified, the start time will default to one resolution before the end time, meaning that the most recent sample of performance data will be displayed. If end_time`is not specified, the end time will default to the current time. Include the `resolution parameter to display the performance data at the specified resolution. If not specified, resolution defaults to the lowest valid resolution.
resolution (int, optional) – The number of milliseconds between samples of historical data. For array-wide performance metrics (/arrays/performance endpoint), valid values are 1000 (1 second), 30000 (30 seconds), 300000 (5 minutes), 1800000 (30 minutes), 7200000 (2 hours), 28800000 (8 hours), and 86400000 (24 hours). For performance metrics on storage objects (<object name>/performance endpoint), such as volumes, valid values are 30000 (30 seconds), 300000 (5 minutes), 1800000 (30 minutes), 7200000 (2 hours), 28800000 (8 hours), and 86400000 (24 hours). For space metrics, (<object name>/space endpoint), valid values are 300000 (5 minutes), 1800000 (30 minutes), 7200000 (2 hours), 28800000 (8 hours), and 86400000 (24 hours). Include the start_time parameter to display the performance data starting at the specified start time. If start_time is not specified, the start time will default to one resolution before the end time, meaning that the most recent sample of performance data will be displayed. Include the end_time parameter to display the performance data until the specified end time. If end_time`is not specified, the end time will default to the current time. If the `resolution parameter is not specified but either the start_time or end_time parameter is, then resolution will default to the lowest valid resolution.
start_time (int, optional) – Displays historical performance data for the specified time window, where start_time is the beginning of the time window, and end_time is the end of the time window. The start_time and end_time parameters are specified in milliseconds since the UNIX epoch. If start_time is not specified, the start time will default to one resolution before the end time, meaning that the most recent sample of performance data will be displayed. If end_time`is not specified, the end time will default to the current time. Include the `resolution parameter to display the performance data at the specified resolution. If not specified, resolution defaults to the lowest valid resolution.
ids (list[str], optional) – Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The ids or names parameter is required, but they cannot be set together.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
total_only (bool, optional) – If set to true, returns the aggregate value of all items after filtering. Where it makes more sense, the average value is displayed instead. The values are displayed for each name where meaningful. If total_only=true, the items list will be empty.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_directory_exports(directories=None, exports=None, policies=None, authorization=None, x_request_id=None, continuation_token=None, destroyed=None, directory_ids=None, directory_names=None, export_names=None, filter=None, limit=None, offset=None, policy_ids=None, policy_names=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays a list of directory exports.
- Parameters
directories (list[FixedReference], optional) – A list of directories to query for. Overrides directory_ids and directory_names keyword arguments.
exports (list[FixedReference], optional) – A list of exports to query for. Overrides export_names keyword arguments.
policies (list[FixedReference], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
continuation_token (str, optional) – An opaque token to iterate over a collection of resources.
destroyed (bool, optional) – If set to true, lists only destroyed objects that are in the eradication pending state. If set to false, lists only objects that are not destroyed. For destroyed objects, the time remaining is displayed in milliseconds.
directory_ids (list[str], optional) – Performs the operation on the unique managed directory IDs specified. Enter multiple managed directory IDs in comma-separated format. The directory_ids or directory_names parameter is required, but they cannot be set together.
directory_names (list[str], optional) – Performs the operation on the managed directory names specified. Enter multiple full managed directory names in comma-separated format. For example, fs:dir01,fs:dir02.
export_names (list[str], optional) – Performs the operation on the export names specified. Enter multiple names in comma-separated format. For example, name01,name02.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
policy_ids (list[str], optional) – Performs the operation on the unique policy IDs specified. Enter multiple policy IDs in comma-separated format. The policy_ids or policy_names parameter is required, but they cannot be set together.
policy_names (list[str], optional) – Performs the operation on the policy names specified. Enter multiple policy names in comma-separated format. For example, name01,name02.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_directory_quotas(directories=None, policies=None, authorization=None, x_request_id=None, continuation_token=None, directory_ids=None, directory_names=None, filter=None, limit=None, offset=None, policy_ids=None, policy_names=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays a list of directories and the quota policies attached to them. Directories with multiple policies are listed repeatedly (once per policy). The directories without a policy attached are not listed.
- Parameters
directories (list[FixedReference], optional) – A list of directories to query for. Overrides directory_ids and directory_names keyword arguments.
policies (list[FixedReference], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
continuation_token (str, optional) – An opaque token to iterate over a collection of resources.
directory_ids (list[str], optional) – Performs the operation on the unique managed directory IDs specified. Enter multiple managed directory IDs in comma-separated format. The directory_ids or directory_names parameter is required, but they cannot be set together.
directory_names (list[str], optional) – Performs the operation on the managed directory names specified. Enter multiple full managed directory names in comma-separated format. For example, fs:dir01,fs:dir02.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
policy_ids (list[str], optional) – Performs the operation on the unique policy IDs specified. Enter multiple policy IDs in comma-separated format. The policy_ids or policy_names parameter is required, but they cannot be set together.
policy_names (list[str], optional) – Performs the operation on the policy names specified. Enter multiple policy names in comma-separated format. For example, name01,name02.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_directory_services(references=None, authorization=None, x_request_id=None, continuation_token=None, filter=None, limit=None, names=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays the role-based access control (RBAC) group configuration settings for manageability.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
continuation_token (str, optional) – An opaque token to iterate over a collection of resources.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_directory_services_local_groups(references=None, authorization=None, x_request_id=None, continuation_token=None, ids=None, gids=None, sids=None, names=None, filter=None, limit=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays a list of local groups.
- Parameters
references (list[FixedReference], optional) – A list of references to query for. Overrides ids and names keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
continuation_token (str, optional) – An opaque token to iterate over a collection of resources.
ids (list[str], optional) – Performs the operation on the unique resource IDs specified. Enter multiple resource IDs in comma-separated format. The ids or names parameter is required, but they cannot be set together.
gids (list[int], optional) – Performs the operation on the specified GIDs. Enter multiple GIDs in comma- separated format. For example, 4234235,9681923.
sids (list[str], optional) – Performs the operation on the object SID specified. Enter multiple SIDs in comma-separated format. For example, S-1-2-532-582374278-329482934,S-1-2-532-234235245-423425234.
names (list[str], optional) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool, optional) – Returns only data field.
_preload_content (bool, optional) – Response is converted into objects.
_request_timeout (int, optional) – Total request timeout in seconds.
- Returns
If the call was successful. ErrorResponse: If the call was not successful.
- Return type
- Raises
PureError – If calling the API fails.
ValueError – If a parameter is of an invalid type.
TypeError – If invalid or missing parameters are used.
- get_directory_services_local_groups_members(groups=None, members=None, authorization=None, x_request_id=None, continuation_token=None, group_names=None, group_sids=None, group_gids=None, member_names=None, member_sids=None, member_ids=None, member_types=None, filter=None, limit=None, offset=None, sort=None, total_item_count=None, async_req=False, _return_http_data_only=False, _preload_content=True, _request_timeout=None)
Displays a list of local group memberships.
- Parameters
groups (list[FixedReference], optional) – A list of groups to query for. Overrides group_names keyword arguments.
members (list[FixedReference], optional) – A list of members to query for. Overrides member_names and member_ids keyword arguments.
x_request_id (str, optional) – A header to provide to track the API call. Generated by the server if not provided.
continuation_token (str, optional) – An opaque token to iterate over a collection of resources.
group_names (list[str], optional) – Performs the operation on the group names specified. Enter multiple group names in comma-separated format. For example, group1,group2.
group_sids (list[str], optional) – Performs the operation on the specified group SID. Enter multiple group SIDs in comma-separated format. For example, S-1-2-532-582374278-329482934,S-1-2-532-234235245-423425234.
group_gids (list[int], optional) – Performs the operation on the specified GIDs. Enter multiple GIDs in comma- separated format. For example, 4234235,9681923.
member_names (list[str], optional) – Performs the operation on the unique member name specified. Examples of members include volumes, hosts, host groups, and directories. Enter multiple names in comma-separated format. For example, vol01,vol02.
member_sids (list[str], optional) – Performs the operation on the specified member SID. Enter multiple member SIDs in comma-separated format. For example, S-1-2-532-582374278-329482934,S-1-2-532-234235245-423425234.
member_ids (list[int], optional) – Performs the operation on the unique local member IDs specified. Enter multiple member IDs in comma-separated format. For local group IDs refer to group IDs (GID). For local user IDs refer to user IDs (UID). The member_ids and member_names parameters cannot be provided together.
member_types (list[str], optional) – Performs the operation on the member types specified. The type of member is the full name of the resource endpoint. Valid values include directories. Enter multiple member types in comma-separated format. For example, type01,type02.
filter (Filter, optional) – A filter to include only resources that match the specified criteria.
limit (int, optional) – Limit the number of resources in the response. If not specified, defaults to 1000.
offset (int, optional) – The starting position based on the results of the query in relation to the full set of response objects returned.
sort (list[Property], optional) – Sort the response by the specified Properties. Can also be a single element.
total_item_count (bool, optional) – If set to true, the total_item_count matching the specified query parameters is calculated and returned in the response. If set to false, the total_item_count is null in the response. This may speed up queries where the total_item_count is large. If not specified, defaults to false.
async_req (bool, optional)