123 lines
6.0 KiB
XML
123 lines
6.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- Copyright 1999-2025. WebPros International GmbH. All rights reserved. -->
|
|
<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
<xs:include schemaLocation="plesk_common.xsd"/>
|
|
<xs:complexType name="getType">
|
|
<xs:annotation>
|
|
<xs:documentation>Request server info</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:sequence>
|
|
<xs:element name="key" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>Plesk licence key information</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="gen_info" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>Server general information</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="components" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>Server componets</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="stat" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>Server statistics</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="admin" minOccurs="0">
|
|
<xs:annotation>
|
|
<xs:documentation>Server adminstrator information</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="filterType">
|
|
<xs:annotation>
|
|
<xs:documentation>Fliter clients list</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:choice maxOccurs="unbounded">
|
|
<xs:element name="ip_address" type="ip_address">
|
|
<xs:annotation>
|
|
<xs:documentation>IP address value</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
</xs:choice>
|
|
</xs:complexType>
|
|
<xs:element name="packet">
|
|
<xs:annotation>
|
|
<xs:documentation>Root node for any of input</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:complexType>
|
|
<xs:choice maxOccurs="unbounded">
|
|
<xs:annotation>
|
|
<xs:documentation>Input</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:element name="ip">
|
|
<xs:annotation>
|
|
<xs:documentation>IP operator</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:complexType>
|
|
<xs:choice maxOccurs="unbounded">
|
|
<xs:element name="add">
|
|
<xs:annotation>
|
|
<xs:documentation>Add IP to Plesk Server</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:complexType>
|
|
<xs:all>
|
|
<xs:element name="ip_address" type="ip_address"/>
|
|
<xs:element name="netmask" type="ip_address"/>
|
|
<xs:element name="type" type="ipType"/>
|
|
<xs:element name="interface" type="netInterface"/>
|
|
</xs:all>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="get">
|
|
<xs:annotation>
|
|
<xs:documentation>Get server IP(s)</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="set">
|
|
<xs:annotation>
|
|
<xs:documentation>Setup IP address(s) type</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:complexType>
|
|
<xs:all>
|
|
<xs:element name="filter" type="filterType">
|
|
<xs:annotation>
|
|
<xs:documentation>Fliter IPs to be deleted</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="type" type="ipType">
|
|
<xs:annotation>
|
|
<xs:documentation>IP address type want to be set</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
</xs:all>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="del">
|
|
<xs:annotation>
|
|
<xs:documentation>Remove IP from Plesk Server</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:complexType>
|
|
<xs:all>
|
|
<xs:element name="filter" type="filterType">
|
|
<xs:annotation>
|
|
<xs:documentation>Fliter IPs to be deleted</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
</xs:all>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:choice>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:choice>
|
|
<xs:attribute name="version" type="string" use="required"/>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:schema>
|