Delete Organization Network operation


The Delete Organization Network operation enables you to delete an organization network. Only the vCloud system administrator can perform this operation.

The following figure shows a sample <items> XML element for the Delete Organization Network operation:

Sample <items> XML element for the Delete Organization Network operation

<items>
 <item>
   <parameters>
     <network-id></network-id>
   </parameters>
 </item>
</items>

The following table describes the elements for this adapter request:

Adapter request elements for the Delete Organization Network operation

Element

Definition

Required

<operation-name>

Defines the type of operation: Delete_Organization_Network

Yes

<vcloud-organization>

Specifies the name of the vCloud organization

Conditional:

  • Required if not specified in the configuration
  • If used, requires <user-name> and <password>
<user-name>

Specifies the user name required for basic HTTP authentication on vCloud

Conditional:

  • Required if not specified in the configuration
  • If used, requires <vcloud-organization> and <password>
<password>

Contains the password corresponding to the specified user name

Conditional:

  • Required if not specified in the configuration
  • If used, requires <vcloud-organization> and <user-name>
<parameters>

Contains the elements for the operation

Yes

<network-id>

Specifies the ID of the network that you want to delete

Yes

The following figure shows the sample adapter request for the Delete Organization Network operation:

Sample adapter request for the Delete Organization Network operation

<vmware-vcloud-request>
 <operation-name>Delete_Organization_Network</operation-name>
 <vcloud-organization>TestOrg</vcloud-organization>
 <user-name>TestUser</user-name>
 <password>Password</password>
 <parameters>
   <network-id>1663455563</network-id>
 </parameters>
</vmware-vcloud-request>

The following figure shows the response for the sample request:

Sample adapter response for the Delete Organization Network operation

<vmware-vcloud-response>
   <metadata>
       <status>success</status>
   </metadata>
   <status-line>
       <code>202</code>
       <reason>Accepted</reason>
   </status-line>
   <message-body>
       <Task
           status = "running"
           startTime = "2011-01-27T19:56:08.014+05:30"
           operation = "Deleting Network (1663455563)"
           expiryTime = "2011-04-27T19:56:08.014+05:30"
           endTime = "9999-12-31T23:59:59.999+05:30"
           type = "application/vnd.vmware.vcloud.task+xml"
           href = "https://10.128.248.112/api/v1.0/task/2fhmqbake97b6asrtvy">
           <Owner
               type = "application/vnd.vmware.admin.network+xml"
               name = ""
               href = "https://10.128.248.112/api/v1.0/admin/network/1663455563"/>
       </Task>
   </message-body>
</vmware-vcloud-response>

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*