public class Targets
extends Base
The schema that defines the Targets resource is defined below.
<xs:element name="Targets">
<xs:complexType>
<xs:sequence>
<xs:element name="TotalCount" type="xs:int" minOccurs="0"/>
<xs:element ref="Target" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Target">
<xs:complexType>
<xs:sequence>
<xs:element name="HostName" type="xs:string">
<xs:annotation>
<xs:documentation>IPv4, IPv6, domain name</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Encryption" type="EncryptionType"/>
<xs:element name="ReplicationType">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="OLD"/>
<xs:enumeration value="NEW"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SourceIP" type="xs:string" minOccurs="0"/>
<xs:element name="State" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="READY"/>
<xs:enumeration value="MANUALLY_PAUSED"/>
<xs:enumeration value="SYSTEM_PAUSED"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:simpleType name="EncryptionType">
<xs:restriction base="xs:string">
<xs:enumeration value="NONE"/>
<xs:enumeration value="128-BIT"/>
<xs:enumeration value="256-BIT"/>
<xs:enumeration value="TLS-256"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="TargetColumnNameType">
<xs:restriction base="xs:string">
<xs:enumeration value="HostName"/>
<xs:enumeration value="Encryption"/>
<xs:enumeration value="ReplicationType"/>
<xs:enumeration value="SourceIP"/>
<xs:enumeration value="State"/>
</xs:restriction>
</xs:simpleType>
| Constructor and Description |
|---|
Targets() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
addTarget(javax.servlet.http.HttpServletRequest request,
Target target)
POST /rest/Targets
|
void |
callActionOnItem(javax.servlet.http.HttpServletRequest request,
String actionString,
String hostName)
Deprecated.
As of 1.1
?action=pause replaced by pauseReplication(HttpServletRequest, String)
?action=resume replaced by resumeReplication(HttpServletRequest, String)
|
Object |
callActionOnItems(javax.servlet.http.HttpServletRequest request,
String actionString,
Target target)
Deprecated.
As of 1.1
?action=pauseReplication replaced by pauseReplication(HttpServletRequest)
?action=pauseReplication replaced by resumeReplication(HttpServletRequest)
|
void |
deleteTarget(javax.servlet.http.HttpServletRequest request,
String hostName)
DELETE /rest/Targets/{hostName}
|
Target |
getTarget(javax.servlet.http.HttpServletRequest request,
String hostName)
GET /rest/Targets/{hostName}
|
com.quantum.dxi.dao.types.Targets |
getTargets(javax.servlet.http.HttpServletRequest request,
int start,
int limit,
String sortColumn,
String sortDirection,
String filterString)
GET /rest/Targets
|
javax.ws.rs.core.Response |
pauseReplication(javax.servlet.http.HttpServletRequest request)
POST /rest/Targets/pauseReplication
|
javax.ws.rs.core.Response |
pauseReplication(javax.servlet.http.HttpServletRequest request,
String hostName)
POST /rest/Targets/{hostName}/pauseReplication
|
javax.ws.rs.core.Response |
resumeReplication(javax.servlet.http.HttpServletRequest request)
POST /rest/Targets/resumeReplication
|
javax.ws.rs.core.Response |
resumeReplication(javax.servlet.http.HttpServletRequest request,
String hostName)
POST /rest/Targets/{hostName}/resumeReplication
|
Target |
updateTarget(javax.servlet.http.HttpServletRequest request,
String hostName,
Target target)
PUT /rest/Targets/{hostName}
|
public com.quantum.dxi.dao.types.Targets getTargets(@Context
javax.servlet.http.HttpServletRequest request,
int start,
int limit,
String sortColumn,
String sortDirection,
String filterString)
Get the list of systems configured as targets on the system.
Response Entity type: <xs:element name="Targets">
<xs:element name="Targets"> supports the table query parameters.
Column names for sorting and filtering are defined in <xs:element name="TargetColumnName">
public Target getTarget(@Context
javax.servlet.http.HttpServletRequest request,
String hostName)
Get the system identified by {hostName} that is configured as a target on the system.
Response Entity type: <xs:element name="Target">
public Target updateTarget(@Context
javax.servlet.http.HttpServletRequest request,
String hostName,
Target target)
Update a system identified by {hostName} from the list of systems configured as sources on the system.
Request Entity type: <xs:element name="Target">
Response Entity type: <xs:element name="Target">
public javax.ws.rs.core.Response pauseReplication(@Context
javax.servlet.http.HttpServletRequest request)
Pause replication for all targets on this system.
public javax.ws.rs.core.Response resumeReplication(@Context
javax.servlet.http.HttpServletRequest request)
Resume replication for all targets on this system.
public javax.ws.rs.core.Response addTarget(@Context
javax.servlet.http.HttpServletRequest request,
Target target)
Add a replication target to this system.
Request Entity type: <xs:element name="Target">
Response Entity type: <xs:element name="Target">
public Object callActionOnItems(@Context javax.servlet.http.HttpServletRequest request, String actionString, Target target)
pauseReplication(HttpServletRequest)
resumeReplication(HttpServletRequest)
Add a replication target to this system; or, if the action query parameter is present, Perform the requested
action on all replication targets.
Supported actions are:
?action=pause pause replication for all targets on this system?action=resume resume replication for all targets on this systemWhen adding a replication target, a Request Entity body is required.
Request Entity type: <xs:element name="Target">
Response Entity type: <xs:element name="Target">
When performing an action, no request body is required.
Response Entity type: <xs:element name="StringScalarType">
public javax.ws.rs.core.Response pauseReplication(@Context
javax.servlet.http.HttpServletRequest request,
String hostName)
Pause all replications on this system for the specified target.
public javax.ws.rs.core.Response resumeReplication(@Context
javax.servlet.http.HttpServletRequest request,
String hostName)
Resume all replications on this system for the specified target.
public void callActionOnItem(@Context
javax.servlet.http.HttpServletRequest request,
String actionString,
String hostName)
pauseReplication(HttpServletRequest, String)
resumeReplication(HttpServletRequest, String)
Perform the request action for a replication target identified by {hostName}.
The action query parameter is required.
Supported actions are:
?action=pause pause replication for the specified target on this system?action=resume resume replication for the specified target on this systempublic void deleteTarget(@Context
javax.servlet.http.HttpServletRequest request,
String hostName)
Delete a system identified by {hostName} from the list of systems configured as targets on the system.
Copyright © 2011-2025 Quantum Corporation. All Rights Reserved.