Bases: vmware.vapi.bindings.stub.VapiInterface
Job class provides methods Performs backup restore operations
Parameters: | config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub. |
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
Job.BackupJobStatus class Structure representing backup restore status
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
Job.BackupRequest class Structure representing requested backup piece
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.enum.Enum
Job.BackupRestoreProcessState class Defines state of backup/restore process
Note
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 enumerated type description page.
Parameters: | string (str) – String value for the BackupRestoreProcessState instance. |
---|
Failed
In progress
Not started
Completed successfully
Bases: vmware.vapi.bindings.struct.VapiStruct
Job.LocalizableMessage class Structure representing message
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.enum.Enum
Job.LocationType class Defines type of all locations for backup/restore
Note
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 enumerated type description page.
Parameters: | string (str) – String value for the LocationType instance. |
---|
Destination is FTP server
Destination is FTPS server
Destination is HTTP server
Destination is HTTPS server
Destination is SSH server
Bases: vmware.vapi.bindings.struct.VapiStruct
Job.ReturnResult class Structure representing precheck result
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.enum.Enum
Job.ReturnStatus class Defines the state of precheck
Note
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 enumerated type description page.
Parameters: | string (str) – String value for the ReturnStatus instance. |
---|
Check failed
Check passed
Passed with warnings
Cancel the backup job
Parameters: | id (str) – ID (ID of job) The parameter must be an identifier for the resource type: com.vmware.appliance.recovery.backup.job. |
---|---|
Return type: | Job.ReturnResult |
Returns: | BackupJobStatus Structure |
Raise: | com.vmware.vapi.std.errors_client.NotFound ID is not found |
Raise: | com.vmware.vapi.std.errors_client.Error Generic error |
Initiate backup.
Parameters: | piece (Job.BackupRequest) – BackupRequest Structure |
---|---|
Return type: | Job.BackupJobStatus |
Returns: | BackupJobStatus Structure |
Raise: | com.vmware.vapi.std.errors_client.FeatureInUse A backup or restore is already in progress |
Raise: | com.vmware.vapi.std.errors_client.Error Generic error |
See backup job progress/result.
Parameters: | id (str) – ID (ID of job) The parameter must be an identifier for the resource type: com.vmware.appliance.recovery.backup.job. |
---|---|
Return type: | Job.BackupJobStatus |
Returns: | BackupJobStatus Structure |
Raise: | com.vmware.vapi.std.errors_client.NotFound ID is not found |
Raise: | com.vmware.vapi.std.errors_client.Error Generic error |
Bases: vmware.vapi.bindings.stub.VapiInterface
Parts class provides methods Provides list of parts optional for the backup
Parameters: | config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub. |
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
Parts.LocalizableMessage class Structure representing message
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
Parts.Part class Structure representing backup restore part
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Get size of the optional part
Parameters: | id (str) – part id The parameter must be an identifier for the resource type: com.vmware.appliance.recovery.backup.parts. |
---|---|
Return type: | long |
Returns: | int size |
Raise: | com.vmware.vapi.std.errors_client.Error Generic error |
Get a list of the backup parts
Return type: | list of Parts.Part |
---|---|
Returns: | list of parts |
Raise: | com.vmware.vapi.std.errors_client.Error Generic error |
Bases: vmware.vapi.bindings.stub.VapiInterface
Job class provides methods Performs restore operations
Parameters: | config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub. |
---|
Bases: vmware.vapi.bindings.enum.Enum
Job.BackupRestoreProcessState class Defines state of backup/restore process
Note
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 enumerated type description page.
Parameters: | string (str) – String value for the BackupRestoreProcessState instance. |
---|
Failed
In progress
Not started
Completed successfully
Bases: vmware.vapi.bindings.struct.VapiStruct
Job.LocalizableMessage class Structure representing message
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.enum.Enum
Job.LocationType class Defines type of all locations for backup/restore
Note
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 enumerated type description page.
Parameters: | string (str) – String value for the LocationType instance. |
---|
Destination is FTP server
Destination is FTPS server
Destination is HTTP server
Destination is HTTPS server
Destination is SSH server
Bases: vmware.vapi.bindings.struct.VapiStruct
Job.RestoreJobStatus class Structure representing backup restore status
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
Job.RestoreRequest class Structure representing requested restore piece
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.struct.VapiStruct
Job.ReturnResult class Structure representing precheck result
Tip
The arguments are used to initialize data attributes with the same names.
Parameters: |
|
---|
Bases: vmware.vapi.bindings.enum.Enum
Job.ReturnStatus class Defines the state of precheck
Note
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 enumerated type description page.
Parameters: | string (str) – String value for the ReturnStatus instance. |
---|
Check failed
Check passed
Passed with warnings
Cancel the backup job
Return type: | Job.ReturnResult |
---|---|
Returns: | RestoreJobStatus Structure |
Raise: | com.vmware.vapi.std.errors_client.Error Generic error |
Initiate restore.
Parameters: | piece (Job.RestoreRequest) – RestoreRequest Structure |
---|---|
Return type: | Job.RestoreJobStatus |
Returns: | RestoreJobStatus Structure |
Raise: | com.vmware.vapi.std.errors_client.FeatureInUse A backup or restore is already in progress |
Raise: | com.vmware.vapi.std.errors_client.NotAllowedInCurrentState Restore is allowed only after deployment and before firstboot |
Raise: | com.vmware.vapi.std.errors_client.Error Generic error |
See restore job progress/result.
Return type: | Job.RestoreJobStatus |
---|---|
Returns: | RestoreJobStatus Structure |
Raise: | com.vmware.vapi.std.errors_client.Error Generic error |