diff --git a/vmc-draas/_sources/index.rst.txt b/vmc-draas/_sources/index.rst.txt index 9ba9b8d8..cc5a66e3 100644 --- a/vmc-draas/_sources/index.rst.txt +++ b/vmc-draas/_sources/index.rst.txt @@ -1,5 +1,5 @@ .. draas documentation master file, created by - sphinx-quickstart on Fri Aug 20 05:24:53 2021. + sphinx-quickstart on Mon Sep 26 05:42:38 2022. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. diff --git a/vmc-draas/_static/documentation_options.js b/vmc-draas/_static/documentation_options.js index 3f220a6d..f6dd67cc 100644 --- a/vmc-draas/_static/documentation_options.js +++ b/vmc-draas/_static/documentation_options.js @@ -1,6 +1,6 @@ var DOCUMENTATION_OPTIONS = { URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), - VERSION: '1.18.0', + VERSION: '1.20.0', LANGUAGE: 'en', COLLAPSE_INDEX: false, BUILDER: 'html', diff --git a/vmc-draas/_static/pygments.css b/vmc-draas/_static/pygments.css index 582d5c3a..08bec689 100644 --- a/vmc-draas/_static/pygments.css +++ b/vmc-draas/_static/pygments.css @@ -5,22 +5,22 @@ td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5 span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } .highlight .hll { background-color: #ffffcc } .highlight { background: #f8f8f8; } -.highlight .c { color: #408080; font-style: italic } /* Comment */ +.highlight .c { color: #3D7B7B; font-style: italic } /* Comment */ .highlight .err { border: 1px solid #FF0000 } /* Error */ .highlight .k { color: #008000; font-weight: bold } /* Keyword */ .highlight .o { color: #666666 } /* Operator */ -.highlight .ch { color: #408080; font-style: italic } /* Comment.Hashbang */ -.highlight .cm { color: #408080; font-style: italic } /* Comment.Multiline */ -.highlight .cp { color: #BC7A00 } /* Comment.Preproc */ -.highlight .cpf { color: #408080; font-style: italic } /* Comment.PreprocFile */ -.highlight .c1 { color: #408080; font-style: italic } /* Comment.Single */ -.highlight .cs { color: #408080; font-style: italic } /* Comment.Special */ +.highlight .ch { color: #3D7B7B; font-style: italic } /* Comment.Hashbang */ +.highlight .cm { color: #3D7B7B; font-style: italic } /* Comment.Multiline */ +.highlight .cp { color: #9C6500 } /* Comment.Preproc */ +.highlight .cpf { color: #3D7B7B; font-style: italic } /* Comment.PreprocFile */ +.highlight .c1 { color: #3D7B7B; font-style: italic } /* Comment.Single */ +.highlight .cs { color: #3D7B7B; font-style: italic } /* Comment.Special */ .highlight .gd { color: #A00000 } /* Generic.Deleted */ .highlight .ge { font-style: italic } /* Generic.Emph */ -.highlight .gr { color: #FF0000 } /* Generic.Error */ +.highlight .gr { color: #E40000 } /* Generic.Error */ .highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */ -.highlight .gi { color: #00A000 } /* Generic.Inserted */ -.highlight .go { color: #888888 } /* Generic.Output */ +.highlight .gi { color: #008400 } /* Generic.Inserted */ +.highlight .go { color: #717171 } /* Generic.Output */ .highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */ .highlight .gs { font-weight: bold } /* Generic.Strong */ .highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ @@ -33,15 +33,15 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: .highlight .kt { color: #B00040 } /* Keyword.Type */ .highlight .m { color: #666666 } /* Literal.Number */ .highlight .s { color: #BA2121 } /* Literal.String */ -.highlight .na { color: #7D9029 } /* Name.Attribute */ +.highlight .na { color: #687822 } /* Name.Attribute */ .highlight .nb { color: #008000 } /* Name.Builtin */ .highlight .nc { color: #0000FF; font-weight: bold } /* Name.Class */ .highlight .no { color: #880000 } /* Name.Constant */ .highlight .nd { color: #AA22FF } /* Name.Decorator */ -.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */ -.highlight .ne { color: #D2413A; font-weight: bold } /* Name.Exception */ +.highlight .ni { color: #717171; font-weight: bold } /* Name.Entity */ +.highlight .ne { color: #CB3F38; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0000FF } /* Name.Function */ -.highlight .nl { color: #A0A000 } /* Name.Label */ +.highlight .nl { color: #767600 } /* Name.Label */ .highlight .nn { color: #0000FF; font-weight: bold } /* Name.Namespace */ .highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #19177C } /* Name.Variable */ @@ -58,11 +58,11 @@ span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: .highlight .dl { color: #BA2121 } /* Literal.String.Delimiter */ .highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */ .highlight .s2 { color: #BA2121 } /* Literal.String.Double */ -.highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */ +.highlight .se { color: #AA5D1F; font-weight: bold } /* Literal.String.Escape */ .highlight .sh { color: #BA2121 } /* Literal.String.Heredoc */ -.highlight .si { color: #BB6688; font-weight: bold } /* Literal.String.Interpol */ +.highlight .si { color: #A45A77; font-weight: bold } /* Literal.String.Interpol */ .highlight .sx { color: #008000 } /* Literal.String.Other */ -.highlight .sr { color: #BB6688 } /* Literal.String.Regex */ +.highlight .sr { color: #A45A77 } /* Literal.String.Regex */ .highlight .s1 { color: #BA2121 } /* Literal.String.Single */ .highlight .ss { color: #19177C } /* Literal.String.Symbol */ .highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */ diff --git a/vmc-draas/com.html b/vmc-draas/com.html index 774ab835..5203e0c4 100644 --- a/vmc-draas/com.html +++ b/vmc-draas/com.html @@ -7,7 +7,7 @@ -
- © Copyright 2021, VMware, Inc.. + © Copyright 2022, VMware, Inc..
- © Copyright 2021, VMware, Inc.. + © Copyright 2022, VMware, Inc..
com.vmware.vmc.draas.model_client.
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)¶Bases: vmware.vapi.bindings.struct.VapiStruct
Tip
+The arguments are used to initialize data attributes with the same +names.
+updated (datetime.datetime
) –
user_id (str
) – User id that last updated this record
created (datetime.datetime
) –
updated_by_user_id (str
) – User id that last updated this record
version (long
) – Version of this entity format: int32
updated_by_user_name (str
) – User name that last updated this record
user_name (str
) – User name that last updated this record
id (str
) –
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.
+srm_extension_key_suffix (str
or None
) – 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.
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.
+version (str
or None
) –
build_number (str
or None
) –
com.vmware.vmc.draas.model_client.
ErrorResponse
(status=None, path=None, retryable=None, error_code=None, error_messages=None)¶Bases: vmware.vapi.bindings.struct.VapiStruct
Tip
+The arguments are used to initialize data attributes with the same +names.
+status (long
) – HTTP status code
path (str
) – Originating request URI
retryable (bool
) – If true, client should retry operation
error_code (str
) – unique error code
error_messages (list
of str
) – localized error messages
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.
+message (str
or None
) –
cause (vmware.vapi.struct.VapiStruct
or None
) –
com.vmware.vmc.draas.model_client.
HmsIssueInfo
(target_object_mo_id=None, severity=None, issue_type=None, target_object_name=None, fault=None, triggered_time=None)¶Bases: vmware.vapi.bindings.struct.VapiStruct
Tip
+The arguments are used to initialize data attributes with the same +names.
+target_object_mo_id (str
) –
severity (str
) –
issue_type (str
) –
target_object_name (str
or None
) –
fault (Fault
or None
) –
triggered_time (datetime.datetime
) –
com.vmware.vmc.draas.model_client.
HmsReplicationIssueInfo
(target_object_mo_id=None, severity=None, issue_type=None, target_object_name=None, fault=None, triggered_time=None, direction=None, source_site_uuid=None, destination_site_uuid=None)¶Bases: vmware.vapi.bindings.struct.VapiStruct
Tip
+The arguments are used to initialize data attributes with the same +names.
+target_object_mo_id (str
) –
severity (str
) –
issue_type (str
) –
target_object_name (str
or None
) –
fault (Fault
or None
) –
triggered_time (datetime.datetime
) –
direction (str
or None
) –
source_site_uuid (str
or None
) –
destination_site_uuid (str
or None
) –
com.vmware.vmc.draas.model_client.
HmsSiteIssueInfo
(target_object_mo_id=None, severity=None, issue_type=None, target_object_name=None, fault=None, triggered_time=None)¶Bases: vmware.vapi.bindings.struct.VapiStruct
Tip
+The arguments are used to initialize data attributes with the same +names.
+target_object_mo_id (str
) –
severity (str
) –
issue_type (str
) –
target_object_name (str
or None
) –
fault (Fault
or None
) –
triggered_time (datetime.datetime
) –
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.
+srm_extension_key_suffix (str
or None
) – Optional custom extension key suffix for SRM. If not specified,
+default extension key will be used.
com.vmware.vmc.draas.model_client.
ReplicaDisk
(space_requirement=None, name=None, collection_id=None, datastores_for_single_host_move=None, movable=None, disk_id=None, datastore_mo_id=None)¶Bases: vmware.vapi.bindings.struct.VapiStruct
Tip
+The arguments are used to initialize data attributes with the same +names.
+space_requirement (float
or None
) –
name (str
or None
) –
collection_id (str
or None
) –
datastores_for_single_host_move (list
of vmware.vapi.struct.VapiStruct
or None
) –
movable (bool
or None
) –
disk_id (str
or None
) –
datastore_mo_id (str
or None
) –
com.vmware.vmc.draas.model_client.
ReplicaDiskCollection
(collection_id=None, generated=None, disks=None, placeholder_vm_mo_id=None, name=None)¶Bases: vmware.vapi.bindings.struct.VapiStruct
Tip
+The arguments are used to initialize data attributes with the same +names.
+collection_id (str
or None
) –
generated (datetime.datetime
or None
) –
disks (list
of ReplicaDisk
or None
) –
placeholder_vm_mo_id (str
or None
) –
name (str
or None
) –
com.vmware.vmc.draas.model_client.
ReportPeriodConfig
(report_end_day_inclusive=None, report_start_day_inclusive=None)¶Bases: vmware.vapi.bindings.struct.VapiStruct
Tip
+The arguments are used to initialize data attributes with the same +names.
+report_end_day_inclusive (datetime.datetime
or None
) –
report_start_day_inclusive (datetime.datetime
or None
) –
com.vmware.vmc.draas.model_client.
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, vrs_nodes=None, sddc_id=None, draas_h5_url=None)¶Bases: vmware.vapi.bindings.struct.VapiStruct
Tip
+The arguments are used to initialize data attributes with the same +names.
+updated (datetime.datetime
) –
user_id (str
) – User id that last updated this record
created (datetime.datetime
) –
updated_by_user_id (str
) – User id that last updated this record
version (long
) – Version of this entity format: int32
updated_by_user_name (str
) – User name that last updated this record
user_name (str
) – User name that last updated this record
id (str
) –
site_recovery_state (str
or None
) –
Possible values are:
+vr_node (SiteRecoveryNode
or None
) –
srm_nodes (list
of SrmNode
or None
) –
vrs_nodes (list
of SiteRecoveryNode
or None
) –
sddc_id (str
or None
) –
draas_h5_url (str
or None
) –
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'¶com.vmware.vmc.draas.model_client.
SiteRecoveryNode
(vm_moref_id=None, ip_address=None, hostname=None, id=None, state=None, type=None)¶Bases: vmware.vapi.bindings.struct.VapiStruct
Tip
+The arguments are used to initialize data attributes with the same +names.
+vm_moref_id (str
or None
) –
ip_address (str
or None
) –
hostname (str
or None
) –
id (str
or None
) –
state (str
or None
) –
Possible values are:
+ +type (str
or None
) –
Possible values are:
+ +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'¶com.vmware.vmc.draas.model_client.
SiteRecoveryNodeVersion
(build_version=None, node_type=None, node_id=None, full_version=None, node_ip=None)¶Bases: vmware.vapi.bindings.struct.VapiStruct
Tip
+The arguments are used to initialize data attributes with the same +names.
+build_version (BuildVersion
or None
) –
node_type (str
or None
) –
Possible values are:
+ +node_id (str
or None
) –
full_version (str
or None
) –
node_ip (str
or None
) –
NODE_TYPE_SRM
= 'SRM'¶NODE_TYPE_VRMS
= 'VRMS'¶NODE_TYPE_VRS
= 'VRS'¶com.vmware.vmc.draas.model_client.
SiteRecoveryVersions
(generated=None, sddc_id=None, node_versions=None)¶Bases: vmware.vapi.bindings.struct.VapiStruct
Tip
+The arguments are used to initialize data attributes with the same +names.
+generated (datetime.datetime
or None
) –
sddc_id (str
or None
) –
node_versions (list
of SiteRecoveryNodeVersion
or None
) – list of site recovery node version
com.vmware.vmc.draas.model_client.
SrmNode
(vm_moref_id=None, ip_address=None, hostname=None, id=None, state=None, type=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.
+vm_moref_id (str
or None
) –
ip_address (str
or None
) –
hostname (str
or None
) –
id (str
or None
) –
state (str
or None
) –
Possible values are:
+ +type (str
or None
) –
Possible values are:
+ +srm_extension_key_suffix (str
or None
) –
srm_extension_key (str
or None
) –
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'¶com.vmware.vmc.draas.model_client.
StubFactory
(stub_config)¶Bases: vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
+stub_config (vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.vmc.draas.model_client.
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)¶Bases: vmware.vapi.bindings.struct.VapiStruct
Tip
+The arguments are used to initialize data attributes with the same +names.
+updated (datetime.datetime
) –
user_id (str
) – User id that last updated this record
created (datetime.datetime
) –
updated_by_user_id (str
) – User id that last updated this record
version (long
) – Version of this entity format: int32
updated_by_user_name (str
) – User name that last updated this record
user_name (str
) – User name that last updated this record
id (str
) –
status (str
or None
) –
Possible values are:
+ +resource_id (str
or None
) – UUID of resources task is acting upon
start_time (datetime.datetime
or None
) –
retries (long
or None
) –
task_type (str
or None
) –
task_progress_phases (list
of TaskProgressPhase
or None
) – Task progress phases involved in current task execution
tenant_id (str
or None
) –
error_message (str
or None
) –
parent_task_id (str
or None
) –
progress_percent (long
or None
) – Estimated progress percentage the task executed format: int32
estimated_remaining_minutes (long
or None
) – Estimated remaining time in minute of the task execution, < 0 means
+no estimation for the task. format: int32
params (vmware.vapi.struct.VapiStruct
or None
) –
end_time (datetime.datetime
or None
) –
task_version (str
or None
) –
resource_type (str
or None
) – Type of resource being acted upon
sub_status (str
or None
) –
STATUS_CANCELED
= 'CANCELED'¶STATUS_CANCELING
= 'CANCELING'¶STATUS_FAILED
= 'FAILED'¶STATUS_FINISHED
= 'FINISHED'¶STATUS_STARTED
= 'STARTED'¶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.
+id (str
) – The identifier of the task progress phase
name (str
) – The display name of the task progress phase
progress_percent (long
) – The percentage of the phase that has completed format: int32
- © Copyright 2021, VMware, Inc.. + © Copyright 2022, VMware, Inc..
com.vmware.vmc.draas_client.
GetSrmConfigExport
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
get
(org, sddc, srm_node)¶Get content of the config export file needed for CVDS migration.
+org (str
) – Organization identifier (required)
sddc (str
) – sddc identifier (required)
srm_node (str
) – SRM node identifier (required)
com.vmware.vapi.std.errors_client.Unauthenticated
+Unauthorized
com.vmware.vapi.std.errors_client.Unauthorized
+Forbidden
com.vmware.vapi.std.errors_client.NotFound
+Cannot find config-export file in the site recovery node target
+path
com.vmware.vmc.draas_client.
GranularReporter
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
create_usage_report
(org, report_period_config=None)¶Create granular usage report for specific time period
+org (str
) – Organization identifier (required)
report_period_config (com.vmware.vmc.draas.model_client.ReportPeriodConfig
or None
) – Report period configurations (optional)
com.vmware.vapi.std.errors_client.Unauthenticated
+Unauthorized
com.vmware.vapi.std.errors_client.InvalidRequest
+Bad Request
com.vmware.vapi.std.errors_client.Unauthorized
+Forbidden
com.vmware.vmc.draas_client.
ReplicaDiskCollections
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
get
(org, sddc, datastore_mo_id=None)¶Query replica disk collections
+org (str
) – Organization identifier (required)
sddc (str
) – sddc identifier (required)
datastore_mo_id (str
or None
) – Represents the datastore moref id to search. (optional)
list
of com.vmware.vmc.draas.model_client.ReplicaDiskCollection
com.vmware.vapi.std.errors_client.Unauthenticated
+Unauthorized
com.vmware.vapi.std.errors_client.Unauthorized
+Forbidden
com.vmware.vapi.std.errors_client.NotFound
+Not found
com.vmware.vmc.draas_client.
SiteRecovery
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
delete
(org, sddc, force=None)¶Deactivate site recovery for the specified sddc
+org (str
) – Organization identifier (required)
sddc (str
) – sddc identifier (required)
force (bool
or None
) – If = ‘true’, will deactivate site recovery forcefully. (optional)
com.vmware.vmc.draas.model.Task
+com.vmware.vapi.std.errors_client.Unauthenticated
+Unauthorized
com.vmware.vapi.std.errors_client.InvalidRequest
+Invalid action or bad argument
com.vmware.vapi.std.errors_client.Unauthorized
+Forbidden
com.vmware.vapi.std.errors_client.NotFound
+Cannot find site recovery configuration for sddc identifier
get
(org, sddc)¶Query site recovery configuration for the specified sddc
+org (str
) – Organization identifier (required)
sddc (str
) – sddc identifier (required)
com.vmware.vmc.draas.model.SiteRecovery
+com.vmware.vapi.std.errors_client.Unauthenticated
+Unauthorized
com.vmware.vapi.std.errors_client.InvalidRequest
+Invalid action or bad argument
com.vmware.vapi.std.errors_client.Unauthorized
+Forbidden
post
(org, sddc, activate_site_recovery_config=None)¶Activate site recovery for the specified sddc
+org (str
) – Organization identifier (required)
sddc (str
) – sddc identifier (required)
activate_site_recovery_config (com.vmware.vmc.draas.model_client.ActivateSiteRecoveryConfig
or None
) – Customization, for example can specify custom extension key suffix
+for SRM. (optional)
com.vmware.vmc.draas.model.Task
+com.vmware.vapi.std.errors_client.Unauthenticated
+Unauthorized
com.vmware.vapi.std.errors_client.InvalidRequest
+Invalid action or bad argument
com.vmware.vapi.std.errors_client.Unauthorized
+Forbidden
com.vmware.vapi.std.errors_client.NotFound
+Cannot find site recovery configuration for sddc identifier
com.vmware.vmc.draas_client.
SiteRecoverySrmNodes
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
delete
(org, sddc, srm_node)¶Delete a SRM server.
+org (str
) – Organization identifier (required)
sddc (str
) – sddc identifier (required)
srm_node (str
) – SRM node identifier (required)
com.vmware.vmc.draas.model.Task
+com.vmware.vapi.std.errors_client.Unauthenticated
+Unauthorized
com.vmware.vapi.std.errors_client.InvalidRequest
+Invalid action or bad argument
com.vmware.vapi.std.errors_client.Unauthorized
+Forbidden
com.vmware.vapi.std.errors_client.NotFound
+Cannot find SDDC or SRM node
post
(org, sddc, provision_srm_config=None)¶Provision an additional SRM server.
+org (str
) – Organization identifier (required)
sddc (str
) – sddc identifier (required)
provision_srm_config (com.vmware.vmc.draas.model_client.ProvisionSrmConfig
or None
) – Customization, for example can specify custom extension key suffix
+for SRM. (optional)
com.vmware.vmc.draas.model.Task
+com.vmware.vapi.std.errors_client.Unauthenticated
+Unauthorized
com.vmware.vapi.std.errors_client.InvalidRequest
+Invalid action or bad argument
com.vmware.vapi.std.errors_client.Unauthorized
+Forbidden
com.vmware.vapi.std.errors_client.NotFound
+Cannot find site recovery configuration for sddc identifier
com.vmware.vmc.draas_client.
SiteRecoveryVersions
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
get
(org, sddc)¶Query site recovery versions for the specified sddc
+org (str
) – Organization identifier (required)
sddc (str
) – sddc identifier (required)
com.vmware.vmc.draas.model.SiteRecoveryVersions
+com.vmware.vapi.std.errors_client.Unauthenticated
+Unauthorized
com.vmware.vapi.std.errors_client.InvalidRequest
+Invalid action or bad argument
com.vmware.vapi.std.errors_client.Unauthorized
+Forbidden
com.vmware.vapi.std.errors_client.NotFound
+Cannot find site recovery versions for sddc identifier
com.vmware.vmc.draas_client.
StubFactory
(stub_config)¶Bases: vmware.vapi.bindings.stub.StubFactoryBase
Initialize StubFactoryBase
+stub_config (vmware.vapi.bindings.stub.StubConfiguration
) – Stub config instance
com.vmware.vmc.draas_client.
Task
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
get
(org, task)¶Retrieve details of a task.
+org (str
) – Organization identifier (required)
task (str
) – task identifier (required)
com.vmware.vmc.draas.model.Task
+com.vmware.vapi.std.errors_client.Unauthenticated
+Unauthorized
com.vmware.vapi.std.errors_client.Unauthorized
+Forbidden
com.vmware.vapi.std.errors_client.NotFound
+Cannot find the task with given identifier
list
(org, filter=None)¶List all tasks with optional filtering.
+org (str
) – Organization identifier (required)
filter (str
or None
) – Filter expression Binary Operators: ‘eq’, ‘ne’, ‘lt’, ‘gt’, ‘le’,
+‘ge’, ‘mul’, ‘div’, ‘mod’, ‘sub’, ‘add’ Unary Operators: ‘not’, ‘-‘
+(minus) String Operators: ‘startswith’, ‘endswith’, ‘length’,
+‘contains’, ‘tolower’, ‘toupper’, Nested attributes are composed
+using ‘.’ Dates must be formatted as yyyy-MM-dd or
+yyyy-MM-ddTHH:mm:ss[.SSS]Z Strings should enclosed in single
+quotes, escape single quote with two single quotes The special
+literal ‘created’ will be mapped to the time the resource was first
+created. Examples: - $filter=(updated gt 2016-08-09T13:00:00Z) and
+(org_id eq 278710ff4e-6b6d-4d4e-aefb-ca637f38609e) -
+$filter=(created eq 2016-08-09) - $filter=(created gt 2016-08-09)
+and (sddc.status eq ‘READY’) (optional)
com.vmware.vapi.std.errors_client.Unauthenticated
+Unauthorized
com.vmware.vapi.std.errors_client.Unauthorized
+Forbidden
update
(org, task, action=None)¶Request that a running task be canceled. This is advisory only, some +tasks may not be cancelable, and some tasks might take an arbitrary +amount of time to respond to a cancelation request. The task must be +monitored to determine subsequent status.
+org (str
) – Organization identifier (required)
task (str
) – task identifier (required)
action (str
or None
) – If = ‘cancel’, task will be canceled (optional)
com.vmware.vmc.draas.model.Task
+com.vmware.vapi.std.errors_client.Unauthenticated
+Unauthorized
com.vmware.vapi.std.errors_client.InvalidRequest
+Invalid action or bad argument
com.vmware.vapi.std.errors_client.Unauthorized
+Forbidden
com.vmware.vapi.std.errors_client.NotFound
+Cannot find the task with given identifier
com.vmware.vmc.draas_client.
VrReplicationIssues
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
get
(org, sddc)¶Query VR replication issues
+org (str
) – Organization identifier (required)
sddc (str
) – sddc identifier (required)
list
of com.vmware.vmc.draas.model_client.HmsReplicationIssueInfo
com.vmware.vapi.std.errors_client.Unauthenticated
+Unauthorized
com.vmware.vapi.std.errors_client.Unauthorized
+Forbidden
com.vmware.vapi.std.errors_client.NotFound
+Not found
com.vmware.vmc.draas_client.
VrSiteIssues
(config)¶Bases: vmware.vapi.bindings.stub.VapiInterface
config (vmware.vapi.bindings.stub.StubConfiguration
) – Configuration to be used for creating the stub.
get
(org, sddc)¶Query VR site issues
+org (str
) – Organization identifier (required)
sddc (str
) – sddc identifier (required)
com.vmware.vapi.std.errors_client.Unauthenticated
+Unauthorized
com.vmware.vapi.std.errors_client.Unauthorized
+Forbidden
com.vmware.vapi.std.errors_client.NotFound
+Not found
- © Copyright 2021, VMware, Inc.. + © Copyright 2022, VMware, Inc..
- © Copyright 2021, VMware, Inc.. + © Copyright 2022, VMware, Inc..
+ | + |
+ |
|
-
|
+
|
+
+ |
+ |
+ |
+ | + |
+ | + |
+ | + |
+ | + |
+ | + |
+ |
|
-
|
+
|
- © Copyright 2021, VMware, Inc.. + © Copyright 2022, VMware, Inc..
- © Copyright 2021, VMware, Inc.. + © Copyright 2022, VMware, Inc..
com.vmware.vmc.draas
com.vmware.vmc.draas.model_client
com.vmware.vmc.draas_client
vmware.vapi.vmc
vmware.vapi.vmc.csp_filter
- © Copyright 2021, VMware, Inc.. + © Copyright 2022, VMware, Inc..
- © Copyright 2021, VMware, Inc.. + © Copyright 2022, VMware, Inc..
- © Copyright 2021, VMware, Inc.. + © Copyright 2022, VMware, Inc..
- © Copyright 2021, VMware, Inc.. + © Copyright 2022, VMware, Inc..
CSP Refresh token based SecurityContextFilter
+vmware.vapi.vmc.csp_filter.
CSPSecurityContextFilter
(session, refresh_token, refresh_url)¶Bases: vmware.vapi.security.client.security_context_filter.SecurityContextFilter
CSP Security Context filter in API Provider chain adds the security +context based on a refresh token to the execution context passed in.
+Initialize SecurityContextFilter
+session (requests.Session
) – Requests Session object to use for making HTTP calls
refresh_token (str
) – Refresh token to use for obtaining an access token
refresh_url (str
) – URL that allows exchanging a refresh token for an
+access token
get_max_retries
()¶Get the max number of retries
+int
Number of retries
+get_security_context
(on_error)¶Retrieve security context. If this method is called after an error +occured, then a new access token is obtained using the refresh token and +a new security context is created.
+on_error (bool
) – Whether this method is called after getting an error
vmware.vapi.core.SecurityContext
Security context
+should_retry
(error_value)¶Returns whether the request should be retried or not based on the error +specified.
+error_value (vmware.vapi.data.value.ErrorValue
) – Method error
bool
Returns True if request should be retried in case the error is +either Unauthenticated or Unauthorized else False
+- © Copyright 2021, VMware, Inc.. + © Copyright 2022, VMware, Inc..