vmware.vmc_draas.models package

Submodules

vmware.vmc_draas.models.abstract_entity module

VMC DRaaS APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc_draas.models.abstract_entity.AbstractEntity(updated=None, user_id=None, created=None, updated_by_user_id=None, version=None, updated_by_user_name=None, user_name=None, id=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

AbstractEntity - a model defined in OpenAPI

attribute_map = {'created': 'created', 'id': 'id', 'updated': 'updated', 'updated_by_user_id': 'updated_by_user_id', 'updated_by_user_name': 'updated_by_user_name', 'user_id': 'user_id', 'user_name': 'user_name', 'version': 'version'}
property created

Gets the created of this AbstractEntity. # noqa: E501

Returns

The created of this AbstractEntity. # noqa: E501

Return type

datetime

property id

Gets the id of this AbstractEntity. # noqa: E501

Returns

The id of this AbstractEntity. # noqa: E501

Return type

str

openapi_types = {'created': 'datetime', 'id': 'str', 'updated': 'datetime', 'updated_by_user_id': 'str', 'updated_by_user_name': 'str', 'user_id': 'str', 'user_name': 'str', 'version': 'int'}
to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model

property updated

Gets the updated of this AbstractEntity. # noqa: E501

Returns

The updated of this AbstractEntity. # noqa: E501

Return type

datetime

property updated_by_user_id

Gets the updated_by_user_id of this AbstractEntity. # noqa: E501

User id that last updated this record # noqa: E501

Returns

The updated_by_user_id of this AbstractEntity. # noqa: E501

Return type

str

property updated_by_user_name

Gets the updated_by_user_name of this AbstractEntity. # noqa: E501

User name that last updated this record # noqa: E501

Returns

The updated_by_user_name of this AbstractEntity. # noqa: E501

Return type

str

property user_id

Gets the user_id of this AbstractEntity. # noqa: E501

User id that last updated this record # noqa: E501

Returns

The user_id of this AbstractEntity. # noqa: E501

Return type

str

property user_name

Gets the user_name of this AbstractEntity. # noqa: E501

User name that last updated this record # noqa: E501

Returns

The user_name of this AbstractEntity. # noqa: E501

Return type

str

property version

Gets the version of this AbstractEntity. # noqa: E501

Version of this entity # noqa: E501

Returns

The version of this AbstractEntity. # noqa: E501

Return type

int

vmware.vmc_draas.models.activate_site_recovery_config module

VMC DRaaS APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc_draas.models.activate_site_recovery_config.ActivateSiteRecoveryConfig(srm_extension_key_suffix=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

ActivateSiteRecoveryConfig - a model defined in OpenAPI

attribute_map = {'srm_extension_key_suffix': 'srm_extension_key_suffix'}
openapi_types = {'srm_extension_key_suffix': 'str'}
property srm_extension_key_suffix

Gets the srm_extension_key_suffix of this ActivateSiteRecoveryConfig. # noqa: E501

Optional custom extension key suffix for SRM. If not specified, default extension key will be used. The custom extension suffix must contain 13 characters or less, be composed of letters, numbers, ., -, and _ characters. The extension suffix must begin and end with a letter or number. The suffix is appended to com.vmware.vcDr- to form the full extension key. # noqa: E501

Returns

The srm_extension_key_suffix of this ActivateSiteRecoveryConfig. # noqa: E501

Return type

str

to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model

vmware.vmc_draas.models.error_response module

VMC DRaaS APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc_draas.models.error_response.ErrorResponse(status=None, path=None, retryable=None, error_code=None, error_messages=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

ErrorResponse - a model defined in OpenAPI

attribute_map = {'error_code': 'error_code', 'error_messages': 'error_messages', 'path': 'path', 'retryable': 'retryable', 'status': 'status'}
property error_code

Gets the error_code of this ErrorResponse. # noqa: E501

unique error code # noqa: E501

Returns

The error_code of this ErrorResponse. # noqa: E501

Return type

str

property error_messages

Gets the error_messages of this ErrorResponse. # noqa: E501

localized error messages # noqa: E501

Returns

The error_messages of this ErrorResponse. # noqa: E501

Return type

list[str]

openapi_types = {'error_code': 'str', 'error_messages': 'list[str]', 'path': 'str', 'retryable': 'bool', 'status': 'int'}
property path

Gets the path of this ErrorResponse. # noqa: E501

Originating request URI # noqa: E501

Returns

The path of this ErrorResponse. # noqa: E501

Return type

str

property retryable

Gets the retryable of this ErrorResponse. # noqa: E501

If true, client should retry operation # noqa: E501

Returns

The retryable of this ErrorResponse. # noqa: E501

Return type

bool

property status

Gets the status of this ErrorResponse. # noqa: E501

HTTP status code # noqa: E501

Returns

The status of this ErrorResponse. # noqa: E501

Return type

int

to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model

vmware.vmc_draas.models.provision_srm_config module

VMC DRaaS APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc_draas.models.provision_srm_config.ProvisionSrmConfig(srm_extension_key_suffix=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

ProvisionSrmConfig - a model defined in OpenAPI

attribute_map = {'srm_extension_key_suffix': 'srm_extension_key_suffix'}
openapi_types = {'srm_extension_key_suffix': 'str'}
property srm_extension_key_suffix

Gets the srm_extension_key_suffix of this ProvisionSrmConfig. # noqa: E501

Optional custom extension key suffix for SRM. If not specified, default extension key will be used. # noqa: E501

Returns

The srm_extension_key_suffix of this ProvisionSrmConfig. # noqa: E501

Return type

str

to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model

vmware.vmc_draas.models.replica_disk module

VMC DRaaS APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc_draas.models.replica_disk.ReplicaDisk(space_requirement=None, name=None, collection_id=None, datastores_for_single_host_move=None, movable=None, disk_id=None, datastore_mo_id=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

ReplicaDisk - a model defined in OpenAPI

attribute_map = {'collection_id': 'collection_id', 'datastore_mo_id': 'datastore_mo_id', 'datastores_for_single_host_move': 'datastores_for_single_host_move', 'disk_id': 'disk_id', 'movable': 'movable', 'name': 'name', 'space_requirement': 'space_requirement'}
property collection_id

Gets the collection_id of this ReplicaDisk. # noqa: E501

Returns

The collection_id of this ReplicaDisk. # noqa: E501

Return type

str

property datastore_mo_id

Gets the datastore_mo_id of this ReplicaDisk. # noqa: E501

Returns

The datastore_mo_id of this ReplicaDisk. # noqa: E501

Return type

str

property datastores_for_single_host_move

Gets the datastores_for_single_host_move of this ReplicaDisk. # noqa: E501

Returns

The datastores_for_single_host_move of this ReplicaDisk. # noqa: E501

Return type

list[object]

property disk_id

Gets the disk_id of this ReplicaDisk. # noqa: E501

Returns

The disk_id of this ReplicaDisk. # noqa: E501

Return type

str

property movable

Gets the movable of this ReplicaDisk. # noqa: E501

Returns

The movable of this ReplicaDisk. # noqa: E501

Return type

bool

property name

Gets the name of this ReplicaDisk. # noqa: E501

Returns

The name of this ReplicaDisk. # noqa: E501

Return type

str

openapi_types = {'collection_id': 'str', 'datastore_mo_id': 'str', 'datastores_for_single_host_move': 'list[object]', 'disk_id': 'str', 'movable': 'bool', 'name': 'str', 'space_requirement': 'float'}
property space_requirement

Gets the space_requirement of this ReplicaDisk. # noqa: E501

Returns

The space_requirement of this ReplicaDisk. # noqa: E501

Return type

float

to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model

vmware.vmc_draas.models.replica_disk_collection module

VMC DRaaS APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc_draas.models.replica_disk_collection.ReplicaDiskCollection(collection_id=None, generated=None, disks=None, placeholder_vm_mo_id=None, name=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

ReplicaDiskCollection - a model defined in OpenAPI

attribute_map = {'collection_id': 'collection_id', 'disks': 'disks', 'generated': 'generated', 'name': 'name', 'placeholder_vm_mo_id': 'placeholder_vm_mo_id'}
property collection_id

Gets the collection_id of this ReplicaDiskCollection. # noqa: E501

Returns

The collection_id of this ReplicaDiskCollection. # noqa: E501

Return type

str

property disks

Gets the disks of this ReplicaDiskCollection. # noqa: E501

Returns

The disks of this ReplicaDiskCollection. # noqa: E501

Return type

list[ReplicaDisk]

property generated

Gets the generated of this ReplicaDiskCollection. # noqa: E501

Returns

The generated of this ReplicaDiskCollection. # noqa: E501

Return type

datetime

property name

Gets the name of this ReplicaDiskCollection. # noqa: E501

Returns

The name of this ReplicaDiskCollection. # noqa: E501

Return type

str

openapi_types = {'collection_id': 'str', 'disks': 'list[ReplicaDisk]', 'generated': 'datetime', 'name': 'str', 'placeholder_vm_mo_id': 'str'}
property placeholder_vm_mo_id

Gets the placeholder_vm_mo_id of this ReplicaDiskCollection. # noqa: E501

Returns

The placeholder_vm_mo_id of this ReplicaDiskCollection. # noqa: E501

Return type

str

to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model

vmware.vmc_draas.models.site_recovery module

VMC DRaaS APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc_draas.models.site_recovery.SiteRecovery(updated=None, user_id=None, created=None, updated_by_user_id=None, version=None, updated_by_user_name=None, user_name=None, id=None, site_recovery_state=None, vr_node=None, srm_nodes=None, sddc_id=None, draas_h5_url=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

SiteRecovery - a model defined in OpenAPI

attribute_map = {'created': 'created', 'draas_h5_url': 'draas_h5_url', 'id': 'id', 'sddc_id': 'sddc_id', 'site_recovery_state': 'site_recovery_state', 'srm_nodes': 'srm_nodes', 'updated': 'updated', 'updated_by_user_id': 'updated_by_user_id', 'updated_by_user_name': 'updated_by_user_name', 'user_id': 'user_id', 'user_name': 'user_name', 'version': 'version', 'vr_node': 'vr_node'}
property created

Gets the created of this SiteRecovery. # noqa: E501

Returns

The created of this SiteRecovery. # noqa: E501

Return type

datetime

property draas_h5_url

Gets the draas_h5_url of this SiteRecovery. # noqa: E501

Returns

The draas_h5_url of this SiteRecovery. # noqa: E501

Return type

str

property id

Gets the id of this SiteRecovery. # noqa: E501

Returns

The id of this SiteRecovery. # noqa: E501

Return type

str

openapi_types = {'created': 'datetime', 'draas_h5_url': 'str', 'id': 'str', 'sddc_id': 'str', 'site_recovery_state': 'str', 'srm_nodes': 'list[SiteRecoveryNode]', 'updated': 'datetime', 'updated_by_user_id': 'str', 'updated_by_user_name': 'str', 'user_id': 'str', 'user_name': 'str', 'version': 'int', 'vr_node': 'SiteRecoveryNode'}
property sddc_id

Gets the sddc_id of this SiteRecovery. # noqa: E501

Returns

The sddc_id of this SiteRecovery. # noqa: E501

Return type

str

property site_recovery_state

Gets the site_recovery_state of this SiteRecovery. # noqa: E501

Returns

The site_recovery_state of this SiteRecovery. # noqa: E501

Return type

str

property srm_nodes

Gets the srm_nodes of this SiteRecovery. # noqa: E501

Returns

The srm_nodes of this SiteRecovery. # noqa: E501

Return type

list[SiteRecoveryNode]

to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model

property updated

Gets the updated of this SiteRecovery. # noqa: E501

Returns

The updated of this SiteRecovery. # noqa: E501

Return type

datetime

property updated_by_user_id

Gets the updated_by_user_id of this SiteRecovery. # noqa: E501

User id that last updated this record # noqa: E501

Returns

The updated_by_user_id of this SiteRecovery. # noqa: E501

Return type

str

property updated_by_user_name

Gets the updated_by_user_name of this SiteRecovery. # noqa: E501

User name that last updated this record # noqa: E501

Returns

The updated_by_user_name of this SiteRecovery. # noqa: E501

Return type

str

property user_id

Gets the user_id of this SiteRecovery. # noqa: E501

User id that last updated this record # noqa: E501

Returns

The user_id of this SiteRecovery. # noqa: E501

Return type

str

property user_name

Gets the user_name of this SiteRecovery. # noqa: E501

User name that last updated this record # noqa: E501

Returns

The user_name of this SiteRecovery. # noqa: E501

Return type

str

property version

Gets the version of this SiteRecovery. # noqa: E501

Version of this entity # noqa: E501

Returns

The version of this SiteRecovery. # noqa: E501

Return type

int

property vr_node

Gets the vr_node of this SiteRecovery. # noqa: E501

Returns

The vr_node of this SiteRecovery. # noqa: E501

Return type

SiteRecoveryNode

vmware.vmc_draas.models.site_recovery_all_of module

VMC DRaaS APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc_draas.models.site_recovery_all_of.SiteRecoveryAllOf(site_recovery_state=None, vr_node=None, srm_nodes=None, sddc_id=None, draas_h5_url=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

SiteRecoveryAllOf - a model defined in OpenAPI

attribute_map = {'draas_h5_url': 'draas_h5_url', 'sddc_id': 'sddc_id', 'site_recovery_state': 'site_recovery_state', 'srm_nodes': 'srm_nodes', 'vr_node': 'vr_node'}
property draas_h5_url

Gets the draas_h5_url of this SiteRecoveryAllOf. # noqa: E501

Returns

The draas_h5_url of this SiteRecoveryAllOf. # noqa: E501

Return type

str

openapi_types = {'draas_h5_url': 'str', 'sddc_id': 'str', 'site_recovery_state': 'str', 'srm_nodes': 'list[SiteRecoveryNode]', 'vr_node': 'SiteRecoveryNode'}
property sddc_id

Gets the sddc_id of this SiteRecoveryAllOf. # noqa: E501

Returns

The sddc_id of this SiteRecoveryAllOf. # noqa: E501

Return type

str

property site_recovery_state

Gets the site_recovery_state of this SiteRecoveryAllOf. # noqa: E501

Returns

The site_recovery_state of this SiteRecoveryAllOf. # noqa: E501

Return type

str

property srm_nodes

Gets the srm_nodes of this SiteRecoveryAllOf. # noqa: E501

Returns

The srm_nodes of this SiteRecoveryAllOf. # noqa: E501

Return type

list[SiteRecoveryNode]

to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model

property vr_node

Gets the vr_node of this SiteRecoveryAllOf. # noqa: E501

Returns

The vr_node of this SiteRecoveryAllOf. # noqa: E501

Return type

SiteRecoveryNode

vmware.vmc_draas.models.site_recovery_node module

VMC DRaaS APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc_draas.models.site_recovery_node.SiteRecoveryNode(local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

SiteRecoveryNode - a model defined in OpenAPI

attribute_map = {}
openapi_types = {}
to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model

vmware.vmc_draas.models.site_recovery_node_all_of module

VMC DRaaS APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc_draas.models.site_recovery_node_all_of.SiteRecoveryNodeAllOf(vm_moref_id=None, ip_address=None, hostname=None, id=None, state=None, type=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

SiteRecoveryNodeAllOf - a model defined in OpenAPI

attribute_map = {'hostname': 'hostname', 'id': 'id', 'ip_address': 'ip_address', 'state': 'state', 'type': 'type', 'vm_moref_id': 'vm_moref_id'}
property hostname

Gets the hostname of this SiteRecoveryNodeAllOf. # noqa: E501

Returns

The hostname of this SiteRecoveryNodeAllOf. # noqa: E501

Return type

str

property id

Gets the id of this SiteRecoveryNodeAllOf. # noqa: E501

Returns

The id of this SiteRecoveryNodeAllOf. # noqa: E501

Return type

str

property ip_address

Gets the ip_address of this SiteRecoveryNodeAllOf. # noqa: E501

Returns

The ip_address of this SiteRecoveryNodeAllOf. # noqa: E501

Return type

str

openapi_types = {'hostname': 'str', 'id': 'str', 'ip_address': 'str', 'state': 'str', 'type': 'str', 'vm_moref_id': 'str'}
property state

Gets the state of this SiteRecoveryNodeAllOf. # noqa: E501

Returns

The state of this SiteRecoveryNodeAllOf. # noqa: E501

Return type

str

to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model

property type

Gets the type of this SiteRecoveryNodeAllOf. # noqa: E501

Returns

The type of this SiteRecoveryNodeAllOf. # noqa: E501

Return type

str

property vm_moref_id

Gets the vm_moref_id of this SiteRecoveryNodeAllOf. # noqa: E501

Returns

The vm_moref_id of this SiteRecoveryNodeAllOf. # noqa: E501

Return type

str

vmware.vmc_draas.models.site_recovery_node_version module

VMC DRaaS APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc_draas.models.site_recovery_node_version.SiteRecoveryNodeVersion(version_source=None, node_id=None, build_number=None, appliance_version=None, node_ip=None, full_version=None, node_type=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

SiteRecoveryNodeVersion - a model defined in OpenAPI

property appliance_version

Gets the appliance_version of this SiteRecoveryNodeVersion. # noqa: E501

Returns

The appliance_version of this SiteRecoveryNodeVersion. # noqa: E501

Return type

str

attribute_map = {'appliance_version': 'appliance_version', 'build_number': 'build_number', 'full_version': 'full_version', 'node_id': 'node_id', 'node_ip': 'node_ip', 'node_type': 'node_type', 'version_source': 'version_source'}
property build_number

Gets the build_number of this SiteRecoveryNodeVersion. # noqa: E501

Returns

The build_number of this SiteRecoveryNodeVersion. # noqa: E501

Return type

str

property full_version

Gets the full_version of this SiteRecoveryNodeVersion. # noqa: E501

Returns

The full_version of this SiteRecoveryNodeVersion. # noqa: E501

Return type

str

property node_id

Gets the node_id of this SiteRecoveryNodeVersion. # noqa: E501

Returns

The node_id of this SiteRecoveryNodeVersion. # noqa: E501

Return type

str

property node_ip

Gets the node_ip of this SiteRecoveryNodeVersion. # noqa: E501

Returns

The node_ip of this SiteRecoveryNodeVersion. # noqa: E501

Return type

str

property node_type

Gets the node_type of this SiteRecoveryNodeVersion. # noqa: E501

Returns

The node_type of this SiteRecoveryNodeVersion. # noqa: E501

Return type

str

openapi_types = {'appliance_version': 'str', 'build_number': 'str', 'full_version': 'str', 'node_id': 'str', 'node_ip': 'str', 'node_type': 'str', 'version_source': 'str'}
to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model

property version_source

Gets the version_source of this SiteRecoveryNodeVersion. # noqa: E501

Returns

The version_source of this SiteRecoveryNodeVersion. # noqa: E501

Return type

str

vmware.vmc_draas.models.site_recovery_versions module

VMC DRaaS APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc_draas.models.site_recovery_versions.SiteRecoveryVersions(generated=None, sddc_id=None, node_versions=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

SiteRecoveryVersions - a model defined in OpenAPI

attribute_map = {'generated': 'generated', 'node_versions': 'node_versions', 'sddc_id': 'sddc_id'}
property generated

Gets the generated of this SiteRecoveryVersions. # noqa: E501

Returns

The generated of this SiteRecoveryVersions. # noqa: E501

Return type

datetime

property node_versions

Gets the node_versions of this SiteRecoveryVersions. # noqa: E501

list of site recovery node version # noqa: E501

Returns

The node_versions of this SiteRecoveryVersions. # noqa: E501

Return type

list[SiteRecoveryNodeVersion]

openapi_types = {'generated': 'datetime', 'node_versions': 'list[SiteRecoveryNodeVersion]', 'sddc_id': 'str'}
property sddc_id

Gets the sddc_id of this SiteRecoveryVersions. # noqa: E501

Returns

The sddc_id of this SiteRecoveryVersions. # noqa: E501

Return type

str

to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model

vmware.vmc_draas.models.task module

VMC DRaaS APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc_draas.models.task.Task(updated=None, user_id=None, created=None, updated_by_user_id=None, version=None, updated_by_user_name=None, user_name=None, id=None, status=None, resource_id=None, start_time=None, retries=None, task_type=None, task_progress_phases=None, tenant_id=None, error_message=None, parent_task_id=None, progress_percent=None, estimated_remaining_minutes=None, params=None, end_time=None, task_version=None, resource_type=None, sub_status=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

Task - a model defined in OpenAPI

attribute_map = {'created': 'created', 'end_time': 'end_time', 'error_message': 'error_message', 'estimated_remaining_minutes': 'estimated_remaining_minutes', 'id': 'id', 'params': 'params', 'parent_task_id': 'parent_task_id', 'progress_percent': 'progress_percent', 'resource_id': 'resource_id', 'resource_type': 'resource_type', 'retries': 'retries', 'start_time': 'start_time', 'status': 'status', 'sub_status': 'sub_status', 'task_progress_phases': 'task_progress_phases', 'task_type': 'task_type', 'task_version': 'task_version', 'tenant_id': 'tenant_id', 'updated': 'updated', 'updated_by_user_id': 'updated_by_user_id', 'updated_by_user_name': 'updated_by_user_name', 'user_id': 'user_id', 'user_name': 'user_name', 'version': 'version'}
property created

Gets the created of this Task. # noqa: E501

Returns

The created of this Task. # noqa: E501

Return type

datetime

property end_time

Gets the end_time of this Task. # noqa: E501

Returns

The end_time of this Task. # noqa: E501

Return type

datetime

property error_message

Gets the error_message of this Task. # noqa: E501

Returns

The error_message of this Task. # noqa: E501

Return type

str

property estimated_remaining_minutes

Gets the estimated_remaining_minutes of this Task. # noqa: E501

Estimated remaining time in minute of the task execution, < 0 means no estimation for the task. # noqa: E501

Returns

The estimated_remaining_minutes of this Task. # noqa: E501

Return type

int

property id

Gets the id of this Task. # noqa: E501

Returns

The id of this Task. # noqa: E501

Return type

str

openapi_types = {'created': 'datetime', 'end_time': 'datetime', 'error_message': 'str', 'estimated_remaining_minutes': 'int', 'id': 'str', 'params': 'object', 'parent_task_id': 'str', 'progress_percent': 'int', 'resource_id': 'str', 'resource_type': 'str', 'retries': 'int', 'start_time': 'str', 'status': 'str', 'sub_status': 'str', 'task_progress_phases': 'list[TaskProgressPhase]', 'task_type': 'str', 'task_version': 'str', 'tenant_id': 'str', 'updated': 'datetime', 'updated_by_user_id': 'str', 'updated_by_user_name': 'str', 'user_id': 'str', 'user_name': 'str', 'version': 'int'}
property params

Gets the params of this Task. # noqa: E501

Returns

The params of this Task. # noqa: E501

Return type

object

property parent_task_id

Gets the parent_task_id of this Task. # noqa: E501

Returns

The parent_task_id of this Task. # noqa: E501

Return type

str

property progress_percent

Gets the progress_percent of this Task. # noqa: E501

Estimated progress percentage the task executed # noqa: E501

Returns

The progress_percent of this Task. # noqa: E501

Return type

int

property resource_id

Gets the resource_id of this Task. # noqa: E501

UUID of resources task is acting upon # noqa: E501

Returns

The resource_id of this Task. # noqa: E501

Return type

str

property resource_type

Gets the resource_type of this Task. # noqa: E501

Type of resource being acted upon # noqa: E501

Returns

The resource_type of this Task. # noqa: E501

Return type

str

property retries

Gets the retries of this Task. # noqa: E501

Returns

The retries of this Task. # noqa: E501

Return type

int

property start_time

Gets the start_time of this Task. # noqa: E501

Returns

The start_time of this Task. # noqa: E501

Return type

str

property status

Gets the status of this Task. # noqa: E501

Returns

The status of this Task. # noqa: E501

Return type

str

property sub_status

Gets the sub_status of this Task. # noqa: E501

Returns

The sub_status of this Task. # noqa: E501

Return type

str

property task_progress_phases

Gets the task_progress_phases of this Task. # noqa: E501

Task progress phases involved in current task execution # noqa: E501

Returns

The task_progress_phases of this Task. # noqa: E501

Return type

list[TaskProgressPhase]

property task_type

Gets the task_type of this Task. # noqa: E501

Returns

The task_type of this Task. # noqa: E501

Return type

str

property task_version

Gets the task_version of this Task. # noqa: E501

Returns

The task_version of this Task. # noqa: E501

Return type

str

property tenant_id

Gets the tenant_id of this Task. # noqa: E501

Returns

The tenant_id of this Task. # noqa: E501

Return type

str

to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model

property updated

Gets the updated of this Task. # noqa: E501

Returns

The updated of this Task. # noqa: E501

Return type

datetime

property updated_by_user_id

Gets the updated_by_user_id of this Task. # noqa: E501

User id that last updated this record # noqa: E501

Returns

The updated_by_user_id of this Task. # noqa: E501

Return type

str

property updated_by_user_name

Gets the updated_by_user_name of this Task. # noqa: E501

User name that last updated this record # noqa: E501

Returns

The updated_by_user_name of this Task. # noqa: E501

Return type

str

property user_id

Gets the user_id of this Task. # noqa: E501

User id that last updated this record # noqa: E501

Returns

The user_id of this Task. # noqa: E501

Return type

str

property user_name

Gets the user_name of this Task. # noqa: E501

User name that last updated this record # noqa: E501

Returns

The user_name of this Task. # noqa: E501

Return type

str

property version

Gets the version of this Task. # noqa: E501

Version of this entity # noqa: E501

Returns

The version of this Task. # noqa: E501

Return type

int

vmware.vmc_draas.models.task_all_of module

VMC DRaaS APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc_draas.models.task_all_of.TaskAllOf(status=None, resource_id=None, start_time=None, retries=None, task_type=None, task_progress_phases=None, tenant_id=None, error_message=None, parent_task_id=None, progress_percent=None, estimated_remaining_minutes=None, params=None, end_time=None, task_version=None, resource_type=None, sub_status=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

TaskAllOf - a model defined in OpenAPI

attribute_map = {'end_time': 'end_time', 'error_message': 'error_message', 'estimated_remaining_minutes': 'estimated_remaining_minutes', 'params': 'params', 'parent_task_id': 'parent_task_id', 'progress_percent': 'progress_percent', 'resource_id': 'resource_id', 'resource_type': 'resource_type', 'retries': 'retries', 'start_time': 'start_time', 'status': 'status', 'sub_status': 'sub_status', 'task_progress_phases': 'task_progress_phases', 'task_type': 'task_type', 'task_version': 'task_version', 'tenant_id': 'tenant_id'}
property end_time

Gets the end_time of this TaskAllOf. # noqa: E501

Returns

The end_time of this TaskAllOf. # noqa: E501

Return type

datetime

property error_message

Gets the error_message of this TaskAllOf. # noqa: E501

Returns

The error_message of this TaskAllOf. # noqa: E501

Return type

str

property estimated_remaining_minutes

Gets the estimated_remaining_minutes of this TaskAllOf. # noqa: E501

Estimated remaining time in minute of the task execution, < 0 means no estimation for the task. # noqa: E501

Returns

The estimated_remaining_minutes of this TaskAllOf. # noqa: E501

Return type

int

openapi_types = {'end_time': 'datetime', 'error_message': 'str', 'estimated_remaining_minutes': 'int', 'params': 'object', 'parent_task_id': 'str', 'progress_percent': 'int', 'resource_id': 'str', 'resource_type': 'str', 'retries': 'int', 'start_time': 'str', 'status': 'str', 'sub_status': 'str', 'task_progress_phases': 'list[TaskProgressPhase]', 'task_type': 'str', 'task_version': 'str', 'tenant_id': 'str'}
property params

Gets the params of this TaskAllOf. # noqa: E501

Returns

The params of this TaskAllOf. # noqa: E501

Return type

object

property parent_task_id

Gets the parent_task_id of this TaskAllOf. # noqa: E501

Returns

The parent_task_id of this TaskAllOf. # noqa: E501

Return type

str

property progress_percent

Gets the progress_percent of this TaskAllOf. # noqa: E501

Estimated progress percentage the task executed # noqa: E501

Returns

The progress_percent of this TaskAllOf. # noqa: E501

Return type

int

property resource_id

Gets the resource_id of this TaskAllOf. # noqa: E501

UUID of resources task is acting upon # noqa: E501

Returns

The resource_id of this TaskAllOf. # noqa: E501

Return type

str

property resource_type

Gets the resource_type of this TaskAllOf. # noqa: E501

Type of resource being acted upon # noqa: E501

Returns

The resource_type of this TaskAllOf. # noqa: E501

Return type

str

property retries

Gets the retries of this TaskAllOf. # noqa: E501

Returns

The retries of this TaskAllOf. # noqa: E501

Return type

int

property start_time

Gets the start_time of this TaskAllOf. # noqa: E501

Returns

The start_time of this TaskAllOf. # noqa: E501

Return type

str

property status

Gets the status of this TaskAllOf. # noqa: E501

Returns

The status of this TaskAllOf. # noqa: E501

Return type

str

property sub_status

Gets the sub_status of this TaskAllOf. # noqa: E501

Returns

The sub_status of this TaskAllOf. # noqa: E501

Return type

str

property task_progress_phases

Gets the task_progress_phases of this TaskAllOf. # noqa: E501

Task progress phases involved in current task execution # noqa: E501

Returns

The task_progress_phases of this TaskAllOf. # noqa: E501

Return type

list[TaskProgressPhase]

property task_type

Gets the task_type of this TaskAllOf. # noqa: E501

Returns

The task_type of this TaskAllOf. # noqa: E501

Return type

str

property task_version

Gets the task_version of this TaskAllOf. # noqa: E501

Returns

The task_version of this TaskAllOf. # noqa: E501

Return type

str

property tenant_id

Gets the tenant_id of this TaskAllOf. # noqa: E501

Returns

The tenant_id of this TaskAllOf. # noqa: E501

Return type

str

to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model

vmware.vmc_draas.models.task_progress_phase module

VMC DRaaS APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech

class vmware.vmc_draas.models.task_progress_phase.TaskProgressPhase(id=None, name=None, progress_percent=None, local_vars_configuration=None)

Bases: object

NOTE: This class is auto generated by OpenAPI Generator. Ref: https://openapi-generator.tech

Do not edit the class manually.

TaskProgressPhase - a model defined in OpenAPI

attribute_map = {'id': 'id', 'name': 'name', 'progress_percent': 'progress_percent'}
property id

Gets the id of this TaskProgressPhase. # noqa: E501

The identifier of the task progress phase # noqa: E501

Returns

The id of this TaskProgressPhase. # noqa: E501

Return type

str

property name

Gets the name of this TaskProgressPhase. # noqa: E501

The display name of the task progress phase # noqa: E501

Returns

The name of this TaskProgressPhase. # noqa: E501

Return type

str

openapi_types = {'id': 'str', 'name': 'str', 'progress_percent': 'int'}
property progress_percent

Gets the progress_percent of this TaskProgressPhase. # noqa: E501

The percentage of the phase that has completed # noqa: E501

Returns

The progress_percent of this TaskProgressPhase. # noqa: E501

Return type

int

to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model

Module contents

VMC DRaaS APIs

The version of the OpenAPI document: 1.0 Contact: anushah@vmware.com Generated by: https://openapi-generator.tech