pypureclient.pure1.Pure1_1_1.api package
Submodules
pypureclient.pure1.Pure1_1_1.api.alerts_api module
Pure1 Public REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 1.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
- class pypureclient.pure1.Pure1_1_1.api.alerts_api.AlertsApi(api_client)
Bases:
object
- api11_alerts_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, ids: Optional[List[str]] = None, limit: Optional[int] = None, names: Optional[List[str]] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) AlertsGetResponse
Get alerts
Retrieves information about alerts generated by Pure1-monitored appliances. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_alerts_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
ids (list[str]) – A comma-separated list of resource IDs. If there is not at least one resource that matches each id element, an error is returned. Single quotes are required around all strings.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
names (list[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each name element, an error is returned. Single quotes are required around all strings.
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). If you provide a sort you will not get a continuation token in the response.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
AlertsGetResponse If the method is called asynchronously, returns the request thread.
pypureclient.pure1.Pure1_1_1.api.arrays_api module
Pure1 Public REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 1.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
- class pypureclient.pure1.Pure1_1_1.api.arrays_api.ArraysApi(api_client)
Bases:
object
- api11_arrays_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, fqdns: Optional[List[str]] = None, ids: Optional[List[str]] = None, limit: Optional[int] = None, names: Optional[List[str]] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) ArrayGetResponse
Get arrays
Retrieves information about FlashArray and FlashBlade storage appliances. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_arrays_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
fqdns (list[str]) – A comma-separated list of resource FQDNs. If there is not at least one resource that matches each fqdn element, an error is returned. Single quotes are required around all strings.
ids (list[str]) – A comma-separated list of resource IDs. If there is not at least one resource that matches each id element, an error is returned. Single quotes are required around all strings.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
names (list[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each name element, an error is returned. Single quotes are required around all strings.
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). If you provide a sort you will not get a continuation token in the response.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
ArrayGetResponse If the method is called asynchronously, returns the request thread.
- api11_arrays_support_contracts_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, limit: Optional[int] = None, offset: Optional[int] = None, resource_ids: Optional[List[str]] = None, resource_fqdns: Optional[List[str]] = None, resource_names: Optional[List[str]] = None, sort: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) SupportContractGetResponse
Get array support contracts
Retrieves the support contracts associated with arrays. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_arrays_support_contracts_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
offset (int) – The offset of the first resource to return from a collection.
resource_ids (list[str]) – A comma-separated list of resource IDs. If there is not at least one resource that matches each resource_id element, an error is returned. Single quotes are required around all strings.
resource_fqdns (list[str]) – A comma-separated list of resource FQDNs. If there is not at least one resource that matches each resource_fqdn element, an error is returned. Single quotes are required around all strings.
resource_names (list[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each resource_name element, an error is returned. Single quotes are required around all strings.
sort (list[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). If you provide a sort you will not get a continuation token in the response.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
SupportContractGetResponse If the method is called asynchronously, returns the request thread.
- api11_arrays_tags_batch_put_with_http_info(tag: Optional[List[TagPut]] = None, authorization: Optional[str] = None, x_request_id: Optional[str] = None, namespaces: Optional[List[str]] = None, resource_ids: Optional[List[str]] = None, resource_names: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) TagResponse
Create or update array tags
Creates or updates array tags contextual to Pure1 only. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_arrays_tags_batch_put_with_http_info(tag, async_req=True) >>> result = thread.get()
- Parameters
tag (list[TagPut]) – A list of tags to be upserted. (required)
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
namespaces (list[str]) – A comma-separated list of namespaces. Single quotes are required around all strings.
resource_ids (list[str]) – REQUIRED: either resource_ids or resource_names. A comma-separated list of resource IDs. If there is not at least one resource that matches each resource_id element, an error is returned. Single quotes are required around all strings.
resource_names (list[str]) – REQUIRED: either resource_ids or resource_names. A comma-separated list of resource names. If there is not at least one resource that matches each resource_name element, an error is returned. Single quotes are required around all strings.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
TagResponse If the method is called asynchronously, returns the request thread.
- api11_arrays_tags_delete_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, keys: Optional[List[str]] = None, namespaces: Optional[List[str]] = None, resource_ids: Optional[List[str]] = None, resource_names: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) None
Delete array tags
Deletes array tags from Pure1. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_arrays_tags_delete_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
keys (list[str]) – A comma-separated list of tag keys. Single quotes are required around all strings.
namespaces (list[str]) – A comma-separated list of namespaces. Single quotes are required around all strings.
resource_ids (list[str]) – REQUIRED: either resource_ids or resource_names. A comma-separated list of resource IDs. If there is not at least one resource that matches each resource_id element, an error is returned. Single quotes are required around all strings.
resource_names (list[str]) – REQUIRED: either resource_ids or resource_names. A comma-separated list of resource names. If there is not at least one resource that matches each resource_name element, an error is returned. Single quotes are required around all strings.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
None If the method is called asynchronously, returns the request thread.
- api11_arrays_tags_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, keys: Optional[List[str]] = None, limit: Optional[int] = None, namespaces: Optional[List[str]] = None, offset: Optional[int] = None, resource_ids: Optional[List[str]] = None, resource_names: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) TagGetResponse
Get array tags
Retrieves the tags associated with specified arrays. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_arrays_tags_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
keys (list[str]) – A comma-separated list of tag keys. Single quotes are required around all strings.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
namespaces (list[str]) – A comma-separated list of namespaces. Single quotes are required around all strings.
offset (int) – The offset of the first resource to return from a collection.
resource_ids (list[str]) – A comma-separated list of resource IDs. If there is not at least one resource that matches each resource_id element, an error is returned. Single quotes are required around all strings.
resource_names (list[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each resource_name element, an error is returned. Single quotes are required around all strings.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
TagGetResponse If the method is called asynchronously, returns the request thread.
pypureclient.pure1.Pure1_1_1.api.audits_api module
Pure1 Public REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 1.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
- class pypureclient.pure1.Pure1_1_1.api.audits_api.AuditsApi(api_client)
Bases:
object
- api11_audits_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, ids: Optional[List[str]] = None, limit: Optional[int] = None, names: Optional[List[str]] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) AuditsGetResponse
Get audits
Retrieves audit objects. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_audits_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
ids (list[str]) – A comma-separated list of resource IDs. If there is not at least one resource that matches each id element, an error is returned. Single quotes are required around all strings.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
names (list[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each name element, an error is returned. Single quotes are required around all strings.
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). If you provide a sort you will not get a continuation token in the response.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
AuditsGetResponse If the method is called asynchronously, returns the request thread.
pypureclient.pure1.Pure1_1_1.api.blades_api module
Pure1 Public REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 1.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
- class pypureclient.pure1.Pure1_1_1.api.blades_api.BladesApi(api_client)
Bases:
object
- api11_blades_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, ids: Optional[List[str]] = None, limit: Optional[int] = None, names: Optional[List[str]] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) BladeGetResponse
Get blades
Retrieves information about FlashBlade blades. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_blades_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
ids (list[str]) – A comma-separated list of resource IDs. If there is not at least one resource that matches each id element, an error is returned. Single quotes are required around all strings.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
names (list[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each name element, an error is returned. Single quotes are required around all strings.
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). If you provide a sort you will not get a continuation token in the response.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
BladeGetResponse If the method is called asynchronously, returns the request thread.
pypureclient.pure1.Pure1_1_1.api.bucket_replica_links_api module
Pure1 Public REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 1.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
- class pypureclient.pure1.Pure1_1_1.api.bucket_replica_links_api.BucketReplicaLinksApi(api_client)
Bases:
object
- api11_bucket_replica_links_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, ids: Optional[List[str]] = None, limit: Optional[int] = None, member_ids: Optional[List[str]] = None, member_names: Optional[List[str]] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, source_ids: Optional[List[str]] = None, source_names: Optional[List[str]] = None, target_ids: Optional[List[str]] = None, target_names: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) BucketReplicaLinkGetResponse
Get bucket replica links
Retrieves information about bucket replica links. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_bucket_replica_links_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
ids (list[str]) – A comma-separated list of resource IDs. If there is not at least one resource that matches each id element, an error is returned. Single quotes are required around all strings.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
member_ids (list[str]) – A list of member IDs. Member IDs separated by a + indicate that both members must be present in each element. Member IDs separated by a , indicate that at least one member must be present in each element. If there is not at least one resource that matches each member_id element, an error is returned. Single quotes are required around all strings. When using Try it Out in Swagger, a list of member IDs separated by a + must be entered in the same item cell.
member_names (list[str]) – A list of member names. Member names separated by a + indicate that both members must be present in each element. Member names separated by a , indicate that at least one member must be present in each element. If there is not at least one resource that matches each member_name element, an error is returned. Single quotes are required around all strings. When using Try it Out in Swagger, a list of member names separated by a + must be entered in the same item cell.
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). If you provide a sort you will not get a continuation token in the response.
source_ids (list[str]) – A list of source IDs. Source IDs separated by a + indicate that both sources must be present in each element. Source IDs separated by a , indicate that at least one source must be present in each element. If there is not at least one resource that matches each source_id element, an error is returned. Single quotes are required around all strings. When using Try it Out in Swagger, a list of source IDs separated by a + must be entered in the same item cell.
source_names (list[str]) – A list of source names. Source names separated by a + indicate that both sources must be present in each element. Source names separated by a , indicate that at least one source must be present in each element. If there is not at least one resource that matches each source_name element, an error is returned. Single quotes are required around all strings. When using Try it Out in Swagger, a list of source names separated by a + must be entered in the same item cell.
target_ids (list[str]) – A list of target IDs. Target IDs separated by a + indicate that both targets must be present in each element. Target IDs separated by a , indicate that at least one target must be present in each element. If there is not at least one resource that matches each target_id element, an error is returned. Single quotes are required around all strings. When using Try it Out in Swagger, a list of target IDs separated by a + must be entered in the same item cell.
target_names (list[str]) – A list of target names. Target names separated by a + indicate that both targets must be present in each element. Target names separated by a , indicate that at least one target must be present in each element. If there is not at least one resource that matches each target_name element, an error is returned. Single quotes are required around all strings. When using Try it Out in Swagger, a list of target names separated by a + must be entered in the same item cell.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
BucketReplicaLinkGetResponse If the method is called asynchronously, returns the request thread.
pypureclient.pure1.Pure1_1_1.api.buckets_api module
Pure1 Public REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 1.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
- class pypureclient.pure1.Pure1_1_1.api.buckets_api.BucketsApi(api_client)
Bases:
object
- api11_buckets_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, ids: Optional[List[str]] = None, limit: Optional[int] = None, names: Optional[List[str]] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) BucketGetResponse
Get buckets
Retrieves buckets. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_buckets_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
ids (list[str]) – A comma-separated list of resource IDs. If there is not at least one resource that matches each id element, an error is returned. Single quotes are required around all strings.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
names (list[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each name element, an error is returned. Single quotes are required around all strings.
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). If you provide a sort you will not get a continuation token in the response.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
BucketGetResponse If the method is called asynchronously, returns the request thread.
pypureclient.pure1.Pure1_1_1.api.controllers_api module
Pure1 Public REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 1.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
- class pypureclient.pure1.Pure1_1_1.api.controllers_api.ControllersApi(api_client)
Bases:
object
- api11_controllers_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, ids: Optional[List[str]] = None, limit: Optional[int] = None, names: Optional[List[str]] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) ControllerGetResponse
Get controllers
Retrieves information about controllers. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_controllers_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
ids (list[str]) – A comma-separated list of resource IDs. If there is not at least one resource that matches each id element, an error is returned. Single quotes are required around all strings.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
names (list[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each name element, an error is returned. Single quotes are required around all strings.
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). If you provide a sort you will not get a continuation token in the response.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
ControllerGetResponse If the method is called asynchronously, returns the request thread.
pypureclient.pure1.Pure1_1_1.api.directories_api module
Pure1 Public REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 1.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
- class pypureclient.pure1.Pure1_1_1.api.directories_api.DirectoriesApi(api_client)
Bases:
object
- api11_directories_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, file_system_ids: Optional[List[str]] = None, file_system_names: Optional[List[str]] = None, filter: Optional[str] = None, ids: Optional[List[str]] = None, limit: Optional[int] = None, names: Optional[List[str]] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) DirectoryGetResponse
Get managed directories
Retrieves information about FlashArray managed directory objects. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_directories_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
file_system_ids (list[str]) – Performs the operation on the file system ID specified. Enter multiple file system IDs in comma-separated format. The file_system_ids and file_system_names parameters cannot be provided together. Single quotes are required around all strings.
file_system_names (list[str]) – Performs the operation on the file system name specified. Enter multiple file system names in comma-separated format. For example, filesystem1,filesystem2. The file_system_ids and file_system_names parameters cannot be provided together. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
ids (list[str]) – A comma-separated list of resource IDs. If there is not at least one resource that matches each id element, an error is returned. Single quotes are required around all strings.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
names (list[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each name element, an error is returned. Single quotes are required around all strings.
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). If you provide a sort you will not get a continuation token in the response.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
DirectoryGetResponse If the method is called asynchronously, returns the request thread.
pypureclient.pure1.Pure1_1_1.api.drives_api module
Pure1 Public REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 1.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
- class pypureclient.pure1.Pure1_1_1.api.drives_api.DrivesApi(api_client)
Bases:
object
- api11_drives_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, ids: Optional[List[str]] = None, limit: Optional[int] = None, names: Optional[List[str]] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) DriveGetResponse
Get drives
Retrieves information about FlashArray drives. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_drives_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
ids (list[str]) – A comma-separated list of resource IDs. If there is not at least one resource that matches each id element, an error is returned. Single quotes are required around all strings.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
names (list[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each name element, an error is returned. Single quotes are required around all strings.
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). If you provide a sort you will not get a continuation token in the response.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
DriveGetResponse If the method is called asynchronously, returns the request thread.
pypureclient.pure1.Pure1_1_1.api.file_system_replica_links_api module
Pure1 Public REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 1.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
- class pypureclient.pure1.Pure1_1_1.api.file_system_replica_links_api.FileSystemReplicaLinksApi(api_client)
Bases:
object
- api11_file_system_replica_links_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, ids: Optional[List[str]] = None, limit: Optional[int] = None, member_ids: Optional[List[str]] = None, member_names: Optional[List[str]] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, source_ids: Optional[List[str]] = None, source_names: Optional[List[str]] = None, target_ids: Optional[List[str]] = None, target_names: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) FileSystemReplicaLinkGetResponse
Get FlashBlade file system replica links
Retrieves information about FlashBlade file system replica links. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_file_system_replica_links_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
ids (list[str]) – A comma-separated list of resource IDs. If there is not at least one resource that matches each id element, an error is returned. Single quotes are required around all strings.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
member_ids (list[str]) – A list of member IDs. Member IDs separated by a + indicate that both members must be present in each element. Member IDs separated by a , indicate that at least one member must be present in each element. If there is not at least one resource that matches each member_id element, an error is returned. Single quotes are required around all strings. When using Try it Out in Swagger, a list of member IDs separated by a + must be entered in the same item cell.
member_names (list[str]) – A list of member names. Member names separated by a + indicate that both members must be present in each element. Member names separated by a , indicate that at least one member must be present in each element. If there is not at least one resource that matches each member_name element, an error is returned. Single quotes are required around all strings. When using Try it Out in Swagger, a list of member names separated by a + must be entered in the same item cell.
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). If you provide a sort you will not get a continuation token in the response.
source_ids (list[str]) – A list of source IDs. Source IDs separated by a + indicate that both sources must be present in each element. Source IDs separated by a , indicate that at least one source must be present in each element. If there is not at least one resource that matches each source_id element, an error is returned. Single quotes are required around all strings. When using Try it Out in Swagger, a list of source IDs separated by a + must be entered in the same item cell.
source_names (list[str]) – A list of source names. Source names separated by a + indicate that both sources must be present in each element. Source names separated by a , indicate that at least one source must be present in each element. If there is not at least one resource that matches each source_name element, an error is returned. Single quotes are required around all strings. When using Try it Out in Swagger, a list of source names separated by a + must be entered in the same item cell.
target_ids (list[str]) – A list of target IDs. Target IDs separated by a + indicate that both targets must be present in each element. Target IDs separated by a , indicate that at least one target must be present in each element. If there is not at least one resource that matches each target_id element, an error is returned. Single quotes are required around all strings. When using Try it Out in Swagger, a list of target IDs separated by a + must be entered in the same item cell.
target_names (list[str]) – A list of target names. Target names separated by a + indicate that both targets must be present in each element. Target names separated by a , indicate that at least one target must be present in each element. If there is not at least one resource that matches each target_name element, an error is returned. Single quotes are required around all strings. When using Try it Out in Swagger, a list of target names separated by a + must be entered in the same item cell.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
FileSystemReplicaLinkGetResponse If the method is called asynchronously, returns the request thread.
- api11_file_system_replica_links_policies_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, limit: Optional[int] = None, member_ids: Optional[List[str]] = None, member_names: Optional[List[str]] = None, policy_ids: Optional[List[str]] = None, policy_names: Optional[List[str]] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) PolicyMembersGetResponse
Get FlashBlade file system replica link / policy pairs
Retrieves pairs of FlashBlade file system replica link members and their policies. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_file_system_replica_links_policies_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
member_ids (list[str]) – A comma-separated list of member IDs. If there is not at least one resource that matches each member_id element, an error is returned. Single quotes are required around all strings.
member_names (list[str]) – A comma-separated list of member names. If there is not at least one resource that matches each member_name element, an error is returned. Single quotes are required around all strings.
policy_ids (list[str]) – A comma-separated list of policy IDs. If there is not at least one resource that matches each policy_id element, an error is returned. Single quotes are required around all strings.
policy_names (list[str]) – A comma-separated list of policy names. If there is not at least one resource that matches each policy_name element, an error is returned. Single quotes are required around all strings.
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). If you provide a sort you will not get a continuation token in the response.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
PolicyMembersGetResponse If the method is called asynchronously, returns the request thread.
pypureclient.pure1.Pure1_1_1.api.file_system_snapshots_api module
Pure1 Public REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 1.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
- class pypureclient.pure1.Pure1_1_1.api.file_system_snapshots_api.FileSystemSnapshotsApi(api_client)
Bases:
object
- api11_file_system_snapshots_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, ids: Optional[List[str]] = None, limit: Optional[int] = None, names: Optional[List[str]] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, source_ids: Optional[List[str]] = None, source_names: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) FileSystemSnapshotGetResponse
Get FlashBlade file system snapshots
Retrieves snapshots of FlashBlade file systems. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_file_system_snapshots_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
ids (list[str]) – A comma-separated list of resource IDs. If there is not at least one resource that matches each id element, an error is returned. Single quotes are required around all strings.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
names (list[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each name element, an error is returned. Single quotes are required around all strings.
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). If you provide a sort you will not get a continuation token in the response.
source_ids (list[str]) – A comma-separated list of ids for the source of the object. If there is not at least one resource that matches each source_id element, an error is returned. Single quotes are required around all strings.
source_names (list[str]) – A comma-separated list of names for the source of the object. If there is not at least one resource that matches each source_name element, an error is returned. Single quotes are required around all strings.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
FileSystemSnapshotGetResponse If the method is called asynchronously, returns the request thread.
- api11_file_system_snapshots_policies_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, limit: Optional[int] = None, member_ids: Optional[List[str]] = None, member_names: Optional[List[str]] = None, policy_ids: Optional[List[str]] = None, policy_names: Optional[List[str]] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) PolicyMembersGetResponse
Get FlashBlade file system snapshot / policy pairs
Retrieves pairs of FlashBlade file system snapshot members and their policies. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_file_system_snapshots_policies_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
member_ids (list[str]) – A comma-separated list of member IDs. If there is not at least one resource that matches each member_id element, an error is returned. Single quotes are required around all strings.
member_names (list[str]) – A comma-separated list of member names. If there is not at least one resource that matches each member_name element, an error is returned. Single quotes are required around all strings.
policy_ids (list[str]) – A comma-separated list of policy IDs. If there is not at least one resource that matches each policy_id element, an error is returned. Single quotes are required around all strings.
policy_names (list[str]) – A comma-separated list of policy names. If there is not at least one resource that matches each policy_name element, an error is returned. Single quotes are required around all strings.
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). If you provide a sort you will not get a continuation token in the response.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
PolicyMembersGetResponse If the method is called asynchronously, returns the request thread.
pypureclient.pure1.Pure1_1_1.api.file_systems_api module
Pure1 Public REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 1.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
- class pypureclient.pure1.Pure1_1_1.api.file_systems_api.FileSystemsApi(api_client)
Bases:
object
- api11_file_systems_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, ids: Optional[List[str]] = None, limit: Optional[int] = None, names: Optional[List[str]] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) FileSystemGetResponse
Get FlashArray and FlashBlade file systems
Retrieves information about FlashArray and FlashBlade file system objects. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_file_systems_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
ids (list[str]) – A comma-separated list of resource IDs. If there is not at least one resource that matches each id element, an error is returned. Single quotes are required around all strings.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
names (list[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each name element, an error is returned. Single quotes are required around all strings.
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). If you provide a sort you will not get a continuation token in the response.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
FileSystemGetResponse If the method is called asynchronously, returns the request thread.
- api11_file_systems_policies_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, limit: Optional[int] = None, member_ids: Optional[List[str]] = None, member_names: Optional[List[str]] = None, policy_ids: Optional[List[str]] = None, policy_names: Optional[List[str]] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) PolicyMembersGetResponse
Get FlashBlade file system / policy pairs
Retrieves pairs of FlashBlade file system members and their policies. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_file_systems_policies_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
member_ids (list[str]) – A comma-separated list of member IDs. If there is not at least one resource that matches each member_id element, an error is returned. Single quotes are required around all strings.
member_names (list[str]) – A comma-separated list of member names. If there is not at least one resource that matches each member_name element, an error is returned. Single quotes are required around all strings.
policy_ids (list[str]) – A comma-separated list of policy IDs. If there is not at least one resource that matches each policy_id element, an error is returned. Single quotes are required around all strings.
policy_names (list[str]) – A comma-separated list of policy names. If there is not at least one resource that matches each policy_name element, an error is returned. Single quotes are required around all strings.
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). If you provide a sort you will not get a continuation token in the response.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
PolicyMembersGetResponse If the method is called asynchronously, returns the request thread.
pypureclient.pure1.Pure1_1_1.api.hardware_api module
Pure1 Public REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 1.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
- class pypureclient.pure1.Pure1_1_1.api.hardware_api.HardwareApi(api_client)
Bases:
object
- api11_hardware_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, ids: Optional[List[str]] = None, limit: Optional[int] = None, names: Optional[List[str]] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) HardwareGetResponse
Get hardware
Retrieves information about hardware components. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_hardware_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
ids (list[str]) – A comma-separated list of resource IDs. If there is not at least one resource that matches each id element, an error is returned. Single quotes are required around all strings.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
names (list[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each name element, an error is returned. Single quotes are required around all strings.
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). If you provide a sort you will not get a continuation token in the response.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
HardwareGetResponse If the method is called asynchronously, returns the request thread.
pypureclient.pure1.Pure1_1_1.api.hardware_connectors_api module
Pure1 Public REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 1.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
- class pypureclient.pure1.Pure1_1_1.api.hardware_connectors_api.HardwareConnectorsApi(api_client)
Bases:
object
- api11_hardware_connectors_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, ids: Optional[List[str]] = None, limit: Optional[int] = None, names: Optional[List[str]] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) HardwareConnectorGetResponse
Get hardware connectors
Retrieves information about FlashBlade hardware connectors. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_hardware_connectors_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
ids (list[str]) – A comma-separated list of resource IDs. If there is not at least one resource that matches each id element, an error is returned. Single quotes are required around all strings.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
names (list[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each name element, an error is returned. Single quotes are required around all strings.
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). If you provide a sort you will not get a continuation token in the response.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
HardwareConnectorGetResponse If the method is called asynchronously, returns the request thread.
pypureclient.pure1.Pure1_1_1.api.invoices_api module
Pure1 Public REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 1.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
- class pypureclient.pure1.Pure1_1_1.api.invoices_api.InvoicesApi(api_client)
Bases:
object
- api11_invoices_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, ids: Optional[List[str]] = None, limit: Optional[int] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, partner_purchase_orders: Optional[List[str]] = None, subscription_ids: Optional[List[str]] = None, subscription_names: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) InvoiceGetResponse
Get invoices
Retrieves information about Pure1 subscription invoices. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_invoices_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
ids (list[str]) – A comma-separated list of resource IDs. If there is not at least one resource that matches each id element, an error is returned. Single quotes are required around all strings.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
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). If you provide a sort you will not get a continuation token in the response.
partner_purchase_orders (list[str]) – A comma-separated list of partner purchase order numbers. If there is not at least one resource that matches each partner_purchase_order element, an error is returned. Single quotes are required around all strings.
subscription_ids (list[str]) – A comma-separated list of subscription IDs. If there is not at least one resource that matches each subscription.id element, an error is returned. Single quotes are required around all strings.
subscription_names (list[str]) – A comma-separated list of subscription names. If there is not at least one resource that matches each subscription.name element, an error is returned. Single quotes are required around all strings.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
InvoiceGetResponse If the method is called asynchronously, returns the request thread.
pypureclient.pure1.Pure1_1_1.api.metrics_api module
Pure1 Public REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 1.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
- class pypureclient.pure1.Pure1_1_1.api.metrics_api.MetricsApi(api_client)
Bases:
object
- api11_metrics_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, ids: Optional[List[str]] = None, limit: Optional[int] = None, names: Optional[List[str]] = None, offset: Optional[int] = None, resource_types: Optional[List[str]] = None, sort: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) MetricGetResponse
Get metrics
Retrieves information about metrics that can be queried for. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_metrics_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
ids (list[str]) – A comma-separated list of resource IDs. If there is not at least one resource that matches each id element, an error is returned. Single quotes are required around all strings.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
names (list[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each name element, an error is returned. Single quotes are required around all strings.
offset (int) – The offset of the first resource to return from a collection.
resource_types (list[str]) – The resource types to list the available metrics. Valid values are arrays, volumes, and pods. A metric can belong to a combination of resources, e.g., write-iops from array to pod. In that case, query by [‘arrays’, ‘pods’]. Single quotes are required around all strings.
sort (list[str]) – Sort the response by the specified fields (in descending order if ‘-’ is appended to the field name). If you provide a sort you will not get a continuation token in the response.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
MetricGetResponse If the method is called asynchronously, returns the request thread.
- api11_metrics_history_get_with_http_info(aggregation: Optional[str] = None, end_time: Optional[int] = None, resolution: Optional[int] = None, start_time: Optional[int] = None, authorization: Optional[str] = None, x_request_id: Optional[str] = None, ids: Optional[List[str]] = None, names: Optional[List[str]] = None, resource_ids: Optional[List[str]] = None, resource_names: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) MetricHistoryGetResponse
Get metrics history
Retrieves historical metric data for resources. This endpoint supports batching: Up to 32 time series can be retrieved in one call. It can be multiple metrics for one resource, (e.g., load and bandwidth for one array - 2 time series), one metric for multiple resource (e.g., load for arrayA and arrayB - 2 time series), or a combination of both, multiple metrics for multiple resources, (e.g., load and bandwidth for arrayA and arrayB - 4 time series). This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_metrics_history_get_with_http_info(aggregation, end_time, resolution, start_time, async_req=True) >>> result = thread.get()
- Parameters
aggregation (str) – Aggregation needed on the metric data. Valid values are avg and max. Single quotes are required around all strings. Latency metrics averages are weighted by the IOPS. (required)
end_time (int) – Timestamp of when the time window ends. Measured in milliseconds since the UNIX epoch. (required)
resolution (int) – The duration of time between individual data points, in milliseconds. (required)
start_time (int) – Timestamp of when the time window starts. Measured in milliseconds since the UNIX epoch. (required)
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
ids (list[str]) – REQUIRED: either ids or names. A comma-separated list of object IDs. If there is not at least one resource that matches each id element, an error is returned. Single quotes are required around all strings.
names (list[str]) – REQUIRED: either names or ids. A comma-separated list of resource names. If there is not at least one resource that matches each name element, an error is returned. Single quotes are required around all strings.
resource_ids (list[str]) – REQUIRED: either resource_ids or resource_names. A comma-separated list of resource IDs. If there is not at least one resource that matches each resource_id element, an error is returned. Single quotes are required around all strings.
resource_names (list[str]) – REQUIRED: either resource_ids or resource_names. A comma-separated list of resource names. If there is not at least one resource that matches each resource_name element, an error is returned. Single quotes are required around all strings.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
MetricHistoryGetResponse If the method is called asynchronously, returns the request thread.
pypureclient.pure1.Pure1_1_1.api.network_interfaces_api module
Pure1 Public REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 1.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
- class pypureclient.pure1.Pure1_1_1.api.network_interfaces_api.NetworkInterfacesApi(api_client)
Bases:
object
- api11_network_interfaces_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, ids: Optional[List[str]] = None, limit: Optional[int] = None, names: Optional[List[str]] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) NetworkInterfaceGetResponse
Get network interfaces
Retrieves information about physical and virtual network interface objects. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_network_interfaces_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
ids (list[str]) – A comma-separated list of resource IDs. If there is not at least one resource that matches each id element, an error is returned. Single quotes are required around all strings.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
names (list[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each name element, an error is returned. Single quotes are required around all strings.
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). If you provide a sort you will not get a continuation token in the response.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
NetworkInterfaceGetResponse If the method is called asynchronously, returns the request thread.
pypureclient.pure1.Pure1_1_1.api.object_store_accounts_api module
Pure1 Public REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 1.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
- class pypureclient.pure1.Pure1_1_1.api.object_store_accounts_api.ObjectStoreAccountsApi(api_client)
Bases:
object
- api11_object_store_accounts_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, ids: Optional[List[str]] = None, limit: Optional[int] = None, names: Optional[List[str]] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) ObjectStoreAccountGetResponse
Get object store accounts
Retrieves object store accounts. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_object_store_accounts_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
ids (list[str]) – A comma-separated list of resource IDs. If there is not at least one resource that matches each id element, an error is returned. Single quotes are required around all strings.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
names (list[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each name element, an error is returned. Single quotes are required around all strings.
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). If you provide a sort you will not get a continuation token in the response.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
ObjectStoreAccountGetResponse If the method is called asynchronously, returns the request thread.
pypureclient.pure1.Pure1_1_1.api.pod_replica_links_api module
Pure1 Public REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 1.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
- class pypureclient.pure1.Pure1_1_1.api.pod_replica_links_api.PodReplicaLinksApi(api_client)
Bases:
object
- api11_pod_replica_links_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, ids: Optional[List[str]] = None, limit: Optional[int] = None, member_ids: Optional[List[str]] = None, member_names: Optional[List[str]] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, source_ids: Optional[List[str]] = None, source_names: Optional[List[str]] = None, target_ids: Optional[List[str]] = None, target_names: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) PodReplicaLinkGetResponse
Get pod replica links
Retrieves information about pod replica links. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_pod_replica_links_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
ids (list[str]) – A comma-separated list of resource IDs. If there is not at least one resource that matches each id element, an error is returned. Single quotes are required around all strings.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
member_ids (list[str]) – A list of member IDs. Member IDs separated by a + indicate that both members must be present in each element. Member IDs separated by a , indicate that at least one member must be present in each element. If there is not at least one resource that matches each member_id element, an error is returned. Single quotes are required around all strings. When using Try it Out in Swagger, a list of member IDs separated by a + must be entered in the same item cell.
member_names (list[str]) – A list of member names. Member names separated by a + indicate that both members must be present in each element. Member names separated by a , indicate that at least one member must be present in each element. If there is not at least one resource that matches each member_name element, an error is returned. Single quotes are required around all strings. When using Try it Out in Swagger, a list of member names separated by a + must be entered in the same item cell.
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). If you provide a sort you will not get a continuation token in the response.
source_ids (list[str]) – A list of source IDs. Source IDs separated by a + indicate that both sources must be present in each element. Source IDs separated by a , indicate that at least one source must be present in each element. If there is not at least one resource that matches each source_id element, an error is returned. Single quotes are required around all strings. When using Try it Out in Swagger, a list of source IDs separated by a + must be entered in the same item cell.
source_names (list[str]) – A list of source names. Source names separated by a + indicate that both sources must be present in each element. Source names separated by a , indicate that at least one source must be present in each element. If there is not at least one resource that matches each source_name element, an error is returned. Single quotes are required around all strings. When using Try it Out in Swagger, a list of source names separated by a + must be entered in the same item cell.
target_ids (list[str]) – A list of target IDs. Target IDs separated by a + indicate that both targets must be present in each element. Target IDs separated by a , indicate that at least one target must be present in each element. If there is not at least one resource that matches each target_id element, an error is returned. Single quotes are required around all strings. When using Try it Out in Swagger, a list of target IDs separated by a + must be entered in the same item cell.
target_names (list[str]) – A list of target names. Target names separated by a + indicate that both targets must be present in each element. Target names separated by a , indicate that at least one target must be present in each element. If there is not at least one resource that matches each target_name element, an error is returned. Single quotes are required around all strings. When using Try it Out in Swagger, a list of target names separated by a + must be entered in the same item cell.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
PodReplicaLinkGetResponse If the method is called asynchronously, returns the request thread.
pypureclient.pure1.Pure1_1_1.api.pods_api module
Pure1 Public REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 1.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
- class pypureclient.pure1.Pure1_1_1.api.pods_api.PodsApi(api_client)
Bases:
object
- api11_pods_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, ids: Optional[List[str]] = None, limit: Optional[int] = None, names: Optional[List[str]] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) PodGetResponse
Get pods
Retrieves information about pod objects. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_pods_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
ids (list[str]) – A comma-separated list of resource IDs. If there is not at least one resource that matches each id element, an error is returned. Single quotes are required around all strings.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
names (list[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each name element, an error is returned. Single quotes are required around all strings.
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). If you provide a sort you will not get a continuation token in the response.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
PodGetResponse If the method is called asynchronously, returns the request thread.
pypureclient.pure1.Pure1_1_1.api.policies_api module
Pure1 Public REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 1.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
- class pypureclient.pure1.Pure1_1_1.api.policies_api.PoliciesApi(api_client)
Bases:
object
- api11_policies_file_system_replica_links_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, limit: Optional[int] = None, member_ids: Optional[List[str]] = None, member_names: Optional[List[str]] = None, policy_ids: Optional[List[str]] = None, policy_names: Optional[List[str]] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) PolicyMembersGetResponse
Get policy / FlashBlade file system replica link pairs
Retrieves pairs of policy references and their FlashBlade file system replica link members. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_policies_file_system_replica_links_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
member_ids (list[str]) – A comma-separated list of member IDs. If there is not at least one resource that matches each member_id element, an error is returned. Single quotes are required around all strings.
member_names (list[str]) – A comma-separated list of member names. If there is not at least one resource that matches each member_name element, an error is returned. Single quotes are required around all strings.
policy_ids (list[str]) – A comma-separated list of policy IDs. If there is not at least one resource that matches each policy_id element, an error is returned. Single quotes are required around all strings.
policy_names (list[str]) – A comma-separated list of policy names. If there is not at least one resource that matches each policy_name element, an error is returned. Single quotes are required around all strings.
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). If you provide a sort you will not get a continuation token in the response.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
PolicyMembersGetResponse If the method is called asynchronously, returns the request thread.
- api11_policies_file_system_snapshots_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, limit: Optional[int] = None, member_ids: Optional[List[str]] = None, member_names: Optional[List[str]] = None, policy_ids: Optional[List[str]] = None, policy_names: Optional[List[str]] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) PolicyMembersGetResponse
Get policy / FlashBlade file system snapshot pairs
Retrieves pairs of policy references and their FlashBlade file system snapshot members. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_policies_file_system_snapshots_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
member_ids (list[str]) – A comma-separated list of member IDs. If there is not at least one resource that matches each member_id element, an error is returned. Single quotes are required around all strings.
member_names (list[str]) – A comma-separated list of member names. If there is not at least one resource that matches each member_name element, an error is returned. Single quotes are required around all strings.
policy_ids (list[str]) – A comma-separated list of policy IDs. If there is not at least one resource that matches each policy_id element, an error is returned. Single quotes are required around all strings.
policy_names (list[str]) – A comma-separated list of policy names. If there is not at least one resource that matches each policy_name element, an error is returned. Single quotes are required around all strings.
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). If you provide a sort you will not get a continuation token in the response.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
PolicyMembersGetResponse If the method is called asynchronously, returns the request thread.
- api11_policies_file_systems_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, limit: Optional[int] = None, member_ids: Optional[List[str]] = None, member_names: Optional[List[str]] = None, policy_ids: Optional[List[str]] = None, policy_names: Optional[List[str]] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) PolicyMembersGetResponse
Get policy / FlashBlade file system pairs
Retrieves pairs of policy references and their FlashBlade file system members. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_policies_file_systems_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
member_ids (list[str]) – A comma-separated list of member IDs. If there is not at least one resource that matches each member_id element, an error is returned. Single quotes are required around all strings.
member_names (list[str]) – A comma-separated list of member names. If there is not at least one resource that matches each member_name element, an error is returned. Single quotes are required around all strings.
policy_ids (list[str]) – A comma-separated list of policy IDs. If there is not at least one resource that matches each policy_id element, an error is returned. Single quotes are required around all strings.
policy_names (list[str]) – A comma-separated list of policy names. If there is not at least one resource that matches each policy_name element, an error is returned. Single quotes are required around all strings.
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). If you provide a sort you will not get a continuation token in the response.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
PolicyMembersGetResponse If the method is called asynchronously, returns the request thread.
- api11_policies_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, ids: Optional[List[str]] = None, limit: Optional[int] = None, names: Optional[List[str]] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) PolicyGetResponse
Get policies
Retrieves policies and their rules. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_policies_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
ids (list[str]) – A comma-separated list of resource IDs. If there is not at least one resource that matches each id element, an error is returned. Single quotes are required around all strings.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
names (list[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each name element, an error is returned. Single quotes are required around all strings.
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). If you provide a sort you will not get a continuation token in the response.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
PolicyGetResponse If the method is called asynchronously, returns the request thread.
- api11_policies_members_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, limit: Optional[int] = None, member_ids: Optional[List[str]] = None, member_names: Optional[List[str]] = None, policy_ids: Optional[List[str]] = None, policy_names: Optional[List[str]] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) PolicyMembersGetResponse
Get policy / member pairs
Retrieves pairs of policy references and their members. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_policies_members_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
member_ids (list[str]) – A comma-separated list of member IDs. If there is not at least one resource that matches each member_id element, an error is returned. Single quotes are required around all strings.
member_names (list[str]) – A comma-separated list of member names. If there is not at least one resource that matches each member_name element, an error is returned. Single quotes are required around all strings.
policy_ids (list[str]) – A comma-separated list of policy IDs. If there is not at least one resource that matches each policy_id element, an error is returned. Single quotes are required around all strings.
policy_names (list[str]) – A comma-separated list of policy names. If there is not at least one resource that matches each policy_name element, an error is returned. Single quotes are required around all strings.
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). If you provide a sort you will not get a continuation token in the response.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
PolicyMembersGetResponse If the method is called asynchronously, returns the request thread.
pypureclient.pure1.Pure1_1_1.api.ports_api module
Pure1 Public REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 1.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
- class pypureclient.pure1.Pure1_1_1.api.ports_api.PortsApi(api_client)
Bases:
object
- api11_ports_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, ids: Optional[List[str]] = None, limit: Optional[int] = None, names: Optional[List[str]] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) PortGetResponse
Get ports
Retrieves information about FlashArray ports. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_ports_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
ids (list[str]) – A comma-separated list of resource IDs. If there is not at least one resource that matches each id element, an error is returned. Single quotes are required around all strings.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
names (list[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each name element, an error is returned. Single quotes are required around all strings.
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). If you provide a sort you will not get a continuation token in the response.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
PortGetResponse If the method is called asynchronously, returns the request thread.
pypureclient.pure1.Pure1_1_1.api.subscriptions_api module
Pure1 Public REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 1.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
- class pypureclient.pure1.Pure1_1_1.api.subscriptions_api.SubscriptionsApi(api_client)
Bases:
object
- api11_subscription_licenses_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, ids: Optional[List[str]] = None, limit: Optional[int] = None, marketplace_partner_reference_ids: Optional[List[str]] = None, names: Optional[List[str]] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, subscription_ids: Optional[List[str]] = None, subscription_names: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) SubscriptionLicenseGetResponse
Get subscription licenses
Retrieves information about Pure1 subscription licenses. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_subscription_licenses_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
ids (list[str]) – A comma-separated list of resource IDs. If there is not at least one resource that matches each id element, an error is returned. Single quotes are required around all strings.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
marketplace_partner_reference_ids (list[str]) – A comma-separated list of marketplace partner reference IDs. If there is not at least one resource that matches each marketplace_partner.reference_id element, an error is returned. Single quotes are required around all strings.
names (list[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each name element, an error is returned. Single quotes are required around all strings.
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). If you provide a sort you will not get a continuation token in the response.
subscription_ids (list[str]) – A comma-separated list of subscription IDs. If there is not at least one resource that matches each subscription.id element, an error is returned. Single quotes are required around all strings.
subscription_names (list[str]) – A comma-separated list of subscription names. If there is not at least one resource that matches each subscription.name element, an error is returned. Single quotes are required around all strings.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
SubscriptionLicenseGetResponse If the method is called asynchronously, returns the request thread.
- api11_subscriptions_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, ids: Optional[List[str]] = None, limit: Optional[int] = None, names: Optional[List[str]] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) SubscriptionGetResponse
Get subscriptions
Retrieves information about Pure1 subscriptions. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_subscriptions_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
ids (list[str]) – A comma-separated list of resource IDs. If there is not at least one resource that matches each id element, an error is returned. Single quotes are required around all strings.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
names (list[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each name element, an error is returned. Single quotes are required around all strings.
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). If you provide a sort you will not get a continuation token in the response.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
SubscriptionGetResponse If the method is called asynchronously, returns the request thread.
pypureclient.pure1.Pure1_1_1.api.sustainability_api module
Pure1 Public REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 1.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
- class pypureclient.pure1.Pure1_1_1.api.sustainability_api.SustainabilityApi(api_client)
Bases:
object
- api11_assessment_sustainability_arrays_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, fqdns: Optional[List[str]] = None, ids: Optional[List[str]] = None, limit: Optional[int] = None, names: Optional[List[str]] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) SustainabilityArrayGetResponse
Get appliance sustainability information.
Retrieves information about FlashArray and FlashBlade size, power consumption, heat generation and its sustainability assessment. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_assessment_sustainability_arrays_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
fqdns (list[str]) – A comma-separated list of resource FQDNs. If there is not at least one resource that matches each fqdn element, an error is returned. Single quotes are required around all strings.
ids (list[str]) – A comma-separated list of resource IDs. If there is not at least one resource that matches each id element, an error is returned. Single quotes are required around all strings.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
names (list[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each name element, an error is returned. Single quotes are required around all strings.
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). If you provide a sort you will not get a continuation token in the response.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
SustainabilityArrayGetResponse If the method is called asynchronously, returns the request thread.
- api11_assessment_sustainability_insights_arrays_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, limit: Optional[int] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) SustainabilityInsightArrayGetResponse
Get appliance sustainability insights information.
Retrieves information about FlashArray and FlashBlade insights connected to sustainability assessment. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_assessment_sustainability_insights_arrays_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
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). If you provide a sort you will not get a continuation token in the response.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
SustainabilityInsightArrayGetResponse If the method is called asynchronously, returns the request thread.
pypureclient.pure1.Pure1_1_1.api.targets_api module
Pure1 Public REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 1.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
- class pypureclient.pure1.Pure1_1_1.api.targets_api.TargetsApi(api_client)
Bases:
object
- api11_targets_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, ids: Optional[List[str]] = None, limit: Optional[int] = None, names: Optional[List[str]] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) TargetGetResponse
Get targets
Retrieves information about targets. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_targets_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
ids (list[str]) – A comma-separated list of resource IDs. If there is not at least one resource that matches each id element, an error is returned. Single quotes are required around all strings.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
names (list[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each name element, an error is returned. Single quotes are required around all strings.
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). If you provide a sort you will not get a continuation token in the response.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
TargetGetResponse If the method is called asynchronously, returns the request thread.
pypureclient.pure1.Pure1_1_1.api.volume_snapshots_api module
Pure1 Public REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 1.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
- class pypureclient.pure1.Pure1_1_1.api.volume_snapshots_api.VolumeSnapshotsApi(api_client)
Bases:
object
- api11_volume_snapshots_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, ids: Optional[List[str]] = None, limit: Optional[int] = None, names: Optional[List[str]] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, source_ids: Optional[List[str]] = None, source_names: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) VolumeSnapshotGetResponse
Get volume snapshots
Retrieves information about snapshots of volumes. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_volume_snapshots_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
ids (list[str]) – A comma-separated list of resource IDs. If there is not at least one resource that matches each id element, an error is returned. Single quotes are required around all strings.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
names (list[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each name element, an error is returned. Single quotes are required around all strings.
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). If you provide a sort you will not get a continuation token in the response.
source_ids (list[str]) – A comma-separated list of ids for the source of the object. If there is not at least one resource that matches each source_id element, an error is returned. Single quotes are required around all strings.
source_names (list[str]) – A comma-separated list of names for the source of the object. If there is not at least one resource that matches each source_name element, an error is returned. Single quotes are required around all strings.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
VolumeSnapshotGetResponse If the method is called asynchronously, returns the request thread.
pypureclient.pure1.Pure1_1_1.api.volumes_api module
Pure1 Public REST API
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
OpenAPI spec version: 1.1
Generated by: https://github.com/swagger-api/swagger-codegen.git
- class pypureclient.pure1.Pure1_1_1.api.volumes_api.VolumesApi(api_client)
Bases:
object
- api11_volumes_get_with_http_info(authorization: Optional[str] = None, x_request_id: Optional[str] = None, continuation_token: Optional[str] = None, filter: Optional[str] = None, ids: Optional[List[str]] = None, limit: Optional[int] = None, names: Optional[List[str]] = None, offset: Optional[int] = None, sort: Optional[List[str]] = None, async_req: bool = False, _return_http_data_only: bool = False, _preload_content: bool = True, _request_timeout: Optional[int] = None) VolumeGetResponse
Get volumes
Retrieves information about FlashArray volume objects. This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True >>> thread = api.api11_volumes_get_with_http_info(async_req=True) >>> result = thread.get()
- Parameters
authorization (str) – Access token (in JWT format) required to use any API endpoint (except /oauth2)
x_request_id (str) – Supplied by client during request or generated by server.
continuation_token (str) – An opaque token used to iterate over a collection. The token to use on the next request is returned in the continuation_token field of the result. Single quotes are required around all strings.
filter (str) – Exclude resources that don’t match the specified criteria. Single quotes are required around all strings inside the filters.
ids (list[str]) – A comma-separated list of resource IDs. If there is not at least one resource that matches each id element, an error is returned. Single quotes are required around all strings.
limit (int) – Limit the size of the response to the specified number of resources. A limit of 0 can be used to get the number of resources without getting all of the resources. It will be returned in the total_item_count field. If a client asks for a page size larger than the maximum number, the request is still valid. In that case the server just returns the maximum number of items, disregarding the client’s page size request. If not specified, defaults to 1000.
names (list[str]) – A comma-separated list of resource names. If there is not at least one resource that matches each name element, an error is returned. Single quotes are required around all strings.
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). If you provide a sort you will not get a continuation token in the response.
async_req (bool) – Request runs in separate thread and method returns multiprocessing.pool.ApplyResult.
_return_http_data_only (bool) – Returns only data field.
_preload_content (bool) – Response is converted into objects.
_request_timeout (int) – Total request timeout in seconds. It can also be a tuple of (connection time, read time) timeouts.
- Returns
VolumeGetResponse If the method is called asynchronously, returns the request thread.