From 2491c53654cdbbed4abe776a5822200a0eeebcaa Mon Sep 17 00:00:00 2001 From: Anusha Hegde Date: Fri, 6 Sep 2019 13:55:12 +0530 Subject: [PATCH] updating draas docs with latest Task and Replication APIs --- vmc-draas/_sources/index.rst.txt | 2 +- vmc-draas/com.vmware.vmc.draas.html | 63 ++++++++++++++++- vmc-draas/com.vmware.vmc.html | 101 ++++++++++++++++++++++++++++ vmc-draas/genindex.html | 29 +++++++- vmc-draas/objects.inv | Bin 958 -> 995 bytes vmc-draas/searchindex.js | 2 +- 6 files changed, 190 insertions(+), 7 deletions(-) diff --git a/vmc-draas/_sources/index.rst.txt b/vmc-draas/_sources/index.rst.txt index 1d8f1404..5d846af9 100644 --- a/vmc-draas/_sources/index.rst.txt +++ b/vmc-draas/_sources/index.rst.txt @@ -1,5 +1,5 @@ .. vAPI documentation master file, created by - sphinx-quickstart on Tue Sep 3 15:28:22 2019. + sphinx-quickstart on Fri Sep 6 13:52:42 2019. You can adapt this file completely to your liking, but it should at least contain the root `toctree` directive. diff --git a/vmc-draas/com.vmware.vmc.draas.html b/vmc-draas/com.vmware.vmc.draas.html index 11a98c7e..95c5b320 100644 --- a/vmc-draas/com.vmware.vmc.draas.html +++ b/vmc-draas/com.vmware.vmc.draas.html @@ -217,7 +217,11 @@ names.

Parameters:srm_extension_key_suffix (str or None) – Optional custom extension key suffix for SRM. If not specified, -default extension key will be used. +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. @@ -274,6 +278,60 @@ default extension key will be used. +
+
+class 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.

+
+ +++ + + + +
Parameters:
    +
  • 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) –
  • +
+
+
+ +
+
+class 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.

+
+ +++ + + + +
Parameters:
    +
  • 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) –
  • +
+
+
+
class 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, sddc_id=None, draas_h5_url=None)
@@ -506,7 +564,7 @@ names.

-class com.vmware.vmc.draas.model_client.SiteRecoveryVersions(sddc_id=None, node_versions=None)
+class com.vmware.vmc.draas.model_client.SiteRecoveryVersions(generated=None, sddc_id=None, node_versions=None)

Bases: vmware.vapi.bindings.struct.VapiStruct

Tip

@@ -518,6 +576,7 @@ names.

Parameters:
    +
  • generated (datetime.datetime or None) –
  • sddc_id (str or None) –
  • node_versions (list of SiteRecoveryNodeVersion or None) – list of site recovery node version
diff --git a/vmc-draas/com.vmware.vmc.html b/vmc-draas/com.vmware.vmc.html index cca2f0f8..0fca864e 100644 --- a/vmc-draas/com.vmware.vmc.html +++ b/vmc-draas/com.vmware.vmc.html @@ -184,6 +184,57 @@

com.vmware.vmc.draas_client module

+
+
+class com.vmware.vmc.draas_client.ReplicaDiskCollections(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+ +++ + + + +
Parameters: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

+ +++ + + + + + + + + + + + + + +
Parameters:
    +
  • org (str) – Organization identifier (required)
  • +
  • sddc (str) – sddc identifier (required)
  • +
  • datastore_mo_id (str or None) – Represents the datastore moref id to search. (optional)
  • +
+
Return type:

list of com.vmware.vmc.draas.model_client.ReplicaDiskCollection

+
Returns:

+
Raise:

com.vmware.vapi.std.errors_client.Unauthenticated +Unauthorized

+
Raise:

com.vmware.vapi.std.errors_client.Unauthorized +Forbidden

+
Raise:

com.vmware.vapi.std.errors_client.NotFound +Not found

+
+
+ +
+
class com.vmware.vmc.draas_client.SiteRecovery(config)
@@ -539,6 +590,56 @@ Cannot find site recovery versions for sddc identifier

+
+
+class com.vmware.vmc.draas_client.Task(config)
+

Bases: vmware.vapi.bindings.stub.VapiInterface

+ +++ + + + +
Parameters:config (vmware.vapi.bindings.stub.StubConfiguration) – Configuration to be used for creating the stub.
+
+
+get(org, task)
+

Retrieve details of a task.

+ +++ + + + + + + + + + + + + + +
Parameters:
    +
  • org (str) – Organization identifier (required)
  • +
  • task (str) – task identifier (required)
  • +
+
Return type:

com.vmware.vmc.draas.model_client.Task

+
Returns:

com.vmware.vmc.draas.model.Task

+
Raise:

com.vmware.vapi.std.errors_client.Unauthenticated +Unauthorized

+
Raise:

com.vmware.vapi.std.errors_client.Unauthorized +Forbidden

+
Raise:

com.vmware.vapi.std.errors_client.NotFound +Cannot find the task with given identifier

+
+
+ +
+ diff --git a/vmc-draas/genindex.html b/vmc-draas/genindex.html index b12df3b0..cf9cb237 100644 --- a/vmc-draas/genindex.html +++ b/vmc-draas/genindex.html @@ -160,6 +160,7 @@ | G | N | P + | R | S | T | V @@ -224,16 +225,20 @@

G

+

R

+ + + +
+

S

    @@ -349,7 +368,11 @@ diff --git a/vmc-draas/objects.inv b/vmc-draas/objects.inv index c3634b5881c2f6b8a6dddb6835df9911e67e34b9..bff04baed6ae1ea72901d782a210499499fcaadd 100644 GIT binary patch delta 858 zcmV-g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