<spanid="com-vmware-appliance-recovery-package"></span><h1>com.vmware.appliance.recovery package<aclass="headerlink"href="#module-com.vmware.appliance.recovery"title="Permalink to this headline">¶</a></h1>
<divclass="section"id="subpackages">
<h2>Subpackages<aclass="headerlink"href="#subpackages"title="Permalink to this headline">¶</a></h2>
<spanid="com-vmware-appliance-recovery-backup-client-module"></span><h2>com.vmware.appliance.recovery.backup_client module<aclass="headerlink"href="#module-com.vmware.appliance.recovery.backup_client"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="descclassname">com.vmware.appliance.recovery.backup_client.</code><codeclass="descname">Job</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Job"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
<emclass="property">class </em><codeclass="descname">BackupJobStatus</code><spanclass="sig-paren">(</span><em>id=None</em>, <em>state=None</em>, <em>messages=None</em>, <em>progress=None</em>, <em>start_time=None</em>, <em>end_time=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Job.BackupJobStatus"title="Permalink to this definition">¶</a></dt>
<li><strong>state</strong> (<aclass="reference internal"href="#com.vmware.appliance.recovery.backup_client.Job.BackupRestoreProcessState"title="com.vmware.appliance.recovery.backup_client.Job.BackupRestoreProcessState"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Job.BackupRestoreProcessState</span></code></a>) – The state of the backup job.</li>
<li><strong>messages</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="#com.vmware.appliance.recovery.backup_client.Job.LocalizableMessage"title="com.vmware.appliance.recovery.backup_client.Job.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Job.LocalizableMessage</span></code></a>) – List of messages.</li>
<li><strong>progress</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – Progress of the job in percentage.</li>
<li><strong>start_time</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">datetime.datetime</span></code>) – Time when the backup was started.</li>
<li><strong>end_time</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">datetime.datetime</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Time when the backup was finished.
If None end time is None until backup is finished.</li>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>parts</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – List of optional parts that will be included in the backup. Use the
<aclass="reference internal"href="#com.vmware.appliance.recovery.backup_client.Parts.list"title="com.vmware.appliance.recovery.backup_client.Parts.list"><codeclass="xref py py-func docutils literal notranslate"><spanclass="pre">Parts.list()</span></code></a> method to get information about the supported
parts.</li>
<li><strong>backup_password</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Password for a backup piece. The backupPassword must adhere to the
following password requirements: At least 8 characters, cannot be
more than 20 characters in length. At least 1 uppercase letter. At
least 1 lowercase letter. At least 1 numeric digit. At least 1
special character (i.e. any character not in [0-9,a-z,A-Z]). Only
visible ASCII characters (for example, no space).
backupPassword If no password then the piece will not be encrypted</li>
<li><strong>location_type</strong> (<aclass="reference internal"href="#com.vmware.appliance.recovery.backup_client.Job.LocationType"title="com.vmware.appliance.recovery.backup_client.Job.LocationType"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Job.LocationType</span></code></a>) – Type of backup location.</li>
<li><strong>location</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Path or URL of the backup location.</li>
<li><strong>location_user</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Username for the given location.
If None authentication will not be used for the specified location.</li>
<li><strong>location_password</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Password for the given location.
If None authentication will not be used for the specified location.</li>
<li><strong>comment</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Custom comment provided by the user.
<emclass="property">class </em><codeclass="descname">BackupRestoreProcessState</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Job.BackupRestoreProcessState"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Job.BackupRestoreProcessState</span></code> class defines the possible states of
a backup/restore process.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="last">This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">FAILED</code><emclass="property"> = BackupRestoreProcessState(string='FAILED')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Job.BackupRestoreProcessState.FAILED"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">INPROGRESS</code><emclass="property"> = BackupRestoreProcessState(string='INPROGRESS')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Job.BackupRestoreProcessState.INPROGRESS"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">NONE</code><emclass="property"> = BackupRestoreProcessState(string='NONE')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Job.BackupRestoreProcessState.NONE"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">SUCCEEDED</code><emclass="property"> = BackupRestoreProcessState(string='SUCCEEDED')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Job.BackupRestoreProcessState.SUCCEEDED"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descname">LocalizableMessage</code><spanclass="sig-paren">(</span><em>id=None</em>, <em>default_message=None</em>, <em>args=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Job.LocalizableMessage"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descname">LocationType</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Job.LocationType"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Job.LocationType</span></code> class defines the type of destination location for
backup/restore. You specify the location type when you create a backup job.
See <aclass="reference internal"href="#com.vmware.appliance.recovery.backup_client.Job.BackupRequest"title="com.vmware.appliance.recovery.backup_client.Job.BackupRequest"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Job.BackupRequest</span></code></a>.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="last">This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">FTP</code><emclass="property"> = LocationType(string='FTP')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Job.LocationType.FTP"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">FTPS</code><emclass="property"> = LocationType(string='FTPS')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Job.LocationType.FTPS"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">HTTP</code><emclass="property"> = LocationType(string='HTTP')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Job.LocationType.HTTP"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">HTTPS</code><emclass="property"> = LocationType(string='HTTPS')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Job.LocationType.HTTPS"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">SCP</code><emclass="property"> = LocationType(string='SCP')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Job.LocationType.SCP"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">SFTP</code><emclass="property"> = LocationType(string='SFTP')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Job.LocationType.SFTP"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descname">ReturnResult</code><spanclass="sig-paren">(</span><em>status=None</em>, <em>messages=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Job.ReturnResult"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>status</strong> (<aclass="reference internal"href="#com.vmware.appliance.recovery.backup_client.Job.ReturnStatus"title="com.vmware.appliance.recovery.backup_client.Job.ReturnStatus"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Job.ReturnStatus</span></code></a>) – Status of the cancel operation.</li>
<li><strong>messages</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="#com.vmware.appliance.recovery.backup_client.Job.LocalizableMessage"title="com.vmware.appliance.recovery.backup_client.Job.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Job.LocalizableMessage</span></code></a>) – List of messages.</li>
<emclass="property">class </em><codeclass="descname">ReturnStatus</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Job.ReturnStatus"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Job.ReturnStatus</span></code> class defines the return type for the cancel
operation. You specify the return status when you return the result of
cancel job. See <aclass="reference internal"href="#com.vmware.appliance.recovery.backup_client.Job.ReturnResult"title="com.vmware.appliance.recovery.backup_client.Job.ReturnResult"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Job.ReturnResult</span></code></a>.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="last">This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">FAIL</code><emclass="property"> = ReturnStatus(string='FAIL')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Job.ReturnStatus.FAIL"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">OK</code><emclass="property"> = ReturnStatus(string='OK')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Job.ReturnStatus.OK"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">WARNING</code><emclass="property"> = ReturnStatus(string='WARNING')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Job.ReturnStatus.WARNING"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">cancel</code><spanclass="sig-paren">(</span><em>id</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Job.cancel"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>id</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – ID (ID of job)
The parameter must be an identifier for the resource type:
<codeclass="descname">create</code><spanclass="sig-paren">(</span><em>piece</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Job.create"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">get</code><spanclass="sig-paren">(</span><em>id</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Job.get"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>id</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – ID (ID of job)
The parameter must be an identifier for the resource type:
<codeclass="descname">list</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Job.list"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">com.vmware.appliance.recovery.backup_client.</code><codeclass="descname">LocationSpec</code><spanclass="sig-paren">(</span><em>location=None</em>, <em>location_user=None</em>, <em>location_password=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.LocationSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>location</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Backup location URL. This attribute was added in vSphere API 6.7</li>
<li><strong>location_user</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Username for the given location. This attribute was added in
vSphere API 6.7
If None authentication will not be used.</li>
<li><strong>location_password</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Password for the given location. This attribute was added in
<emclass="property">class </em><codeclass="descclassname">com.vmware.appliance.recovery.backup_client.</code><codeclass="descname">Parts</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Parts"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
<emclass="property">class </em><codeclass="descname">LocalizableMessage</code><spanclass="sig-paren">(</span><em>id=None</em>, <em>default_message=None</em>, <em>args=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Parts.LocalizableMessage"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descname">Part</code><spanclass="sig-paren">(</span><em>id=None</em>, <em>name=None</em>, <em>description=None</em>, <em>selected_by_default=None</em>, <em>optional=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Parts.Part"title="Permalink to this definition">¶</a></dt>
<li><strong>name</strong> (<aclass="reference internal"href="#com.vmware.appliance.recovery.backup_client.Parts.LocalizableMessage"title="com.vmware.appliance.recovery.backup_client.Parts.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Parts.LocalizableMessage</span></code></a>) – part name id in message bundle</li>
<li><strong>description</strong> (<aclass="reference internal"href="#com.vmware.appliance.recovery.backup_client.Parts.LocalizableMessage"title="com.vmware.appliance.recovery.backup_client.Parts.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Parts.LocalizableMessage</span></code></a>) – part description id in message bundle</li>
<li><strong>selected_by_default</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Is this part selected by default in the user interface.</li>
<li><strong>optional</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Is this part optional.</li>
<codeclass="descname">get</code><spanclass="sig-paren">(</span><em>id</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Parts.get"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">list</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Parts.list"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">com.vmware.appliance.recovery.backup_client.</code><codeclass="descname">Schedules</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Schedules"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>parts</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – List of optional parts to be backed up. Use the <aclass="reference internal"href="#com.vmware.appliance.recovery.backup_client.Parts.list"title="com.vmware.appliance.recovery.backup_client.Parts.list"><codeclass="xref py py-func docutils literal notranslate"><spanclass="pre">Parts.list()</span></code></a>
method to get information about the supported parts. This attribute
was added in vSphere API 6.7
If None all the optional parts will not be backed up.</li>
<li><strong>backup_password</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Password for a backup piece. The backupPassword must adhere to the
following password requirements: At least 8 characters, cannot be
more than 20 characters in length. At least 1 uppercase letter. At
least 1 lowercase letter. At least 1 numeric digit. At least 1
special character (i.e. any character not in [0-9,a-z,A-Z]). Only
visible ASCII characters (for example, no space). This attribute
was added in vSphere API 6.7
If None the backup piece will not be encrypted.</li>
<li><strong>location</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – URL of the backup location. This attribute was added in vSphere API
6.7</li>
<li><strong>location_user</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Username for the given location. This attribute was added in
vSphere API 6.7
If None authentication will not be used for the specified location.</li>
<li><strong>location_password</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Password for the given location. This attribute was added in
vSphere API 6.7
If None authentication will not be used for the specified location.</li>
<li><strong>enable</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Enable or disable a schedule. This attribute was added in vSphere
API 6.7
If None the schedule will be enabled.</li>
<li><strong>recurrence_info</strong> (<aclass="reference internal"href="#com.vmware.appliance.recovery.backup_client.Schedules.RecurrenceInfo"title="com.vmware.appliance.recovery.backup_client.Schedules.RecurrenceInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Schedules.RecurrenceInfo</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Recurrence information for the schedule. This attribute was added
<li><strong>retention_info</strong> (<aclass="reference internal"href="#com.vmware.appliance.recovery.backup_client.Schedules.RetentionInfo"title="com.vmware.appliance.recovery.backup_client.Schedules.RetentionInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Schedules.RetentionInfo</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Retention information for the schedule. This attribute was added in
vSphere API 6.7
If None all the completed backup jobs will be retained forever. See
<emclass="property">class </em><codeclass="descname">DayOfWeek</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Schedules.DayOfWeek"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Schedules.DayOfWeek</span></code> class defines the set of days when backup can
be scheduled. The days can be specified as a list of individual days. You
specify the days when you set the recurrence for a schedule. See
<codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Schedules.RecurrenceInfo.days</span></code>. This enumeration was added in
vSphere API 6.7</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="last">This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">FRIDAY</code><emclass="property"> = DayOfWeek(string='FRIDAY')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Schedules.DayOfWeek.FRIDAY"title="Permalink to this definition">¶</a></dt>
<dd><p>Friday. This class attribute was added in vSphere API 6.7</p>
<codeclass="descname">MONDAY</code><emclass="property"> = DayOfWeek(string='MONDAY')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Schedules.DayOfWeek.MONDAY"title="Permalink to this definition">¶</a></dt>
<dd><p>Monday. This class attribute was added in vSphere API 6.7</p>
<codeclass="descname">SATURDAY</code><emclass="property"> = DayOfWeek(string='SATURDAY')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Schedules.DayOfWeek.SATURDAY"title="Permalink to this definition">¶</a></dt>
<dd><p>Saturday. This class attribute was added in vSphere API 6.7</p>
<codeclass="descname">SUNDAY</code><emclass="property"> = DayOfWeek(string='SUNDAY')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Schedules.DayOfWeek.SUNDAY"title="Permalink to this definition">¶</a></dt>
<dd><p>Sunday. This class attribute was added in vSphere API 6.7</p>
<codeclass="descname">THURSDAY</code><emclass="property"> = DayOfWeek(string='THURSDAY')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Schedules.DayOfWeek.THURSDAY"title="Permalink to this definition">¶</a></dt>
<dd><p>Thursday. This class attribute was added in vSphere API 6.7</p>
<codeclass="descname">TUESDAY</code><emclass="property"> = DayOfWeek(string='TUESDAY')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Schedules.DayOfWeek.TUESDAY"title="Permalink to this definition">¶</a></dt>
<dd><p>Tuesday. This class attribute was added in vSphere API 6.7</p>
<codeclass="descname">WEDNESDAY</code><emclass="property"> = DayOfWeek(string='WEDNESDAY')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Schedules.DayOfWeek.WEDNESDAY"title="Permalink to this definition">¶</a></dt>
<dd><p>Wednesday. This class attribute was added in vSphere API 6.7</p>
<emclass="property">class </em><codeclass="descname">Info</code><spanclass="sig-paren">(</span><em>parts=None</em>, <em>location=None</em>, <em>location_user=None</em>, <em>enable=None</em>, <em>recurrence_info=None</em>, <em>retention_info=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Schedules.Info"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>parts</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – List of optional parts that will be included in backups based on
this schedule details. Use the <aclass="reference internal"href="#com.vmware.appliance.recovery.backup_client.Parts.list"title="com.vmware.appliance.recovery.backup_client.Parts.list"><codeclass="xref py py-func docutils literal notranslate"><spanclass="pre">Parts.list()</span></code></a> method to get
information about the supported parts. This attribute was added in
vSphere API 6.7</li>
<li><strong>location</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – URL of the backup location. This attribute was added in vSphere API
6.7</li>
<li><strong>location_user</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Username for the given location. This attribute was added in
vSphere API 6.7
If None location user will not be used.</li>
<li><strong>enable</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code>) – Enable or disable a schedule, by default when created a schedule
will be enabled. This attribute was added in vSphere API 6.7</li>
<li><strong>recurrence_info</strong> (<aclass="reference internal"href="#com.vmware.appliance.recovery.backup_client.Schedules.RecurrenceInfo"title="com.vmware.appliance.recovery.backup_client.Schedules.RecurrenceInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Schedules.RecurrenceInfo</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Recurrence information for the schedule. This attribute was added
<li><strong>retention_info</strong> (<aclass="reference internal"href="#com.vmware.appliance.recovery.backup_client.Schedules.RetentionInfo"title="com.vmware.appliance.recovery.backup_client.Schedules.RetentionInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Schedules.RetentionInfo</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Retention information for the schedule. This attribute was added in
vSphere API 6.7
If None all the completed backup jobs are retained forever. See
<emclass="property">class </em><codeclass="descname">RecurrenceInfo</code><spanclass="sig-paren">(</span><em>minute=None</em>, <em>hour=None</em>, <em>days=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Schedules.RecurrenceInfo"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>minute</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – Minute when backup should run. This attribute was added in vSphere
API 6.7</li>
<li><strong>hour</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – Hour when backup should run. The hour should be specified in
24-hour clock format. This attribute was added in vSphere API 6.7</li>
<li><strong>days</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="#com.vmware.appliance.recovery.backup_client.Schedules.DayOfWeek"title="com.vmware.appliance.recovery.backup_client.Schedules.DayOfWeek"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Schedules.DayOfWeek</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Day of week when the backup should be run. Days can be specified as
list of days. This attribute was added in vSphere API 6.7
<emclass="property">class </em><codeclass="descname">RetentionInfo</code><spanclass="sig-paren">(</span><em>max_count=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Schedules.RetentionInfo"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>max_count</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – Number of backups which should be retained. If retention is not
set, all the backups will be retained forever. This attribute was
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>parts</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – List of optional parts. Use the <aclass="reference internal"href="#com.vmware.appliance.recovery.backup_client.Parts.list"title="com.vmware.appliance.recovery.backup_client.Parts.list"><codeclass="xref py py-func docutils literal notranslate"><spanclass="pre">Parts.list()</span></code></a> method to get
information about the supported parts. This attribute was added in
vSphere API 6.7
If None the value will not be changed.</li>
<li><strong>backup_password</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Password for a backup piece. The backupPassword must adhere to the
following password requirements: At least 8 characters, cannot be
more than 20 characters in length. At least 1 uppercase letter. At
least 1 lowercase letter. At least 1 numeric digit. At least 1
special character (i.e. any character not in [0-9,a-z,A-Z]). Only
visible ASCII characters (for example, no space). This attribute
was added in vSphere API 6.7
If None the value will not be changed.</li>
<li><strong>location</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – URL of the backup location. This attribute was added in vSphere API
6.7
If None the value will not be changed.</li>
<li><strong>location_user</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Username for the given location. This attribute was added in
vSphere API 6.7
If None the value will not be changed.</li>
<li><strong>location_password</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Password for the given location. This attribute was added in
vSphere API 6.7
If None the value will not be changed.</li>
<li><strong>enable</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Enable or disable a schedule. This attribute was added in vSphere
API 6.7
If None the value will not be changed.</li>
<li><strong>recurrence_info</strong> (<aclass="reference internal"href="#com.vmware.appliance.recovery.backup_client.Schedules.RecurrenceInfo"title="com.vmware.appliance.recovery.backup_client.Schedules.RecurrenceInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Schedules.RecurrenceInfo</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Recurrence information for the schedule. This attribute was added
<li><strong>retention_info</strong> (<aclass="reference internal"href="#com.vmware.appliance.recovery.backup_client.Schedules.RetentionInfo"title="com.vmware.appliance.recovery.backup_client.Schedules.RetentionInfo"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Schedules.RetentionInfo</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Retention information for the schedule. This attribute was added in
<codeclass="descname">create</code><spanclass="sig-paren">(</span><em>schedule</em>, <em>spec</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Schedules.create"title="Permalink to this definition">¶</a></dt>
<dd><p>Creates a schedule. This method was added in vSphere API 6.7</p>
<codeclass="descname">delete</code><spanclass="sig-paren">(</span><em>schedule</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Schedules.delete"title="Permalink to this definition">¶</a></dt>
<dd><p>Deletes an existing schedule. This method was added in vSphere API 6.7</p>
<codeclass="descname">get</code><spanclass="sig-paren">(</span><em>schedule</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Schedules.get"title="Permalink to this definition">¶</a></dt>
<dd><p>Returns an existing schedule information based on id. This method was
<codeclass="descname">list</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Schedules.list"title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of existing schedules with details. This method was
<codeclass="descname">run</code><spanclass="sig-paren">(</span><em>schedule</em>, <em>comment=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Schedules.run"title="Permalink to this definition">¶</a></dt>
<dd><p>Initiate backup with the specified schedule. This method was added in
<li><strong>comment</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – field that specifies the description for the backup.
If None the backup will have an empty comment.</li>
<codeclass="descname">update</code><spanclass="sig-paren">(</span><em>schedule</em>, <em>spec</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.Schedules.update"title="Permalink to this definition">¶</a></dt>
<dd><p>Updates a schedule. This method was added in vSphere API 6.7</p>
<emclass="property">class </em><codeclass="descclassname">com.vmware.appliance.recovery.backup_client.</code><codeclass="descname">StubFactory</code><spanclass="sig-paren">(</span><em>stub_config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">com.vmware.appliance.recovery.backup_client.</code><codeclass="descname">SystemName</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.SystemName"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
<codeclass="descname">list</code><spanclass="sig-paren">(</span><em>loc_spec</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.backup_client.SystemName.list"title="Permalink to this definition">¶</a></dt>
<dd><p>Returns a list of system names for which backup archives exist under
<codeclass="docutils literal notranslate"><spanclass="pre">loc_spec</span></code>. This method was added in vSphere API 6.7</p>
<spanid="com-vmware-appliance-recovery-reconciliation-client-module"></span><h2>com.vmware.appliance.recovery.reconciliation_client module<aclass="headerlink"href="#module-com.vmware.appliance.recovery.reconciliation_client"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="descclassname">com.vmware.appliance.recovery.reconciliation_client.</code><codeclass="descname">Job</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.reconciliation_client.Job"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
<emclass="property">class </em><codeclass="descname">CreateSpec</code><spanclass="sig-paren">(</span><em>sso_admin_user_name=None</em>, <em>sso_admin_user_password=None</em>, <em>ignore_warnings=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.reconciliation_client.Job.CreateSpec"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>sso_admin_user_name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Administrators username for SSO. This attribute was added in
vSphere API 6.7
If None SSO authentication will not be used. If the vCenter Server
is a management node or an embedded node, authentication is
required.</li>
<li><strong>sso_admin_user_password</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Password for SSO admin user. This attribute was added in vSphere
API 6.7
If None SSO authentication will not be used. If the vCenter Server
is a management node or an embedded node, authentication is
required.</li>
<li><strong>ignore_warnings</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Flag indicating whether warnings should be ignored during
reconciliation. This attribute was added in vSphere API 6.7
If None, validation warnings will fail the reconciliation
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>description</strong> (<aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage"title="com.vmware.vapi.std_client.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) – Description of the operation associated with the task. This
attribute was added in vSphere API 6.7</li>
<li><strong>service</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Name of the service containing the operation. This attribute was
added in vSphere API 6.7
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.appliance.recovery.reconciliation.job</span></code>. When methods
return a value of this class as a return value, the attribute will
<li><strong>operation</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code>) – Name of the operation associated with the task. This attribute was
added in vSphere API 6.7</li>
<li><strong>parent</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Parent of the current task. This attribute was added in vSphere API
6.7
When clients pass a value of this class as a parameter, the
attribute must be an identifier for the resource type:
<codeclass="docutils literal notranslate"><spanclass="pre">com.vmware.appliance.recovery.reconciliation.job</span></code>. When methods
return a value of this class as a return value, the attribute will
This attribute will be None if the task has no parent.</li>
<li><strong>target</strong> (<aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.DynamicID"title="com.vmware.vapi.std_client.DynamicID"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.DynamicID</span></code></a> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Identifier of the target resource the operation modifies. This
attribute was added in vSphere API 6.7
This attribute will be None if the task has multiple targets or no
target.</li>
<li><strong>status</strong> (<aclass="reference internal"href="#com.vmware.appliance.recovery.reconciliation_client.Job.Status"title="com.vmware.appliance.recovery.reconciliation_client.Job.Status"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Job.Status</span></code></a>) – Status of the operation associated with the task. This attribute
was added in vSphere API 6.7</li>
<li><strong>cancelable</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Flag to indicate whether or not the operation can be cancelled. The
value may change as the operation progresses. This attribute was
added in vSphere API 6.7
If None, the operation cannot be canceled.</li>
<li><strong>error</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Exception</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Description of the error if the operation status is “FAILED”. This
attribute was added in vSphere API 6.7
If None the description of why the operation failed will be
included in the result of the operation (see null).</li>
<li><strong>start_time</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">datetime.datetime</span></code>) – Time when the operation is started. This attribute was added in
vSphere API 6.7
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">status</span></code> is one of <aclass="reference internal"href="#com.vmware.appliance.recovery.reconciliation_client.Job.Status.RUNNING"title="com.vmware.appliance.recovery.reconciliation_client.Job.Status.RUNNING"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Job.Status.RUNNING</span></code></a>,
<li><strong>end_time</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">datetime.datetime</span></code>) – Time when the operation is completed. This attribute was added in
vSphere API 6.7
This attribute is optional and it is only relevant when the value
of <codeclass="docutils literal notranslate"><spanclass="pre">status</span></code> is one of <aclass="reference internal"href="#com.vmware.appliance.recovery.reconciliation_client.Job.Status.SUCCEEDED"title="com.vmware.appliance.recovery.reconciliation_client.Job.Status.SUCCEEDED"><codeclass="xref py py-attr docutils literal notranslate"><spanclass="pre">Job.Status.SUCCEEDED</span></code></a> or
<li><strong>messages</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">list</span></code> of <aclass="reference internal"href="com.vmware.vapi.html#com.vmware.vapi.std_client.LocalizableMessage"title="com.vmware.vapi.std_client.LocalizableMessage"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">com.vmware.vapi.std_client.LocalizableMessage</span></code></a>) – A list of localized messages. This attribute was added in vSphere
API 6.7</li>
<li><strong>progress</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">long</span></code>) – The progress of the job as a percentage. This attribute was added
<emclass="property">class </em><codeclass="descname">Status</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.reconciliation_client.Job.Status"title="Permalink to this definition">¶</a></dt>
<p>The <codeclass="docutils literal notranslate"><spanclass="pre">Job.Status</span></code> class defines the status values that can be reported for
an operation. This enumeration was added in vSphere API 6.7</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="last">This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">FAILED</code><emclass="property"> = Status(string='FAILED')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.reconciliation_client.Job.Status.FAILED"title="Permalink to this definition">¶</a></dt>
<dd><p>The operation failed. This class attribute was added in vSphere API 6.7</p>
<codeclass="descname">NONE</code><emclass="property"> = Status(string='NONE')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.reconciliation_client.Job.Status.NONE"title="Permalink to this definition">¶</a></dt>
<dd><p>The operation is not running. This class attribute was added in vSphere API
<codeclass="descname">RUNNING</code><emclass="property"> = Status(string='RUNNING')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.reconciliation_client.Job.Status.RUNNING"title="Permalink to this definition">¶</a></dt>
<dd><p>The operation is in progress. This class attribute was added in vSphere API
<codeclass="descname">SUCCEEDED</code><emclass="property"> = Status(string='SUCCEEDED')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.reconciliation_client.Job.Status.SUCCEEDED"title="Permalink to this definition">¶</a></dt>
<dd><p>The operation completed successfully. This class attribute was added in
<codeclass="descname">create</code><spanclass="sig-paren">(</span><em>spec</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.reconciliation_client.Job.create"title="Permalink to this definition">¶</a></dt>
<dd><p>Initiate reconciliation. This method was added in vSphere API 6.7</p>
<codeclass="descname">get</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.reconciliation_client.Job.get"title="Permalink to this definition">¶</a></dt>
<dd><p>Get reconciliation job progress/result. This method was added in
<emclass="property">class </em><codeclass="descclassname">com.vmware.appliance.recovery.reconciliation_client.</code><codeclass="descname">StubFactory</code><spanclass="sig-paren">(</span><em>stub_config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.reconciliation_client.StubFactory"title="Permalink to this definition">¶</a></dt>
<spanid="com-vmware-appliance-recovery-restore-client-module"></span><h2>com.vmware.appliance.recovery.restore_client module<aclass="headerlink"href="#module-com.vmware.appliance.recovery.restore_client"title="Permalink to this headline">¶</a></h2>
<emclass="property">class </em><codeclass="descclassname">com.vmware.appliance.recovery.restore_client.</code><codeclass="descname">Job</code><spanclass="sig-paren">(</span><em>config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.restore_client.Job"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><strong>config</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">vmware.vapi.bindings.stub.StubConfiguration</span></code>) – Configuration to be used for creating the stub.</td>
<emclass="property">class </em><codeclass="descname">BackupRestoreProcessState</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.restore_client.Job.BackupRestoreProcessState"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Job.BackupRestoreProcessState</span></code> class Defines state of backup/restore
process</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="last">This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">FAILED</code><emclass="property"> = BackupRestoreProcessState(string='FAILED')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.restore_client.Job.BackupRestoreProcessState.FAILED"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">INPROGRESS</code><emclass="property"> = BackupRestoreProcessState(string='INPROGRESS')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.restore_client.Job.BackupRestoreProcessState.INPROGRESS"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">NONE</code><emclass="property"> = BackupRestoreProcessState(string='NONE')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.restore_client.Job.BackupRestoreProcessState.NONE"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">SUCCEEDED</code><emclass="property"> = BackupRestoreProcessState(string='SUCCEEDED')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.restore_client.Job.BackupRestoreProcessState.SUCCEEDED"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descname">LocalizableMessage</code><spanclass="sig-paren">(</span><em>id=None</em>, <em>default_message=None</em>, <em>args=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.restore_client.Job.LocalizableMessage"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descname">LocationType</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.restore_client.Job.LocationType"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Job.LocationType</span></code> class Defines type of all locations for backup/restore</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="last">This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">FTP</code><emclass="property"> = LocationType(string='FTP')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.restore_client.Job.LocationType.FTP"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">FTPS</code><emclass="property"> = LocationType(string='FTPS')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.restore_client.Job.LocationType.FTPS"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">HTTP</code><emclass="property"> = LocationType(string='HTTP')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.restore_client.Job.LocationType.HTTP"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">HTTPS</code><emclass="property"> = LocationType(string='HTTPS')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.restore_client.Job.LocationType.HTTPS"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">SCP</code><emclass="property"> = LocationType(string='SCP')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.restore_client.Job.LocationType.SCP"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">SFTP</code><emclass="property"> = LocationType(string='SFTP')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.restore_client.Job.LocationType.SFTP"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descname">RestoreJobStatus</code><spanclass="sig-paren">(</span><em>state=None</em>, <em>messages=None</em>, <em>progress=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.restore_client.Job.RestoreJobStatus"title="Permalink to this definition">¶</a></dt>
<trclass="field-odd field"><thclass="field-name">Parameters:</th><tdclass="field-body"><ulclass="first last simple">
<li><strong>backup_password</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – a password for a backup piece
backupPassword If no password then the piece will not be decrypted</li>
<li><strong>location_type</strong> (<aclass="reference internal"href="#com.vmware.appliance.recovery.restore_client.Job.LocationType"title="com.vmware.appliance.recovery.restore_client.Job.LocationType"><codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">Job.LocationType</span></code></a>) – a type of location</li>
<li><strong>location_user</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – username for location
locationUser User name for this location if login is required.</li>
<li><strong>location_password</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – password for location
locationPassword Password for the specified user if login is
required at this location.</li>
<li><strong>sso_admin_user_name</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – Administrators Username for SSO. This attribute was added in
vSphere API 6.7
If None SSO authentication will not be used. If the vCenter Server
is a management node or an embedded node, authentication is
required.</li>
<li><strong>sso_admin_user_password</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">str</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The password for SSO admin user. This attribute was added in
vSphere API 6.7
If None SSO authentication will not be used. If the vCenter Server
is a management node or an embedded node, authentication is
required.</li>
<li><strong>ignore_warnings</strong> (<codeclass="xref py py-class docutils literal notranslate"><spanclass="pre">bool</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">None</span></code>) – The flag to ignore warnings during restore. This attribute was
added in vSphere API 6.7
If None, validation warnings will fail the restore operation</li>
<emclass="property">class </em><codeclass="descname">ReturnResult</code><spanclass="sig-paren">(</span><em>status=None</em>, <em>messages=None</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.restore_client.Job.ReturnResult"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descname">ReturnStatus</code><spanclass="sig-paren">(</span><em>string</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.restore_client.Job.ReturnStatus"title="Permalink to this definition">¶</a></dt>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Job.ReturnStatus</span></code> class Defines the state of precheck</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="last">This class represents an enumerated type in the interface language
definition. The class contains class attributes which represent the
values in the current version of the enumerated type. Newer versions of
the enumerated type may contain new values. To use new values of the
enumerated type in communication with a server that supports the newer
version of the API, you instantiate this class. See <aclass="reference internal"href="enumeration.html#enumeration-description"><spanclass="std std-ref">enumerated
<codeclass="descname">FAIL</code><emclass="property"> = ReturnStatus(string='FAIL')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.restore_client.Job.ReturnStatus.FAIL"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">OK</code><emclass="property"> = ReturnStatus(string='OK')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.restore_client.Job.ReturnStatus.OK"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">WARNING</code><emclass="property"> = ReturnStatus(string='WARNING')</em><aclass="headerlink"href="#com.vmware.appliance.recovery.restore_client.Job.ReturnStatus.WARNING"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">cancel</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.restore_client.Job.cancel"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">create</code><spanclass="sig-paren">(</span><em>piece</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.restore_client.Job.create"title="Permalink to this definition">¶</a></dt>
<codeclass="descname">get</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.restore_client.Job.get"title="Permalink to this definition">¶</a></dt>
<emclass="property">class </em><codeclass="descclassname">com.vmware.appliance.recovery.restore_client.</code><codeclass="descname">StubFactory</code><spanclass="sig-paren">(</span><em>stub_config</em><spanclass="sig-paren">)</span><aclass="headerlink"href="#com.vmware.appliance.recovery.restore_client.StubFactory"title="Permalink to this definition">¶</a></dt>
Built with <ahref="http://sphinx-doc.org/">Sphinx</a> using a <ahref="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <ahref="https://readthedocs.org">Read the Docs</a>.