Vshield App Schemas; Vshield App Configuration Schema - VMware VSHIELD APP 1.0 - API Programming Manual

Vshield api
Table of Contents

Advertisement

<xs:complexType name="PortgroupIsolationInstallParams">
<xs:sequence>
<xs:element minOccurs="0" name="ResourcePoolId" type="Moid"/>
<xs:element name="DatastoreId" type="Moid"/>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="InstallAction">
<xs:restriction base="xs:string">
<xs:enumeration value="install"/>
<xs:enumeration value="upgrade"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="IP">
<xs:restriction base="xs:string">
<xs:pattern value=
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="Moid">
<xs:restriction base="xs:string">
<xs:pattern value="[a-zA-Z0-9\-]+"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>

vShield App Schemas

The following schemas detail vShield App configuration via REST API.

vShield App Configuration Schema

This schema configures a vShield App after installation.
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:element name="ZonesConfiguration">
<xs:complexType>
<xs:all>
</xs:all>
</xs:complexType>
</xs:element>
<!-- Install parameters -->
<xs:complexType name="VszInstallParamsType">
<xs:sequence>
<xs:element name="NodeId" type="xs:string"/>
<xs:element name="DatacenterId" type="xs:string"/>
<xs:element name="DatastoreId" type="xs:string"/>
<xs:element name="NameForZones" type="xs:string"/>
<xs:element name="VswitchForMgmt" type="xs:string"/>
<xs:element name="MgmtInterface" type="InterfaceType"/>
</xs:sequence>
</xs:complexType>
VMware, Inc.
"((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\.){3}(25[0-5]|2[0-4][
0-9]|1[0-9][0-9]|[1-9]?[0-9])"/>
<xs:element name="VszInstallParams" type="VszInstallParams" minOccurs="0"/>
Appendix 8 Appendix: REST API Schemas
71

Advertisement

Table of Contents
loading

Table of Contents