FlashBlade Reference

Client

FlashBlade REST Client Factory Method

Importable as

from pypureclient.flashblade import Client
pypureclient.flashblade.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=None, ssl_cert=None, user_agent=None, verify_ssl=None)

Initialize a FlashBlade 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.

  • or (timeout int) – The timeout duration in seconds, either in total time or (connect and read) times. Defaults to None.

  • 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

FlashBlade REST 2.0 Client

class pypureclient.flashblade.FB_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=None, ssl_cert=None, user_agent=None, verify_ssl=None)

FlashBlade REST 2.1 Client

class pypureclient.flashblade.FB_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=None, ssl_cert=None, user_agent=None, verify_ssl=None)

FlashBlade REST 2.2 Client

class pypureclient.flashblade.FB_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=None, ssl_cert=None, user_agent=None, verify_ssl=None)

FlashBlade REST 2.3 Client

class pypureclient.flashblade.FB_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=None, ssl_cert=None, user_agent=None, verify_ssl=None)

FlashBlade REST 2.4 Client

class pypureclient.flashblade.FB_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=None, ssl_cert=None, user_agent=None, verify_ssl=None)

FlashBlade REST 2.5 Client

class pypureclient.flashblade.FB_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=None, ssl_cert=None, user_agent=None, verify_ssl=None)

FlashBlade REST 2.6 Client

class pypureclient.flashblade.FB_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=None, ssl_cert=None, user_agent=None, verify_ssl=None)

FlashBlade REST 2.7 Client

class pypureclient.flashblade.FB_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=None, ssl_cert=None, user_agent=None, verify_ssl=None)

FlashBlade REST 2.8 Client

class pypureclient.flashblade.FB_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=None, ssl_cert=None, user_agent=None, verify_ssl=None)

FlashBlade REST 2.9 Client

class pypureclient.flashblade.FB_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=None, ssl_cert=None, user_agent=None, verify_ssl=None)

FlashBlade REST 2.10 Client

class pypureclient.flashblade.FB_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=None, ssl_cert=None, user_agent=None, verify_ssl=None)

FlashBlade REST 2.11 Client

class pypureclient.flashblade.FB_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=None, ssl_cert=None, user_agent=None, verify_ssl=None)

FlashBlade REST 2.12 Client

class pypureclient.flashblade.FB_2_12.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=None, ssl_cert=None, user_agent=None, verify_ssl=None)

FlashBlade REST 2.13 Client

class pypureclient.flashblade.FB_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=None, ssl_cert=None, user_agent=None, verify_ssl=None)

FlashBlade REST 2.14 Client

class pypureclient.flashblade.FB_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=None, ssl_cert=None, user_agent=None, verify_ssl=None)

FlashBlade REST 2.15 Client

class pypureclient.flashblade.FB_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=None, ssl_cert=None, user_agent=None, verify_ssl=None)

FlashBlade REST 2.16 Client

class pypureclient.flashblade.FB_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=None, ssl_cert=None, user_agent=None, verify_ssl=None)

FlashBlade REST 2.17 Client

class pypureclient.flashblade.FB_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=None, ssl_cert=None, user_agent=None, verify_ssl=None)

FlashBlade REST 2.18 Client

class pypureclient.flashblade.FB_2_18.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=None, 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=None, ssl_cert=None, user_agent=None, verify_ssl=None)

Initialize a FlashBlade 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.

  • or (timeout int) – The timeout duration in seconds, either in total time or (connect and read) times. Defaults to None.

  • 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

configure_ca_certificate_file(ca_certs_file_path)

” :param ca_certs_file_path: The path to the CA certificate(s) file to use. :return:

delete_active_directory(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, local_only: Optional[StrictBool] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE active-directory

Delete an Active Directory account.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • local_only (bool) – 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.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_admins(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE admins

Delete a local administrator..

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_admins_api_tokens(admins: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, admin_ids: Optional[ConstrainedListValue[StrictStr]] = None, admin_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE admins/api-tokens

Deletes the API tokens of the specified administrators.

Parameters
  • admins (ReferenceType or List[ReferenceType], optional) – A list of admins to query for. Overrides admin_ids and admin_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • admin_ids (List[str]) – A comma-separated list of admin IDs. If after filtering, there is not at least one admin resource that matches each of the elements, then an error is returned. This cannot be provided together with the admin_names query parameter.

  • admin_names (List[str]) – A comma-separated list of admin names. If there is not at least one admin resource that matches each of the elements, then an error is returned. This cannot be provided together with admin_ids query parameter.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_admins_cache(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE admins/cache

Delete cached administrator role information by name or ID.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_admins_ssh_certificate_authority_policies(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE admins/ssh-certificate-authority-policies

Remove a SSH Certificate Authority policy from a specific user.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_alert_watchers(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE alert-watchers

Delete an alert watcher.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_api_clients(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE api-clients

Delete the API client.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_array_connections(remotes: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, remote_ids: Optional[ConstrainedListValue[StrictStr]] = None, remote_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE array-connections

Delete a connection to an array.

Parameters
  • remotes (ReferenceType or List[ReferenceType], optional) – A list of remotes to query for. Overrides remote_ids and remote_names keyword arguments.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids keyword argument.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • remote_ids (List[str]) – A comma-separated list of remote array IDs. Deprecated, best practice is to reference connections with 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_names query parameter.

  • remote_names (List[str]) – A comma-separated list of remote array names. Deprecated, best practice is to reference connections with ids. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with remote_ids query parameter.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_arrays_erasures(x_request_id: Optional[StrictStr] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

Stop factory reset

Stops the factory reset process when it is failed.

Parameters
  • x_request_id (str) – Supplied by client during request or generated by server.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_arrays_factory_reset_token(x_request_id: Optional[StrictStr] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

Delete a factory reset token

Deletes any existing token that could be used to perform a factory reset on the array.

Parameters
  • x_request_id (str) – Supplied by client during request or generated by server.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_arrays_ssh_certificate_authority_policies(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE admins/settings/ssh-certificate-authority-policies

Remove a SSH Certificate Authority policy from being a default for admins.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_audit_file_systems_policies(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE audit-file-systems-policies

Delete one or more audit policies.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_audit_file_systems_policies_members(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE audit-file-systems-policies/members

Remove the audit policy mapped to a file system.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

DELETE bucket-replica-links

Delete a bucket replica link.

Parameters
  • remotes (ReferenceType or List[ReferenceType], optional) – A list of remotes to query for. Overrides remote_ids and remote_names keyword arguments.

  • remote_buckets (ReferenceType or List[ReferenceType], optional) – A list of remote_buckets to query for. Overrides remote_bucket_names keyword argument.

  • local_buckets (ReferenceType or List[ReferenceType], optional) – A list of local_buckets to query for. Overrides local_bucket_ids and local_bucket_names keyword arguments.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids keyword argument.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • local_bucket_ids (List[str]) – A comma-separated list of local bucket 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_bucket_names query parameter.

  • local_bucket_names (List[str]) – A comma-separated list of local bucket names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with local_bucket_ids query parameter.

  • remote_bucket_names (List[str]) – A comma-separated list of remote bucket names. If there is not at least one resource that matches each of the elements, then an error is returned.

  • remote_ids (List[str]) – A comma-separated list of remote array 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_names query parameter.

  • remote_names (List[str]) – A comma-separated list of remote array 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_ids query parameter.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_buckets(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE buckets

Delete object store buckets.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_buckets_bucket_access_policies(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, buckets: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, bucket_ids: Optional[ConstrainedListValue[StrictStr]] = None, bucket_names: Optional[ConstrainedListValue[StrictStr]] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE buckets/bucket-access-policies

Delete a bucket policy of the specified bucket. Either names or bucket_names/bucket_ids query parameters can be used.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides names keyword argument.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • buckets (ReferenceType or List[ReferenceType], optional) – A list of buckets to query for. Overrides bucket_ids and bucket_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • bucket_ids (List[str]) – A comma-separated list of bucket IDs. If after filtering, there is not at least one resource that matches each of the elements of bucket_ids, then an error is returned. This cannot be provided together with the bucket_names query parameter. This can be provided with the ids query parameter but not with names.

  • bucket_names (List[str]) – A comma-separated list of bucket names. If there is not at least one resource that matches each of the elements of bucket_names, then an error is returned. This cannot be provided together with the bucket_ids query parameter. This can be provided with the ids query parameter but not with names.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_buckets_bucket_access_policies_rules(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, buckets: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, bucket_ids: Optional[ConstrainedListValue[StrictStr]] = None, bucket_names: Optional[ConstrainedListValue[StrictStr]] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE buckets/bucket-access-policies/rules

Delete one or more bucket policy rules for the specified bucket. Either policy_names or bucket_names/bucket_ids query parameters can be used.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_names keyword argument.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides names keyword argument.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • buckets (ReferenceType or List[ReferenceType], optional) – A list of buckets to query for. Overrides bucket_ids and bucket_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • bucket_ids (List[str]) – A comma-separated list of bucket IDs. If after filtering, there is not at least one resource that matches each of the elements of bucket_ids, then an error is returned. This cannot be provided together with the bucket_names query parameter. This can be provided with the ids query parameter but not with names.

  • bucket_names (List[str]) – A comma-separated list of bucket names. If there is not at least one resource that matches each of the elements of bucket_names, then an error is returned. This cannot be provided together with the bucket_ids query parameter. This can be provided with the ids query parameter but not with names.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_buckets_cross_origin_resource_sharing_policies(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, buckets: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, bucket_ids: Optional[ConstrainedListValue[StrictStr]] = None, bucket_names: Optional[ConstrainedListValue[StrictStr]] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE buckets/cross-origin-resource-sharing-policies

Delete a cross origin resource sharing policy of the specified bucket. Either names or bucket_names/bucket_ids query parameters can be used.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides names keyword argument.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • buckets (ReferenceType or List[ReferenceType], optional) – A list of buckets to query for. Overrides bucket_ids and bucket_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • bucket_ids (List[str]) – A comma-separated list of bucket IDs. If after filtering, there is not at least one resource that matches each of the elements of bucket_ids, then an error is returned. This cannot be provided together with the bucket_names query parameter. This can be provided with the ids query parameter but not with names.

  • bucket_names (List[str]) – A comma-separated list of bucket names. If there is not at least one resource that matches each of the elements of bucket_names, then an error is returned. This cannot be provided together with the bucket_ids query parameter. This can be provided with the ids query parameter but not with names.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_buckets_cross_origin_resource_sharing_policies_rules(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, buckets: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, bucket_ids: Optional[ConstrainedListValue[StrictStr]] = None, bucket_names: Optional[ConstrainedListValue[StrictStr]] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE buckets/cross-origin-resource-sharing-policies/rules

Delete one or more cross origin resource sharing policy rules for the specified bucket. Either policy_names or bucket_names query parameters can be used.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_names keyword argument.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides names keyword argument.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • buckets (ReferenceType or List[ReferenceType], optional) – A list of buckets to query for. Overrides bucket_ids and bucket_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • bucket_ids (List[str]) – A comma-separated list of bucket IDs. If after filtering, there is not at least one resource that matches each of the elements of bucket_ids, then an error is returned. This cannot be provided together with the bucket_names query parameter. This can be provided with the ids query parameter but not with names.

  • bucket_names (List[str]) – A comma-separated list of bucket names. If there is not at least one resource that matches each of the elements of bucket_names, then an error is returned. This cannot be provided together with the bucket_ids query parameter. This can be provided with the ids query parameter but not with names.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_certificate_groups(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE certificate-groups

Delete one or more certificate groups from the array.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_certificate_groups_certificates(certificates: Optional[Union[ReferenceType, List[ReferenceType]]] = None, certificate_groups: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, certificate_group_ids: Optional[ConstrainedListValue[StrictStr]] = None, certificate_group_names: Optional[ConstrainedListValue[StrictStr]] = None, certificate_ids: Optional[ConstrainedListValue[StrictStr]] = None, certificate_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE certificate-groups/certificates

Delete one or more certificate groups.

Parameters
  • certificates (ReferenceType or List[ReferenceType], optional) – A list of certificates to query for. Overrides certificate_ids and certificate_names keyword arguments.

  • certificate_groups (ReferenceType or List[ReferenceType], optional) – A list of certificate_groups to query for. Overrides certificate_group_ids and certificate_group_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • certificate_group_ids (List[str]) – A comma-separated list of certificate group ids. If there is not at least one resource that matches each of the elements of certificate_group_ids, then an error is returned. This cannot be provided in conjunction with the certificate_group_names parameter.

  • certificate_group_names (List[str]) – A comma-separated list of certificate group names. If no resource matches each of the elements of certificate_group_names, then an error is returned. This cannot be provided in conjunction with the certificate_group_ids parameter.

  • certificate_ids (List[str]) – A comma-separated list of certificate ids. If there is not at least one resource that matches each of the elements of certificate_ids, then an error is returned. This cannot be provided in conjunction with the certificate_names parameter.

  • certificate_names (List[str]) – A comma-separated list of certificate names. If there is not at least one resource that matches each of the elements of certificate_names, then an error is returned. This cannot be provided in conjunction with the certificate_ids parameter.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_certificates(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE certificates

Delete a CA certificate from the array.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_certificates_certificate_groups(certificates: Optional[Union[ReferenceType, List[ReferenceType]]] = None, certificate_groups: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, certificate_group_ids: Optional[ConstrainedListValue[StrictStr]] = None, certificate_group_names: Optional[ConstrainedListValue[StrictStr]] = None, certificate_ids: Optional[ConstrainedListValue[StrictStr]] = None, certificate_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE certificates/certificate-groups

Remove one or more certificates from one or more certificate groups.

Parameters
  • certificates (ReferenceType or List[ReferenceType], optional) – A list of certificates to query for. Overrides certificate_ids and certificate_names keyword arguments.

  • certificate_groups (ReferenceType or List[ReferenceType], optional) – A list of certificate_groups to query for. Overrides certificate_group_ids and certificate_group_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • certificate_group_ids (List[str]) – A comma-separated list of certificate group ids. If there is not at least one resource that matches each of the elements of certificate_group_ids, then an error is returned. This cannot be provided in conjunction with the certificate_group_names parameter.

  • certificate_group_names (List[str]) – A comma-separated list of certificate group names. If no resource matches each of the elements of certificate_group_names, then an error is returned. This cannot be provided in conjunction with the certificate_group_ids parameter.

  • certificate_ids (List[str]) – A comma-separated list of certificate ids. If there is not at least one resource that matches each of the elements of certificate_ids, then an error is returned. This cannot be provided in conjunction with the certificate_names parameter.

  • certificate_names (List[str]) – A comma-separated list of certificate names. If there is not at least one resource that matches each of the elements of certificate_names, then an error is returned. This cannot be provided in conjunction with the certificate_ids parameter.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_directory_services_roles(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE directory-service/roles

Delete an RBAC group configuration setting for manageability.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_dns(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE dns

Deletes a DNS configuration.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_file_system_exports(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE file-system-exports

Deletes a file system export.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

DELETE file-system-replica-links

Delete a file system replication link.

Parameters
  • remotes (ReferenceType or List[ReferenceType], optional) – A list of remotes to query for. Overrides remote_ids and remote_names keyword arguments.

  • remote_file_systems (ReferenceType or List[ReferenceType], optional) – A list of remote_file_systems to query for. Overrides remote_file_system_ids and remote_file_system_names keyword arguments.

  • local_file_systems (ReferenceType or List[ReferenceType], optional) – A list of local_file_systems to query for. Overrides local_file_system_ids and local_file_system_names keyword arguments.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids keyword argument.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • cancel_in_progress_transfers (bool) – This parameter must be set to true in order to delete a file system replication link (which can cancel any in-progress replication transfers). Setting this parameter to true is acknowledgement that any in-progress replication transfers on the specified links will be cancelled when this request is fulfilled.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • local_file_system_ids (List[str]) – A comma-separated list of local file system 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_file_system_names query parameter.

  • local_file_system_names (List[str]) – A comma-separated list of local file system names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with local_file_system_ids query parameter.

  • remote_file_system_ids (List[str]) – A comma-separated list of remote file system IDs. If 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_file_system_names query parameter.

  • remote_file_system_names (List[str]) – A comma-separated list of remote file system names. If 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_file_system_ids query parameter.

  • remote_ids (List[str]) – A comma-separated list of remote array 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_names query parameter.

  • remote_names (List[str]) – A comma-separated list of remote array 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_ids query parameter.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

DELETE file-system-replica-links/policies

Remove a policy from a file system replication link.

Parameters
  • remotes (ReferenceType or List[ReferenceType], optional) – A list of remotes to query for. Overrides remote_ids and remote_names keyword arguments.

  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids keyword argument.

  • local_file_systems (ReferenceType or List[ReferenceType], optional) – A list of local_file_systems to query for. Overrides local_file_system_ids and local_file_system_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • local_file_system_ids (List[str]) – A comma-separated list of local file system 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_file_system_names query parameter.

  • local_file_system_names (List[str]) – A comma-separated list of local file system names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with local_file_system_ids query parameter.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • remote_ids (List[str]) – A comma-separated list of remote array 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_names query parameter.

  • remote_names (List[str]) – A comma-separated list of remote array 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_ids query parameter.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_file_system_snapshots(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE file-system-snapshots

Delete a file system snapshot.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_file_system_snapshots_policies(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE file-system-snapshots/policies

Remove snapshot scheduling policies from a file system.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_file_system_snapshots_transfer(remotes: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, remote_ids: Optional[ConstrainedListValue[StrictStr]] = None, remote_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE file-system-snapshots/transfer

Delete file system snapshot transfers from the source array to the target array.

Parameters
  • remotes (ReferenceType or List[ReferenceType], optional) – A list of remotes to query for. Overrides remote_ids and remote_names keyword arguments.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • remote_ids (List[str]) – A comma-separated list of remote array 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_names query parameter.

  • remote_names (List[str]) – A comma-separated list of remote array 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_ids query parameter.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_file_systems(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE file-systems

Deletes a file system. Deleting a file system is equivalent to eradication. A file system’s destroyed parameter must be set to true before a file system can be deleted.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_file_systems_audit_policies(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE file-systems/audit-policies

Remove the audit policy mapped to a file system.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_file_systems_locks(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, file_systems: Optional[Union[ReferenceType, List[ReferenceType]]] = None, clients: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, client_names: Optional[ConstrainedListValue[StrictStr]] = None, file_system_ids: Optional[ConstrainedListValue[StrictStr]] = None, file_system_names: Optional[ConstrainedListValue[StrictStr]] = None, inodes: Optional[ConstrainedListValue[Union[StrictFloat, StrictInt]]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, paths: Optional[ConstrainedListValue[StrictStr]] = None, recursive: Optional[StrictBool] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

Invalidate file locks

Invalidates file locks. It can be used to either delete an individual lock by name or multiple locks filtered by parameters. E.g. to delete locks held by a client on specific file, parameters client_names, file_system_ids or file_system_names and path must be specified. When names is specified, no other query parameter can be specified.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides names keyword argument.

  • file_systems (ReferenceType or List[ReferenceType], optional) – A list of file_systems to query for. Overrides file_system_ids and file_system_names keyword arguments.

  • clients (ReferenceType or List[ReferenceType], optional) – A list of clients to query for. Overrides client_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • client_names (List[str]) – A comma-separated list of ip addresses of clients. For IPv6 both the extended format (x:x:x:x:x:x:x:x) and the shortened format are supported.

  • file_system_ids (List[str]) – A comma-separated list of file system IDs. If after filtering, there is not at least one resource that matches each of the elements of file_system_ids, then an error is returned. This cannot be provided together with the file_system_names query parameter.

  • file_system_names (List[str]) – A comma-separated list of file system names. If there is not at least one resource that matches each of the elements of file_system_names, then an error is returned.

  • inodes (List[float]) – A comma-separated list of inodes used for filtering file locks query by inodes. This may only be specified if file_system_ids or file_system_names is also specified. This cannot be provided together with the paths query parameter.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • paths (List[str]) – A comma-separated list of paths used for filtering file locks query by paths. This may only be specified if file_system_ids or file_system_names is also specified. This cannot be provided together with the inodes query parameter.

  • recursive (bool) – Flag used to indicate that the action should be done recursively. If set to true and used e.g. with path pointing to a directory, the operation will delete all locks in given directory and subdirectories recursively. For more fine grained control over deleted locks, use delete by name. If not specified, defaults to false.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_file_systems_open_files(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE file-systems/open-files

Close open file from given identifiers.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_file_systems_policies(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE file-systems/policies

Remove a snapshot scheduling policy from a file system.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_file_systems_sessions(users: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, clients: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, client_names: Optional[ConstrainedListValue[StrictStr]] = None, disruptive: Optional[StrictBool] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, protocols: Optional[ConstrainedListValue[StrictStr]] = None, user_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

Delete sessions

Delete sessions. It can be used to either delete an individual session by name or multiple sessions filtered by parameters. E.g. to delete SMBv3 sessions held by specific client, protocols and client_names must be specified. To prevent accidental deletes, setting flag disruptive to true is required when only a single query parameter is part of the query. E.g. to delete all SMBv3 sessions, query parameters protocols and disruptive must be set. When names is specified, no other query parameter can be specified.

Parameters
  • users (ReferenceType or List[ReferenceType], optional) – A list of users to query for. Overrides user_names keyword argument.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides names keyword argument.

  • clients (ReferenceType or List[ReferenceType], optional) – A list of clients to query for. Overrides client_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • client_names (List[str]) – A comma-separated list of ip addresses of clients. For IPv6 both the extended format (x:x:x:x:x:x:x:x) and the shortened format are supported.

  • disruptive (bool) – If set to true, a wide scope of sessions may be deleted in a single action using a single query parameter from user_names, client_names, or protocols. Otherwise, multiple query parameters must be specified to narrow the impact of deletion and avoid potential for accidental disruption of clients.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • protocols (List[str]) – A comma-separated list of file protocols. Valid values include nfs and smb.

  • user_names (List[str]) – A comma-separated list of user names.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_fleets(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE Fleets

Permanently delete a fleet. A fleet can only be deleted if the current array is the only array in the fleet.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – Performs the operation on the unique resource IDs specified. Only one value is supported.

  • names (List[str]) – Performs the operation on the unique resource names specified. Only one value is supported.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_fleets_members(members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, unreachable: Optional[StrictBool] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

Remove fleet members

Remove the specified array(s) from the fleet. Note: that this will only succeed if the array(s) to be removed are not making use of any fleet resources.

Parameters
  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • unreachable (bool) – If set to true, allows a one-sided disconnect when the connection status is connecting instead of connected or partially connected. If set to false, it works just like normal coordinated disconnect. If not specified, defaults to false.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_keytabs(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE keytabs

Delete a Kerberos keytab file.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_kmip(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

Delete a KMIP server configuration

Deletes a KMIP server configuration. A server can only be deleted when not in use by the array.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

Delete a legal hold

Delete a legal hold instance. Deletion is not allowed if the legal hold is applied to one or more paths.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_lifecycle_rules(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, buckets: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, bucket_ids: Optional[ConstrainedListValue[StrictStr]] = None, bucket_names: Optional[ConstrainedListValue[StrictStr]] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE lifecycle-rules

Deletes individual lifecycle rules by name or id, or deletes all rules for a bucket. If ids is specified, bucket_names or bucket_ids is also required. If bucket_names or bucket_ids are specified without ids, delete all the rules for the bucket.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • buckets (ReferenceType or List[ReferenceType], optional) – A list of buckets to query for. Overrides bucket_ids and bucket_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • bucket_ids (List[str]) – A comma-separated list of bucket IDs. If after filtering, there is not at least one resource that matches each of the elements of bucket_ids, then an error is returned. This cannot be provided together with the bucket_names query parameter. This can be provided with the ids query parameter but not with names.

  • bucket_names (List[str]) – A comma-separated list of bucket names. If there is not at least one resource that matches each of the elements of bucket_names, then an error is returned. This cannot be provided together with the bucket_ids query parameter. This can be provided with the ids query parameter but not with names.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

DELETE link-aggregation-groups

Remove a link aggregation group to unbind the ports.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_maintenance_windows(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

Delete maintenance window

Deletes an active maintenance window before its scheduled end (expire) time. The names parameter is required and must be set to array.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_network_access_policies_rules(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, versions: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE network-access-policies/rules

Delete one or more network access policy rules.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • versions (List[str]) – A comma-separated list of versions. This is an optional query param used for concurrency control. The ordering should match the names or ids query param. This will fail with a 412 Precondition failed if the resource was changed and the current version of the resource doesn’t match the value in the query param.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_network_interfaces(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE network-interfaces

Remove a VIP. Once a data VIP is removed, any clients connected through the data VIP will lose their connection to the file system or bucket.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_network_interfaces_tls_policies(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE network-interfaces/tls-policies

Remove a TLS policy from a network interface.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_nfs_export_policies(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, versions: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE nfs-export-policies

Delete one or more NFS export policies.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • versions (List[str]) – A comma-separated list of versions. This is an optional query param used for concurrency control. The ordering should match the names or ids query param. This will fail with a 412 Precondition failed if the resource was changed and the current version of the resource doesn’t match the value in the query param.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_nfs_export_policies_rules(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, versions: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE nfs-export-policies/rules

Delete one or more NFS export policy rules. One of the following is required: ids or names.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • versions (List[str]) – A comma-separated list of versions. This is an optional query param used for concurrency control. The ordering should match the names or ids query param. This will fail with a 412 Precondition failed if the resource was changed and the current version of the resource doesn’t match the value in the query param.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_node_groups(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE node-groups

Delete one or more node groups from the array.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_node_groups_nodes(nodes: Optional[Union[ReferenceType, List[ReferenceType]]] = None, node_groups: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, node_group_ids: Optional[ConstrainedListValue[StrictStr]] = None, node_group_names: Optional[ConstrainedListValue[StrictStr]] = None, node_ids: Optional[ConstrainedListValue[StrictStr]] = None, node_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE node-groups/nodes

Remove one or more nodes from one or more groups.

Parameters
  • nodes (ReferenceType or List[ReferenceType], optional) – A list of nodes to query for. Overrides node_ids and node_names keyword arguments.

  • node_groups (ReferenceType or List[ReferenceType], optional) – A list of node_groups to query for. Overrides node_group_ids and node_group_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • node_group_ids (List[str]) – A comma-separated list of node group ids. If there is not at least one resource that matches each of the elements of node_group_ids, then an error is returned. This cannot be provided in conjunction with the node_group_names parameter.

  • node_group_names (List[str]) – A comma-separated list of node group names. If there is not at least one resource that matches each of the elements of node_group_names, then an error is returned. This cannot be provided in conjunction with the node_group_ids parameter.

  • node_ids (List[str]) – A comma-separated list of node ids. If there is not at least one resource that matches each of the elements of node_ids, then an error is returned. This cannot be provided in conjunction with the node_names parameter.

  • node_names (List[str]) – A comma-separated list of node names. If there is not at least one resource that matches each of the elements of node_names, then an error is returned. This cannot be provided in conjunction with the node_ids parameter.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_object_store_access_keys(names: ConstrainedListValue[StrictStr], contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE object-store-access-keys

Delete an object store access key. Once an access key has been deleted, it cannot be recovered.

Parameters
  • names (List[str]) – A comma-separated list of resource names. (required)

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_object_store_access_policies(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE object-store-access-policies

Delete one or more access policies.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_object_store_access_policies_object_store_roles(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE object-store-access-policies/object-store-roles

Revoke an object store role’s access policy.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_object_store_access_policies_object_store_users(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE object-store-access-policies/object-store-users

Revokes an object store user’s access policy.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_object_store_access_policies_rules(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE object-store-access-policies-rules

Delete one or more access policy rules.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides names keyword argument.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_object_store_accounts(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE object-store-accounts

Delete an object store account.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_object_store_remote_credentials(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE object-store-remote-credentials

Delete object store remote credentials.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_object_store_roles(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE object-store-roles

Delete existing object store roles.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_object_store_roles_object_store_access_policies(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE object-store-roles/object-store-access-policies

Revoke an object store role’s access policy.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_object_store_roles_object_store_trust_policies_rules(roles: Optional[Union[ReferenceType, List[ReferenceType]]] = None, policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, indices: Optional[ConstrainedListValue[StrictInt]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, role_ids: Optional[ConstrainedListValue[StrictStr]] = None, role_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE object-store-roles/object-store-trust-policies/rules

Delete one or more trust policy rules.

Parameters
  • roles (ReferenceType or List[ReferenceType], optional) – A list of roles to query for. Overrides role_ids and role_names keyword arguments.

  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_names keyword argument.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides names keyword argument.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • indices (List[int]) – A comma-separated list of resource indices. If there is not at least one resource that matches each of the elements of indices, then an error is returned.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • role_ids (List[str]) – A comma-separated list of object store role IDs. If after filtering, there is not at least one resource that matches each of the elements of role_ids, then an error is returned. This cannot be provided together with the role_names query parameter.

  • role_names (List[str]) – A comma-separated list of object store role names. If there is not at least one resource that matches each of the elements of role_names, then an error is returned. This cannot be provided together with the role_ids query parameter.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_object_store_users(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE object-store-users

Delete an object store user.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_object_store_users_object_store_access_policies(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE object-store-users/object-store-access-policies

Revoke an object store user’s access policy.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_object_store_virtual_hosts(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE object-store-virtual-hosts

Delete an object store virtual host.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_policies(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE policies

Delete one or more snapshot scheduling policies.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

DELETE policies/file-system-replica-links

Remove a snapshot scheduling policy mapped to a file system replica link.

Parameters
  • remotes (ReferenceType or List[ReferenceType], optional) – A list of remotes to query for. Overrides remote_ids and remote_names keyword arguments.

  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids keyword argument.

  • local_file_systems (ReferenceType or List[ReferenceType], optional) – A list of local_file_systems to query for. Overrides local_file_system_ids and local_file_system_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • local_file_system_ids (List[str]) – A comma-separated list of local file system 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_file_system_names query parameter.

  • local_file_system_names (List[str]) – A comma-separated list of local file system names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with local_file_system_ids query parameter.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • remote_ids (List[str]) – A comma-separated list of remote array 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_names query parameter.

  • remote_names (List[str]) – A comma-separated list of remote array 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_ids query parameter.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_policies_file_system_snapshots(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE policies/file-system-snapshots

Remove the snapshot scheduling policy mapped to a file system.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_policies_file_systems(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE policies/file-systems

Remove the snapshot scheduling policy mapped to a file system.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_public_keys(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

Delete public key configurations

Deletes public key configurations.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_qos_policies(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE qos-policies

Delete a QoS policy.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_quotas_groups(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, groups: Optional[Union[ReferenceType, List[ReferenceType]]] = None, file_systems: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, file_system_ids: Optional[ConstrainedListValue[StrictStr]] = None, file_system_names: Optional[ConstrainedListValue[StrictStr]] = None, gids: Optional[ConstrainedListValue[StrictInt]] = None, group_names: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE quotas/groups

Delete a hard limit quota for a group.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides names keyword argument.

  • groups (ReferenceType or List[ReferenceType], optional) – A list of groups to query for. Overrides group_names keyword argument.

  • file_systems (ReferenceType or List[ReferenceType], optional) – A list of file_systems to query for. Overrides file_system_ids and file_system_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • file_system_ids (List[str]) – A comma-separated list of file system IDs. If after filtering, there is not at least one resource that matches each of the elements of file_system_ids, then an error is returned. This cannot be provided together with the file_system_names query parameter.

  • file_system_names (List[str]) – A comma-separated list of file system names. If there is not at least one resource that matches each of the elements of file_system_names, then an error is returned.

  • gids (List[int]) – A comma-separated list of group IDs. If there is not at least one resource that matches each of the elements of gids, then an error is returned. This cannot be provided together with group_names query parameter.

  • group_names (List[str]) – A comma-separated list of group names. If there is not at least one resource that matches each of the elements of group_names, then an error is returned. This cannot be provided together with gids query parameter.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_quotas_users(users: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, file_systems: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, file_system_ids: Optional[ConstrainedListValue[StrictStr]] = None, file_system_names: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, uids: Optional[ConstrainedListValue[StrictInt]] = None, user_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE quotas/users

Delete a hard limit file system quota for a user.

Parameters
  • users (ReferenceType or List[ReferenceType], optional) – A list of users to query for. Overrides user_names keyword argument.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides names keyword argument.

  • file_systems (ReferenceType or List[ReferenceType], optional) – A list of file_systems to query for. Overrides file_system_ids and file_system_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • file_system_ids (List[str]) – A comma-separated list of file system IDs. If after filtering, there is not at least one resource that matches each of the elements of file_system_ids, then an error is returned. This cannot be provided together with the file_system_names query parameter.

  • file_system_names (List[str]) – A comma-separated list of file system names. If there is not at least one resource that matches each of the elements of file_system_names, then an error is returned.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • uids (List[int]) – A comma-separated list of user IDs. If there is not at least one resource that matches each of the elements of uids, then an error is returned. This cannot be provided together with user_names query parameter.

  • user_names (List[str]) – A comma-separated list of user names. If there is not at least one resource that matches each of the elements of user_names, then an error is returned. This cannot be provided together with uids query parameter.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_servers(cascade_delete: ConstrainedListValue[StrictStr], references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE servers

Delete a server.

Parameters
  • cascade_delete (List[str]) – The resource types to delete when deleting this object. It will fail if the resources are referenced by other objects. Valid values include directory- services. (required)

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_smb_client_policies(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE smb-client-policies

Delete one or more SMB Client policies.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_smb_client_policies_rules(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, versions: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE smb-client-policies/rules

Delete one or more SMB Client policy rules. One of the following is required: ids or names.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • versions (List[str]) – A comma-separated list of versions. This is an optional query param used for concurrency control. The ordering should match the names or ids query param. This will fail with a 412 Precondition failed if the resource was changed and the current version of the resource doesn’t match the value in the query param.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_smb_share_policies(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE smb-share-policies

Delete one or more SMB Share policies.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_smb_share_policies_rules(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE smb-share-policies/rules

Delete one or more SMB Share policy rules. One of the following is required: ids or names. If names is provided, the policy_ids or policy_names parameter is also required.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_snmp_managers(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE snmp-managers

Remove an SNMP manager.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_ssh_certificate_authority_policies(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

Delete SSH Certificate Authority configurations

Deletes SSH Certificate Authority configurations.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_ssh_certificate_authority_policies_admins(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE ssh-certificate-authority-policies/admins

Remove a SSH Certificate Authority policy from a specific user.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_ssh_certificate_authority_policies_arrays(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE ssh-certificate-authority-policies/arrays

Remove a SSH Certificate Authority policy from being a default for admins.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_sso_oidc_idps(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

Delete OIDC SSO configurations

Delete OIDC SSO configurations.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_sso_saml2_idps(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

Delete SAML2 SSO configurations

Deletes SAML2 SSO configurations.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_storage_class_tiering_policies(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE storage-class-tiering-policies

Delete a storage class tiering policy. Deletion is not allowed if the policy is attached to one or more file systems.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_subnets(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE subnets

Remove an array subnet.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_syslog_servers(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE syslog-servers

Delete a configured syslog server and stop forwarding syslog messages.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_targets(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE targets

Delete the connection to the target for replication.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_tls_policies(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

Delete TLS policies

Deletes TLS policies.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_tls_policies_network_interfaces(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE tls-policies/network-interfaces

Remove a TLS policy from a network interface.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

delete_worm_data_policies(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

DELETE worm-data-policies

Delete a WORM data policy. Deletion is not allowed if the policy is attached to one or more file systems.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

disable_verify_ssl()

Change our certificate requirements so that a certificate is not validated.

enable_verify_ssl(ca_certs_file_path=None)

Change our certificate requirements so that a certificate is required and validated. Optionally, if a CA certificate(s) file path is provided, configure the client to use that CA certificate file.

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: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET active-directory

List Active Directory accounts and their configuration.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_active_directory_test(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET active-directory/test

Testing if the configuration of an Active Directory account is valid.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_admins(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, expose_api_token: Optional[StrictBool] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET admins

List the administrator’s attributes, including the API token and public key.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • expose_api_token (bool) – If true, exposes the API token of the current user.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_admins_api_tokens(admins: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, admin_ids: Optional[ConstrainedListValue[StrictStr]] = None, admin_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, expose_api_token: Optional[StrictBool] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET admins/api-tokens

Displays API tokens for the specified administrators.

Parameters
  • admins (ReferenceType or List[ReferenceType], optional) – A list of admins to query for. Overrides admin_ids and admin_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • admin_ids (List[str]) – A comma-separated list of admin IDs. If after filtering, there is not at least one admin resource that matches each of the elements, then an error is returned. This cannot be provided together with the admin_names query parameter.

  • admin_names (List[str]) – A comma-separated list of admin names. If there is not at least one admin resource that matches each of the elements, then an error is returned. This cannot be provided together with admin_ids query parameter.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • expose_api_token (bool) – If true, exposes the API token of the current user.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_admins_cache(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, refresh: Optional[StrictBool] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET admins/cache

List cached administrator information used to determine role based access control privileges.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • refresh (bool) – Whether to refresh the user info from directory service. If not specified, defaults to false.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_admins_settings(x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

List global admin settings

Return global admin settings.

Parameters
  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_admins_ssh_certificate_authority_policies(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET admins/ssh-certificate-authority-policies

List SSH Certificate Authority policies mapped to specific users.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_alert_watchers(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET alert-watchers

List alert watchers that are configured to receive alert messages.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_alert_watchers_test(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET alert-watchers/test

Test an alert watcher’s contact information to verify alerts can be sent and received.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_alerts(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET alerts

Returns a list of alerts which have been generated by the array.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_api_clients(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET api-clients

List an API client and its configuration attributes.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_array_connections(remotes: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, offset: Optional[ConstrainedIntValue] = None, remote_ids: Optional[ConstrainedListValue[StrictStr]] = None, remote_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET array-connections

List connected arrays for replication.

Parameters
  • remotes (ReferenceType or List[ReferenceType], optional) – A list of remotes to query for. Overrides remote_ids and remote_names keyword arguments.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids keyword argument.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • offset (int) – The offset of the first resource to return from a collection.

  • remote_ids (List[str]) – A comma-separated list of remote array 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_names query parameter.

  • remote_names (List[str]) – A comma-separated list of remote array 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_ids query parameter.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_array_connections_connection_key(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET array-connections/connection-key

List connection keys used to authenticate the connection from one array to another.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_array_connections_path(remotes: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, offset: Optional[ConstrainedIntValue] = None, remote_ids: Optional[ConstrainedListValue[StrictStr]] = None, remote_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET array-connections/path

List network path details of connected arrays.

Parameters
  • remotes (ReferenceType or List[ReferenceType], optional) – A list of remotes to query for. Overrides remote_ids and remote_names keyword arguments.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids keyword argument.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • offset (int) – The offset of the first resource to return from a collection.

  • remote_ids (List[str]) – A comma-separated list of remote array 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_names query parameter.

  • remote_names (List[str]) – A comma-separated list of remote array 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_ids query parameter.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_array_connections_performance_replication(remotes: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, end_time: Optional[ConstrainedIntValue] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, offset: Optional[ConstrainedIntValue] = None, remote_ids: Optional[ConstrainedListValue[StrictStr]] = None, remote_names: Optional[ConstrainedListValue[StrictStr]] = None, resolution: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, start_time: Optional[ConstrainedIntValue] = None, total_only: Optional[StrictBool] = None, type: Optional[StrictStr] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET array-connections/performance/replication

List performance metrics of file systems or objects being replicated from one array to another.

Parameters
  • remotes (ReferenceType or List[ReferenceType], optional) – A list of remotes to query for. Overrides remote_ids and remote_names keyword arguments.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • end_time (int) – When the time window ends (in milliseconds since epoch).

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • offset (int) – The offset of the first resource to return from a collection.

  • remote_ids (List[str]) – A comma-separated list of remote array 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_names query parameter.

  • remote_names (List[str]) – A comma-separated list of remote array 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_ids query parameter.

  • resolution (int) – The desired ms between samples. Available resolutions may depend on data type, start_time and end_time. In general 1000, 30000, 300000, 1800000, 7200000, and 86400000 are possible values.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • start_time (int) – When the time window starts (in milliseconds since epoch).

  • total_only (bool) – 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.

  • type (str) – Display the metric of a specified object type. Valid values are all, file- system, and object-store. If not specified, defaults to all.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_arrays(x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET arrays

List array attributes such as the array name, ID, version, and NTP servers.

Parameters
  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_arrays_clients_performance(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, protocol: Optional[StrictStr] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, total_only: Optional[StrictBool] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET clients-performance

List client performance metrics.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • protocol (str) – Display the performance of a specified protocol. Valid values are NFS, and S3. If not specified, defaults to NFS.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • total_only (bool) – 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) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_arrays_clients_s3_specific_performance(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, total_only: Optional[StrictBool] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET clients-performance

List S3 client performance performance metrics.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • total_only (bool) – 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) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_arrays_erasures(x_request_id: Optional[StrictStr] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

Get factory reset status

Get the factory reset process status.

Parameters
  • x_request_id (str) – Supplied by client during request or generated by server.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_arrays_eula(x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET arrays/eula

List the End User Agreement and signature.

Parameters
  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_arrays_factory_reset_token(x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

List factory reset tokens

Displays a list of tokens used to perform a factory reset on the array.

Parameters
  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_arrays_http_specific_performance(contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, end_time: Optional[ConstrainedIntValue] = None, resolution: Optional[ConstrainedIntValue] = None, start_time: Optional[ConstrainedIntValue] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET arrays/http-specific-performance

List the HTTP performance metrics of the array.

Parameters
  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • end_time (int) – When the time window ends (in milliseconds since epoch).

  • resolution (int) – The desired ms between samples. Available resolutions may depend on data type, start_time and end_time. In general 1000, 30000, 300000, 1800000, 7200000, and 86400000 are possible values.

  • start_time (int) – When the time window starts (in milliseconds since epoch).

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_arrays_nfs_specific_performance(contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, end_time: Optional[ConstrainedIntValue] = None, resolution: Optional[ConstrainedIntValue] = None, start_time: Optional[ConstrainedIntValue] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET arrays/nfs-specific-performance

List the NFS performance metrics of the array.

Parameters
  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • end_time (int) – When the time window ends (in milliseconds since epoch).

  • resolution (int) – The desired ms between samples. Available resolutions may depend on data type, start_time and end_time. In general 1000, 30000, 300000, 1800000, 7200000, and 86400000 are possible values.

  • start_time (int) – When the time window starts (in milliseconds since epoch).

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_arrays_performance(contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, end_time: Optional[ConstrainedIntValue] = None, protocol: Optional[StrictStr] = None, resolution: Optional[ConstrainedIntValue] = None, start_time: Optional[ConstrainedIntValue] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET arrays/performance

Lists the overall performance metrics of the array.

Parameters
  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • end_time (int) – When the time window ends (in milliseconds since epoch).

  • protocol (str) – Display the performance of a specified protocol. Valid values are all, HTTP, SMB, NFS, and S3. If not specified, defaults to all, which will provide the combined performance of all available protocols.

  • resolution (int) – The desired ms between samples. Available resolutions may depend on data type, start_time and end_time. In general 1000, 30000, 300000, 1800000, 7200000, and 86400000 are possible values.

  • start_time (int) – When the time window starts (in milliseconds since epoch).

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_arrays_performance_replication(contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, end_time: Optional[ConstrainedIntValue] = None, resolution: Optional[ConstrainedIntValue] = None, start_time: Optional[ConstrainedIntValue] = None, type: Optional[StrictStr] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET arrays/performance/replication

List replication performance metrics.

Parameters
  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • end_time (int) – When the time window ends (in milliseconds since epoch).

  • resolution (int) – The desired ms between samples. Available resolutions may depend on data type, start_time and end_time. In general 1000, 30000, 300000, 1800000, 7200000, and 86400000 are possible values.

  • start_time (int) – When the time window starts (in milliseconds since epoch).

  • type (str) – Display the metric of a specified object type. Valid values are all, file- system, and object-store. If not specified, defaults to all.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_arrays_s3_specific_performance(contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, end_time: Optional[ConstrainedIntValue] = None, resolution: Optional[ConstrainedIntValue] = None, start_time: Optional[ConstrainedIntValue] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET arrays/s3-specific-performance

List the S3 performance metrics of the array.

Parameters
  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • end_time (int) – When the time window ends (in milliseconds since epoch).

  • resolution (int) – The desired ms between samples. Available resolutions may depend on data type, start_time and end_time. In general 1000, 30000, 300000, 1800000, 7200000, and 86400000 are possible values.

  • start_time (int) – When the time window starts (in milliseconds since epoch).

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_arrays_space(contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, end_time: Optional[ConstrainedIntValue] = None, resolution: Optional[ConstrainedIntValue] = None, start_time: Optional[ConstrainedIntValue] = None, type: Optional[StrictStr] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET arrays/space

List available and used storage space on the array.

Parameters
  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • end_time (int) – When the time window ends (in milliseconds since epoch).

  • resolution (int) – The desired ms between samples. Available resolutions may depend on data type, start_time and end_time. In general 1000, 30000, 300000, 1800000, 7200000, and 86400000 are possible values.

  • start_time (int) – When the time window starts (in milliseconds since epoch).

  • type (str) – Display the metric of a specified object type. Valid values are array, file- system, and object-store. If not specified, defaults to array.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_arrays_space_storage_classes(storage_classes: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, end_time: Optional[ConstrainedIntValue] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, offset: Optional[ConstrainedIntValue] = None, resolution: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, start_time: Optional[ConstrainedIntValue] = None, storage_class_names: Optional[ConstrainedListValue[StrictStr]] = None, total_only: Optional[StrictBool] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET arrays/space/storage-classes

List available and used storage space for storage classes on the array.

Parameters
  • storage_classes (ReferenceType or List[ReferenceType], optional) – A list of storage_classes to query for. Overrides storage_class_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • end_time (int) – When the time window ends (in milliseconds since epoch).

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • offset (int) – The offset of the first resource to return from a collection.

  • resolution (int) – The desired ms between samples. Available resolutions may depend on data type, start_time and end_time. In general 1000, 30000, 300000, 1800000, 7200000, and 86400000 are possible values.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • start_time (int) – When the time window starts (in milliseconds since epoch).

  • storage_class_names (List[str]) – A comma-separated list of storage class names. Valid values include S500X-S and S500X-A.

  • total_only (bool) – 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) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_arrays_ssh_certificate_authority_policies(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET admins/settings/ssh-certificate-authority-policies

List SSH Certificate Authority policies mapped as defaults for admins.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_arrays_supported_time_zones(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET arrays/supported-time-zones

List supported time zones for the array.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_audit_file_systems_policies(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET audit-file-systems-policies

Displays a list of audit policies for file systems.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_audit_file_systems_policies_members(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET audit-file-systems-policies/members

List file systems mapped to a audit policy.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_audit_file_systems_policy_operations(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET audit-file-systems-policy-operations

List of valid strings for audit policy rules for file systems. Each string is either a valid operation or our custom group of operations (ReadOnly, WriteOnly). Each of the operations, when included in a rule, will audit the operation on the file system.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides names keyword argument.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_audits(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET audits

List the array audit trail to view activities that were performed on the array.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_blades(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, total_only: Optional[StrictBool] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET blades

List array blade information.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • total_only (bool) – 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) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

GET bucket-replica-links

List bucket replica links for object replication.

Parameters
  • remotes (ReferenceType or List[ReferenceType], optional) – A list of remotes to query for. Overrides remote_ids and remote_names keyword arguments.

  • remote_buckets (ReferenceType or List[ReferenceType], optional) – A list of remote_buckets to query for. Overrides remote_bucket_names keyword argument.

  • local_buckets (ReferenceType or List[ReferenceType], optional) – A list of local_buckets to query for. Overrides local_bucket_ids and local_bucket_names keyword arguments.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids keyword argument.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • local_bucket_ids (List[str]) – A comma-separated list of local bucket 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_bucket_names query parameter.

  • local_bucket_names (List[str]) – A comma-separated list of local bucket names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with local_bucket_ids query parameter.

  • offset (int) – The offset of the first resource to return from a collection.

  • remote_bucket_names (List[str]) – A comma-separated list of remote bucket names. If there is not at least one resource that matches each of the elements, then an error is returned.

  • remote_ids (List[str]) – A comma-separated list of remote array 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_names query parameter.

  • remote_names (List[str]) – A comma-separated list of remote array 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_ids query parameter.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • total_only (bool) – 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) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_buckets(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, destroyed: Optional[StrictBool] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, total_only: Optional[StrictBool] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET buckets

List object store bucket attributes such as creation time and space usage.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • destroyed (bool) – 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. If not set, lists both objects that are destroyed and those that are not destroyed. If object name(s) are specified in the names parameter, then each object referenced must exist. If destroyed is set to true, then each object referenced must also be destroyed. If destroyed is set to false, then each object referenced must also not be destroyed. An error is returned if any of these conditions are not met.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • total_only (bool) – 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) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_buckets_bucket_access_policies(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, buckets: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, bucket_ids: Optional[ConstrainedListValue[StrictStr]] = None, bucket_names: Optional[ConstrainedListValue[StrictStr]] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET buckets/bucket-access-policies

List a policy for the specified bucket and its attributes. Either names or bucket_names/bucket_ids query parameters can be used.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides names keyword argument.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • buckets (ReferenceType or List[ReferenceType], optional) – A list of buckets to query for. Overrides bucket_ids and bucket_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • bucket_ids (List[str]) – A comma-separated list of bucket IDs. If after filtering, there is not at least one resource that matches each of the elements of bucket_ids, then an error is returned. This cannot be provided together with the bucket_names query parameter. This can be provided with the ids query parameter but not with names.

  • bucket_names (List[str]) – A comma-separated list of bucket names. If there is not at least one resource that matches each of the elements of bucket_names, then an error is returned. This cannot be provided together with the bucket_ids query parameter. This can be provided with the ids query parameter but not with names.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_buckets_bucket_access_policies_rules(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, buckets: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, bucket_ids: Optional[ConstrainedListValue[StrictStr]] = None, bucket_names: Optional[ConstrainedListValue[StrictStr]] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET buckets/bucket-access-policies/rules

List bucket policy rules for the specified bucket and their attributes. Either policy_names or bucket_names/bucket_ids query parameters can be used.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_names keyword argument.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides names keyword argument.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • buckets (ReferenceType or List[ReferenceType], optional) – A list of buckets to query for. Overrides bucket_ids and bucket_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • bucket_ids (List[str]) – A comma-separated list of bucket IDs. If after filtering, there is not at least one resource that matches each of the elements of bucket_ids, then an error is returned. This cannot be provided together with the bucket_names query parameter. This can be provided with the ids query parameter but not with names.

  • bucket_names (List[str]) – A comma-separated list of bucket names. If there is not at least one resource that matches each of the elements of bucket_names, then an error is returned. This cannot be provided together with the bucket_ids query parameter. This can be provided with the ids query parameter but not with names.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_buckets_cross_origin_resource_sharing_policies(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, buckets: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, bucket_ids: Optional[ConstrainedListValue[StrictStr]] = None, bucket_names: Optional[ConstrainedListValue[StrictStr]] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET buckets/cross-origin-resource-sharing-policies

List cross origin resource sharing policy for the specified bucket and its attributes. Either names or bucket_names/bucket_ids query parameters can be used.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides names keyword argument.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • buckets (ReferenceType or List[ReferenceType], optional) – A list of buckets to query for. Overrides bucket_ids and bucket_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • bucket_ids (List[str]) – A comma-separated list of bucket IDs. If after filtering, there is not at least one resource that matches each of the elements of bucket_ids, then an error is returned. This cannot be provided together with the bucket_names query parameter. This can be provided with the ids query parameter but not with names.

  • bucket_names (List[str]) – A comma-separated list of bucket names. If there is not at least one resource that matches each of the elements of bucket_names, then an error is returned. This cannot be provided together with the bucket_ids query parameter. This can be provided with the ids query parameter but not with names.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_buckets_cross_origin_resource_sharing_policies_rules(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, buckets: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, bucket_ids: Optional[ConstrainedListValue[StrictStr]] = None, bucket_names: Optional[ConstrainedListValue[StrictStr]] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET buckets/cross-origin-resource-sharing-policies/rules

List cross origin resource sharing policy rules for the specified bucket and their attributes. Either policy_names or bucket_names query parameters can be used.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_names keyword argument.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides names keyword argument.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • buckets (ReferenceType or List[ReferenceType], optional) – A list of buckets to query for. Overrides bucket_ids and bucket_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • bucket_ids (List[str]) – A comma-separated list of bucket IDs. If after filtering, there is not at least one resource that matches each of the elements of bucket_ids, then an error is returned. This cannot be provided together with the bucket_names query parameter. This can be provided with the ids query parameter but not with names.

  • bucket_names (List[str]) – A comma-separated list of bucket names. If there is not at least one resource that matches each of the elements of bucket_names, then an error is returned. This cannot be provided together with the bucket_ids query parameter. This can be provided with the ids query parameter but not with names.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_buckets_performance(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, end_time: Optional[ConstrainedIntValue] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, resolution: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, start_time: Optional[ConstrainedIntValue] = None, total_only: Optional[StrictBool] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET buckets/performance

List performance metrics for a bucket.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • end_time (int) – When the time window ends (in milliseconds since epoch).

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • resolution (int) – The desired ms between samples. Available resolutions may depend on data type, start_time and end_time. In general 1000, 30000, 300000, 1800000, 7200000, and 86400000 are possible values.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • start_time (int) – When the time window starts (in milliseconds since epoch).

  • total_only (bool) – 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) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_buckets_s3_specific_performance(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, end_time: Optional[ConstrainedIntValue] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, resolution: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, start_time: Optional[ConstrainedIntValue] = None, total_only: Optional[StrictBool] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET buckets/s3-specific-performance

List performance metrics specific to S3 operations for a bucket.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • end_time (int) – When the time window ends (in milliseconds since epoch).

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • resolution (int) – The desired ms between samples. Available resolutions may depend on data type, start_time and end_time. In general 1000, 30000, 300000, 1800000, 7200000, and 86400000 are possible values.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • start_time (int) – When the time window starts (in milliseconds since epoch).

  • total_only (bool) – 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) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_certificate_groups(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET certificate-groups

Display all array certificate groups.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_certificate_groups_certificates(certificates: Optional[Union[ReferenceType, List[ReferenceType]]] = None, certificate_groups: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, certificate_group_ids: Optional[ConstrainedListValue[StrictStr]] = None, certificate_group_names: Optional[ConstrainedListValue[StrictStr]] = None, certificate_ids: Optional[ConstrainedListValue[StrictStr]] = None, certificate_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET certificate-groups/certificates

List membership associations between groups and certificates on the array.

Parameters
  • certificates (ReferenceType or List[ReferenceType], optional) – A list of certificates to query for. Overrides certificate_ids and certificate_names keyword arguments.

  • certificate_groups (ReferenceType or List[ReferenceType], optional) – A list of certificate_groups to query for. Overrides certificate_group_ids and certificate_group_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • certificate_group_ids (List[str]) – A comma-separated list of certificate group ids. If there is not at least one resource that matches each of the elements of certificate_group_ids, then an error is returned. This cannot be provided in conjunction with the certificate_group_names parameter.

  • certificate_group_names (List[str]) – A comma-separated list of certificate group names. If no resource matches each of the elements of certificate_group_names, then an error is returned. This cannot be provided in conjunction with the certificate_group_ids parameter.

  • certificate_ids (List[str]) – A comma-separated list of certificate ids. If there is not at least one resource that matches each of the elements of certificate_ids, then an error is returned. This cannot be provided in conjunction with the certificate_names parameter.

  • certificate_names (List[str]) – A comma-separated list of certificate names. If there is not at least one resource that matches each of the elements of certificate_names, then an error is returned. This cannot be provided in conjunction with the certificate_ids parameter.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_certificate_groups_uses(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET certificate-groups/uses

List how certificate groups are being used and by what.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_certificates(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET certificates

List array certificates and their attributes.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_certificates_certificate_groups(certificates: Optional[Union[ReferenceType, List[ReferenceType]]] = None, certificate_groups: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, certificate_group_ids: Optional[ConstrainedListValue[StrictStr]] = None, certificate_group_names: Optional[ConstrainedListValue[StrictStr]] = None, certificate_ids: Optional[ConstrainedListValue[StrictStr]] = None, certificate_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET certificates/certificate-groups

List membership associations between groups and certificates.

Parameters
  • certificates (ReferenceType or List[ReferenceType], optional) – A list of certificates to query for. Overrides certificate_ids and certificate_names keyword arguments.

  • certificate_groups (ReferenceType or List[ReferenceType], optional) – A list of certificate_groups to query for. Overrides certificate_group_ids and certificate_group_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • certificate_group_ids (List[str]) – A comma-separated list of certificate group ids. If there is not at least one resource that matches each of the elements of certificate_group_ids, then an error is returned. This cannot be provided in conjunction with the certificate_group_names parameter.

  • certificate_group_names (List[str]) – A comma-separated list of certificate group names. If no resource matches each of the elements of certificate_group_names, then an error is returned. This cannot be provided in conjunction with the certificate_group_ids parameter.

  • certificate_ids (List[str]) – A comma-separated list of certificate ids. If there is not at least one resource that matches each of the elements of certificate_ids, then an error is returned. This cannot be provided in conjunction with the certificate_names parameter.

  • certificate_names (List[str]) – A comma-separated list of certificate names. If there is not at least one resource that matches each of the elements of certificate_names, then an error is returned. This cannot be provided in conjunction with the certificate_ids parameter.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_certificates_uses(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET certificates/uses

List how certificates are being used and by what.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_directory_services(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET directory-services

List directory service configuration information.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_directory_services_roles(roles: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, role_ids: Optional[ConstrainedListValue[StrictStr]] = None, role_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET directory-service/roles

Return array’s RBAC group configuration settings for manageability.

Parameters
  • roles (ReferenceType or List[ReferenceType], optional) – A list of roles to query for. Overrides role_ids and role_names keyword arguments.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the names, role_names, or role_ids query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of names, then an error is returned. This cannot be provided together with the ids, role_names, or role_ids query parameters.

  • offset (int) – The offset of the first resource to return from a collection.

  • role_ids (List[str]) – A comma-separated list of role_ids. If after filtering, there is not at least one resource that matches each of the elements of role_ids, then an error is returned. This cannot be provided together with the ids, names or role_names query parameters. This query parameter is deprecated for use with directory service roles. If this parameter is used to query or modify directory service roles, but more than 1 configuration exists with a given role id, an error will be returned in order to avoid ambiguous operation.

  • role_names (List[str]) – A comma-separated list of role_names. If there is not at least one resource that matches each of the elements of role_names, then an error is returned. This cannot be provided together with the ids, names, or role_ids query parameters. This query parameter is deprecated for use with directory service roles. If this parameter is used to query or modify directory service roles, but more than 1 configuration exists with a given role name, an error will be returned in order to avoid ambiguous operation.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_directory_services_test(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET directory-services/test

Test the configured directory services on the array.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_dns(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET dns

Displays the current DNS configurations and their parameters including domain suffix, the list of DNS name server IP addresses, and the list of services that DNS parameters apply to.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_drives(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, total_only: Optional[StrictBool] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET drives

List array drive information.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • total_only (bool) – 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) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_file_system_exports(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET file-system-exports

List one or more file system exports.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

GET file-system-replica-links

List file system replication link.

Parameters
  • remotes (ReferenceType or List[ReferenceType], optional) – A list of remotes to query for. Overrides remote_ids and remote_names keyword arguments.

  • remote_file_systems (ReferenceType or List[ReferenceType], optional) – A list of remote_file_systems to query for. Overrides remote_file_system_ids and remote_file_system_names keyword arguments.

  • local_file_systems (ReferenceType or List[ReferenceType], optional) – A list of local_file_systems to query for. Overrides local_file_system_ids and local_file_system_names keyword arguments.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids keyword argument.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • local_file_system_ids (List[str]) – A comma-separated list of local file system 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_file_system_names query parameter.

  • local_file_system_names (List[str]) – A comma-separated list of local file system names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with local_file_system_ids query parameter.

  • offset (int) – The offset of the first resource to return from a collection.

  • remote_file_system_ids (List[str]) – A comma-separated list of remote file system IDs. If 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_file_system_names query parameter.

  • remote_file_system_names (List[str]) – A comma-separated list of remote file system names. If 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_file_system_ids query parameter.

  • remote_ids (List[str]) – A comma-separated list of remote array 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_names query parameter.

  • remote_names (List[str]) – A comma-separated list of remote array 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_ids query parameter.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

GET file-system-replica-links/policies

List file system replication link policies.

Parameters
  • remotes (ReferenceType or List[ReferenceType], optional) – A list of remotes to query for. Overrides remote_ids and remote_names keyword arguments.

  • remote_file_systems (ReferenceType or List[ReferenceType], optional) – A list of remote_file_systems to query for. Overrides remote_file_system_ids and remote_file_system_names keyword arguments.

  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids keyword argument.

  • local_file_systems (ReferenceType or List[ReferenceType], optional) – A list of local_file_systems to query for. Overrides local_file_system_ids and local_file_system_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • local_file_system_ids (List[str]) – A comma-separated list of local file system 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_file_system_names query parameter.

  • local_file_system_names (List[str]) – A comma-separated list of local file system names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with local_file_system_ids query parameter.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • remote_file_system_ids (List[str]) – A comma-separated list of remote file system IDs. If 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_file_system_names query parameter.

  • remote_file_system_names (List[str]) – A comma-separated list of remote file system names. If 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_file_system_ids query parameter.

  • remote_ids (List[str]) – A comma-separated list of remote array 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_names query parameter.

  • remote_names (List[str]) – A comma-separated list of remote array 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_ids query parameter.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

GET file-system-replica-links/transfer

List the transfer status details for file system replication.

Parameters
  • remotes (ReferenceType or List[ReferenceType], optional) – A list of remotes to query for. Overrides remote_ids and remote_names keyword arguments.

  • names_or_owners (ReferenceType or List[ReferenceType], optional) – A list of names_or_owners to query for. Overrides names_or_owner_names keyword argument.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids keyword argument.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names_or_owner_names (List[str]) – A comma-separated list of resource names. Either the names of the snapshots or the owning file systems.

  • offset (int) – The offset of the first resource to return from a collection.

  • remote_ids (List[str]) – A comma-separated list of remote array 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_names query parameter.

  • remote_names (List[str]) – A comma-separated list of remote array 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_ids query parameter.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • total_only (bool) – 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) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_file_system_snapshots(owners: Optional[Union[ReferenceType, List[ReferenceType]]] = None, names_or_owners: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, destroyed: Optional[StrictBool] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names_or_owner_names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, owner_ids: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, total_only: Optional[StrictBool] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET file-system-snapshots

List file system snapshots. Note: if more than 150,000 items would be returned in the response, an error will be thrown and query parameters must be used to limit the items queried.

Parameters
  • owners (ReferenceType or List[ReferenceType], optional) – A list of owners to query for. Overrides owner_ids keyword argument.

  • names_or_owners (ReferenceType or List[ReferenceType], optional) – A list of names_or_owners to query for. Overrides names_or_owner_names keyword argument.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids keyword argument.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • destroyed (bool) – 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. If not set, lists both objects that are destroyed and those that are not destroyed. If object name(s) are specified in the names parameter, then each object referenced must exist. If destroyed is set to true, then each object referenced must also be destroyed. If destroyed is set to false, then each object referenced must also not be destroyed. An error is returned if any of these conditions are not met.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names_or_owner_names (List[str]) – A comma-separated list of resource names. Either the names of the snapshots or the owning file systems.

  • offset (int) – The offset of the first resource to return from a collection.

  • owner_ids (List[str]) – A comma-separated list of owning file system IDs. If after filtering, there is not at least one resource that matches each of the elements of owner IDs, then an error is returned. This cannot be provided together with the ids, names_or_owner_names, or names_or_sources query parameters.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • total_only (bool) – 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) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_file_system_snapshots_policies(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET file-system-snapshots/policies

List file system snapshots mapped to snapshot scheduling policies. Note: if more than 150,000 items would be returned in the response, an error will be thrown and query parameters must be used to limit the items queried.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_file_system_snapshots_transfer(names_or_owners: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names_or_owner_names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, total_only: Optional[StrictBool] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET file-system-snapshots/transfer

List file system snapshot transfers from the source array to the target array. Note: if more than 150,000 items would be returned in the response, an error will be thrown and query parameters must be used to limit the items queried.

Parameters
  • names_or_owners (ReferenceType or List[ReferenceType], optional) – A list of names_or_owners to query for. Overrides names_or_owner_names keyword argument.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids keyword argument.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names_or_owner_names (List[str]) – A comma-separated list of resource names. Either the names of the snapshots or the owning file systems.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • total_only (bool) – 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) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_file_systems(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, destroyed: Optional[StrictBool] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, total_only: Optional[StrictBool] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET file-systems

List one or more file systems on the array.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • destroyed (bool) – 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. If not set, lists both objects that are destroyed and those that are not destroyed. If object name(s) are specified in the names parameter, then each object referenced must exist. If destroyed is set to true, then each object referenced must also be destroyed. If destroyed is set to false, then each object referenced must also not be destroyed. An error is returned if any of these conditions are not met.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • total_only (bool) – 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) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_file_systems_audit_policies(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET file-systems/audit-policies

List file systems mapped to a audit policy.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_file_systems_groups_performance(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, groups: Optional[Union[ReferenceType, List[ReferenceType]]] = None, file_systems: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, file_system_ids: Optional[ConstrainedListValue[StrictStr]] = None, file_system_names: Optional[ConstrainedListValue[StrictStr]] = None, filter: Optional[Union[StrictStr, Filter]] = None, gids: Optional[ConstrainedListValue[StrictStr]] = None, group_names: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, total_only: Optional[StrictBool] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET file-systems/groups/performance

List a group’s I/O performance metrics on a file system.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides names keyword argument.

  • groups (ReferenceType or List[ReferenceType], optional) – A list of groups to query for. Overrides group_names keyword argument.

  • file_systems (ReferenceType or List[ReferenceType], optional) – A list of file_systems to query for. Overrides file_system_ids and file_system_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • file_system_ids (List[str]) – A comma-separated list of file system IDs. If after filtering, there is not at least one resource that matches each of the elements of file_system_ids, then an error is returned. This cannot be provided together with the file_system_names query parameter.

  • file_system_names (List[str]) – A comma-separated list of file system names. If there is not at least one resource that matches each of the elements of file_system_names, then an error is returned.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • gids (List[str]) – A comma-separated list of group IDs. This cannot be provided together with group_names query parameter.

  • group_names (List[str]) – A comma-separated list of group names. This cannot be provided together with gids query parameter.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • total_only (bool) – 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) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_file_systems_locks(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, file_systems: Optional[Union[ReferenceType, List[ReferenceType]]] = None, clients: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, client_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, file_system_ids: Optional[ConstrainedListValue[StrictStr]] = None, file_system_names: Optional[ConstrainedListValue[StrictStr]] = None, filter: Optional[Union[StrictStr, Filter]] = None, inodes: Optional[ConstrainedListValue[Union[StrictFloat, StrictInt]]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, paths: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

Get a list of active file locks

Lists all active file locks that satisfy the conditions specified by the parameters.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides names keyword argument.

  • file_systems (ReferenceType or List[ReferenceType], optional) – A list of file_systems to query for. Overrides file_system_ids and file_system_names keyword arguments.

  • clients (ReferenceType or List[ReferenceType], optional) – A list of clients to query for. Overrides client_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • client_names (List[str]) – A comma-separated list of ip addresses of clients. For IPv6 both the extended format (x:x:x:x:x:x:x:x) and the shortened format are supported.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • file_system_ids (List[str]) – A comma-separated list of file system IDs. If after filtering, there is not at least one resource that matches each of the elements of file_system_ids, then an error is returned. This cannot be provided together with the file_system_names query parameter.

  • file_system_names (List[str]) – A comma-separated list of file system names. If there is not at least one resource that matches each of the elements of file_system_names, then an error is returned.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • inodes (List[float]) – A comma-separated list of inodes used for filtering file locks query by inodes. This may only be specified if file_system_ids or file_system_names is also specified. This cannot be provided together with the paths query parameter.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • paths (List[str]) – A comma-separated list of paths used for filtering file locks query by paths. This may only be specified if file_system_ids or file_system_names is also specified. This cannot be provided together with the inodes query parameter.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_file_systems_locks_clients(x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

Get a list of clients that hold active file locks

Lists all clients that hold active file locks.

Parameters
  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_file_systems_open_files(protocols: ConstrainedListValue[StrictStr], users: Optional[Union[ReferenceType, List[ReferenceType]]] = None, sessions: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, file_systems: Optional[Union[ReferenceType, List[ReferenceType]]] = None, clients: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, client_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, file_system_ids: Optional[ConstrainedListValue[StrictStr]] = None, file_system_names: Optional[ConstrainedListValue[StrictStr]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, paths: Optional[ConstrainedListValue[StrictStr]] = None, session_names: Optional[ConstrainedListValue[StrictStr]] = None, user_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET file-systems/open-files

List open files.

Parameters
  • protocols (List[str]) – A comma-separated list of file protocols. Valid values include nfs and smb. (required)

  • users (ReferenceType or List[ReferenceType], optional) – A list of users to query for. Overrides user_names keyword argument.

  • sessions (ReferenceType or List[ReferenceType], optional) – A list of sessions to query for. Overrides session_names keyword argument.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids keyword argument.

  • file_systems (ReferenceType or List[ReferenceType], optional) – A list of file_systems to query for. Overrides file_system_ids and file_system_names keyword arguments.

  • clients (ReferenceType or List[ReferenceType], optional) – A list of clients to query for. Overrides client_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • client_names (List[str]) – A comma-separated list of ip addresses of clients. For IPv6 both the extended format (x:x:x:x:x:x:x:x) and the shortened format are supported.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • file_system_ids (List[str]) – A comma-separated list of file system IDs. If after filtering, there is not at least one resource that matches each of the elements of file_system_ids, then an error is returned. This cannot be provided together with the file_system_names query parameter.

  • file_system_names (List[str]) – A comma-separated list of file system names. If there is not at least one resource that matches each of the elements of file_system_names, then an error is returned.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • paths (List[str]) – A comma-separated list of paths used for filtering open files query.

  • session_names (List[str]) – A comma-separated list of session names used for filtering open files query. Files opened in any of the specified sessions will be returned.

  • user_names (List[str]) – A comma-separated list of user names used for filtering open files query. Files opened by any of the specified users will be returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_file_systems_performance(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, end_time: Optional[ConstrainedIntValue] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, protocol: Optional[StrictStr] = None, resolution: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, start_time: Optional[ConstrainedIntValue] = None, total_only: Optional[StrictBool] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET file-systems/performance

Displays the performance metrics for a file system.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • end_time (int) – When the time window ends (in milliseconds since epoch).

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • protocol (str) – Display the performance of a specified protocol. Valid values are all, HTTP, SMB, NFS, and S3. If not specified, defaults to all, which will provide the combined performance of all available protocols.

  • resolution (int) – The desired ms between samples. Available resolutions may depend on data type, start_time and end_time. In general 1000, 30000, 300000, 1800000, 7200000, and 86400000 are possible values.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • start_time (int) – When the time window starts (in milliseconds since epoch).

  • total_only (bool) – 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) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_file_systems_policies(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET file-systems/policies

List file system snapshot scheduling policies. Note: if more than 150,000 items would be returned in the response, an error will be thrown and query parameters must be used to limit the items queried.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_file_systems_policies_all(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET file-systems/policies-all

List file system policies. Note: if more than 150,000 items would be returned in the response, an error will be thrown and query parameters must be used to limit the items queried.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_file_systems_sessions(users: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, clients: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, client_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, protocols: Optional[ConstrainedListValue[StrictStr]] = None, user_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

Get a list of active sessions

Lists all active sessions that satisfy the conditions specified by the parameters.

Parameters
  • users (ReferenceType or List[ReferenceType], optional) – A list of users to query for. Overrides user_names keyword argument.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides names keyword argument.

  • clients (ReferenceType or List[ReferenceType], optional) – A list of clients to query for. Overrides client_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • client_names (List[str]) – A comma-separated list of ip addresses of clients. For IPv6 both the extended format (x:x:x:x:x:x:x:x) and the shortened format are supported.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • protocols (List[str]) – A comma-separated list of file protocols. Valid values include nfs and smb.

  • user_names (List[str]) – A comma-separated list of user names.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_file_systems_space_storage_classes(storage_classes: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, storage_class_names: Optional[ConstrainedListValue[StrictStr]] = None, total_only: Optional[StrictBool] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET file-systems/space/storage-classes

List available and used storage space per filesystem.

Parameters
  • storage_classes (ReferenceType or List[ReferenceType], optional) – A list of storage_classes to query for. Overrides storage_class_names keyword argument.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • storage_class_names (List[str]) – A comma-separated list of storage class names. Valid values include S500X-S and S500X-A.

  • total_only (bool) – 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) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_file_systems_users_performance(users: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, file_systems: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, file_system_ids: Optional[ConstrainedListValue[StrictStr]] = None, file_system_names: Optional[ConstrainedListValue[StrictStr]] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, total_only: Optional[StrictBool] = None, uids: Optional[ConstrainedListValue[StrictInt]] = None, user_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET file-systems/users/performance

List a user’s I/O performance metrics on a file system.

Parameters
  • users (ReferenceType or List[ReferenceType], optional) – A list of users to query for. Overrides user_names keyword argument.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides names keyword argument.

  • file_systems (ReferenceType or List[ReferenceType], optional) – A list of file_systems to query for. Overrides file_system_ids and file_system_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • file_system_ids (List[str]) – A comma-separated list of file system IDs. If after filtering, there is not at least one resource that matches each of the elements of file_system_ids, then an error is returned. This cannot be provided together with the file_system_names query parameter.

  • file_system_names (List[str]) – A comma-separated list of file system names. If there is not at least one resource that matches each of the elements of file_system_names, then an error is returned.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • total_only (bool) – 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.

  • uids (List[int]) – A comma-separated list of user IDs. This cannot be provided together with user_names query parameter.

  • user_names (List[str]) – A comma-separated list of user names. This cannot be provided together with uids query parameter.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_file_systems_worm_data_policies(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET file-systems/worm-data-policies

List file systems mapped to a WORM data policy.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_fleets(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, total_only: Optional[StrictBool] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET fleets

Displays information about the fleets known to the array.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – Performs the operation on the unique resource IDs specified. Only one value is supported.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – Performs the operation on the unique resource names specified. Only one value is supported.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • total_only (bool) – 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) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_fleets_fleet_key(x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, total_only: Optional[StrictBool] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET fleet-key

Displays the time remaining on the fleet key. Note: fleet key itself is not displayed, since that is only available at the time of fleet key creation.

Parameters
  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • total_only (bool) – 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) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_fleets_members(members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, fleets: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, fleet_ids: Optional[ConstrainedListValue[StrictStr]] = None, fleet_names: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, total_only: Optional[StrictBool] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET fleet members

Displays the members in the current fleet.

Parameters
  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • fleets (ReferenceType or List[ReferenceType], optional) – A list of fleets to query for. Overrides fleet_ids and fleet_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • fleet_ids (List[str]) – Performs the operation on the unique Fleet IDs specified. This query currently accepts only 1 ID.

  • fleet_names (List[str]) – Performs the operation on the unique Fleet names specified. Enter multiple names in comma-separated format. For example, name01,name02. This query currently accepts only 1 name.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • total_only (bool) – 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) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_hardware(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET hardware

List hardware slots and bays and the status of installed components.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_hardware_connectors(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET hardware-connectors

The endpoint is deprecated. Use the /network-interfaces/connectors endpoint instead. List array connection information.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_hardware_connectors_performance(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, end_time: Optional[ConstrainedIntValue] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, resolution: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, start_time: Optional[ConstrainedIntValue] = None, total_only: Optional[StrictBool] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET hardware-connectors/performance

The endpoint is deprecated. Use the /network-interfaces/connectors/performance endpoint instead. Displays network statistics, historical bandwidth, and error reporting for all specified hardware connectors.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • end_time (int) – When the time window ends (in milliseconds since epoch).

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • resolution (int) – The desired ms between samples. Available resolutions may depend on data type, start_time and end_time. In general 1000, 30000, 300000, 1800000, 7200000, and 86400000 are possible values.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • start_time (int) – When the time window starts (in milliseconds since epoch).

  • total_only (bool) – 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) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_keytabs(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET keytabs

List a Kerberos keytab file and its configuration information.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_keytabs_download(keytabs: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, keytab_ids: Optional[ConstrainedListValue[StrictStr]] = None, keytab_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET keytabs/download

Download a Kerberos keytab file. The file can be downloaded in the native binary format or a base64 encoded format. If not specified, defaults to binary.

Parameters
  • keytabs (ReferenceType or List[ReferenceType], optional) – A list of keytabs to query for. Overrides keytab_ids and keytab_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • keytab_ids (List[str]) – A comma-separated list of keytab 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 keytab_names query parameter.

  • keytab_names (List[str]) – A comma-separated list of keytab names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with keytab_ids query parameter.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_kmip(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

List KMIP server configurations

Displays a list of KMIP server configurations.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_kmip_test(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

Displays KMIP server test results

Displays a detailed result of of KMIP server test.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

List legal holds

List legal holds.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

List held entities

List entities to which a legal hold has been applied.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • file_systems (ReferenceType or List[ReferenceType], optional) – A list of file_systems to query for. Overrides file_system_ids and file_system_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • file_system_ids (List[str]) – A comma-separated list of file system IDs. If after filtering, there is not at least one resource that matches each of the elements of file_system_ids, then an error is returned. This cannot be provided together with the file_system_names query parameter.

  • file_system_names (List[str]) – A comma-separated list of file system names. If there is not at least one resource that matches each of the elements of file_system_names, then an error is returned.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • paths (List[str]) – A comma-separated list of paths used for filtering file locks query by paths. This may only be specified if file_system_ids or file_system_names is also specified. This cannot be provided together with the inodes query parameter.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_lifecycle_rules(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, buckets: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, bucket_ids: Optional[ConstrainedListValue[StrictStr]] = None, bucket_names: Optional[ConstrainedListValue[StrictStr]] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET lifecycle-rules

Returns a list of lifecycle rules. If names is specified, list the individual rules. If ids is specified, bucket_names or bucket_ids is also required. If bucket_names or bucket_ids are specified without ids, list all the rules for the bucket.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • buckets (ReferenceType or List[ReferenceType], optional) – A list of buckets to query for. Overrides bucket_ids and bucket_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • bucket_ids (List[str]) – A comma-separated list of bucket IDs. If after filtering, there is not at least one resource that matches each of the elements of bucket_ids, then an error is returned. This cannot be provided together with the bucket_names query parameter. This can be provided with the ids query parameter but not with names.

  • bucket_names (List[str]) – A comma-separated list of bucket names. If there is not at least one resource that matches each of the elements of bucket_names, then an error is returned. This cannot be provided together with the bucket_ids query parameter. This can be provided with the ids query parameter but not with names.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

GET link-aggregation-groups

List the status and attributes of the Ethernet ports in the configured link aggregation groups.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_logs(x_request_id: Optional[StrictStr] = None, end_time: Optional[ConstrainedIntValue] = None, start_time: Optional[ConstrainedIntValue] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET logs

Download a history of log events from the array to provide to Pure Technical Services for analysis.

Parameters
  • x_request_id (str) – Supplied by client during request or generated by server.

  • end_time (int) – When the time window ends (in milliseconds since epoch).

  • start_time (int) – When the time window starts (in milliseconds since epoch).

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_logs_async(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET logs-async

List the attributes and status of preparation for a history of log events from the array to provide to Pure Technical Services for analysis.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_logs_async_download(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET logs-async/download

Download the files which contain a history of log events from the array to provide to Pure Technical Services for analysis.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_maintenance_windows(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

List maintenance window details

Displays maintenance window details, including start time, end time, and maintenance type.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_network_access_policies(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET network-access-policies

Displays a list of network access policies.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_network_access_policies_members(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET network-access-policies/members

List network access policies mapped to different configurations on the array.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_network_access_policies_rules(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET network-access-policies/rules

Displays a list of network access policy rules.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_network_interfaces(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET network-interfaces

List network interfaces and their attributes.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_network_interfaces_connectors(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET network-interfaces/connectors

List network connector information

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_network_interfaces_connectors_performance(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, end_time: Optional[ConstrainedIntValue] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, resolution: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, start_time: Optional[ConstrainedIntValue] = None, total_only: Optional[StrictBool] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET network connectors performance statistics

Displays network statistics, historical bandwidth, and error reporting for all specified network connectors.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • end_time (int) – When the time window ends (in milliseconds since epoch).

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • resolution (int) – The desired ms between samples. Available resolutions may depend on data type, start_time and end_time. In general 1000, 30000, 300000, 1800000, 7200000, and 86400000 are possible values.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • start_time (int) – When the time window starts (in milliseconds since epoch).

  • total_only (bool) – 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) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_network_interfaces_connectors_settings(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET global network settings for network connectors

Display the global network settings for network connectors.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_network_interfaces_network_connection_statistics(x_request_id: Optional[StrictStr] = None, current_state: Optional[ConstrainedListValue[StrictStr]] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, local_host: Optional[ConstrainedListValue[StrictStr]] = None, local_port: Optional[ConstrainedListValue[StrictInt]] = None, offset: Optional[ConstrainedIntValue] = None, remote_host: Optional[ConstrainedListValue[StrictStr]] = None, remote_port: Optional[ConstrainedListValue[StrictInt]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET network-interfaces/network-connection-statistics

Display network interface status

Parameters
  • x_request_id (str) – Supplied by client during request or generated by server.

  • current_state (List[str]) – The state to filter the results by. If specified, the results will only include connections which current state matches the specified states.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • local_host (List[str]) – The local IP address to filter the results by. If specified, the results will only include connections that are either to or from the specified local host.

  • local_port (List[int]) – The local port to filter the results by. If specified, the results will only include connections that are either to or from the specified local port.

  • offset (int) – The offset of the first resource to return from a collection.

  • remote_host (List[str]) – The remote IP address to filter the results by. If specified, the results will only include connections that are either to or from the specified remote host.

  • remote_port (List[int]) – The remote port to filter the results by. If specified, the results will only include connections that are either to or from the specified remote port.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_network_interfaces_ping(destination: StrictStr, x_request_id: Optional[StrictStr] = None, component_name: Optional[StrictStr] = None, count: Optional[StrictInt] = None, packet_size: Optional[StrictInt] = None, print_latency: Optional[StrictBool] = None, resolve_hostname: Optional[StrictBool] = None, source: Optional[StrictStr] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET network-interfaces/ping

Display network interface ping result.

Parameters
  • destination (str) – A destination specified by user to run the network diagnosis against. Can be a hostname or an IP. (required)

  • x_request_id (str) – Supplied by client during request or generated by server.

  • component_name (str) – Used by ping and trace to specify where to run the operation. Valid values are controllers and blades from hardware list. If not specified, defaults to all available controllers and selected blades.

  • count (int) – Used by ping to specify the number of packets to send. If not specified, defaults to 1.

  • packet_size (int) – Used by ping to specify the number of data bytes to be sent per packet. If not specified, defaults to 56.

  • print_latency (bool) – Used by ping to specify whether or not to print the full user-to-user latency. If not specified, defaults to false.

  • resolve_hostname (bool) – Used by ping and trace to specify whether or not to map IP addresses to host names. If not specified, defaults to true.

  • source (str) – Used by ping and trace to specify the property where to start to run the specified operation. The property can be subnet or IP.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_network_interfaces_tls_policies(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET network-interfaces/tls-policies

List network interface TLS policies.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_network_interfaces_trace(destination: StrictStr, x_request_id: Optional[StrictStr] = None, component_name: Optional[StrictStr] = None, discover_mtu: Optional[StrictBool] = None, fragment_packet: Optional[StrictBool] = None, method: Optional[StrictStr] = None, port: Optional[StrictStr] = None, resolve_hostname: Optional[StrictBool] = None, source: Optional[StrictStr] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET network-interfaces/trace

Display network interface trace result.

Parameters
  • destination (str) – A destination specified by user to run the network diagnosis against. Can be a hostname or an IP. (required)

  • x_request_id (str) – Supplied by client during request or generated by server.

  • component_name (str) – Used by ping and trace to specify where to run the operation. Valid values are controllers and blades from hardware list. If not specified, defaults to all available controllers and selected blades.

  • discover_mtu (bool) – Used by trace to specify whether or not to discover the MTU along the path being traced. If not specified, defaults to false.

  • fragment_packet (bool) – Used by trace to specify whether or not to fragment packets. If not specified, defaults to true.

  • method (str) – Used by trace to specify which method to use for trace operations. Valid values are icmp, tcp, and udp. If not specified, defaults to ‘udp’.

  • port (str) – Used by trace to specify a destination port.

  • resolve_hostname (bool) – Used by ping and trace to specify whether or not to map IP addresses to host names. If not specified, defaults to true.

  • source (str) – Used by ping and trace to specify the property where to start to run the specified operation. The property can be subnet or IP.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_nfs_export_policies(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET nfs-export-policies

Displays a list of NFS export policies.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_nfs_export_policies_rules(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET nfs-export-policies/rules

Displays a list of NFS export policy rules. The default sort is by policy name, then index.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_node_groups(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET node-groups

Display all array node groups.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_node_groups_nodes(nodes: Optional[Union[ReferenceType, List[ReferenceType]]] = None, node_groups: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, node_group_ids: Optional[ConstrainedListValue[StrictStr]] = None, node_group_names: Optional[ConstrainedListValue[StrictStr]] = None, node_ids: Optional[ConstrainedListValue[StrictStr]] = None, node_names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET node-groups/nodes

List membership associations between node groups and nodes on the array.

Parameters
  • nodes (ReferenceType or List[ReferenceType], optional) – A list of nodes to query for. Overrides node_ids and node_names keyword arguments.

  • node_groups (ReferenceType or List[ReferenceType], optional) – A list of node_groups to query for. Overrides node_group_ids and node_group_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • node_group_ids (List[str]) – A comma-separated list of node group ids. If there is not at least one resource that matches each of the elements of node_group_ids, then an error is returned. This cannot be provided in conjunction with the node_group_names parameter.

  • node_group_names (List[str]) – A comma-separated list of node group names. If there is not at least one resource that matches each of the elements of node_group_names, then an error is returned. This cannot be provided in conjunction with the node_group_ids parameter.

  • node_ids (List[str]) – A comma-separated list of node ids. If there is not at least one resource that matches each of the elements of node_ids, then an error is returned. This cannot be provided in conjunction with the node_names parameter.

  • node_names (List[str]) – A comma-separated list of node names. If there is not at least one resource that matches each of the elements of node_names, then an error is returned. This cannot be provided in conjunction with the node_ids parameter.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_node_groups_uses(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET node-groups/uses

List how node groups are being used and by what.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_nodes(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, total_only: Optional[StrictBool] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET nodes

List one or more nodes.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • total_only (bool) – 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) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_object_store_access_keys(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET object-store-access-keys

List object store access keys.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides names keyword argument.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_object_store_access_policies(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, exclude_rules: Optional[StrictBool] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET object-store-access-policies

List access policies and their attributes.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • exclude_rules (bool) – If true, the rules field in each policy will be null. If false, each returned policy will include its list of rules in the response. If not specified, defaults to false.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_object_store_access_policies_object_store_roles(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET object-store-access-policies/object-store-roles

List object store roles and their access policies.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_object_store_access_policies_object_store_users(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET object-store-access-policies/object-store-users

List object store users and their access policies.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_object_store_access_policies_rules(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET object-store-access-policies-rules

List access policy rules and their attributes.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides names keyword argument.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_object_store_access_policy_actions(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET object-store-access-policy-actions

List valid actions for access policy rules. Each action is either a valid AWS S3 action (prefixed by s3:) or our special wildcard action (s3:*). Each action, when included in a rule, may restrict which other properties may be set for that rule.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides names keyword argument.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_object_store_accounts(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, total_only: Optional[StrictBool] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET object-store-accounts

List object store accounts and their attributes.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • total_only (bool) – 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) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_object_store_remote_credentials(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET object-store-remote-credentials

List object store remote credentials used by bucket replica links to access buckets on remote arrays or targets.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_object_store_roles(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET object-store-roles

List object store roles and their attributes.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_object_store_roles_object_store_access_policies(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET object-store-roles/object-store-access-policies

List object store roles and their access policies.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_object_store_roles_object_store_trust_policies(roles: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, role_ids: Optional[ConstrainedListValue[StrictStr]] = None, role_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET object-store-roles/object-store-trust-policies

List object store roles and their trust policies.

Parameters
  • roles (ReferenceType or List[ReferenceType], optional) – A list of roles to query for. Overrides role_ids and role_names keyword arguments.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides names keyword argument.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • role_ids (List[str]) – A comma-separated list of object store role IDs. If after filtering, there is not at least one resource that matches each of the elements of role_ids, then an error is returned. This cannot be provided together with the role_names query parameter.

  • role_names (List[str]) – A comma-separated list of object store role names. If there is not at least one resource that matches each of the elements of role_names, then an error is returned. This cannot be provided together with the role_ids query parameter.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_object_store_roles_object_store_trust_policies_download(roles: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, role_ids: Optional[ConstrainedListValue[StrictStr]] = None, role_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET object-store-roles/object-store-trust-policies/download

Download object store roles and their trust policies in native AWS format.

Parameters
  • roles (ReferenceType or List[ReferenceType], optional) – A list of roles to query for. Overrides role_ids and role_names keyword arguments.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • role_ids (List[str]) – A comma-separated list of object store role IDs. If after filtering, there is not at least one resource that matches each of the elements of role_ids, then an error is returned. This cannot be provided together with the role_names query parameter.

  • role_names (List[str]) – A comma-separated list of object store role names. If there is not at least one resource that matches each of the elements of role_names, then an error is returned. This cannot be provided together with the role_ids query parameter.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_object_store_roles_object_store_trust_policies_rules(roles: Optional[Union[ReferenceType, List[ReferenceType]]] = None, policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, indices: Optional[ConstrainedListValue[StrictInt]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, role_ids: Optional[ConstrainedListValue[StrictStr]] = None, role_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET object-store-roles/object-store-trust-policies/rules

List trust policy rules and their attributes.

Parameters
  • roles (ReferenceType or List[ReferenceType], optional) – A list of roles to query for. Overrides role_ids and role_names keyword arguments.

  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_names keyword argument.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides names keyword argument.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • indices (List[int]) – A comma-separated list of resource indices. If there is not at least one resource that matches each of the elements of indices, then an error is returned.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • role_ids (List[str]) – A comma-separated list of object store role IDs. If after filtering, there is not at least one resource that matches each of the elements of role_ids, then an error is returned. This cannot be provided together with the role_names query parameter.

  • role_names (List[str]) – A comma-separated list of object store role names. If there is not at least one resource that matches each of the elements of role_names, then an error is returned. This cannot be provided together with the role_ids query parameter.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_object_store_users(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET object-store-users

List object store users and their attributes.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_object_store_users_object_store_access_policies(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET object-store-users/object-store-access-policies

List object store users and their access policies.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_object_store_virtual_hosts(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET object-store-virtual-hosts

List object store virtual hosts.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_password_policies(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

List password policies

Displays a list of password policies.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_policies(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET policies

Display snapshot scheduling policies and their attributes.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_policies_all(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET policies-all

List all policies of all types.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_policies_all_members(remotes: Optional[Union[ReferenceType, List[ReferenceType]]] = None, remote_file_systems: Optional[Union[ReferenceType, List[ReferenceType]]] = None, policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, local_file_systems: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, local_file_system_ids: Optional[ConstrainedListValue[StrictStr]] = None, local_file_system_names: Optional[ConstrainedListValue[StrictStr]] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, member_types: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, remote_file_system_ids: Optional[ConstrainedListValue[StrictStr]] = None, remote_file_system_names: Optional[ConstrainedListValue[StrictStr]] = None, remote_ids: Optional[ConstrainedListValue[StrictStr]] = None, remote_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET policies-all/members

List policies (of all types) mapped to other entities (file systems, snapshots, file system replica links, and object store users). Note: if more than 150,000 items would be returned in the response, an error will be thrown and query parameters must be used to limit the items queried.

Parameters
  • remotes (ReferenceType or List[ReferenceType], optional) – A list of remotes to query for. Overrides remote_ids and remote_names keyword arguments.

  • remote_file_systems (ReferenceType or List[ReferenceType], optional) – A list of remote_file_systems to query for. Overrides remote_file_system_ids and remote_file_system_names keyword arguments.

  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • local_file_systems (ReferenceType or List[ReferenceType], optional) – A list of local_file_systems to query for. Overrides local_file_system_ids and local_file_system_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • local_file_system_ids (List[str]) – A comma-separated list of local file system 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_file_system_names query parameter.

  • local_file_system_names (List[str]) – A comma-separated list of local file system names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with local_file_system_ids query parameter.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • member_types (List[str]) – A comma-separated list of member types. Valid values are file-systems, file- system-snapshots, file-system-replica-links, and object-store-users. Different endpoints may accept different subsets of these values.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • remote_file_system_ids (List[str]) – A comma-separated list of remote file system IDs. If 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_file_system_names query parameter.

  • remote_file_system_names (List[str]) – A comma-separated list of remote file system names. If 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_file_system_ids query parameter.

  • remote_ids (List[str]) – A comma-separated list of remote array 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_names query parameter.

  • remote_names (List[str]) – A comma-separated list of remote array 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_ids query parameter.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

GET policies/file-system-replica-links

List snapshot scheduling policies for file system replica links. Note: if more than 150,000 items would be returned in the response, an error will be thrown and query parameters must be used to limit the items queried.

Parameters
  • remotes (ReferenceType or List[ReferenceType], optional) – A list of remotes to query for. Overrides remote_ids and remote_names keyword arguments.

  • remote_file_systems (ReferenceType or List[ReferenceType], optional) – A list of remote_file_systems to query for. Overrides remote_file_system_ids and remote_file_system_names keyword arguments.

  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids keyword argument.

  • local_file_systems (ReferenceType or List[ReferenceType], optional) – A list of local_file_systems to query for. Overrides local_file_system_ids and local_file_system_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • local_file_system_ids (List[str]) – A comma-separated list of local file system 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_file_system_names query parameter.

  • local_file_system_names (List[str]) – A comma-separated list of local file system names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with local_file_system_ids query parameter.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • remote_file_system_ids (List[str]) – A comma-separated list of remote file system IDs. If 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_file_system_names query parameter.

  • remote_file_system_names (List[str]) – A comma-separated list of remote file system names. If 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_file_system_ids query parameter.

  • remote_ids (List[str]) – A comma-separated list of remote array 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_names query parameter.

  • remote_names (List[str]) – A comma-separated list of remote array 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_ids query parameter.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_policies_file_system_snapshots(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET policies/file-system-snapshots

List file system snapshots mapped to a snapshot scheduling policy. Note: if more than 150,000 items would be returned in the response, an error will be thrown and query parameters must be used to limit the items queried.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_policies_file_systems(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET policies/file-systems

List file systems mapped to a snapshot scheduling policy. Note: if more than 150,000 items would be returned in the response, an error will be thrown and query parameters must be used to limit the items queried.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_policies_members(remotes: Optional[Union[ReferenceType, List[ReferenceType]]] = None, remote_file_systems: Optional[Union[ReferenceType, List[ReferenceType]]] = None, policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, local_file_systems: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, local_file_system_ids: Optional[ConstrainedListValue[StrictStr]] = None, local_file_system_names: Optional[ConstrainedListValue[StrictStr]] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, member_types: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, remote_file_system_ids: Optional[ConstrainedListValue[StrictStr]] = None, remote_file_system_names: Optional[ConstrainedListValue[StrictStr]] = None, remote_ids: Optional[ConstrainedListValue[StrictStr]] = None, remote_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET policies/members

List snapshot scheduling policies mapped to file systems, snapshots, and file system replica links. Note: if more than 150,000 items would be returned in the response, an error will be thrown and query parameters must be used to limit the items queried.

Parameters
  • remotes (ReferenceType or List[ReferenceType], optional) – A list of remotes to query for. Overrides remote_ids and remote_names keyword arguments.

  • remote_file_systems (ReferenceType or List[ReferenceType], optional) – A list of remote_file_systems to query for. Overrides remote_file_system_ids and remote_file_system_names keyword arguments.

  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • local_file_systems (ReferenceType or List[ReferenceType], optional) – A list of local_file_systems to query for. Overrides local_file_system_ids and local_file_system_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • local_file_system_ids (List[str]) – A comma-separated list of local file system 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_file_system_names query parameter.

  • local_file_system_names (List[str]) – A comma-separated list of local file system names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with local_file_system_ids query parameter.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • member_types (List[str]) – A comma-separated list of member types. Valid values are file-systems, file- system-snapshots, file-system-replica-links, and object-store-users. Different endpoints may accept different subsets of these values.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • remote_file_system_ids (List[str]) – A comma-separated list of remote file system IDs. If 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_file_system_names query parameter.

  • remote_file_system_names (List[str]) – A comma-separated list of remote file system names. If 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_file_system_ids query parameter.

  • remote_ids (List[str]) – A comma-separated list of remote array 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_names query parameter.

  • remote_names (List[str]) – A comma-separated list of remote array 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_ids query parameter.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_public_keys(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

List public key configurations

List public key configurations.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_public_keys_uses(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET public-keys/uses

List how public keys are being used and by what.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_qos_policies(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET qos-policies

List QoS policies.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_qos_policies_file_systems(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET qos-policies/file-systems

List qos policies and their file system members.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_qos_policies_members(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET qos-policies/members

List qos policies and their managed object members.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_quotas_groups(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, groups: Optional[Union[ReferenceType, List[ReferenceType]]] = None, file_systems: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, file_system_ids: Optional[ConstrainedListValue[StrictStr]] = None, file_system_names: Optional[ConstrainedListValue[StrictStr]] = None, filter: Optional[Union[StrictStr, Filter]] = None, gids: Optional[ConstrainedListValue[StrictInt]] = None, group_names: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET quotas/groups

List groups with hard limit quotas.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides names keyword argument.

  • groups (ReferenceType or List[ReferenceType], optional) – A list of groups to query for. Overrides group_names keyword argument.

  • file_systems (ReferenceType or List[ReferenceType], optional) – A list of file_systems to query for. Overrides file_system_ids and file_system_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • file_system_ids (List[str]) – A comma-separated list of file system IDs. If after filtering, there is not at least one resource that matches each of the elements of file_system_ids, then an error is returned. This cannot be provided together with the file_system_names query parameter.

  • file_system_names (List[str]) – A comma-separated list of file system names. If there is not at least one resource that matches each of the elements of file_system_names, then an error is returned.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • gids (List[int]) – A comma-separated list of group IDs. If there is not at least one resource that matches each of the elements of gids, then an error is returned. This cannot be provided together with group_names query parameter.

  • group_names (List[str]) – A comma-separated list of group names. If there is not at least one resource that matches each of the elements of group_names, then an error is returned. This cannot be provided together with gids query parameter.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_quotas_settings(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET quotas-settings

List notification attributes of a group or user quota.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_quotas_users(users: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, file_systems: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, file_system_ids: Optional[ConstrainedListValue[StrictStr]] = None, file_system_names: Optional[ConstrainedListValue[StrictStr]] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, uids: Optional[ConstrainedListValue[StrictInt]] = None, user_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET quotas/users

List users with hard limit file system quotas.

Parameters
  • users (ReferenceType or List[ReferenceType], optional) – A list of users to query for. Overrides user_names keyword argument.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides names keyword argument.

  • file_systems (ReferenceType or List[ReferenceType], optional) – A list of file_systems to query for. Overrides file_system_ids and file_system_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • file_system_ids (List[str]) – A comma-separated list of file system IDs. If after filtering, there is not at least one resource that matches each of the elements of file_system_ids, then an error is returned. This cannot be provided together with the file_system_names query parameter.

  • file_system_names (List[str]) – A comma-separated list of file system names. If there is not at least one resource that matches each of the elements of file_system_names, then an error is returned.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • uids (List[int]) – A comma-separated list of user IDs. If there is not at least one resource that matches each of the elements of uids, then an error is returned. This cannot be provided together with user_names query parameter.

  • user_names (List[str]) – A comma-separated list of user names. If there is not at least one resource that matches each of the elements of user_names, then an error is returned. This cannot be provided together with uids query parameter.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_rapid_data_locking(x_request_id: Optional[StrictStr] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

Get the status of the Rapid Data Locking feature.

Displays the status of the Rapid Data Locking feature.

Parameters
  • x_request_id (str) – Supplied by client during request or generated by server.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_rapid_data_locking_test(x_request_id: Optional[StrictStr] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

Displays Rapid Data Locking test results.

Displays a detailed result of a Rapid Data Locking test.

Parameters
  • x_request_id (str) – Supplied by client during request or generated by server.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_remote_arrays(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, current_fleet_only: Optional[StrictBool] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, total_only: Optional[StrictBool] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

List remote arrays

Lists arrays in the current fleet, as well as arrays that the current array has existing replication connections to.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • current_fleet_only (bool) – If current_fleet_only is specified, then results will only show arrays from the same fleet to which the current array is a member of.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • total_only (bool) – 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) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_roles(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET roles

List roles and permission attributes for role-based access control (RBAC).

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_servers(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET servers

List servers.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_sessions(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

List session data

Displays session data for user login events performed in the Purity//FB GUI, CLI, and REST API.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_smb_client_policies(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET smb-client-policies

Display SMB Client policies and their attributes.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_smb_client_policies_rules(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET smb-client-policies/rules

Displays a list of SMB Client policy rules. The default sort is by policy name, then index.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_smb_share_policies(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET smb-share-policies

Display SMB Share policies and their attributes.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_smb_share_policies_rules(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET smb-share-policies/rules

Displays a list of SMB Share policy rules.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_smtp_servers(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET smtp-servers

List SMTP server attributes for the array network.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_snmp_agents(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET snmp-agents

List SNMP agent attributes.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_snmp_agents_mib(x_request_id: Optional[StrictStr] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET snmp-agents-mib

List the SNMP MIB text.

Parameters
  • x_request_id (str) – Supplied by client during request or generated by server.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_snmp_managers(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET snmp-managers

List SNMP managers and their attributes.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_snmp_managers_test(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET snmp-managers/test

Test if the configuration of an SNMP manager is valid.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_software_check(softwares: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, software_names: Optional[ConstrainedListValue[StrictStr]] = None, software_versions: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, total_item_count: Optional[StrictBool] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

List software check tasks

Displays a list of software check tasks.

Parameters
  • softwares (ReferenceType or List[ReferenceType], optional) – A list of softwares to query for. Overrides software_names keyword argument.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • software_names (List[str]) – A comma-separated list of software names.

  • software_versions (List[str]) – A comma-separated list of target software versions.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • total_item_count (bool) – 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) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_ssh_certificate_authority_policies(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

List SSH Certificate Authority configurations

List SSH Certificate Authority configurations

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_ssh_certificate_authority_policies_admins(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET ssh-certificate-authority-policies/admins

List SSH Certificate Authority policies mapped to specific users.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_ssh_certificate_authority_policies_arrays(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET ssh-certificate-authority-policies/arrays

List SSH Certificate Authority policies mapped as defaults for admins.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_ssh_certificate_authority_policies_members(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET ssh-certificate-authority-policies/members

List SSH Certificate Authority policies mapped to the admin default settings, or to one or more specific users.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_sso_oidc_idps(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

List OIDC SSO configurations

Displays the OIDC SSO configuration settings in the array.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_sso_saml2_idps(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

List SAML2 SSO configurations

Displays the SAML2 SSO service provider and identity provider configuration settings in the array.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_sso_saml2_idps_test(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET sso/saml2/idps/test

Test the existing SAML2 SSO configurations in the array.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_storage_class_tiering_policies(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET storage-class-tiering-policies

List storage class tiering policies.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_storage_class_tiering_policies_members(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET storage-class-tiering-policies/members

List members mapped to a storage class tiering policy.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_subnets(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET subnets

List the array’s subnets.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_support(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET support

List Phone Home, Remote Assistance and Edge Management settings.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_support_diagnostics(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET diagnostics list

Lists the support diagnostics tasks.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_support_diagnostics_details(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET diagnostics details

Lists the diagnostics tasks details.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_support_test(x_request_id: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, test_type: Optional[StrictStr] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET support-test

Test if the Phone Home and Remote Assistance settings are functioning properly.

Parameters
  • x_request_id (str) – Supplied by client during request or generated by server.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • test_type (str) – Specifies the type of test. Valid values are all, phonehome, and remote- assist. If not specified, defaults to all.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_support_verification_keys(x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET verification-keys

List the key used to verify the signed challenges that are used by Pure Support to access the FlashBlade.

Parameters
  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_syslog_servers(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET syslog-servers

Return a list of configured syslog servers.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – Performs the operation on the unique name specified. Enter multiple names in comma-separated format. For example, name01,name02.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_syslog_servers_settings(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET syslog-servers/settings

List the certificate or certificate group associated with the syslog servers.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_syslog_servers_test(x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET syslog-servers/test

Send test messages to conifgured remote syslog servers.

Parameters
  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_targets(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET targets

List targets used for replication.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_targets_performance_replication(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, end_time: Optional[ConstrainedIntValue] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, resolution: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, start_time: Optional[ConstrainedIntValue] = None, total_only: Optional[StrictBool] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET targets/performance/replication

List replication performance metrics for targets.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • end_time (int) – When the time window ends (in milliseconds since epoch).

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • resolution (int) – The desired ms between samples. Available resolutions may depend on data type, start_time and end_time. In general 1000, 30000, 300000, 1800000, 7200000, and 86400000 are possible values.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • start_time (int) – When the time window starts (in milliseconds since epoch).

  • total_only (bool) – 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) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_tls_policies(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, effective: Optional[StrictBool] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, purity_defined: Optional[StrictBool] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

List TLS policies

List TLS policies

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • effective (bool) – If true, then the TLS policies returned will be fully evaluated. This involves expanding shortened TLS ciphers, removing disabled TLS ciphers from the list of expanded enabled TLS ciphers, and converting values such as default and legacy into concrete values, in order to return the discrete effective TLS settings that the policies encode. Defaults to false.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • purity_defined (bool) – If true, then the results returned will be include the specification for purity-defined values on the current purity version. These values may be used in configurations in order to dynamically adopt new behavior across upgrades, and this option allows the exact behavior for the current version to be returned. Defaults to false.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_tls_policies_members(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET tls-policies/members

List TLS policies mapped to the array as a whole, or to one or more specific objects on the array (such as network interfaces).

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_tls_policies_network_interfaces(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET tls-policies/network-interfaces

List network interface TLS policies.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_usage_groups(groups: Optional[Union[ReferenceType, List[ReferenceType]]] = None, file_systems: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, file_system_ids: Optional[ConstrainedListValue[StrictStr]] = None, file_system_names: Optional[ConstrainedListValue[StrictStr]] = None, filter: Optional[Union[StrictStr, Filter]] = None, gids: Optional[ConstrainedListValue[StrictInt]] = None, group_names: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET usage/groups

List groups with hard limit quotas and their file system usage.

Parameters
  • groups (ReferenceType or List[ReferenceType], optional) – A list of groups to query for. Overrides group_names keyword argument.

  • file_systems (ReferenceType or List[ReferenceType], optional) – A list of file_systems to query for. Overrides file_system_ids and file_system_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • file_system_ids (List[str]) – A comma-separated list of file system IDs. If after filtering, there is not at least one resource that matches each of the elements of file_system_ids, then an error is returned. This cannot be provided together with the file_system_names query parameter.

  • file_system_names (List[str]) – A comma-separated list of file system names. If there is not at least one resource that matches each of the elements of file_system_names, then an error is returned.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • gids (List[int]) – A comma-separated list of group IDs. If there is not at least one resource that matches each of the elements of gids, then an error is returned. This cannot be provided together with group_names query parameter.

  • group_names (List[str]) – A comma-separated list of group names. If there is not at least one resource that matches each of the elements of group_names, then an error is returned. This cannot be provided together with gids query parameter.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_usage_users(users: Optional[Union[ReferenceType, List[ReferenceType]]] = None, file_systems: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, file_system_ids: Optional[ConstrainedListValue[StrictStr]] = None, file_system_names: Optional[ConstrainedListValue[StrictStr]] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, uids: Optional[ConstrainedListValue[StrictInt]] = None, user_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET usage/users

List users with hard limit quotas and their file system usage.

Parameters
  • users (ReferenceType or List[ReferenceType], optional) – A list of users to query for. Overrides user_names keyword argument.

  • file_systems (ReferenceType or List[ReferenceType], optional) – A list of file_systems to query for. Overrides file_system_ids and file_system_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • file_system_ids (List[str]) – A comma-separated list of file system IDs. If after filtering, there is not at least one resource that matches each of the elements of file_system_ids, then an error is returned. This cannot be provided together with the file_system_names query parameter.

  • file_system_names (List[str]) – A comma-separated list of file system names. If there is not at least one resource that matches each of the elements of file_system_names, then an error is returned.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • uids (List[int]) – A comma-separated list of user IDs. If there is not at least one resource that matches each of the elements of uids, then an error is returned. This cannot be provided together with user_names query parameter.

  • user_names (List[str]) – A comma-separated list of user names. If there is not at least one resource that matches each of the elements of user_names, then an error is returned. This cannot be provided together with uids query parameter.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_versions(async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) dict

Get available API versions. No authentication is required to access this endpoint. The response will be a ValidResponse with version ids listed as items.

Parameters
  • 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

ValidResponse

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_worm_data_policies(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, limit: Optional[ConstrainedIntValue] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET worm-data-policies

List WORM data policies.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • offset (int) – The offset of the first resource to return from a collection.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

get_worm_data_policies_members(policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, members: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, allow_errors: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, continuation_token: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, limit: Optional[ConstrainedIntValue] = None, member_ids: Optional[ConstrainedListValue[StrictStr]] = None, member_names: Optional[ConstrainedListValue[StrictStr]] = None, offset: Optional[ConstrainedIntValue] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

GET worm-data-policies/members

List members mapped to a WORM data policy.

Parameters
  • policies (ReferenceType or List[ReferenceType], optional) – A list of policies to query for. Overrides policy_ids and policy_names keyword arguments.

  • members (ReferenceType or List[ReferenceType], optional) – A list of members to query for. Overrides member_ids and member_names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • allow_errors (bool) – If set to true, the API will allow the operation to continue even if there are errors. Any errors will be returned in the errors field of the response. If set to false, the operation will fail if there are any errors.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • continuation_token (str) – A token used to retrieve the next page of data with some consistency guaranteed. The token is a Base64 encoded value. Set continuation_token to the system-generated token taken from the x-next-token header field of the response. A query has reached its last page when the response does not include a token. Pagination requires the limit and continuation_token query parameters.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • limit (int) – Limits the size of the response to the specified number of objects on each page. To return the total number of resources, set limit=0. The total number of resources is returned as a total_item_count value. If the page size requested is larger than the system maximum limit, the server returns the maximum limit, disregarding the requested page size.

  • member_ids (List[str]) – A comma-separated list of member IDs. If after filtering, there is not at least one resource that matches each of the elements of member_ids, then an error is returned. This cannot be provided together with the member_names query parameter.

  • member_names (List[str]) – A comma-separated list of member names.

  • offset (int) – The offset of the first resource to return from a collection.

  • policy_ids (List[str]) – A comma-separated list of policy IDs. If after filtering, there is not at least one resource that matches each of the elements of policy_ids, then an error is returned. This cannot be provided together with the policy_names query parameter.

  • policy_names (List[str]) – A comma-separated list of policy names.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

logout(async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) None

Invalidate a REST session token.

Parameters
  • 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

ValidResponse

Raises
  • PureError – If calling the API fails.

  • ValueError – If a parameter is of an invalid type.

  • TypeError – If invalid or missing parameters are used.

patch_active_directory(active_directory: ActiveDirectoryPatch, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH active-directory

Modify the configuration of an Active Directory account.

Parameters
  • active_directory (ActiveDirectoryPatch) – (required)

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_admins(admin: AdminPatch, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH admins

Modify the attributes of an administrator.

Parameters
  • admin (AdminPatch) – (required)

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_admins_settings(admin_setting: AdminSetting, x_request_id: Optional[StrictStr] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

Update global admin settings

Update properties for global admin settings.

Parameters
  • admin_setting (AdminSetting) – (required)

  • x_request_id (str) – Supplied by client during request or generated by server.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_alert_watchers(alert_watcher: AlertWatcher, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH alert-watchers

Modify an alert watcher’s configuration. Enable or disable an alert watcher privilege and select the level of alert notification of an alert watcher. Alert notification levels are info, warning, or critical.

Parameters
  • alert_watcher (AlertWatcher) – (required)

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_alerts(alerts_settings: Alert, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH alerts

Make changes to an alert. This is currently limited to the alert’s flagged property.

Parameters
  • alerts_settings (Alert) – (required)

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_api_clients(api_clients: ApiClient, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH api-clients

Modify an API client. Newly created API clients can be enabled by setting the enabled parameter to true.

Parameters
  • api_clients (ApiClient) – (required)

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_array_connections(array_connection: ArrayConnection, remotes: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, remote_ids: Optional[ConstrainedListValue[StrictStr]] = None, remote_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH array-connections

Modify the configuration of a connected array.

Parameters
  • array_connection (ArrayConnection) – (required)

  • remotes (ReferenceType or List[ReferenceType], optional) – A list of remotes to query for. Overrides remote_ids and remote_names keyword arguments.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids keyword argument.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • remote_ids (List[str]) – A comma-separated list of remote array IDs. Deprecated, best practice is to reference connections with 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_names query parameter.

  • remote_names (List[str]) – A comma-separated list of remote array names. Deprecated, best practice is to reference connections with ids. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with remote_ids query parameter.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_arrays(array: Array, x_request_id: Optional[StrictStr] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH arrays

Modify the general configuration of the array including banner text, array name, NTP servers, and time zone.

Parameters
  • array (Array) – (required)

  • x_request_id (str) – Supplied by client during request or generated by server.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_arrays_erasures(delete_sanitization_certificate: StrictBool, eradicate_all_data: StrictBool, finalize: StrictBool, x_request_id: Optional[StrictStr] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

Factory reset - finalize

After the process has been completed, we need to finalize the factory reset process.

Parameters
  • delete_sanitization_certificate (bool) – Must be true to finalize factory reset and acknowledge the deletion of sanitization certificate. (required)

  • eradicate_all_data (bool) – Set to true to perform a factory reset. (required)

  • finalize (bool) – Must be true to finalize factory reset. (required)

  • x_request_id (str) – Supplied by client during request or generated by server.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_arrays_eula(x_request_id: Optional[StrictStr] = None, eula: Optional[Eula] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH arrays/eula

Modifies the signature on the End User Agreement.

Parameters
  • x_request_id (str) – Supplied by client during request or generated by server.

  • eula (Eula) –

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_audit_file_systems_policies(policy: AuditFileSystemsPoliciesPatch, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH audit-file-systems-policies

Modify an existing audit policy’s attributes.

Parameters
  • policy (AuditFileSystemsPoliciesPatch) – (required)

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

PATCH bucket-replica-links

Modify the configuration of a bucket replica link including whether the link is paused and the object store remote credentials used.

Parameters
  • bucket_replica_link (BucketReplicaLink) – (required)

  • remotes (ReferenceType or List[ReferenceType], optional) – A list of remotes to query for. Overrides remote_ids and remote_names keyword arguments.

  • remote_buckets (ReferenceType or List[ReferenceType], optional) – A list of remote_buckets to query for. Overrides remote_bucket_names keyword argument.

  • local_buckets (ReferenceType or List[ReferenceType], optional) – A list of local_buckets to query for. Overrides local_bucket_ids and local_bucket_names keyword arguments.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids keyword argument.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • local_bucket_ids (List[str]) – A comma-separated list of local bucket 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_bucket_names query parameter.

  • local_bucket_names (List[str]) – A comma-separated list of local bucket names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with local_bucket_ids query parameter.

  • remote_bucket_names (List[str]) – A comma-separated list of remote bucket names. If there is not at least one resource that matches each of the elements, then an error is returned.

  • remote_ids (List[str]) – A comma-separated list of remote array 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_names query parameter.

  • remote_names (List[str]) – A comma-separated list of remote array 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_ids query parameter.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_buckets(bucket: BucketPatch, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, ignore_usage: Optional[StrictBool] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH buckets

Modify object store bucket attributes such as destroyed and versioning.

Parameters
  • bucket (BucketPatch) – (required)

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • ignore_usage (bool) – Allow update operations that lead to a hard_limit_enabled object store account, bucket, or file system with usage over its limiting value. For object store accounts and buckets, the limiting value is that of quota_limit, and for file systems it is that of provisioned. The operation can be setting hard_limit_enabled when usage is higher than the limiting value, modifying the limiting value to a value under usage when hard_limit_enabled, recovering a destroyed bucket of an object store account that causes an account’s space usage to go over its hard quota_limit. Also allows update operations that would cause usage of the requested storage class to go over its warning threshold.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_certificates(certificate: CertificatePatch, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH certificates

Modify SSL certificate attributes such as passphrases and intermediate certificates.

Parameters
  • certificate (CertificatePatch) – (required)

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_directory_services(directory_service: DirectoryService, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH directory-services

Modifies and tests the directory service configuration.

Parameters
  • directory_service (DirectoryService) – (required)

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_directory_services_roles(directory_service_roles: DirectoryServiceRole, roles: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, role_ids: Optional[ConstrainedListValue[StrictStr]] = None, role_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH directory-service/roles

Update an RBAC group configuration setting for manageability.

Parameters
  • directory_service_roles (DirectoryServiceRole) – (required)

  • roles (ReferenceType or List[ReferenceType], optional) – A list of roles to query for. Overrides role_ids and role_names keyword arguments.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the names, role_names, or role_ids query parameters.

  • names (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of names, then an error is returned. This cannot be provided together with the ids, role_names, or role_ids query parameters.

  • role_ids (List[str]) – A comma-separated list of role_ids. If after filtering, there is not at least one resource that matches each of the elements of role_ids, then an error is returned. This cannot be provided together with the ids, names or role_names query parameters. This query parameter is deprecated for use with directory service roles. If this parameter is used to query or modify directory service roles, but more than 1 configuration exists with a given role id, an error will be returned in order to avoid ambiguous operation.

  • role_names (List[str]) – A comma-separated list of role_names. If there is not at least one resource that matches each of the elements of role_names, then an error is returned. This cannot be provided together with the ids, names, or role_ids query parameters. This query parameter is deprecated for use with directory service roles. If this parameter is used to query or modify directory service roles, but more than 1 configuration exists with a given role name, an error will be returned in order to avoid ambiguous operation.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_directory_services_test(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, filter: Optional[Union[StrictStr, Filter]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, sort: Optional[ConstrainedListValue[ConstrainedStrValue]] = None, directory_service: Optional[DirectoryService] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH directory-service/test

Test the configured directory services on the array. Optionally, provide modifications which will be used to perform the tests, but will not be applied to the current configuration.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • filter (Union[str, Filter]) – Narrows down the results to only the response objects that satisfy the filter criteria.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • sort (List[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). NOTE: If you provide a sort you will not get a continuation_token in the response.

  • directory_service (DirectoryService) – An optional directory service configuration that, if provided, will be used to overwrite aspects of the existing directory service objects when performing tests.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_dns(dns: Dns, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH dns

Modify a DNS configuration.

Parameters
  • dns (Dns) – (required)

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_file_system_exports(file_system_export: FileSystemExport, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH file-system-exports

Modify a file system export’s attributes.

Parameters
  • file_system_export (FileSystemExport) – (required)

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

PATCH file-system-replica-links

Update a file system replication link.

Parameters
  • remotes (ReferenceType or List[ReferenceType], optional) – A list of remotes to query for. Overrides remote_ids and remote_names keyword arguments.

  • local_file_systems (ReferenceType or List[ReferenceType], optional) – A list of local_file_systems to query for. Overrides local_file_system_ids and local_file_system_names keyword arguments.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids keyword argument.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • local_file_system_ids (List[str]) – A comma-separated list of local file system 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_file_system_names query parameter.

  • local_file_system_names (List[str]) – A comma-separated list of local file system names. If there is not at least one resource that matches each of the elements, then an error is returned. This cannot be provided together with local_file_system_ids query parameter.

  • remote_ids (List[str]) – A comma-separated list of remote array 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_names query parameter.

  • remote_names (List[str]) – A comma-separated list of remote array 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_ids query parameter.

  • replicate_now (bool) – If set to true, replicates the contents to the specified targets. The replicate_now parameters can only be true with the partial-replica file system links.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_file_system_snapshots(file_system_snapshot: FileSystemSnapshot, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, latest_replica: Optional[StrictBool] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH file-system-snapshots

Modify file system snapshot attributes.

Parameters
  • file_system_snapshot (FileSystemSnapshot) – (required)

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • latest_replica (bool) – Used when destroying a snapshot. If not present or false, and the snapshot is the latest replicated snapshot, then destroy will fail. If true or the snapshot is not the latest replicated snapshot, then destroy will be successful.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_file_systems(file_system: FileSystemPatch, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, cancel_in_progress_storage_class_transition: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, delete_link_on_eradication: Optional[StrictBool] = None, discard_detailed_permissions: Optional[StrictBool] = None, discard_non_snapshotted_data: Optional[StrictBool] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, ignore_usage: Optional[StrictBool] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH file-systems

Modify a file system’s attributes including its export protocols and limits.

Parameters
  • file_system (FileSystemPatch) – (required)

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • cancel_in_progress_storage_class_transition (bool) – If set to true, the storage class policy of this file system will be set to the requested storage class policy, even if a transition to a different storage class is in-progress. Setting this parameter to true is acknowledgement that any in-progress transition on this file system will be cancelled. If not specified, the default value is false.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • delete_link_on_eradication (bool) – If set to true, the file system can be destroyed, even if it has a replica link. If set to false, the file system cannot be destroyed if it has a replica link. Defaults to false.

  • discard_detailed_permissions (bool) – This parameter must be set to true in order to change a file system’s access_control_style from a style that supports more detailed access control lists to a style that only supports less detailed mode bits as a form of permission control. This parameter may not be set to true any other time. Setting this parameter to true is acknowledgement that any more detailed access control lists currently set within the file system will be lost, and NFS permission controls will only be enforced at the granularity level of NFS mode bits.

  • discard_non_snapshotted_data (bool) – This parameter must be set to true in order to restore a file system from a snapshot or to demote a file system (which restores the file system from the common baseline snapshot). Setting this parameter to true is acknowledgement that any non-snapshotted data currently in the file system will be irretrievably lost.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • ignore_usage (bool) – Allow update operations that lead to a hard_limit_enabled object store account, bucket, or file system with usage over its limiting value. For object store accounts and buckets, the limiting value is that of quota_limit, and for file systems it is that of provisioned. The operation can be setting hard_limit_enabled when usage is higher than the limiting value, modifying the limiting value to a value under usage when hard_limit_enabled, recovering a destroyed bucket of an object store account that causes an account’s space usage to go over its hard quota_limit. Also allows update operations that would cause usage of the requested storage class to go over its warning threshold.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_fleets(fleet: FleetPatch, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH fleets

Rename a fleet by passing the old name in name query parameter, and the new name in the name parameter in the request body.

Parameters
  • fleet (FleetPatch) – (required)

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – Performs the operation on the unique resource IDs specified. Only one value is supported.

  • names (List[str]) – Performs the operation on the unique resource names specified. Only one value is supported.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_hardware(hardware: Hardware, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH hardware

Controls the visual identification light of the specified hardware component.

Parameters
  • hardware (Hardware) – (required)

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_hardware_connectors(hardware_connector: HardwareConnector, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH hardware-connectors

The endpoint is deprecated. Use the /network-interfaces/connectors endpoint instead. Modify array connection information.

Parameters
  • hardware_connector (HardwareConnector) – (required)

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_kmip(kmip_server: KmipServer, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

Modify a KMIP server configuration

Modifies KMIP server properties - URI, certificate, certificate group.

Parameters
  • kmip_server (KmipServer) – (required)

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

Update a legal hold

Update a legal hold instance.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • hold (LegalHold) –

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

Release this legal hold from the given entity

Release this legal hold from the given entity. The names, file_system_names, paths and released query parameters are required. The recursive flag is required when releasing a hold from a directory.

Parameters
  • released (bool) – This is a flag to set when releasing an attached legal hold from a path. (required)

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • file_systems (ReferenceType or List[ReferenceType], optional) – A list of file_systems to query for. Overrides file_system_ids and file_system_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • file_system_ids (List[str]) – A comma-separated list of file system IDs. If after filtering, there is not at least one resource that matches each of the elements of file_system_ids, then an error is returned. This cannot be provided together with the file_system_names query parameter.

  • file_system_names (List[str]) – A comma-separated list of file system names. If there is not at least one resource that matches each of the elements of file_system_names, then an error is returned.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • paths (List[str]) – A comma-separated list of paths used for filtering file locks query by paths. This may only be specified if file_system_ids or file_system_names is also specified. This cannot be provided together with the inodes query parameter.

  • recursive (bool) – This is a flag to set when recursively applying/releasing legal holds on entities. By default, it is set to be false. The recursive flag is required when applying/releasing a hold to/from a directory.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_lifecycle_rules(lifecycle: LifecycleRulePatch, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, buckets: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, bucket_ids: Optional[ConstrainedListValue[StrictStr]] = None, bucket_names: Optional[ConstrainedListValue[StrictStr]] = None, confirm_date: Optional[StrictBool] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH lifecycle-rules

Modify an existing lifecycle rule by name or id. If ids is specified, bucket_names or bucket_ids is also required.

Parameters
  • lifecycle (LifecycleRulePatch) – (required)

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • buckets (ReferenceType or List[ReferenceType], optional) – A list of buckets to query for. Overrides bucket_ids and bucket_names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • bucket_ids (List[str]) – A comma-separated list of bucket IDs. If after filtering, there is not at least one resource that matches each of the elements of bucket_ids, then an error is returned. This cannot be provided together with the bucket_names query parameter. This can be provided with the ids query parameter but not with names.

  • bucket_names (List[str]) – A comma-separated list of bucket names. If there is not at least one resource that matches each of the elements of bucket_names, then an error is returned. This cannot be provided together with the bucket_ids query parameter. This can be provided with the ids query parameter but not with names.

  • confirm_date (bool) – If set to true, then confirm the date of keep_current_version_until is correct.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

PATCH link-aggregation-groups

Modify link aggregation groups by adding and removing Ethernet ports.

Parameters
  • link_aggregation_group (Api218LinkAggregationGroupsPatchRequest) – (required)

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_logs_async(logs_async: LogsAsync, x_request_id: Optional[StrictStr] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH logs-async

Start the preparation for a history of log events from the array to provide to Pure Technical Services for analysis.

Parameters
  • logs_async (LogsAsync) – (required)

  • x_request_id (str) – Supplied by client during request or generated by server.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_network_access_policies(policy: NetworkAccessPolicy, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, versions: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH network-access-policies

Modify an existing network access policy’s attributes.

Parameters
  • policy (NetworkAccessPolicy) – (required)

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • versions (List[str]) – A comma-separated list of versions. This is an optional query param used for concurrency control. The ordering should match the names or ids query param. This will fail with a 412 Precondition failed if the resource was changed and the current version of the resource doesn’t match the value in the query param.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_network_access_policies_rules(rule: NetworkAccessPolicyRule, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, before_rule_id: Optional[StrictStr] = None, before_rule_name: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, versions: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH network-access-policies/rules

Modify an existing network access policy rule.

Parameters
  • rule (NetworkAccessPolicyRule) – (required)

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • before_rule_id (str) – The id of the rule to insert or move a rule before. This cannot be provided together with the before_rule_name query parameter.

  • before_rule_name (str) – The name of the rule to insert or move a rule before. This cannot be provided together with the before_rule_id query parameter.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • versions (List[str]) – A comma-separated list of versions. This is an optional query param used for concurrency control. The ordering should match the names or ids query param. This will fail with a 412 Precondition failed if the resource was changed and the current version of the resource doesn’t match the value in the query param.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_network_interfaces(network_interface: NetworkInterfacePatch, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH network-interfaces

Modify the attributes of a VIP.

Parameters
  • network_interface (NetworkInterfacePatch) – (required)

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_network_interfaces_connectors(network_connector: HardwareConnector, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH network-interfaces/connectors

Modify network connector information.

Parameters
  • network_connector (HardwareConnector) – (required)

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_nfs_export_policies(policy: NfsExportPolicy, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, versions: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH nfs-export-policies

Modify an existing NFS export policy’s attributes.

Parameters
  • policy (NfsExportPolicy) – (required)

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • versions (List[str]) – A comma-separated list of versions. This is an optional query param used for concurrency control. The ordering should match the names or ids query param. This will fail with a 412 Precondition failed if the resource was changed and the current version of the resource doesn’t match the value in the query param.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_nfs_export_policies_rules(rule: NfsExportPolicyRule, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, before_rule_id: Optional[StrictStr] = None, before_rule_name: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, versions: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH nfs-export-policies/rules

Modify an existing NFS export policy rule. If before_rule_id or before_rule_name are specified, the rule will be moved before that rule. Rules are ordered in three groups; ip addresses, other and * and can only be moved within the appropriate group. One of the following is required: ids or names.

Parameters
  • rule (NfsExportPolicyRule) – (required)

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • before_rule_id (str) – The id of the rule to insert or move a rule before. This cannot be provided together with the before_rule_name query parameter.

  • before_rule_name (str) – The name of the rule to insert or move a rule before. This cannot be provided together with the before_rule_id query parameter.

  • context_names (List[str]) – Performs the operation on the unique contexts specified. If specified, each context name must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context. Enter multiple names in comma-separated format. For example, name01,name02.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • versions (List[str]) – A comma-separated list of versions. This is an optional query param used for concurrency control. The ordering should match the names or ids query param. This will fail with a 412 Precondition failed if the resource was changed and the current version of the resource doesn’t match the value in the query param.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_node_groups(node_group: NodeGroupPatch, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH node-groups

Update one or more node groups on the array.

Parameters
  • node_group (NodeGroupPatch) – (required)

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_nodes(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, node: Optional[Node] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH nodes

Modify a node’s attributes including its management address and serial number.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • node (Node) –

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_object_store_access_keys(names: ConstrainedListValue[StrictStr], object_store_access_key: ObjectStoreAccessKey, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH object-store-access-keys

Enable or disable object store access keys.

Parameters
  • names (List[str]) – A comma-separated list of resource names. (required)

  • object_store_access_key (ObjectStoreAccessKey) – (required)

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_object_store_access_policies(references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, enforce_action_restrictions: Optional[StrictBool] = None, ids: Optional[ConstrainedListValue[StrictStr]] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, policy: Optional[ObjectStoreAccessPolicyPatch] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH object-store-access-policies

Modify the rules of an object store access policy.

Parameters
  • references (ReferenceType or List[ReferenceType], optional) – A list of references to query for. Overrides ids and names keyword arguments.

  • contexts (ReferenceType or List[ReferenceType], optional) – A list of contexts to query for. Overrides context_names keyword argument.

  • x_request_id (str) – Supplied by client during request or generated by server.

  • context_names (List[str]) – Performs the operation on the context specified. If specified, the context names must be an array of size 1, and the single element must be the name of an array in the same fleet. If not specified, the context will default to the array that received this request. Other parameters provided with the request, such as names of volumes or snapshots, are resolved relative to the provided context.

  • enforce_action_restrictions (bool) – Certain combinations of actions and other rule elements are inherently ignored if specified together in a rule. If set to true, operations which attempt to set these combinations will fail. If set to false, such operations will instead be allowed. Defaults to true.

  • ids (List[str]) – A comma-separated list of resource IDs. If after filtering, there is not at least one resource that matches each of the elements of ids, then an error is returned. This cannot be provided together with the name or names query parameters.

  • names (List[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each of the elements of names, then an error is returned.

  • policy (ObjectStoreAccessPolicyPatch) –

  • async_req (bool, optional) – Whether to execute the request asynchronously.

  • async_req – Whether to execute the request asynchronously.

  • _preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.

  • _return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc

  • _request_timeout (int or (float, float), optional) – timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of (connection, read) timeouts.

Returns

ValidResponse: If the call was successful. ErrorResponse: If the call was not successful.

Return type

Union[ValidResponse, ErrorResponse]

Raises

PureError: If calling the API fails.

Raises

ValueError: If a parameter is of an invalid type.

Raises

TypeError: If invalid or missing parameters are used.

patch_object_store_access_policies_rules(rule: PolicyRuleObjectAccessPost, policies: Optional[Union[ReferenceType, List[ReferenceType]]] = None, references: Optional[Union[ReferenceType, List[ReferenceType]]] = None, contexts: Optional[Union[ReferenceType, List[ReferenceType]]] = None, x_request_id: Optional[StrictStr] = None, context_names: Optional[ConstrainedListValue[StrictStr]] = None, enforce_action_restrictions: Optional[StrictBool] = None, names: Optional[ConstrainedListValue[StrictStr]] = None, policy_ids: Optional[ConstrainedListValue[StrictStr]] = None, policy_names: Optional[ConstrainedListValue[StrictStr]] = None, async_req: Optional[bool] = None, _preload_content: bool = True, _return_http_data_only: Optional[bool] = None, _request_timeout: Optional[Union[float, Tuple[float, float]]] = None) Union[ValidResponse, ErrorResponse]

PATCH object-store-access-policies-rules

Modify an access policy rule’s attributes.

Parameters
  • rule (