Objectstore#

class Objectstore(metadata=None, name=None, creation_time=None, last_update_time=None, description=None, deployment_version=None, domain=None, region=None, num_worker_nodes=None, cluster_reference=None, storage_network_reference=None, storage_network_vip=None, storage_network_dns_ip=None, public_network_reference=None, public_network_ips=None, total_capacity_gi_b=None, state=None, certificate_reference=None, ext_id=None, links=None, tenant_id=None, *args, **kwargs)#

Bases: ExternalizableAbstractModel

Parameters:
  • metadata – (metadata)

  • name (required) – (name) The name of the Object store.

  • creation_time – (creation_time) The time when the Object store was created.

  • last_update_time – (last_update_time) The time when the Object store was last updated.

  • description – (description) A brief description of the Object store.

  • deployment_version – (deployment_version) Object store deployment version.

  • domain – (domain) The DNS domain/subdomain the Object store belongs to. All the Object stores under one Prism Central must have the same domain name. The domain name must consist of at least 2 parts separated by a ‘.’. Each part can contain upper and lower case letters, digits, hyphens, or underscores. Each part can be up to 63 characters long. The domain must begin and end with an alphanumeric character. For example - ‘objects-0.pc_nutanix.com’.

  • region – (region) The region in which the Object store is deployed.

  • num_worker_nodes – (num_worker_nodes) The number of worker nodes (VMs) to be created for the Object store. Each worker node requires 10 vCPUs and 32 GiB of memory.

  • cluster_reference – (cluster_reference) UUID of the AHV or ESXi cluster.

  • storage_network_reference – (storage_network_reference) Reference to the Storage Network of the Object store. This is the subnet UUID for an AHV cluster or the IPAM name for an ESXi cluster.

  • storage_network_vip – (storage_network_vip)

  • storage_network_dns_ip – (storage_network_dns_ip)

  • public_network_reference – (public_network_reference) Public network reference of the Object store. This is the subnet UUID for an AHV cluster or the IPAM name for an ESXi cluster.

  • public_network_ips – (public_network_ips) A list of static IP addresses used as public IPs to access the Object store.

  • total_capacity_gi_b – (total_capacity_gi_b) Size of the Object store in GiB.

  • state – (state)

  • certificate_reference – (certificate_reference) UUID reference to the Object store certificate.

property certificate_reference#

UUID reference to the Object store certificate.

Type:

str

property cluster_reference#

UUID of the AHV or ESXi cluster.

Type:

str

property creation_time#

The time when the Object store was created.

Type:

datetime

property deployment_version#

Object store deployment version.

Type:

str

property description#

A brief description of the Object store.

Type:

str

property domain#

The DNS domain/subdomain the Object store belongs to. All the Object stores under one Prism Central must have the same domain name. The domain name must consist of at least 2 parts separated by a ‘.’. Each part can contain upper and lower case letters, digits, hyphens, or underscores. Each part can be up to 63 characters long. The domain must begin and end with an alphanumeric character. For example - ‘objects-0.pc_nutanix.com’.

Type:

str

property last_update_time#

The time when the Object store was last updated.

Type:

datetime

property metadata#
Type:

Metadata

property name#

The name of the Object store.

Type:

str

property num_worker_nodes#

The number of worker nodes (VMs) to be created for the Object store. Each worker node requires 10 vCPUs and 32 GiB of memory.

Type:

int

property public_network_ips#

A list of static IP addresses used as public IPs to access the Object store.

Type:

list[ IPAddress ]

property public_network_reference#

Public network reference of the Object store. This is the subnet UUID for an AHV cluster or the IPAM name for an ESXi cluster.

Type:

str

property region#

The region in which the Object store is deployed.

Type:

str

property state#
Type:

StateEnum

property storage_network_dns_ip#
Type:

IPAddress

property storage_network_reference#

Reference to the Storage Network of the Object store. This is the subnet UUID for an AHV cluster or the IPAM name for an ESXi cluster.

Type:

str

property storage_network_vip#
Type:

IPAddress

to_dict()#

Returns the model properties as a dictionary

to_str()#

Returns the string representation of the model

property total_capacity_gi_b#

Size of the Object store in GiB.

Type:

int