com.vmware.vmc.draas package
Submodules
com.vmware.vmc.draas.model_client module
- class com.vmware.vmc.draas.model_client.AbstractEntity(id=None, version=None, created=None, user_id=None, user_name=None, updated=None, updated_by_user_id=None, updated_by_user_name=None)
Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
id (
str
) –version (
long
) – Version of this entity format: int32created (
datetime.datetime
) –user_id (
str
) – User id that last updated this recorduser_name (
str
) – User name that last updated this recordupdated (
datetime.datetime
) –updated_by_user_id (
str
) – User id that last updated this recordupdated_by_user_name (
str
) – User name that last updated this record
- class com.vmware.vmc.draas.model_client.ActivateSiteRecoveryConfig(srm_extension_key_suffix=None)
Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
srm_extension_key_suffix (
str
orNone
) – 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.
- class com.vmware.vmc.draas.model_client.BuildVersion(version=None, build_number=None)
Bases:
vmware.vapi.bindings.struct.VapiStruct
The build version.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
version (
str
orNone
) –build_number (
str
orNone
) –
- class com.vmware.vmc.draas.model_client.DatastoreEntity(id=None, name=None, datastore_type=None, instance_type=None, number_of_hosts=None, replications_number=None, total_datastore_size=None, replica_disks=None)
Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
id (
str
orNone
) –name (
str
orNone
) –datastore_type (
str
orNone
) –instance_type (
str
orNone
) –number_of_hosts (
float
orNone
) –replications_number (
float
orNone
) –total_datastore_size (
float
orNone
) –replica_disks (
list
ofReplicaDisk
orNone
) –
- class com.vmware.vmc.draas.model_client.DeleteConfigInternal(force=None, ticket=None, confirmation_code=None)
Bases:
vmware.vapi.bindings.struct.VapiStruct
Deactivate Site Recovery or delete Site Recovery node configuration
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
force (
bool
orNone
) – If = ‘true’, will deactivate site recovery forcefully.ticket (
str
orNone
) – CSSD/CSCM ticket number, such as CSSD-xxxx/CSCM-xxxxconfirmation_code (
str
orNone
) – The confirmation code generated in prepare delete operation.
- class com.vmware.vmc.draas.model_client.ErrorResponse(error_code=None, error_messages=None, status=None, path=None, retryable=None)
Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
error_code (
str
) – unique error codeerror_messages (
list
ofstr
) – localized error messagesstatus (
long
) – HTTP status codepath (
str
) – Originating request URIretryable (
bool
) – If true, client should retry operation
- class com.vmware.vmc.draas.model_client.Fault(message=None, cause=None)
Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
message (
str
orNone
) –cause (
vmware.vapi.struct.VapiStruct
orNone
) –
- class com.vmware.vmc.draas.model_client.HmsIssueInfo(target_object_name=None, target_object_mo_id=None, triggered_time=None, issue_type=None, fault=None, severity=None)
Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
target_object_name (
str
orNone
) –target_object_mo_id (
str
) –triggered_time (
datetime.datetime
) –issue_type (
str
) –fault (
Fault
orNone
) –severity (
str
) –
- class com.vmware.vmc.draas.model_client.HmsReplicationIssueInfo(target_object_name=None, target_object_mo_id=None, triggered_time=None, issue_type=None, fault=None, severity=None, source_site_uuid=None, destination_site_uuid=None, direction=None)
Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
target_object_name (
str
orNone
) –target_object_mo_id (
str
) –triggered_time (
datetime.datetime
) –issue_type (
str
) –fault (
Fault
orNone
) –severity (
str
) –source_site_uuid (
str
orNone
) –destination_site_uuid (
str
orNone
) –direction (
str
orNone
) –
- class com.vmware.vmc.draas.model_client.HmsSiteIssueInfo(target_object_name=None, target_object_mo_id=None, triggered_time=None, issue_type=None, fault=None, severity=None)
Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
target_object_name (
str
orNone
) –target_object_mo_id (
str
) –triggered_time (
datetime.datetime
) –issue_type (
str
) –fault (
Fault
orNone
) –severity (
str
) –
- class com.vmware.vmc.draas.model_client.ProvisionSrmConfig(srm_extension_key_suffix=None)
Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
srm_extension_key_suffix (
str
orNone
) – Optional custom extension key suffix for SRM. If not specified, default extension key will be used.
- class com.vmware.vmc.draas.model_client.ReplicaData(datastore_entities=None)
Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
datastore_entities (
list
ofDatastoreEntity
orNone
) – DatastoreEntity
- class com.vmware.vmc.draas.model_client.ReplicaDisk(disk_id=None, collection_id=None, name=None, datastore_mo_id=None, space_requirement=None, movable=None, datastores_for_single_host_move=None)
Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
disk_id (
str
orNone
) –collection_id (
str
orNone
) –name (
str
orNone
) –datastore_mo_id (
str
orNone
) –space_requirement (
float
orNone
) –movable (
bool
orNone
) –datastores_for_single_host_move (
list
ofvmware.vapi.struct.VapiStruct
orNone
) –
- class com.vmware.vmc.draas.model_client.ReplicaDiskCollection(collection_id=None, name=None, placeholder_vm_mo_id=None, disks=None, generated=None)
Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
collection_id (
str
orNone
) –name (
str
orNone
) –placeholder_vm_mo_id (
str
orNone
) –disks (
list
ofReplicaDisk
orNone
) –generated (
datetime.datetime
orNone
) –
- class com.vmware.vmc.draas.model_client.ReportPeriodConfig(report_start_day_inclusive=None, report_end_day_inclusive=None)
Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
report_start_day_inclusive (
datetime.datetime
orNone
) –report_end_day_inclusive (
datetime.datetime
orNone
) –
- class com.vmware.vmc.draas.model_client.SiteRecovery(id=None, version=None, created=None, user_id=None, user_name=None, updated=None, updated_by_user_id=None, updated_by_user_name=None, sddc_id=None, site_recovery_state=None, draas_h5_url=None, vr_node=None, srm_nodes=None, vrs_nodes=None)
Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
id (
str
) –version (
long
) – Version of this entity format: int32created (
datetime.datetime
) –user_id (
str
) – User id that last updated this recorduser_name (
str
) – User name that last updated this recordupdated (
datetime.datetime
) –updated_by_user_id (
str
) – User id that last updated this recordupdated_by_user_name (
str
) – User name that last updated this recordsddc_id (
str
orNone
) –site_recovery_state (
str
orNone
) –Possible values are:
draas_h5_url (
str
orNone
) –vr_node (
SiteRecoveryNode
orNone
) –srm_nodes (
list
ofSrmNode
orNone
) –vrs_nodes (
list
ofSiteRecoveryNode
orNone
) –
- SITE_RECOVERY_STATE_ACTIVATED = 'ACTIVATED'
- SITE_RECOVERY_STATE_ACTIVATING = 'ACTIVATING'
- SITE_RECOVERY_STATE_CANCELED = 'CANCELED'
- SITE_RECOVERY_STATE_DEACTIVATED = 'DEACTIVATED'
- SITE_RECOVERY_STATE_DEACTIVATING = 'DEACTIVATING'
- SITE_RECOVERY_STATE_DELETED = 'DELETED'
- SITE_RECOVERY_STATE_FAILED = 'FAILED'
- class com.vmware.vmc.draas.model_client.SiteRecoveryNode(id=None, type=None, state=None, vm_moref_id=None, ip_address=None, hostname=None)
Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
id (
str
orNone
) –type (
str
orNone
) –Possible values are:
state (
str
orNone
) –Possible values are:
vm_moref_id (
str
orNone
) –ip_address (
str
orNone
) –hostname (
str
orNone
) –
- STATE_CANCELED = 'CANCELED'
- STATE_DELETING = 'DELETING'
- STATE_DEPLOYING = 'DEPLOYING'
- STATE_FAILED = 'FAILED'
- STATE_PROVISIONED = 'PROVISIONED'
- STATE_READY = 'READY'
- TYPE_SRM = 'SRM'
- TYPE_VRMS = 'VRMS'
- TYPE_VRS = 'VRS'
- class com.vmware.vmc.draas.model_client.SiteRecoveryNodeVersion(node_id=None, node_type=None, node_ip=None, build_version=None, full_version=None)
Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
node_id (
str
orNone
) –node_type (
str
orNone
) –Possible values are:
node_ip (
str
orNone
) –build_version (
BuildVersion
orNone
) –full_version (
str
orNone
) –
- NODE_TYPE_SRM = 'SRM'
- NODE_TYPE_VRMS = 'VRMS'
- NODE_TYPE_VRS = 'VRS'
- class com.vmware.vmc.draas.model_client.SiteRecoveryVersions(sddc_id=None, node_versions=None, generated=None)
Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
sddc_id (
str
orNone
) –node_versions (
list
ofSiteRecoveryNodeVersion
orNone
) – list of site recovery node versiongenerated (
datetime.datetime
orNone
) –
- class com.vmware.vmc.draas.model_client.SrmNode(id=None, type=None, state=None, vm_moref_id=None, ip_address=None, hostname=None, srm_extension_key_suffix=None, srm_extension_key=None)
Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
id (
str
orNone
) –type (
str
orNone
) –Possible values are:
state (
str
orNone
) –Possible values are:
vm_moref_id (
str
orNone
) –ip_address (
str
orNone
) –hostname (
str
orNone
) –srm_extension_key_suffix (
str
orNone
) –srm_extension_key (
str
orNone
) –
- STATE_CANCELED = 'CANCELED'
- STATE_DELETING = 'DELETING'
- STATE_DEPLOYING = 'DEPLOYING'
- STATE_FAILED = 'FAILED'
- STATE_PROVISIONED = 'PROVISIONED'
- STATE_READY = 'READY'
- TYPE_SRM = 'SRM'
- TYPE_VRMS = 'VRMS'
- TYPE_VRS = 'VRS'
- class com.vmware.vmc.draas.model_client.StubFactory(stub_config)
Bases:
vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
- Parameters
stub_config (
vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
- class com.vmware.vmc.draas.model_client.Task(id=None, version=None, created=None, user_id=None, user_name=None, updated=None, updated_by_user_id=None, updated_by_user_name=None, end_time=None, error_message=None, tenant_id=None, params=None, resource_id=None, resource_type=None, parent_task_id=None, retries=None, start_time=None, status=None, sub_status=None, task_type=None, task_version=None, task_progress_phases=None, progress_percent=None, estimated_remaining_minutes=None)
Bases:
vmware.vapi.bindings.struct.VapiStruct
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
id (
str
) –version (
long
) – Version of this entity format: int32created (
datetime.datetime
) –user_id (
str
) – User id that last updated this recorduser_name (
str
) – User name that last updated this recordupdated (
datetime.datetime
) –updated_by_user_id (
str
) – User id that last updated this recordupdated_by_user_name (
str
) – User name that last updated this recordend_time (
datetime.datetime
orNone
) –error_message (
str
orNone
) –tenant_id (
str
orNone
) –params (
vmware.vapi.struct.VapiStruct
orNone
) –resource_id (
str
orNone
) – UUID of resources task is acting uponresource_type (
str
orNone
) – Type of resource being acted uponparent_task_id (
str
orNone
) –retries (
long
orNone
) –start_time (
datetime.datetime
orNone
) –status (
str
orNone
) –Possible values are:
sub_status (
str
orNone
) –task_type (
str
orNone
) –task_version (
str
orNone
) –task_progress_phases (
list
ofTaskProgressPhase
orNone
) – Task progress phases involved in current task executionprogress_percent (
long
orNone
) – Estimated progress percentage the task executed format: int32estimated_remaining_minutes (
long
orNone
) – Estimated remaining time in minute of the task execution, < 0 means no estimation for the task. format: int32
- STATUS_CANCELED = 'CANCELED'
- STATUS_CANCELING = 'CANCELING'
- STATUS_FAILED = 'FAILED'
- STATUS_FINISHED = 'FINISHED'
- STATUS_STARTED = 'STARTED'
- class com.vmware.vmc.draas.model_client.TaskProgressPhase(id=None, name=None, progress_percent=None)
Bases:
vmware.vapi.bindings.struct.VapiStruct
A task progress can be (but does NOT have to be) divided to more meaningful progress phases.
Tip
The arguments are used to initialize data attributes with the same names.
- Parameters
id (
str
) – The identifier of the task progress phasename (
str
) – The display name of the task progress phaseprogress_percent (
long
) – The percentage of the phase that has completed format: int32