pypureclient.pure1.Pure1_1_1.models package
Submodules
pypureclient.pure1.Pure1_1_1.models.alert 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.models.alert.Alert(as_of=None, id=None, name=None, arrays=None, actual=None, category=None, closed=None, code=None, component_name=None, component_type=None, created=None, description=None, expected=None, knowledge_base_url=None, notified=None, origin=None, severity=None, state=None, summary=None, updated=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, id=None, name=None, arrays=None, actual=None, category=None, closed=None, code=None, component_name=None, component_type=None, created=None, description=None, expected=None, knowledge_base_url=None, notified=None, origin=None, severity=None, state=None, summary=None, updated=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
id (str) – A non-modifiable, globally unique ID chosen by the system.
name (str) – A modifiable, locally unique name chosen by the user.
arrays (list[FixedReferenceFqdn]) – The list of arrays where this resource exists. Many resources are on a single array, but some resources, such as pods, can be shared across multiple arrays.
actual (str) – Actual condition at the time of the alert.
category (str) – Category of the alert. Valid values are array, hardware, and software.
closed (int) – Time when the alert was closed, in milliseconds since UNIX epoch.
code (int) – Code associated with the alert.
component_name (str) – Name of the component alerted about.
component_type (str) – Type of the component alerted about.
created (int) – Time when the alert was created, in milliseconds since UNIX epoch.
description (str) – Short description of the alert.
expected (str) – Expected state/threshold under normal conditions.
knowledge_base_url (str) – URL of the relevant Knowledge Base page.
notified (int) – Time when the user was notified of the alert, in milliseconds since UNIX epoch.
origin (str) – Origin of the alert. Valid values are array and Pure1.
severity (str) – Current severity level. Valid values are info, warning, critical, and hidden.
state (str) – Current state of the alert. Valid values are open, closing, and closed.
summary (str) – Summary of the alert.
updated (int) – Time when the alert was last updated, in milliseconds since UNIX epoch.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'actual': 'actual', 'arrays': 'arrays', 'as_of': '_as_of', 'category': 'category', 'closed': 'closed', 'code': 'code', 'component_name': 'component_name', 'component_type': 'component_type', 'created': 'created', 'description': 'description', 'expected': 'expected', 'id': 'id', 'knowledge_base_url': 'knowledge_base_url', 'name': 'name', 'notified': 'notified', 'origin': 'origin', 'severity': 'severity', 'state': 'state', 'summary': 'summary', 'updated': 'updated'}
- keys()
- required_args = {}
- swagger_types = {'actual': 'str', 'arrays': 'list[FixedReferenceFqdn]', 'as_of': 'int', 'category': 'str', 'closed': 'int', 'code': 'int', 'component_name': 'str', 'component_type': 'str', 'created': 'int', 'description': 'str', 'expected': 'str', 'id': 'str', 'knowledge_base_url': 'str', 'name': 'str', 'notified': 'int', 'origin': 'str', 'severity': 'str', 'state': 'str', 'summary': 'str', 'updated': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.alerts_get_response 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.models.alerts_get_response.AlertsGetResponse(continuation_token=None, total_item_count=None, items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None, items=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
items (list[Alert]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'items': 'items', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'items': 'list[Alert]', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.alerts_response 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.models.alerts_response.AlertsResponse(items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'items': 'items'}
- keys()
- required_args = {}
- swagger_types = {'items': 'list[Alert]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.array 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.models.array.Array(as_of=None, id=None, name=None, model=None, os=None, version=None, fqdn=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, id=None, name=None, model=None, os=None, version=None, fqdn=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
id (str) – A non-modifiable, globally unique ID chosen by the system.
name (str) – A non-modifiable, locally unique name chosen by the system.
model (str) – Model of the array.
os (str) – Valid values are Elasticity, Purity, Purity//FA and Purity//FB.
version (str) –
fqdn (str) – The fully qualified domain name of the array.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'as_of': '_as_of', 'fqdn': 'fqdn', 'id': 'id', 'model': 'model', 'name': 'name', 'os': 'os', 'version': 'version'}
- keys()
- required_args = {}
- swagger_types = {'as_of': 'int', 'fqdn': 'str', 'id': 'str', 'model': 'str', 'name': 'str', 'os': 'str', 'version': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.array_get_response 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.models.array_get_response.ArrayGetResponse(continuation_token=None, total_item_count=None, items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None, items=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
items (list[Array]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'items': 'items', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'items': 'list[Array]', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.array_response 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.models.array_response.ArrayResponse(items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'items': 'items'}
- keys()
- required_args = {}
- swagger_types = {'items': 'list[Array]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.arrays 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.models.arrays.Arrays(arrays=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(arrays=None)
- Keyword Arguments
arrays (list[FixedReferenceFqdn]) – The list of arrays where this resource exists. Many resources are on a single array, but some resources, such as pods, can be shared across multiple arrays.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'arrays': 'arrays'}
- keys()
- required_args = {}
- swagger_types = {'arrays': 'list[FixedReferenceFqdn]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.arrays_built_in 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.models.arrays_built_in.ArraysBuiltIn(as_of=None, id=None, name=None, arrays=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, id=None, name=None, arrays=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
id (str) – A non-modifiable, globally unique ID chosen by the system.
name (str) – A non-modifiable, locally unique name chosen by the system.
arrays (list[FixedReference]) – The list of arrays where this resource exists. Many resources are on a single array, but some resources, such as pods, can be shared across multiple arrays.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'arrays': 'arrays', 'as_of': '_as_of', 'id': 'id', 'name': 'name'}
- keys()
- required_args = {}
- swagger_types = {'arrays': 'list[FixedReference]', 'as_of': 'int', 'id': 'str', 'name': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.arrays_resource 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.models.arrays_resource.ArraysResource(as_of=None, id=None, name=None, arrays=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, id=None, name=None, arrays=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
id (str) – A non-modifiable, globally unique ID chosen by the system.
name (str) – A modifiable, locally unique name chosen by the user.
arrays (list[FixedReferenceFqdn]) – The list of arrays where this resource exists. Many resources are on a single array, but some resources, such as pods, can be shared across multiple arrays.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'arrays': 'arrays', 'as_of': '_as_of', 'id': 'id', 'name': 'name'}
- keys()
- required_args = {}
- swagger_types = {'arrays': 'list[FixedReferenceFqdn]', 'as_of': 'int', 'id': 'str', 'name': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.audit 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.models.audit.Audit(as_of=None, id=None, name=None, arrays=None, arguments=None, command=None, origin=None, subcommand=None, time=None, user=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, id=None, name=None, arrays=None, arguments=None, command=None, origin=None, subcommand=None, time=None, user=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
id (str) – A non-modifiable, globally unique ID chosen by the system.
name (str) – A modifiable, locally unique name chosen by the user.
arrays (list[FixedReferenceFqdn]) – The list of arrays where this resource exists. Many resources are on a single array, but some resources, such as pods, can be shared across multiple arrays.
arguments (str) – Arguments provided to the command.
command (str) – The command that was executed.
origin (str) – Origin of the action. Valid values are array and Pure1.
subcommand (str) – The subcommand that was executed.
time (int) – Time at which the command was run in milliseconds since UNIX epoch.
user (str) – The user who ran the command.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'arguments': 'arguments', 'arrays': 'arrays', 'as_of': '_as_of', 'command': 'command', 'id': 'id', 'name': 'name', 'origin': 'origin', 'subcommand': 'subcommand', 'time': 'time', 'user': 'user'}
- keys()
- required_args = {}
- swagger_types = {'arguments': 'str', 'arrays': 'list[FixedReferenceFqdn]', 'as_of': 'int', 'command': 'str', 'id': 'str', 'name': 'str', 'origin': 'str', 'subcommand': 'str', 'time': 'int', 'user': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.audits_get_response 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.models.audits_get_response.AuditsGetResponse(continuation_token=None, total_item_count=None, items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None, items=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
items (list[Audit]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'items': 'items', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'items': 'list[Audit]', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.audits_response 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.models.audits_response.AuditsResponse(items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'items': 'items'}
- keys()
- required_args = {}
- swagger_types = {'items': 'list[Audit]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.blade 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.models.blade.Blade(as_of=None, id=None, name=None, arrays=None, details=None, raw_capacity=None, status=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, id=None, name=None, arrays=None, details=None, raw_capacity=None, status=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
id (str) – A non-modifiable, globally unique ID chosen by the system.
name (str) – A non-modifiable, locally unique name chosen by the system.
arrays (list[BladeArrayStatus]) – A list of arrays that contain this blade. Each blade should only exist on one array.
details (str) – Extra details about the blade. Will be null if none exist.
raw_capacity (float) – The raw storage capacity of the blade.
status (str) – Valid values are critical, evacuated, evacuating, healthy, identifying, unclaimed, unhealthy, unknown, unrecognized.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'arrays': 'arrays', 'as_of': '_as_of', 'details': 'details', 'id': 'id', 'name': 'name', 'raw_capacity': 'raw_capacity', 'status': 'status'}
- keys()
- required_args = {}
- swagger_types = {'arrays': 'list[BladeArrayStatus]', 'as_of': 'int', 'details': 'str', 'id': 'str', 'name': 'str', 'raw_capacity': 'float', 'status': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.blade_array_status 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.models.blade_array_status.BladeArrayStatus(id=None, name=None, resource_type=None, used_blades=None, total_blades=None, fqdn=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(id=None, name=None, resource_type=None, used_blades=None, total_blades=None, fqdn=None)
- Keyword Arguments
id (str) – The opaque and unique id of this resource.
name (str) – The name of this resource.
resource_type (str) – The type of this resource represented by the name of its REST endpoint. For example, “arrays”, “network-interfaces”, and “metrics”. The value may be null if the resource is not represented.
used_blades (int) – Count of used blade slots in the array.
total_blades (int) – Count of total blade slots in the array.
fqdn (str) – The fully qualified domain name of the appliance when resource_type is arrays, null otherwise.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'fqdn': 'fqdn', 'id': 'id', 'name': 'name', 'resource_type': 'resource_type', 'total_blades': 'total_blades', 'used_blades': 'used_blades'}
- keys()
- required_args = {}
- swagger_types = {'fqdn': 'str', 'id': 'str', 'name': 'str', 'resource_type': 'str', 'total_blades': 'int', 'used_blades': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.blade_get_response 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.models.blade_get_response.BladeGetResponse(continuation_token=None, total_item_count=None, items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None, items=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
items (list[Blade]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'items': 'items', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'items': 'list[Blade]', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.blade_response 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.models.blade_response.BladeResponse(items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'items': 'items'}
- keys()
- required_args = {}
- swagger_types = {'items': 'list[Blade]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.bucket 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.models.bucket.Bucket(as_of=None, id=None, name=None, arrays=None, account=None, created=None, destroyed=None, object_count=None, versioning=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, id=None, name=None, arrays=None, account=None, created=None, destroyed=None, object_count=None, versioning=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
id (str) – A non-modifiable, globally unique ID chosen by the system.
name (str) – A modifiable, locally unique name chosen by the user.
arrays (list[FixedReference]) – The list of arrays where this resource exists. Many resources are on a single array, but some resources, such as pods, can be shared across multiple arrays.
account (FixedReference) –
created (int) – Creation time of the bucket, in milliseconds since Unix epoch.
destroyed (bool) – Returns a value of true if the bucket is destroyed, but not yet eradicated.
object_count (int) – The number of objects contained within the bucket.
versioning (str) – The versioning state for objects within the bucket. Valid values are none, enabled, and suspended.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'account': 'account', 'arrays': 'arrays', 'as_of': '_as_of', 'created': 'created', 'destroyed': 'destroyed', 'id': 'id', 'name': 'name', 'object_count': 'object_count', 'versioning': 'versioning'}
- keys()
- required_args = {}
- swagger_types = {'account': 'FixedReference', 'arrays': 'list[FixedReference]', 'as_of': 'int', 'created': 'int', 'destroyed': 'bool', 'id': 'str', 'name': 'str', 'object_count': 'int', 'versioning': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.bucket_get_response 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.models.bucket_get_response.BucketGetResponse(continuation_token=None, total_item_count=None, items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None, items=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
items (list[Bucket]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'items': 'items', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'items': 'list[Bucket]', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.bucket_replica_link 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.models.bucket_replica_link.BucketReplicaLink(as_of=None, id=None, lag=None, paused=None, recovery_point=None, status=None, status_details=None, members=None, sources=None, targets=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, id=None, lag=None, paused=None, recovery_point=None, status=None, status_details=None, members=None, sources=None, targets=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
id (str) – A non-modifiable, globally unique ID chosen by the system.
lag (int) – Duration, in milliseconds, which represents how far behind the replication target is from the source.
paused (bool) – Returns true if the replica link is paused.
recovery_point (int) – Time when the last piece of data was replicated, in milliseconds since the UNIX epoch, and the recovery point of the bucket.
status (str) – Status of the replica link. Values include replicating, idle, and unhealthy.
status_details (str) – Detailed information about the status of the replica link when it is unhealthy.
members (list[ResourceWithLocation]) – The union of source and target buckets in the replica link.
sources (list[ResourceWithLocation]) – The source buckets in the replica link.
targets (list[ResourceWithLocation]) – The target buckets in the replica link.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'as_of': '_as_of', 'id': 'id', 'lag': 'lag', 'members': 'members', 'paused': 'paused', 'recovery_point': 'recovery_point', 'sources': 'sources', 'status': 'status', 'status_details': 'status_details', 'targets': 'targets'}
- keys()
- required_args = {}
- swagger_types = {'as_of': 'int', 'id': 'str', 'lag': 'int', 'members': 'list[ResourceWithLocation]', 'paused': 'bool', 'recovery_point': 'int', 'sources': 'list[ResourceWithLocation]', 'status': 'str', 'status_details': 'str', 'targets': 'list[ResourceWithLocation]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.bucket_replica_link_get_response 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.models.bucket_replica_link_get_response.BucketReplicaLinkGetResponse(continuation_token=None, total_item_count=None, items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None, items=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
items (list[BucketReplicaLink]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'items': 'items', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'items': 'list[BucketReplicaLink]', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.bucket_replica_link_response 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.models.bucket_replica_link_response.BucketReplicaLinkResponse(items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(items=None)
- Keyword Arguments
items (list[BucketReplicaLink]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'items': 'items'}
- keys()
- required_args = {}
- swagger_types = {'items': 'list[BucketReplicaLink]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.bucket_response 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.models.bucket_response.BucketResponse(items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'items': 'items'}
- keys()
- required_args = {}
- swagger_types = {'items': 'list[Bucket]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.built_in_as_of 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.models.built_in_as_of.BuiltInAsOf(as_of=None, id=None, name=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, id=None, name=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
id (str) – A non-modifiable, globally unique ID chosen by the system.
name (str) – A non-modifiable, locally unique name chosen by the system.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'as_of': '_as_of', 'id': 'id', 'name': 'name'}
- keys()
- required_args = {}
- swagger_types = {'as_of': 'int', 'id': 'str', 'name': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.controller 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.models.controller.Controller(as_of=None, id=None, name=None, arrays=None, mode=None, model=None, status=None, type=None, version=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, id=None, name=None, arrays=None, mode=None, model=None, status=None, type=None, version=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
id (str) – A non-modifiable, globally unique ID chosen by the system.
name (str) – A non-modifiable, locally unique name chosen by the system.
arrays (list[FixedReferenceFqdn]) – The list of arrays where this resource exists. Many resources are on a single array, but some resources, such as pods, can be shared across multiple arrays.
mode (str) – Mode of the controller. Values include not present, offline, primary, and secondary.
model (str) – Model of the controller.
status (str) – Status of the controller. Values include not ready, ready, unknown, and updating.
type (str) – Type of the controller. Values include array_controller and shelf_controller.
version (str) – Version of the controller.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'arrays': 'arrays', 'as_of': '_as_of', 'id': 'id', 'mode': 'mode', 'model': 'model', 'name': 'name', 'status': 'status', 'type': 'type', 'version': 'version'}
- keys()
- required_args = {}
- swagger_types = {'arrays': 'list[FixedReferenceFqdn]', 'as_of': 'int', 'id': 'str', 'mode': 'str', 'model': 'str', 'name': 'str', 'status': 'str', 'type': 'str', 'version': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.controller_get_response 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.models.controller_get_response.ControllerGetResponse(continuation_token=None, total_item_count=None, items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None, items=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
items (list[Controller]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'items': 'items', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'items': 'list[Controller]', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.controller_response 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.models.controller_response.ControllerResponse(items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(items=None)
- Keyword Arguments
items (list[Controller]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'items': 'items'}
- keys()
- required_args = {}
- swagger_types = {'items': 'list[Controller]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.current_metric 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.models.current_metric.CurrentMetric(data=None, metric=None, unit=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(data=None, metric=None, unit=None)
- Keyword Arguments
data (float) – The data value.
metric (FixedReference) – A reference to the metric this data measures.
unit (str) – The unit of the metric.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'data': 'data', 'metric': 'metric', 'unit': 'unit'}
- keys()
- required_args = {}
- swagger_types = {'data': 'float', 'metric': 'FixedReference', 'unit': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.directory 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.models.directory.Directory(arrays=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(arrays=None)
- Keyword Arguments
arrays (list[FixedReferenceFqdn]) – The list of arrays where this resource exists. Many resources are on a single array, but some resources, such as pods, can be shared across multiple arrays.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'arrays': 'arrays'}
- keys()
- required_args = {}
- swagger_types = {'arrays': 'list[FixedReferenceFqdn]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.directory_get_response 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.models.directory_get_response.DirectoryGetResponse(continuation_token=None, total_item_count=None, items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None, items=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
items (list[Directory]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'items': 'items', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'items': 'list[Directory]', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.directory_response 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.models.directory_response.DirectoryResponse(items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'items': 'items'}
- keys()
- required_args = {}
- swagger_types = {'items': 'list[Directory]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.drive 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.models.drive.Drive(as_of=None, id=None, name=None, arrays=None, capacity=None, details=None, protocol=None, status=None, type=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, id=None, name=None, arrays=None, capacity=None, details=None, protocol=None, status=None, type=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
id (str) – A non-modifiable, globally unique ID chosen by the system.
name (str) – A non-modifiable, locally unique name chosen by the system.
arrays (list[DriveArrayStatus]) – A list of arrays that contain this drive. Each drive should only exist on one array.
capacity (float) – Physical storage capacity of the module (in bytes).
details (str) – Details about the status of the module if status is not healthy.
protocol (str) – Storage protocol of the module. Values include NVMe and SAS.
status (str) – Current status of the module. Values include empty, failed, healthy, identifying, missing, recovering, unadmitted, unhealthy, unrecognized, and updating.
type (str) – The type of the module. Values include cache, NVRAM, SSD, and virtual.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'arrays': 'arrays', 'as_of': '_as_of', 'capacity': 'capacity', 'details': 'details', 'id': 'id', 'name': 'name', 'protocol': 'protocol', 'status': 'status', 'type': 'type'}
- keys()
- required_args = {}
- swagger_types = {'arrays': 'list[DriveArrayStatus]', 'as_of': 'int', 'capacity': 'float', 'details': 'str', 'id': 'str', 'name': 'str', 'protocol': 'str', 'status': 'str', 'type': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.drive_array_status 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.models.drive_array_status.DriveArrayStatus(id=None, name=None, resource_type=None, drive_count=None, total_capacity=None, fqdn=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(id=None, name=None, resource_type=None, drive_count=None, total_capacity=None, fqdn=None)
- Keyword Arguments
id (str) – The opaque and unique id of this resource.
name (str) – The name of this resource.
resource_type (str) – The type of this resource represented by the name of its REST endpoint. For example, “arrays”, “network-interfaces”, and “metrics”. The value may be null if the resource is not represented.
drive_count (int) – Count of drives in the array.
total_capacity (int) – The total capacity of all drives in the array.
fqdn (str) – The fully qualified domain name of the appliance when resource_type is arrays, null otherwise.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'drive_count': 'drive_count', 'fqdn': 'fqdn', 'id': 'id', 'name': 'name', 'resource_type': 'resource_type', 'total_capacity': 'total_capacity'}
- keys()
- required_args = {}
- swagger_types = {'drive_count': 'int', 'fqdn': 'str', 'id': 'str', 'name': 'str', 'resource_type': 'str', 'total_capacity': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.drive_get_response 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.models.drive_get_response.DriveGetResponse(continuation_token=None, total_item_count=None, items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None, items=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
items (list[Drive]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'items': 'items', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'items': 'list[Drive]', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.drive_response 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.models.drive_response.DriveResponse(items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'items': 'items'}
- keys()
- required_args = {}
- swagger_types = {'items': 'list[Drive]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.error 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.models.error.Error(errors=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(errors=None)
- Keyword Arguments
errors (list[ErrorErrors]) – The list of errors encountered.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'errors': 'errors'}
- keys()
- required_args = {}
- swagger_types = {'errors': 'list[ErrorErrors]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.error_errors 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.models.error_errors.ErrorErrors(context=None, message=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(context=None, message=None)
- Keyword Arguments
context (str) –
message (str) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'context': 'context', 'message': 'message'}
- keys()
- required_args = {}
- swagger_types = {'context': 'str', 'message': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.error_no_context 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.models.error_no_context.ErrorNoContext(message=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(message=None)
- Keyword Arguments
message (str) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'message': 'message'}
- keys()
- required_args = {}
- swagger_types = {'message': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.file_system 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.models.file_system.FileSystem(as_of=None, id=None, name=None, arrays=None, created=None, destroyed=None, fast_remove_directory_enabled=None, hard_limit_enabled=None, http=None, nfs=None, provisioned=None, smb=None, snapshot_directory_enabled=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, id=None, name=None, arrays=None, created=None, destroyed=None, fast_remove_directory_enabled=None, hard_limit_enabled=None, http=None, nfs=None, provisioned=None, smb=None, snapshot_directory_enabled=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
id (str) – A non-modifiable, globally unique ID chosen by the system.
name (str) – A non-modifiable, locally unique name chosen by the system.
arrays (list[FixedReferenceFqdn]) – The list of arrays where this resource exists. Many resources are on a single array, but some resources, such as pods, can be shared across multiple arrays.
created (int) – Creation time in milliseconds since UNIX epoch.
destroyed (bool) – Is the file system destroyed?
fast_remove_directory_enabled (bool) – On a FlashBlade file system, returns the value of true if fast remove directory is enabled and false if it is not. On a FlashArray file system, the value is always null.
hard_limit_enabled (bool) – On a FlashBlade file system, returns the value of true if the file system’s size is a hard limit quota and false if it is not. On a FlashArray file system, the value is always null.
http (Http) – HTTP configuration. On a FlashArray file system, the value is always null.
nfs (Nfs) – NFS configuration. On a FlashArray file system, the value is always null.
provisioned (int) – The provisioned size of the file system in bytes. A value of 0 means unlimited. On a FlashArray file system, the value is always null.
smb (Smb) – SMB configuration. On a FlashArray file system, the value is always null.
snapshot_directory_enabled (bool) – On a FlashBlade file system, returns the value of true if snapshot directory is enabled and false if it is not. On a FlashArray file system, the value is always null.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'arrays': 'arrays', 'as_of': '_as_of', 'created': 'created', 'destroyed': 'destroyed', 'fast_remove_directory_enabled': 'fast_remove_directory_enabled', 'hard_limit_enabled': 'hard_limit_enabled', 'http': 'http', 'id': 'id', 'name': 'name', 'nfs': 'nfs', 'provisioned': 'provisioned', 'smb': 'smb', 'snapshot_directory_enabled': 'snapshot_directory_enabled'}
- keys()
- required_args = {}
- swagger_types = {'arrays': 'list[FixedReferenceFqdn]', 'as_of': 'int', 'created': 'int', 'destroyed': 'bool', 'fast_remove_directory_enabled': 'bool', 'hard_limit_enabled': 'bool', 'http': 'Http', 'id': 'str', 'name': 'str', 'nfs': 'Nfs', 'provisioned': 'int', 'smb': 'Smb', 'snapshot_directory_enabled': 'bool'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.file_system_get_response 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.models.file_system_get_response.FileSystemGetResponse(continuation_token=None, total_item_count=None, items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None, items=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
items (list[FileSystem]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'items': 'items', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'items': 'list[FileSystem]', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.file_system_replica_link 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.models.file_system_replica_link.FileSystemReplicaLink(as_of=None, id=None, lag=None, paused=None, recovery_point=None, status=None, status_details=None, members=None, sources=None, targets=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, id=None, lag=None, paused=None, recovery_point=None, status=None, status_details=None, members=None, sources=None, targets=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
id (str) – A non-modifiable, globally unique ID chosen by the system.
lag (int) – Duration, in milliseconds, which represents how far behind the replication target is from the source.
paused (bool) – Returns true if the replica link is paused.
recovery_point (int) – Time when the last replicated snapshot was created, in milliseconds since the UNIX epoch. (i.e. the recovery point if the file system is promoted.)
status (str) – Status of the replica link. Values include replicating, idle, and unhealthy.
status_details (str) – Detailed information about the status of the replica link when it is unhealthy.
members (list[ResourceWithLocation]) – The union of source and target file systems in the replica link.
sources (list[ResourceWithLocation]) – The source file systems in the replica link.
targets (list[ResourceWithLocation]) – The target file systems in the replica link.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'as_of': '_as_of', 'id': 'id', 'lag': 'lag', 'members': 'members', 'paused': 'paused', 'recovery_point': 'recovery_point', 'sources': 'sources', 'status': 'status', 'status_details': 'status_details', 'targets': 'targets'}
- keys()
- required_args = {}
- swagger_types = {'as_of': 'int', 'id': 'str', 'lag': 'int', 'members': 'list[ResourceWithLocation]', 'paused': 'bool', 'recovery_point': 'int', 'sources': 'list[ResourceWithLocation]', 'status': 'str', 'status_details': 'str', 'targets': 'list[ResourceWithLocation]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.file_system_replica_link_get_response 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.models.file_system_replica_link_get_response.FileSystemReplicaLinkGetResponse(continuation_token=None, total_item_count=None, items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None, items=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
items (list[FileSystemReplicaLink]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'items': 'items', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'items': 'list[FileSystemReplicaLink]', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.file_system_replica_link_response 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.models.file_system_replica_link_response.FileSystemReplicaLinkResponse(items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(items=None)
- Keyword Arguments
items (list[FileSystemReplicaLink]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'items': 'items'}
- keys()
- required_args = {}
- swagger_types = {'items': 'list[FileSystemReplicaLink]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.file_system_response 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.models.file_system_response.FileSystemResponse(items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(items=None)
- Keyword Arguments
items (list[FileSystem]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'items': 'items'}
- keys()
- required_args = {}
- swagger_types = {'items': 'list[FileSystem]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.file_system_snapshot 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.models.file_system_snapshot.FileSystemSnapshot(as_of=None, id=None, name=None, arrays=None, created=None, destroyed=None, on=None, source=None, suffix=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, id=None, name=None, arrays=None, created=None, destroyed=None, on=None, source=None, suffix=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
id (str) – A non-modifiable, globally unique ID chosen by the system.
name (str) – A non-modifiable, locally unique name chosen by the system.
arrays (list[FixedReferenceFqdn]) – The list of arrays where this resource exists. Many resources are on a single array, but some resources, such as pods, can be shared across multiple arrays.
created (int) – Creation time in milliseconds since UNIX epoch.
destroyed (bool) – Indicates if this snapshot has been destroyed and is pending eradication.
on (FixedReferenceFqdn) –
source (FixedReference) – A reference to the file system that the snapshot was taken from.
suffix (str) – Indicates the suffix of the snapshot.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'arrays': 'arrays', 'as_of': '_as_of', 'created': 'created', 'destroyed': 'destroyed', 'id': 'id', 'name': 'name', 'on': 'on', 'source': 'source', 'suffix': 'suffix'}
- keys()
- required_args = {}
- swagger_types = {'arrays': 'list[FixedReferenceFqdn]', 'as_of': 'int', 'created': 'int', 'destroyed': 'bool', 'id': 'str', 'name': 'str', 'on': 'FixedReferenceFqdn', 'source': 'FixedReference', 'suffix': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.file_system_snapshot_get_response 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.models.file_system_snapshot_get_response.FileSystemSnapshotGetResponse(continuation_token=None, total_item_count=None, items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None, items=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
items (list[FileSystemSnapshot]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'items': 'items', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'items': 'list[FileSystemSnapshot]', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.file_system_snapshot_response 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.models.file_system_snapshot_response.FileSystemSnapshotResponse(items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(items=None)
- Keyword Arguments
items (list[FileSystemSnapshot]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'items': 'items'}
- keys()
- required_args = {}
- swagger_types = {'items': 'list[FileSystemSnapshot]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.fixed_reference 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.models.fixed_reference.FixedReference(id=None, name=None, resource_type=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(id=None, name=None, resource_type=None)
- Keyword Arguments
id (str) – The opaque and unique id of this resource.
name (str) – The name of this resource.
resource_type (str) – The type of this resource represented by the name of its REST endpoint. For example, “arrays”, “network-interfaces”, and “metrics”. The value may be null if the resource is not represented.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'id': 'id', 'name': 'name', 'resource_type': 'resource_type'}
- keys()
- required_args = {}
- swagger_types = {'id': 'str', 'name': 'str', 'resource_type': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.fixed_reference_fqdn 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.models.fixed_reference_fqdn.FixedReferenceFqdn(id=None, name=None, resource_type=None, fqdn=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(id=None, name=None, resource_type=None, fqdn=None)
- Keyword Arguments
id (str) – The opaque and unique id of this resource.
name (str) – The name of this resource.
resource_type (str) – The type of this resource represented by the name of its REST endpoint. For example, “arrays”, “network-interfaces”, and “metrics”. The value may be null if the resource is not represented.
fqdn (str) – The fully qualified domain name of the appliance when resource_type is arrays, null otherwise.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'fqdn': 'fqdn', 'id': 'id', 'name': 'name', 'resource_type': 'resource_type'}
- keys()
- required_args = {}
- swagger_types = {'fqdn': 'str', 'id': 'str', 'name': 'str', 'resource_type': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.geolocation 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.models.geolocation.Geolocation(latitude=None, longitude=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(latitude=None, longitude=None)
- Keyword Arguments
latitude (float) – The latitude of the address.
longitude (float) – The longitude of the address.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'latitude': 'latitude', 'longitude': 'longitude'}
- keys()
- required_args = {}
- swagger_types = {'latitude': 'float', 'longitude': 'float'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.hardware 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.models.hardware.Hardware(as_of=None, id=None, name=None, arrays=None, details=None, identify_enabled=None, model=None, serial=None, slot=None, speed=None, status=None, temperature=None, type=None, voltage=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, id=None, name=None, arrays=None, details=None, identify_enabled=None, model=None, serial=None, slot=None, speed=None, status=None, temperature=None, type=None, voltage=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
id (str) – A non-modifiable, globally unique ID chosen by the system.
name (str) – A non-modifiable, locally unique name chosen by the system.
arrays (list[FixedReferenceFqdn]) – The list of arrays where this resource exists. Many resources are on a single array, but some resources, such as pods, can be shared across multiple arrays.
details (str) – Details about the component if status is not healthy.
identify_enabled (bool) – If true, the ID light is lit to visually identify the component.
model (str) – Model number of the hardware component.
serial (str) – Serial number of the hardware component.
slot (int) – Slot number occupied by the PCI Express card that hosts the component.
speed (int) – Speed (in bytes per second) at which the component is operating.
status (str) – Component status. Values include critical, healthy, identifying, unhealthy, unclaimed, unknown, unrecognized, and unused.
temperature (int) – Temperature (in degrees Celsius) reported by the component.
type (str) – Type of the hardware component. Values include am, chassis, controller, cooling, drive_bay, eth_port, fan, fc_port, flash_blade, ib_port, mgmt_port, nvram_bay, power_supply, sas_module, sas_port, storage_shelf, and temp_sensor.
voltage (int) – Voltage (in Volts) reported by the component.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'arrays': 'arrays', 'as_of': '_as_of', 'details': 'details', 'id': 'id', 'identify_enabled': 'identify_enabled', 'model': 'model', 'name': 'name', 'serial': 'serial', 'slot': 'slot', 'speed': 'speed', 'status': 'status', 'temperature': 'temperature', 'type': 'type', 'voltage': 'voltage'}
- keys()
- required_args = {}
- swagger_types = {'arrays': 'list[FixedReferenceFqdn]', 'as_of': 'int', 'details': 'str', 'id': 'str', 'identify_enabled': 'bool', 'model': 'str', 'name': 'str', 'serial': 'str', 'slot': 'int', 'speed': 'int', 'status': 'str', 'temperature': 'int', 'type': 'str', 'voltage': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.hardware_connector 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.models.hardware_connector.HardwareConnector(as_of=None, id=None, name=None, arrays=None, connector_type=None, lane_speed=None, port_count=None, transceiver_type=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, id=None, name=None, arrays=None, connector_type=None, lane_speed=None, port_count=None, transceiver_type=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
id (str) – A non-modifiable, globally unique ID chosen by the system.
name (str) – A non-modifiable, locally unique name chosen by the system.
arrays (list[FixedReferenceFqdn]) – The list of arrays where this resource exists. Many resources are on a single array, but some resources, such as pods, can be shared across multiple arrays.
connector_type (str) – Form-factor of the interface. Values include QSFP and RJ-45.
lane_speed (float) – Configured speed of each lane in the connector in bits per second.
port_count (float) – Configured number of ports in the connector.
transceiver_type (str) – Type of transceiver plugged into the connector port. If the type cannot be auto-detected and the internal user has not specified a type, the value will be Unknown. If nothing is plugged into the QSFP port, the value will be Unused. Transceiver type is not applicable for RJ-45 connectors.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'arrays': 'arrays', 'as_of': '_as_of', 'connector_type': 'connector_type', 'id': 'id', 'lane_speed': 'lane_speed', 'name': 'name', 'port_count': 'port_count', 'transceiver_type': 'transceiver_type'}
- keys()
- required_args = {}
- swagger_types = {'arrays': 'list[FixedReferenceFqdn]', 'as_of': 'int', 'connector_type': 'str', 'id': 'str', 'lane_speed': 'float', 'name': 'str', 'port_count': 'float', 'transceiver_type': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.hardware_connector_get_response 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.models.hardware_connector_get_response.HardwareConnectorGetResponse(continuation_token=None, total_item_count=None, items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None, items=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
items (list[HardwareConnector]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'items': 'items', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'items': 'list[HardwareConnector]', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.hardware_connector_response 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.models.hardware_connector_response.HardwareConnectorResponse(items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(items=None)
- Keyword Arguments
items (list[HardwareConnector]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'items': 'items'}
- keys()
- required_args = {}
- swagger_types = {'items': 'list[HardwareConnector]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.hardware_get_response 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.models.hardware_get_response.HardwareGetResponse(continuation_token=None, total_item_count=None, items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None, items=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
items (list[Hardware]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'items': 'items', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'items': 'list[Hardware]', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.hardware_response 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.models.hardware_response.HardwareResponse(items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'items': 'items'}
- keys()
- required_args = {}
- swagger_types = {'items': 'list[Hardware]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.http 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.models.http.Http(enabled=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(enabled=None)
- Keyword Arguments
enabled (bool) – Is the protocol enabled?
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'enabled': 'enabled'}
- keys()
- required_args = {}
- swagger_types = {'enabled': 'bool'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.inline_response400 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.models.inline_response400.InlineResponse400(error=None, error_description=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(error=None, error_description=None)
- Keyword Arguments
error (str) –
error_description (str) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'error': 'error', 'error_description': 'error_description'}
- keys()
- required_args = {}
- swagger_types = {'error': 'str', 'error_description': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.inline_response401 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.models.inline_response401.InlineResponse401(error=None, error_description=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(error=None, error_description=None)
- Keyword Arguments
error (str) –
error_description (str) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'error': 'error', 'error_description': 'error_description'}
- keys()
- required_args = {}
- swagger_types = {'error': 'str', 'error_description': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.install_address 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.models.install_address.InstallAddress(geolocation=None, street_address=None, updated=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(geolocation=None, street_address=None, updated=None)
- Keyword Arguments
geolocation (Geolocation) – The geolocation that contains the latitude and the longitude of the address.
street_address (str) – The 1-line format street address of the array install address.
updated (int) – The epoch timestamp, in milliseconds, that denotes when the address was updated.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'geolocation': 'geolocation', 'street_address': 'street_address', 'updated': 'updated'}
- keys()
- required_args = {}
- swagger_types = {'geolocation': 'Geolocation', 'street_address': 'str', 'updated': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.invoice 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.models.invoice.Invoice(amount=None, currency=None, _date=None, due_date=None, end_user_name=None, end_user_purchase_order=None, id=None, lines=None, partner_purchase_order=None, payment_terms=None, sales_representative=None, ship_date=None, status=None, subscription=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(amount=None, currency=None, _date=None, due_date=None, end_user_name=None, end_user_purchase_order=None, id=None, lines=None, partner_purchase_order=None, payment_terms=None, sales_representative=None, ship_date=None, status=None, subscription=None)
- Keyword Arguments
amount (float) – The total invoice amount, expressed in the currency defined in currency.
currency (str) – The currency of the invoice in ISO 4217 format. This currency applies to the total invoice amount as well as all amounts in line items.
_date (int) – The issuance date. Represented as a timestamp of 00:00 on that date in UTC, in milliseconds since UNIX epoch.
due_date (int) – The payment due date. Represented as a timestamp of 00:00 on that date in UTC, in milliseconds since UNIX epoch.
end_user_name (str) – The end user customer name.
end_user_purchase_order (str) – The end user customer purchase order number.
id (str) – The invoice number, a globally unique identifier for this invoice.
lines (list[InvoiceLine]) – A list of invoice line items.
partner_purchase_order (str) – The partner purchase order number.
payment_terms (str) – The invoice payment terms.
sales_representative (str) – The sales representative that issued the invoice.
ship_date (int) – The invoice shipment date. Represented as a timestamp of 00:00 on that date in UTC, in milliseconds since UNIX epoch.
status (str) – The invoice status. Values include open and paid.
subscription (FixedReference) – A reference to which subscription this invoice belongs.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'_date': 'date', 'amount': 'amount', 'currency': 'currency', 'due_date': 'due_date', 'end_user_name': 'end_user_name', 'end_user_purchase_order': 'end_user_purchase_order', 'id': 'id', 'lines': 'lines', 'partner_purchase_order': 'partner_purchase_order', 'payment_terms': 'payment_terms', 'sales_representative': 'sales_representative', 'ship_date': 'ship_date', 'status': 'status', 'subscription': 'subscription'}
- keys()
- required_args = {}
- swagger_types = {'_date': 'int', 'amount': 'float', 'currency': 'str', 'due_date': 'int', 'end_user_name': 'str', 'end_user_purchase_order': 'str', 'id': 'str', 'lines': 'list[InvoiceLine]', 'partner_purchase_order': 'str', 'payment_terms': 'str', 'sales_representative': 'str', 'ship_date': 'int', 'status': 'str', 'subscription': 'FixedReference'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.invoice_get_response 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.models.invoice_get_response.InvoiceGetResponse(continuation_token=None, total_item_count=None, items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None, items=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
items (list[Invoice]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'items': 'items', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'items': 'list[Invoice]', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.invoice_line 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.models.invoice_line.InvoiceLine(item=None, quantity=None, description=None, start_date=None, end_date=None, components=None, unit_price=None, amount=None, tax=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(item=None, quantity=None, description=None, start_date=None, end_date=None, components=None, unit_price=None, amount=None, tax=None)
- Keyword Arguments
item (str) – The name of invoice item.
quantity (int) – The quantity of current invoice item.
description (str) –
start_date (int) – The invoice item start date. Represented as a timestamp of 00:00 on that date in UTC, in milliseconds since UNIX epoch.
end_date (int) – The invoice item end date. Represented as a timestamp of 00:00 on that date in UTC, in milliseconds since UNIX epoch.
components (list[InvoiceLineComponent]) – The sub-components of current invoice item.
unit_price (float) – The unit price of current invoice item, currency is specified in invoice currency.
amount (float) – The total price of current invoice item, currency is specified in invoice currency.
tax (Tax) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'amount': 'amount', 'components': 'components', 'description': 'description', 'end_date': 'end_date', 'item': 'item', 'quantity': 'quantity', 'start_date': 'start_date', 'tax': 'tax', 'unit_price': 'unit_price'}
- keys()
- required_args = {}
- swagger_types = {'amount': 'float', 'components': 'list[InvoiceLineComponent]', 'description': 'str', 'end_date': 'int', 'item': 'str', 'quantity': 'int', 'start_date': 'int', 'tax': 'Tax', 'unit_price': 'float'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.invoice_line_component 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.models.invoice_line_component.InvoiceLineComponent(item=None, quantity=None, description=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(item=None, quantity=None, description=None)
- Keyword Arguments
item (str) – The name of invoice component.
quantity (int) – The quantity of current invoice component.
description (str) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'description': 'description', 'item': 'item', 'quantity': 'quantity'}
- keys()
- required_args = {}
- swagger_types = {'description': 'str', 'item': 'str', 'quantity': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.invoice_response 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.models.invoice_response.InvoiceResponse(items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'items': 'items'}
- keys()
- required_args = {}
- swagger_types = {'items': 'list[Invoice]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.license_resource_reference 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.models.license_resource_reference.LicenseResourceReference(id=None, name=None, resource_type=None, fqdn=None, activation_time=None, usage=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(id=None, name=None, resource_type=None, fqdn=None, activation_time=None, usage=None)
- Keyword Arguments
id (str) – The opaque and unique id of this resource.
name (str) – The name of this resource.
resource_type (str) – The type of this resource represented by the name of its REST endpoint. For example, “arrays”, “network-interfaces”, and “metrics”. The value may be null if the resource is not represented.
fqdn (str) – The fully qualified domain name of the appliance when resource_type is arrays, null otherwise.
activation_time (int) – Time when the resource is activated under the license, in milliseconds since UNIX epoch.
usage (CurrentMetric) – Current usage of the resource under the license.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'activation_time': 'activation_time', 'fqdn': 'fqdn', 'id': 'id', 'name': 'name', 'resource_type': 'resource_type', 'usage': 'usage'}
- keys()
- required_args = {}
- swagger_types = {'activation_time': 'int', 'fqdn': 'str', 'id': 'str', 'name': 'str', 'resource_type': 'str', 'usage': 'CurrentMetric'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.marketplace_partner 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.models.marketplace_partner.MarketplacePartner(name=None, reference_id=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(name=None, reference_id=None)
- Keyword Arguments
name (str) – Name or identifier of the marketplace parter who owns the reference ID.
reference_id (str) – External ID the marketplace partner knows to refer to this license.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'name': 'name', 'reference_id': 'reference_id'}
- keys()
- required_args = {}
- swagger_types = {'name': 'str', 'reference_id': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.metric 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.models.metric.Metric(as_of=None, id=None, name=None, availabilities=None, description=None, resource_types=None, unit=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, id=None, name=None, availabilities=None, description=None, resource_types=None, unit=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
id (str) – A non-modifiable, globally unique ID chosen by the system.
name (str) – A non-modifiable, locally unique name chosen by the system.
availabilities (list[MetricAvailability]) – The available resolutions, aggregations and retentions of this metric.
description (str) – The additional description for the the metric.
resource_types (list[str]) – The type of resource (as described by their endpoints) that this metric is available at. NOTE that a metric could be available for a combination of resource types, e.g. mirrored writes from “arrays” to “pods”.
unit (str) – The unit of the metric.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'as_of': '_as_of', 'availabilities': 'availabilities', 'description': 'description', 'id': 'id', 'name': 'name', 'resource_types': 'resource_types', 'unit': 'unit'}
- keys()
- required_args = {}
- swagger_types = {'as_of': 'int', 'availabilities': 'list[MetricAvailability]', 'description': 'str', 'id': 'str', 'name': 'str', 'resource_types': 'list[str]', 'unit': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.metric_availability 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.models.metric_availability.MetricAvailability(aggregations=None, resolution=None, retention=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(aggregations=None, resolution=None, retention=None)
- Keyword Arguments
aggregations (list[str]) – Available aggregations for this metric at the given resolution, e.g. ‘avg’, ‘max’.
resolution (int) – An available resolution of this metric in milliseconds.
retention (int) – The retention at this given resolution in milliseconds.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'aggregations': 'aggregations', 'resolution': 'resolution', 'retention': 'retention'}
- keys()
- required_args = {}
- swagger_types = {'aggregations': 'list[str]', 'resolution': 'int', 'retention': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.metric_get_response 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.models.metric_get_response.MetricGetResponse(continuation_token=None, total_item_count=None, items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None, items=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
items (list[Metric]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'items': 'items', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'items': 'list[Metric]', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.metric_history 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.models.metric_history.MetricHistory(as_of=None, id=None, name=None, aggregation=None, data=None, resolution=None, resources=None, unit=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, id=None, name=None, aggregation=None, data=None, resolution=None, resources=None, unit=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
id (str) – A non-modifiable, globally unique ID chosen by the system.
name (str) – A non-modifiable, locally unique name chosen by the system.
aggregation (str) – The aggregation of the metric data.
data (list[list[float]]) – The data points of the metric corresponding to the time window, resolution and aggregation. The points are returned in a nested array of 2-element arrays. For each of the 2-element array, the 1st element is the UTC millisecond epoch, and the 2nd element is the value, e.g. [[1519362000000, 11], [1519362030000, 21], …].
resolution (int) – The resolution of the metric data in milliseconds.
resources (list[FixedReferenceFqdn]) –
unit (str) – The unit of the metric data.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'aggregation': 'aggregation', 'as_of': '_as_of', 'data': 'data', 'id': 'id', 'name': 'name', 'resolution': 'resolution', 'resources': 'resources', 'unit': 'unit'}
- keys()
- required_args = {}
- swagger_types = {'aggregation': 'str', 'as_of': 'int', 'data': 'list[list[float]]', 'id': 'str', 'name': 'str', 'resolution': 'int', 'resources': 'list[FixedReferenceFqdn]', 'unit': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.metric_history_get_response 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.models.metric_history_get_response.MetricHistoryGetResponse(continuation_token=None, total_item_count=None, items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None, items=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
items (list[MetricHistory]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'items': 'items', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'items': 'list[MetricHistory]', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.metric_history_response 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.models.metric_history_response.MetricHistoryResponse(items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(items=None)
- Keyword Arguments
items (list[MetricHistory]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'items': 'items'}
- keys()
- required_args = {}
- swagger_types = {'items': 'list[MetricHistory]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.metric_response 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.models.metric_response.MetricResponse(items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'items': 'items'}
- keys()
- required_args = {}
- swagger_types = {'items': 'list[Metric]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.network_interface 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.models.network_interface.NetworkInterface(as_of=None, id=None, name=None, arrays=None, address=None, enabled=None, gateway=None, hwaddr=None, mtu=None, netmask=None, services=None, speed=None, subinterfaces=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, id=None, name=None, arrays=None, address=None, enabled=None, gateway=None, hwaddr=None, mtu=None, netmask=None, services=None, speed=None, subinterfaces=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
id (str) – A non-modifiable, globally unique ID chosen by the system.
name (str) – A non-modifiable, locally unique name chosen by the system.
arrays (list[FixedReferenceFqdn]) – The list of arrays where this resource exists. Many resources are on a single array, but some resources, such as pods, can be shared across multiple arrays.
address (str) – IP address of this network interface.
enabled (bool) –
gateway (str) –
hwaddr (str) – Hardware address.
mtu (int) – Maximum transmission unit.
netmask (str) –
services (list[str]) – Services and protocols that are enabled on the interface.
speed (int) – Speed in bytes per second.
subinterfaces (list[str]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'address': 'address', 'arrays': 'arrays', 'as_of': '_as_of', 'enabled': 'enabled', 'gateway': 'gateway', 'hwaddr': 'hwaddr', 'id': 'id', 'mtu': 'mtu', 'name': 'name', 'netmask': 'netmask', 'services': 'services', 'speed': 'speed', 'subinterfaces': 'subinterfaces'}
- keys()
- required_args = {}
- swagger_types = {'address': 'str', 'arrays': 'list[FixedReferenceFqdn]', 'as_of': 'int', 'enabled': 'bool', 'gateway': 'str', 'hwaddr': 'str', 'id': 'str', 'mtu': 'int', 'name': 'str', 'netmask': 'str', 'services': 'list[str]', 'speed': 'int', 'subinterfaces': 'list[str]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.network_interface_get_response 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.models.network_interface_get_response.NetworkInterfaceGetResponse(continuation_token=None, total_item_count=None, items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None, items=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
items (list[NetworkInterface]) – A list of network interface objects.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'items': 'items', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'items': 'list[NetworkInterface]', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.network_interface_response 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.models.network_interface_response.NetworkInterfaceResponse(items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(items=None)
- Keyword Arguments
items (list[NetworkInterface]) – A list of network interface objects.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'items': 'items'}
- keys()
- required_args = {}
- swagger_types = {'items': 'list[NetworkInterface]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.nfs 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.models.nfs.Nfs(enabled=None, rules=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(enabled=None, rules=None)
- Keyword Arguments
enabled (bool) – Is the protocol enabled?
rules (str) – NFS rules.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'enabled': 'enabled', 'rules': 'rules'}
- keys()
- required_args = {}
- swagger_types = {'enabled': 'bool', 'rules': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.oauth_token_response 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.models.oauth_token_response.OauthTokenResponse(access_token=None, issued_token_type=None, token_type=None, expires_in=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(access_token=None, issued_token_type=None, token_type=None, expires_in=None)
- Keyword Arguments
access_token (str) – The serialized OAuth 2.0 Bearer token used to perform authenticated requests. The access token must be added to the Authorization header of all API calls.
issued_token_type (str) – The type of token that is issued. The Pure Storage REST API supports OAuth 2.0 access tokens.
token_type (str) – Indicates how the API client can use the access token issued. The Pure Storage REST API supports the Bearer token.
expires_in (int) – The duration after which the access token will expire. Measured in seconds. This differs from other duration fields that are expressed in milliseconds.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'access_token': 'access_token', 'expires_in': 'expires_in', 'issued_token_type': 'issued_token_type', 'token_type': 'token_type'}
- keys()
- required_args = {}
- swagger_types = {'access_token': 'str', 'expires_in': 'int', 'issued_token_type': 'str', 'token_type': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.object_store_account 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.models.object_store_account.ObjectStoreAccount(as_of=None, id=None, name=None, arrays=None, created=None, object_count=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, id=None, name=None, arrays=None, created=None, object_count=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
id (str) – A non-modifiable, globally unique ID chosen by the system.
name (str) – A modifiable, locally unique name chosen by the user.
arrays (list[FixedReference]) – The list of arrays where this resource exists. Many resources are on a single array, but some resources, such as pods, can be shared across multiple arrays.
created (int) – Creation timestamp of the object, in milliseconds since Unix epoch.
object_count (int) – The number of objects within the account.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'arrays': 'arrays', 'as_of': '_as_of', 'created': 'created', 'id': 'id', 'name': 'name', 'object_count': 'object_count'}
- keys()
- required_args = {}
- swagger_types = {'arrays': 'list[FixedReference]', 'as_of': 'int', 'created': 'int', 'id': 'str', 'name': 'str', 'object_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.object_store_account_get_response 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.models.object_store_account_get_response.ObjectStoreAccountGetResponse(continuation_token=None, total_item_count=None, items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None, items=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
items (list[ObjectStoreAccount]) – A list of object store accounts.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'items': 'items', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'items': 'list[ObjectStoreAccount]', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.object_store_account_response 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.models.object_store_account_response.ObjectStoreAccountResponse(items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(items=None)
- Keyword Arguments
items (list[ObjectStoreAccount]) – A list of object store accounts.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'items': 'items'}
- keys()
- required_args = {}
- swagger_types = {'items': 'list[ObjectStoreAccount]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.page_info 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.models.page_info.PageInfo(continuation_token=None, total_item_count=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.pod 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.models.pod.Pod(as_of=None, id=None, name=None, arrays=None, mediator=None, source=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, id=None, name=None, arrays=None, mediator=None, source=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
id (str) – A non-modifiable, globally unique ID chosen by the system.
name (str) – A modifiable, locally unique name chosen by the user.
arrays (list[FixedReferenceFqdn]) – The list of arrays where this resource exists. Many resources are on a single array, but some resources, such as pods, can be shared across multiple arrays.
mediator (str) – The URL of the mediator for this pod.
source (FixedReference) – A reference to the source pod of a pod clone.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'arrays': 'arrays', 'as_of': '_as_of', 'id': 'id', 'mediator': 'mediator', 'name': 'name', 'source': 'source'}
- keys()
- required_args = {}
- swagger_types = {'arrays': 'list[FixedReferenceFqdn]', 'as_of': 'int', 'id': 'str', 'mediator': 'str', 'name': 'str', 'source': 'FixedReference'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.pod_array_status 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.models.pod_array_status.PodArrayStatus(id=None, name=None, resource_type=None, frozen_at=None, mediator_status=None, status=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(id=None, name=None, resource_type=None, frozen_at=None, mediator_status=None, status=None)
- Keyword Arguments
id (str) – The opaque and unique id of this resource.
name (str) – The name of this resource.
resource_type (str) – The type of this resource represented by the name of its REST endpoint. For example, “arrays”, “network-interfaces”, and “metrics”. The value may be null if the resource is not represented.
frozen_at (int) – The Unix timestamp of when the array was last in sync with the pod (or null if the array is currently in sync).
mediator_status (str) – The status of the mediator as assessed by this array. Valid values are flummoxed, online, unknown, and unreachable. flummoxed - The array has the wrong UUID for the mediator. This means that the array can reach a mediator, but is talking to the wrong one. Typically, this would be due to a misconfiguration in the customer environment (e.g. DNS misconfiguration). UUIDs also have a TTL. If a pod goes offline on one array, and stays like that for weeks (such that the TTL expires), it may also show this status until the peer array is reachable again. online - The array is successfully communicating with the mediator. unreachable - The array cannot reach the mediator. This could be due to a network issue or the mediator is down.
status (str) – Status of an array in the pod. Valid values are offline, online, resyncing, and unknown. offline - There is a problem. This array cannot confirm it has the latest data for this pod. This array can not handle IO to the pod nor could it take over during an HA event. online - Everything is fine. This array has the latest data for this pod. This array can handle IO to the pod and can take over during an HA event. resyncing - There was a problem. This array is actively catching up to get the latest data for this pod. This array can handle IO to this pod’s volumes, however it could not take over during an HA event. unknown - The state of the pod on this array cannot be determined. This state is only seen on disconnected arrays. The disconnected array cannot determine if the pod on another array is online or offline.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'frozen_at': 'frozen_at', 'id': 'id', 'mediator_status': 'mediator_status', 'name': 'name', 'resource_type': 'resource_type', 'status': 'status'}
- keys()
- required_args = {}
- swagger_types = {'frozen_at': 'int', 'id': 'str', 'mediator_status': 'str', 'name': 'str', 'resource_type': 'str', 'status': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.pod_get_response 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.models.pod_get_response.PodGetResponse(continuation_token=None, total_item_count=None, items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None, items=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
items (list[Pod]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'items': 'items', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'items': 'list[Pod]', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.pod_replica_link 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.models.pod_replica_link.PodReplicaLink(as_of=None, id=None, lag=None, paused=None, recovery_point=None, status=None, members=None, sources=None, targets=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, id=None, lag=None, paused=None, recovery_point=None, status=None, members=None, sources=None, targets=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
id (str) – A non-modifiable, globally unique ID chosen by the system.
lag (int) – Duration, in milliseconds, which represents how far behind the replication target is from the source.
paused (bool) – Returns true if the replica link is paused.
recovery_point (int) – Time when the last piece of data was replicated, in milliseconds since the UNIX epoch, and the recovery point if the target pod is promoted. If the pod is currently baselining then the value is null.
status (str) – Status of the replica link. Values include replicating, idle, baselining, paused, quiescing, quiesced, and unhealthy.
members (list[ResourceWithLocations]) – The union of source and target pods in the replica link.
sources (list[ResourceWithLocations]) – The source pods in the replica link.
targets (list[ResourceWithLocations]) – The target pods in the replica link.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'as_of': '_as_of', 'id': 'id', 'lag': 'lag', 'members': 'members', 'paused': 'paused', 'recovery_point': 'recovery_point', 'sources': 'sources', 'status': 'status', 'targets': 'targets'}
- keys()
- required_args = {}
- swagger_types = {'as_of': 'int', 'id': 'str', 'lag': 'int', 'members': 'list[ResourceWithLocations]', 'paused': 'bool', 'recovery_point': 'int', 'sources': 'list[ResourceWithLocations]', 'status': 'str', 'targets': 'list[ResourceWithLocations]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.pod_replica_link_get_response 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.models.pod_replica_link_get_response.PodReplicaLinkGetResponse(continuation_token=None, total_item_count=None, items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None, items=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
items (list[PodReplicaLink]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'items': 'items', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'items': 'list[PodReplicaLink]', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.pod_replica_link_response 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.models.pod_replica_link_response.PodReplicaLinkResponse(items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(items=None)
- Keyword Arguments
items (list[PodReplicaLink]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'items': 'items'}
- keys()
- required_args = {}
- swagger_types = {'items': 'list[PodReplicaLink]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.pod_response 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.models.pod_response.PodResponse(items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'items': 'items'}
- keys()
- required_args = {}
- swagger_types = {'items': 'list[Pod]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.policy 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.models.policy.Policy(as_of=None, id=None, name=None, arrays=None, enabled=None, rules=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, id=None, name=None, arrays=None, enabled=None, rules=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
id (str) – A non-modifiable, globally unique ID chosen by the system.
name (str) – A non-modifiable, locally unique name chosen by the system.
arrays (list[FixedReferenceFqdn]) – The list of arrays where this resource exists. Many resources are on a single array, but some resources, such as pods, can be shared across multiple arrays.
enabled (bool) – Returns true if this policy is enabled.
rules (list[PolicyRule]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'arrays': 'arrays', 'as_of': '_as_of', 'enabled': 'enabled', 'id': 'id', 'name': 'name', 'rules': 'rules'}
- keys()
- required_args = {}
- swagger_types = {'arrays': 'list[FixedReferenceFqdn]', 'as_of': 'int', 'enabled': 'bool', 'id': 'str', 'name': 'str', 'rules': 'list[PolicyRule]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.policy_get_response 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.models.policy_get_response.PolicyGetResponse(continuation_token=None, total_item_count=None, items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None, items=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
items (list[Policy]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'items': 'items', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'items': 'list[Policy]', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.policy_member 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.models.policy_member.PolicyMember(as_of=None, policy=None, member=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, policy=None, member=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
policy (FixedReference) –
member (FixedReference) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'as_of': '_as_of', 'member': 'member', 'policy': 'policy'}
- keys()
- required_args = {}
- swagger_types = {'as_of': 'int', 'member': 'FixedReference', 'policy': 'FixedReference'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.policy_members_get_response 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.models.policy_members_get_response.PolicyMembersGetResponse(continuation_token=None, total_item_count=None, items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None, items=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
items (list[PolicyMember]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'items': 'items', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'items': 'list[PolicyMember]', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.policy_members_response 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.models.policy_members_response.PolicyMembersResponse(items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(items=None)
- Keyword Arguments
items (list[PolicyMember]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'items': 'items'}
- keys()
- required_args = {}
- swagger_types = {'items': 'list[PolicyMember]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.policy_response 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.models.policy_response.PolicyResponse(items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'items': 'items'}
- keys()
- required_args = {}
- swagger_types = {'items': 'list[Policy]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.policy_rule 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.models.policy_rule.PolicyRule(at=None, every=None, keep_for=None, time_zone=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(at=None, every=None, keep_for=None, time_zone=None)
- Keyword Arguments
at (int) – Time of day to take the snapshot, in milliseconds since 00:00 in the specified time_zone. Only valid if every is set as whole days.
every (int) – How often to take snapshots, in milliseconds.
keep_for (int) – How long to keep snapshots, in milliseconds.
time_zone (str) – The time zone in which the at rule is applied.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'at': 'at', 'every': 'every', 'keep_for': 'keep_for', 'time_zone': 'time_zone'}
- keys()
- required_args = {}
- swagger_types = {'at': 'int', 'every': 'int', 'keep_for': 'int', 'time_zone': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.port 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.models.port.Port(as_of=None, id=None, name=None, arrays=None, iqn=None, nqn=None, wwn=None, portal=None, failover=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, id=None, name=None, arrays=None, iqn=None, nqn=None, wwn=None, portal=None, failover=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
id (str) – A non-modifiable, globally unique ID chosen by the system.
name (str) – A non-modifiable, locally unique name chosen by the system.
arrays (list[FixedReferenceFqdn]) – The list of arrays where this resource exists. Many resources are on a single array, but some resources, such as pods, can be shared across multiple arrays.
iqn (str) – The iSCSI Qualified Name if the port is iSCSI, null otherwise.
nqn (str) – The NVMe Qualified Name if the port is NVMe-oF, null otherwise.
wwn (str) – The Fibre Channel World Wide Name if the port is Fibre Channel, null otherwise.
portal (str) – The IP and port number if the port is iSCSI or NVMe-oF, null otherwise.
failover (str) – If the array port has failed over, returns the name of the port to which this port has failed over.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'arrays': 'arrays', 'as_of': '_as_of', 'failover': 'failover', 'id': 'id', 'iqn': 'iqn', 'name': 'name', 'nqn': 'nqn', 'portal': 'portal', 'wwn': 'wwn'}
- keys()
- required_args = {}
- swagger_types = {'arrays': 'list[FixedReferenceFqdn]', 'as_of': 'int', 'failover': 'str', 'id': 'str', 'iqn': 'str', 'name': 'str', 'nqn': 'str', 'portal': 'str', 'wwn': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.port_get_response 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.models.port_get_response.PortGetResponse(continuation_token=None, total_item_count=None, items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None, items=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
items (list[Port]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'items': 'items', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'items': 'list[Port]', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.port_response 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.models.port_response.PortResponse(items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'items': 'items'}
- keys()
- required_args = {}
- swagger_types = {'items': 'list[Port]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.replica_link 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.models.replica_link.ReplicaLink(as_of=None, id=None, lag=None, paused=None, recovery_point=None, status=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, id=None, lag=None, paused=None, recovery_point=None, status=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
id (str) – A non-modifiable, globally unique ID chosen by the system.
lag (int) – Duration, in milliseconds, which represents how far behind the replication target is from the source.
paused (bool) – Returns true if the replica link is paused.
recovery_point (int) – Time when the last piece of data was replicated, measured in milliseconds since the UNIX epoch, and the recovery point of the resource.
status (str) – Status of the replica link. Values include replicating, idle, and unhealthy.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'as_of': '_as_of', 'id': 'id', 'lag': 'lag', 'paused': 'paused', 'recovery_point': 'recovery_point', 'status': 'status'}
- keys()
- required_args = {}
- swagger_types = {'as_of': 'int', 'id': 'str', 'lag': 'int', 'paused': 'bool', 'recovery_point': 'int', 'status': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.resource 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.models.resource.Resource(as_of=None, id=None, name=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, id=None, name=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
id (str) – A non-modifiable, globally unique ID chosen by the system.
name (str) – A modifiable, locally unique name chosen by the user.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'as_of': '_as_of', 'id': 'id', 'name': 'name'}
- keys()
- required_args = {}
- swagger_types = {'as_of': 'int', 'id': 'str', 'name': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.resource_no_name 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.models.resource_no_name.ResourceNoName(as_of=None, id=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, id=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
id (str) – A non-modifiable, globally unique ID chosen by the system.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'as_of': '_as_of', 'id': 'id'}
- keys()
- required_args = {}
- swagger_types = {'as_of': 'int', 'id': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.resource_with_location 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.models.resource_with_location.ResourceWithLocation(id=None, name=None, resource_type=None, location=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(id=None, name=None, resource_type=None, location=None)
- Keyword Arguments
id (str) – The opaque and unique id of this resource.
name (str) – The name of this resource.
resource_type (str) – The type of this resource represented by the name of its REST endpoint. For example, “arrays”, “network-interfaces”, and “metrics”. The value may be null if the resource is not represented.
location (FixedReferenceFqdn) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'id': 'id', 'location': 'location', 'name': 'name', 'resource_type': 'resource_type'}
- keys()
- required_args = {}
- swagger_types = {'id': 'str', 'location': 'FixedReferenceFqdn', 'name': 'str', 'resource_type': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.resource_with_locations 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.models.resource_with_locations.ResourceWithLocations(id=None, name=None, resource_type=None, locations=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(id=None, name=None, resource_type=None, locations=None)
- Keyword Arguments
id (str) – The opaque and unique id of this resource.
name (str) – The name of this resource.
resource_type (str) – The type of this resource represented by the name of its REST endpoint. For example, “arrays”, “network-interfaces”, and “metrics”. The value may be null if the resource is not represented.
locations (list[FixedReferenceFqdn]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'id': 'id', 'locations': 'locations', 'name': 'name', 'resource_type': 'resource_type'}
- keys()
- required_args = {}
- swagger_types = {'id': 'str', 'locations': 'list[FixedReferenceFqdn]', 'name': 'str', 'resource_type': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.smb 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.models.smb.Smb(enabled=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(enabled=None)
- Keyword Arguments
enabled (bool) – Is the protocol enabled?
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'enabled': 'enabled'}
- keys()
- required_args = {}
- swagger_types = {'enabled': 'bool'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.subscription 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.models.subscription.Subscription(as_of=None, id=None, name=None, expiration_date=None, service=None, start_date=None, status=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, id=None, name=None, expiration_date=None, service=None, start_date=None, status=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
id (str) – A non-modifiable, globally unique ID chosen by the system.
name (str) – A non-modifiable, locally unique name chosen by the system.
expiration_date (int) – Date when the subscription expires. Represented as a timestamp of 00:00 on that date in UTC, in milliseconds since UNIX epoch.
service (str) – The service type of the subscription. Values include Evergreen//One, Evergreen//Flex, FlashStack as a Service, Storage as a Service, PaaS (Block Storage Service), PaaS (File and Object Storage Service), PaaS (Data Protection Service), and Pure1 Subscription.
start_date (int) – Date when the subscription starts. Represented as a timestamp of 00:00 on that date in UTC, in milliseconds since UNIX epoch.
status (str) – Current status of the subscription. Values include active, terminated, poc-expired, and signed.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'as_of': '_as_of', 'expiration_date': 'expiration_date', 'id': 'id', 'name': 'name', 'service': 'service', 'start_date': 'start_date', 'status': 'status'}
- keys()
- required_args = {}
- swagger_types = {'as_of': 'int', 'expiration_date': 'int', 'id': 'str', 'name': 'str', 'service': 'str', 'start_date': 'int', 'status': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.subscription_get_response 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.models.subscription_get_response.SubscriptionGetResponse(continuation_token=None, total_item_count=None, items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None, items=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
items (list[Subscription]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'items': 'items', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'items': 'list[Subscription]', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.subscription_license 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.models.subscription_license.SubscriptionLicense(as_of=None, id=None, name=None, average_on_demand=None, expiration_date=None, marketplace_partner=None, reservation=None, resources=None, service_tier=None, start_date=None, subscription=None, usage=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, id=None, name=None, average_on_demand=None, expiration_date=None, marketplace_partner=None, reservation=None, resources=None, service_tier=None, start_date=None, subscription=None, usage=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
id (str) – A non-modifiable, globally unique ID chosen by the system.
name (str) – A non-modifiable, locally unique name chosen by the system.
average_on_demand (CurrentMetric) – Estimated daily on-demand usage of the license from the current calendar quarter to date.
expiration_date (int) – Date when the license expires. Represented as a timestamp of 00:00 on that date in UTC, in milliseconds since UNIX epoch.
marketplace_partner (MarketplacePartner) – Reference information about the marketplace partner of this license.
reservation (CurrentMetric) – Current reservation amount of the license.
resources (list[LicenseResourceReference]) –
service_tier (str) – The tier of the service for the license.
start_date (int) – Date when the license starts. Represented as a timestamp of 00:00 on that date in UTC, in milliseconds since UNIX epoch.
subscription (FixedReference) – A reference to which subscription this license belongs.
usage (CurrentMetric) – Usage of the license, averaged over the last day.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'as_of': '_as_of', 'average_on_demand': 'average_on_demand', 'expiration_date': 'expiration_date', 'id': 'id', 'marketplace_partner': 'marketplace_partner', 'name': 'name', 'reservation': 'reservation', 'resources': 'resources', 'service_tier': 'service_tier', 'start_date': 'start_date', 'subscription': 'subscription', 'usage': 'usage'}
- keys()
- required_args = {}
- swagger_types = {'as_of': 'int', 'average_on_demand': 'CurrentMetric', 'expiration_date': 'int', 'id': 'str', 'marketplace_partner': 'MarketplacePartner', 'name': 'str', 'reservation': 'CurrentMetric', 'resources': 'list[LicenseResourceReference]', 'service_tier': 'str', 'start_date': 'int', 'subscription': 'FixedReference', 'usage': 'CurrentMetric'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.subscription_license_get_response 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.models.subscription_license_get_response.SubscriptionLicenseGetResponse(continuation_token=None, total_item_count=None, items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None, items=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
items (list[SubscriptionLicense]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'items': 'items', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'items': 'list[SubscriptionLicense]', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.subscription_license_response 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.models.subscription_license_response.SubscriptionLicenseResponse(items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(items=None)
- Keyword Arguments
items (list[SubscriptionLicense]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'items': 'items'}
- keys()
- required_args = {}
- swagger_types = {'items': 'list[SubscriptionLicense]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.subscription_response 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.models.subscription_response.SubscriptionResponse(items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(items=None)
- Keyword Arguments
items (list[Subscription]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'items': 'items'}
- keys()
- required_args = {}
- swagger_types = {'items': 'list[Subscription]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.support_contract 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.models.support_contract.SupportContract(start_date=None, end_date=None, resource=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(start_date=None, end_date=None, resource=None)
- Keyword Arguments
start_date (int) – Date when the support contract started. Represented as a timestamp of 00:00 on that date in UTC, in milliseconds since UNIX epoch.
end_date (int) – Date when the support contract ended. Represented as a timestamp of 00:00 on that date in UTC, in milliseconds since UNIX epoch.
resource (FixedReferenceFqdn) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'end_date': 'end_date', 'resource': 'resource', 'start_date': 'start_date'}
- keys()
- required_args = {}
- swagger_types = {'end_date': 'int', 'resource': 'FixedReferenceFqdn', 'start_date': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.support_contract_get_response 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.models.support_contract_get_response.SupportContractGetResponse(continuation_token=None, total_item_count=None, items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None, items=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
items (list[SupportContract]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'items': 'items', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'items': 'list[SupportContract]', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.support_contract_response 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.models.support_contract_response.SupportContractResponse(items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(items=None)
- Keyword Arguments
items (list[SupportContract]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'items': 'items'}
- keys()
- required_args = {}
- swagger_types = {'items': 'list[SupportContract]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.sustainability_array 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.models.sustainability_array.SustainabilityArray(as_of=None, id=None, name=None, assessment=None, install_address=None, reporting_status=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, id=None, name=None, assessment=None, install_address=None, reporting_status=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
id (str) – A non-modifiable, globally unique ID chosen by the system.
name (str) – A non-modifiable, locally unique name chosen by the system.
assessment (SustainabilityAssessment) –
install_address (InstallAddress) – The address where the array is installed. This address is also where replacement parts will be shipped to.
reporting_status (str) – Enum value that describes what is the status of the latest assessment. Valid values include: not_enough_data - There was not enough data to calculate assessment level of the appliance. unsupported_purity_version - The appliance is running an unsupported version of Purity operating system. It is an old Purity version which does not provide enough data for assessing the sustainability metrics. not_phoning_home - The appliance has not phoned home for more than 7 days so the assessment level was not calculated assessment_ready - Assessment is ready and it is available under assessment field.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'as_of': '_as_of', 'assessment': 'assessment', 'id': 'id', 'install_address': 'install_address', 'name': 'name', 'reporting_status': 'reporting_status'}
- keys()
- required_args = {}
- swagger_types = {'as_of': 'int', 'assessment': 'SustainabilityAssessment', 'id': 'str', 'install_address': 'InstallAddress', 'name': 'str', 'reporting_status': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.sustainability_array_get_response 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.models.sustainability_array_get_response.SustainabilityArrayGetResponse(continuation_token=None, total_item_count=None, items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None, items=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
items (list[SustainabilityArray]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'items': 'items', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'items': 'list[SustainabilityArray]', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.sustainability_array_response 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.models.sustainability_array_response.SustainabilityArrayResponse(items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(items=None)
- Keyword Arguments
items (list[SustainabilityArray]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'items': 'items'}
- keys()
- required_args = {}
- swagger_types = {'items': 'list[SustainabilityArray]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.sustainability_assessment 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.models.sustainability_assessment.SustainabilityAssessment(as_of=None, interval_start=None, interval_end=None, shelves=None, chassis=None, blades=None, rack_units=None, capacity_utilization=None, array_data_reduction=None, array_total_load=None, power_typical_spec=None, power_peak_spec=None, power_average=None, heat_typical_spec=None, heat_peak_spec=None, heat_average=None, power_per_used_space=None, power_per_usable_capacity=None, assessment_level=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, interval_start=None, interval_end=None, shelves=None, chassis=None, blades=None, rack_units=None, capacity_utilization=None, array_data_reduction=None, array_total_load=None, power_typical_spec=None, power_peak_spec=None, power_average=None, heat_typical_spec=None, heat_peak_spec=None, heat_average=None, power_per_used_space=None, power_per_usable_capacity=None, assessment_level=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
interval_start (int) – The timestamp of the start of the time interval.
interval_end (int) – The timestamp of the end of the time interval.
shelves (int) – The number of expansion shelves of the FlashArray appliance. It is always zero for FlashBlade appliances.
chassis (int) – The number of chassis of the appliance, always one for FlashArray appliances.
blades (int) – The number of blades of the FlashBlade appliance, always zero for FlashArray appliances.
rack_units (int) – The total number of rack units occupied by the appliance.
capacity_utilization (float) – The percentage of the used capacity. Average over the assessment window.
array_data_reduction (float) – The data reduction ratio of the appliance. Average over the assessment window.
array_total_load (float) – The load percentage. Average over the assessment window.
power_typical_spec (float) – The typical power consumption of the appliance in Watts. The value is derived from benchmark data and remains static for the model and configuration.
power_peak_spec (float) – The peak power consumption of the appliance in Watts. The value is derived from benchmark data and remains static for the model and configuration.
power_average (float) – The average of power consumption of the appliance. Average over the assessment window.
heat_typical_spec (float) – The typical heat production of the appliance in BTU/hr. The value is derived from benchmark data and remains static for the model and configuration.
heat_peak_spec (float) – The peak heat production of the appliance in BTU/hr. The value is derived from benchmark data and remains static for the model and configuration.
heat_average (float) – The average of heat production of the appliance in BTU/Hr. Average over the assessment window.
power_per_used_space (float) – The average of power consumption per TiB of used space.
power_per_usable_capacity (float) – The average of power consumption per TiB of usable capacity.
assessment_level (str) – The assessment level of an appliance. Valid values include: good - The assessment level of appliance is GOOD - all green. recommendation - There are some actions that can be done to bring appliance to a GOOD level. action_required - The lowest level of assessment. Some actions are required to improve the assessment level.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'array_data_reduction': 'array_data_reduction', 'array_total_load': 'array_total_load', 'as_of': '_as_of', 'assessment_level': 'assessment_level', 'blades': 'blades', 'capacity_utilization': 'capacity_utilization', 'chassis': 'chassis', 'heat_average': 'heat_average', 'heat_peak_spec': 'heat_peak_spec', 'heat_typical_spec': 'heat_typical_spec', 'interval_end': '_interval_end', 'interval_start': '_interval_start', 'power_average': 'power_average', 'power_peak_spec': 'power_peak_spec', 'power_per_usable_capacity': 'power_per_usable_capacity', 'power_per_used_space': 'power_per_used_space', 'power_typical_spec': 'power_typical_spec', 'rack_units': 'rack_units', 'shelves': 'shelves'}
- keys()
- required_args = {}
- swagger_types = {'array_data_reduction': 'float', 'array_total_load': 'float', 'as_of': 'int', 'assessment_level': 'str', 'blades': 'int', 'capacity_utilization': 'float', 'chassis': 'int', 'heat_average': 'float', 'heat_peak_spec': 'float', 'heat_typical_spec': 'float', 'interval_end': 'int', 'interval_start': 'int', 'power_average': 'float', 'power_peak_spec': 'float', 'power_per_usable_capacity': 'float', 'power_per_used_space': 'float', 'power_typical_spec': 'float', 'rack_units': 'int', 'shelves': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.sustainability_insight_array 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.models.sustainability_insight_array.SustainabilityInsightArray(as_of=None, interval_start=None, interval_end=None, additional_data=None, resource=None, severity=None, type=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, interval_start=None, interval_end=None, additional_data=None, resource=None, severity=None, type=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
interval_start (int) – The timestamp of the start of the time interval.
interval_end (int) – The timestamp of the end of the time interval.
additional_data (object) – The arbitrary data associated with the insight.
resource (FixedReferenceFqdn) –
severity (str) – The severity of the insight. Should be one of medium, high.
type (str) – The type of the insight.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'additional_data': 'additional_data', 'as_of': '_as_of', 'interval_end': '_interval_end', 'interval_start': '_interval_start', 'resource': 'resource', 'severity': 'severity', 'type': 'type'}
- keys()
- required_args = {}
- swagger_types = {'additional_data': 'object', 'as_of': 'int', 'interval_end': 'int', 'interval_start': 'int', 'resource': 'FixedReferenceFqdn', 'severity': 'str', 'type': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.sustainability_insight_array_get_response 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.models.sustainability_insight_array_get_response.SustainabilityInsightArrayGetResponse(continuation_token=None, total_item_count=None, items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None, items=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
items (list[SustainabilityInsightArray]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'items': 'items', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'items': 'list[SustainabilityInsightArray]', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.sustainability_insight_array_response 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.models.sustainability_insight_array_response.SustainabilityInsightArrayResponse(items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(items=None)
- Keyword Arguments
items (list[SustainabilityInsightArray]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'items': 'items'}
- keys()
- required_args = {}
- swagger_types = {'items': 'list[SustainabilityInsightArray]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.tag 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.models.tag.Tag(key=None, namespace=None, resource=None, tag_organization_id=None, value=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(key=None, namespace=None, resource=None, tag_organization_id=None, value=None)
- Keyword Arguments
key (str) – Key of the tag.
namespace (str) – Namespace of the tag. Namespace identifies the category of the tag.
resource (FixedReference) –
tag_organization_id (int) – Org id of the tag.
value (str) – Value of the tag.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'key': 'key', 'namespace': 'namespace', 'resource': 'resource', 'tag_organization_id': 'tag_organization_id', 'value': 'value'}
- keys()
- required_args = {}
- swagger_types = {'key': 'str', 'namespace': 'str', 'resource': 'FixedReference', 'tag_organization_id': 'int', 'value': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.tag_get_response 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.models.tag_get_response.TagGetResponse(continuation_token=None, total_item_count=None, items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None, items=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
items (list[Tag]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'items': 'items', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'items': 'list[Tag]', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.tag_put 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.models.tag_put.TagPut(key=None, value=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(key=None, value=None)
- Keyword Arguments
key (str) – Key of the tag.
value (str) – Value of the tag.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'key': 'key', 'value': 'value'}
- keys()
- required_args = {}
- swagger_types = {'key': 'str', 'value': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.tag_response 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.models.tag_response.TagResponse(items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'items': 'items'}
- keys()
- required_args = {}
- swagger_types = {'items': 'list[Tag]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.target 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.models.target.Target(as_of=None, id=None, name=None, arrays=None, address=None, status=None, status_details=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, id=None, name=None, arrays=None, address=None, status=None, status_details=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
id (str) – A non-modifiable, globally unique ID chosen by the system.
name (str) – A non-modifiable, locally unique name chosen by the system.
arrays (list[FixedReferenceFqdn]) – The list of arrays where this resource exists. Many resources are on a single array, but some resources, such as pods, can be shared across multiple arrays.
address (str) – IP address or FQDN of the target system.
status (str) – Status of the connection. Values include connected and connecting.
status_details (str) – Additional information describing any issues encountered when connecting, or null if the status is connected.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'address': 'address', 'arrays': 'arrays', 'as_of': '_as_of', 'id': 'id', 'name': 'name', 'status': 'status', 'status_details': 'status_details'}
- keys()
- required_args = {}
- swagger_types = {'address': 'str', 'arrays': 'list[FixedReferenceFqdn]', 'as_of': 'int', 'id': 'str', 'name': 'str', 'status': 'str', 'status_details': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.target_get_response 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.models.target_get_response.TargetGetResponse(continuation_token=None, total_item_count=None, items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None, items=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
items (list[Target]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'items': 'items', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'items': 'list[Target]', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.target_response 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.models.target_response.TargetResponse(items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'items': 'items'}
- keys()
- required_args = {}
- swagger_types = {'items': 'list[Target]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.tax 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.models.tax.Tax(percentage=None, amount=None, exemption_statement=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(percentage=None, amount=None, exemption_statement=None)
- Keyword Arguments
percentage (float) – The tax ratio in percentage.
amount (float) – The total taxes of current invoice item, currency is specified in invoice currency.
exemption_statement (str) – The tax exemption statement.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'amount': 'amount', 'exemption_statement': 'exemption_statement', 'percentage': 'percentage'}
- keys()
- required_args = {}
- swagger_types = {'amount': 'float', 'exemption_statement': 'str', 'percentage': 'float'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.time_aware 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.models.time_aware.TimeAware(as_of=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'as_of': '_as_of'}
- keys()
- required_args = {}
- swagger_types = {'as_of': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.time_interval 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.models.time_interval.TimeInterval(interval_start=None, interval_end=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(interval_start=None, interval_end=None)
- Keyword Arguments
interval_start (int) – The timestamp of the start of the time interval.
interval_end (int) – The timestamp of the end of the time interval.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'interval_end': '_interval_end', 'interval_start': '_interval_start'}
- keys()
- required_args = {}
- swagger_types = {'interval_end': 'int', 'interval_start': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.volume 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.models.volume.Volume(as_of=None, id=None, name=None, arrays=None, created=None, destroyed=None, eradicated=None, pod=None, provisioned=None, serial=None, source=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, id=None, name=None, arrays=None, created=None, destroyed=None, eradicated=None, pod=None, provisioned=None, serial=None, source=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
id (str) – A non-modifiable, globally unique ID chosen by the system.
name (str) – A modifiable, locally unique name chosen by the user.
arrays (list[FixedReferenceFqdn]) – The list of arrays where this resource exists. Many resources are on a single array, but some resources, such as pods, can be shared across multiple arrays.
created (int) – Creation time in milliseconds since UNIX epoch.
destroyed (bool) – Whether this volume has been destroyed or not.
eradicated (bool) – Whether this volume has been eradicated or not.
pod (FixedReference) – A reference to the pod this volume belongs to, if applicable.
provisioned (int) – Provisioned size of the volume in bytes.
serial (str) – Serial number generated by Purity when the volume was created.
source (FixedReference) – A reference to the volume this volume was cloned from, if applicable.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'arrays': 'arrays', 'as_of': '_as_of', 'created': 'created', 'destroyed': 'destroyed', 'eradicated': 'eradicated', 'id': 'id', 'name': 'name', 'pod': 'pod', 'provisioned': 'provisioned', 'serial': 'serial', 'source': 'source'}
- keys()
- required_args = {}
- swagger_types = {'arrays': 'list[FixedReferenceFqdn]', 'as_of': 'int', 'created': 'int', 'destroyed': 'bool', 'eradicated': 'bool', 'id': 'str', 'name': 'str', 'pod': 'FixedReference', 'provisioned': 'int', 'serial': 'str', 'source': 'FixedReference'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.volume_get_response 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.models.volume_get_response.VolumeGetResponse(continuation_token=None, total_item_count=None, items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None, items=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
items (list[Volume]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'items': 'items', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'items': 'list[Volume]', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.volume_response 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.models.volume_response.VolumeResponse(items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'items': 'items'}
- keys()
- required_args = {}
- swagger_types = {'items': 'list[Volume]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.volume_snapshot 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.models.volume_snapshot.VolumeSnapshot(as_of=None, id=None, name=None, arrays=None, created=None, destroyed=None, pod=None, provisioned=None, on=None, serial=None, snapshot_group=None, source=None, suffix=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(as_of=None, id=None, name=None, arrays=None, created=None, destroyed=None, pod=None, provisioned=None, on=None, serial=None, snapshot_group=None, source=None, suffix=None)
- Keyword Arguments
as_of (int) – The freshness of the data (timestamp in millis since epoch).
id (str) – A non-modifiable, globally unique ID chosen by the system.
name (str) – A non-modifiable, locally unique name chosen by the system.
arrays (list[FixedReferenceFqdn]) – The list of arrays where this resource exists. Many resources are on a single array, but some resources, such as pods, can be shared across multiple arrays.
created (int) – Creation time in milliseconds since UNIX epoch.
destroyed (bool) – Indicates if this snapshot has been destroyed and is pending eradication.
pod (FixedReference) – A reference to the pod the source volume belongs to, if applicable.
provisioned (int) – Indicates the size (in bytes) of the volume when the snapshot was taken.
on (FixedReferenceFqdn) –
serial (str) – Serial number generated by Purity when the snapshot was created.
snapshot_group (FixedReference) – A reference to a consistency group snapshot that this snapshot is part of.
source (FixedReference) – A reference to the volume that the snapshot was taken from.
suffix (str) – Suffix added to the source volume name used to generate the volume snapshot name.
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'arrays': 'arrays', 'as_of': '_as_of', 'created': 'created', 'destroyed': 'destroyed', 'id': 'id', 'name': 'name', 'on': 'on', 'pod': 'pod', 'provisioned': 'provisioned', 'serial': 'serial', 'snapshot_group': 'snapshot_group', 'source': 'source', 'suffix': 'suffix'}
- keys()
- required_args = {}
- swagger_types = {'arrays': 'list[FixedReferenceFqdn]', 'as_of': 'int', 'created': 'int', 'destroyed': 'bool', 'id': 'str', 'name': 'str', 'on': 'FixedReferenceFqdn', 'pod': 'FixedReference', 'provisioned': 'int', 'serial': 'str', 'snapshot_group': 'FixedReference', 'source': 'FixedReference', 'suffix': 'str'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.volume_snapshot_get_response 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.models.volume_snapshot_get_response.VolumeSnapshotGetResponse(continuation_token=None, total_item_count=None, items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(continuation_token=None, total_item_count=None, items=None)
- Keyword Arguments
continuation_token (str) – Continuation token that can be provided in the continuation_token query param to get the next page of data. If you use the continuation token to page through data you are guaranteed to get all items exactly once regardless of how items are modified. If an item is added or deleted during the pagination then it may or may not be returned. The continuation token is generated if the limit is less than the remaining number of items, and the default sort is used (no sort is specified).
total_item_count (int) – Total number of items after applying filter params.
items (list[VolumeSnapshot]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'continuation_token': 'continuation_token', 'items': 'items', 'total_item_count': 'total_item_count'}
- keys()
- required_args = {}
- swagger_types = {'continuation_token': 'str', 'items': 'list[VolumeSnapshot]', 'total_item_count': 'int'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
pypureclient.pure1.Pure1_1_1.models.volume_snapshot_response 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.models.volume_snapshot_response.VolumeSnapshotResponse(items=None)
Bases:
object
- swagger_types
The key is attribute name and the value is attribute type.
- Type
dict
- attribute_map
The key is attribute name and the value is json key in definition.
- Type
dict
- __eq__(other)
Returns true if both objects are equal
- __init__(items=None)
- Keyword Arguments
items (list[VolumeSnapshot]) –
- __ne__(other)
Returns true if both objects are not equal
- __repr__()
For print and pprint
- attribute_map = {'items': 'items'}
- keys()
- required_args = {}
- swagger_types = {'items': 'list[VolumeSnapshot]'}
- to_dict()
Returns the model properties as a dict
- to_str()
Returns the string representation of the model
Module contents
- class pypureclient.pure1.Pure1_1_1.models.ReferenceType
Bases:
object
Class just for type annotations.
It’s used for reference arg on api function. This allows user to pass collections of Model objects to the method without transforming them to ids or names.
Should be Protocol type when the typing module will get support of it.
- pypureclient.pure1.Pure1_1_1.models.quoteString(s)
Quote string according to https://wiki.purestorage.com/display/UXReviewers/Filtering
>>> quote("a") "'a'" >>> quote("a\\b") "'a\\\\b'" >>> quote("a\\b") "'a\\\\b'" >>> quote("a'b") "'a\\'b'" >>> quote(None) None
- pypureclient.pure1.Pure1_1_1.models.quoteStrings(s)