public class TopologyStub extends com.vmware.vapi.internal.bindings.Stub implements Topology
Topology
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
TopologyStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
TopologyStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
| Modifier and Type | Method and Description |
|---|---|
UpgradeTopology |
apply(UpgradeTopology upgradeTopology,
java.lang.String clusterId,
java.lang.Boolean useRecommendedTopologyConfig)
Upon successful preheck status goes to PENDING_TOPOLOGY and global recommended
topology is generated which can be retrieved via GetRecommendedVdsTopology API.
|
void |
apply(UpgradeTopology upgradeTopology,
java.lang.String clusterId,
java.lang.Boolean useRecommendedTopologyConfig,
com.vmware.vapi.bindings.client.AsyncCallback<UpgradeTopology> asyncCallback)
Upon successful preheck status goes to PENDING_TOPOLOGY and global recommended
topology is generated which can be retrieved via GetRecommendedVdsTopology API.
|
void |
apply(UpgradeTopology upgradeTopology,
java.lang.String clusterId,
java.lang.Boolean useRecommendedTopologyConfig,
com.vmware.vapi.bindings.client.AsyncCallback<UpgradeTopology> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Upon successful preheck status goes to PENDING_TOPOLOGY and global recommended
topology is generated which can be retrieved via GetRecommendedVdsTopology API.
|
UpgradeTopology |
apply(UpgradeTopology upgradeTopology,
java.lang.String clusterId,
java.lang.Boolean useRecommendedTopologyConfig,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Upon successful preheck status goes to PENDING_TOPOLOGY and global recommended
topology is generated which can be retrieved via GetRecommendedVdsTopology API.
|
UpgradeTopology |
get(java.lang.String precheckId,
java.lang.String clusterId,
java.lang.String computeManagerId,
java.lang.Boolean showVdsConfig)
This returns global recommended topology generated when precheck is successful.
|
void |
get(java.lang.String precheckId,
java.lang.String clusterId,
java.lang.String computeManagerId,
java.lang.Boolean showVdsConfig,
com.vmware.vapi.bindings.client.AsyncCallback<UpgradeTopology> asyncCallback)
This returns global recommended topology generated when precheck is successful.
|
void |
get(java.lang.String precheckId,
java.lang.String clusterId,
java.lang.String computeManagerId,
java.lang.Boolean showVdsConfig,
com.vmware.vapi.bindings.client.AsyncCallback<UpgradeTopology> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This returns global recommended topology generated when precheck is successful.
|
UpgradeTopology |
get(java.lang.String precheckId,
java.lang.String clusterId,
java.lang.String computeManagerId,
java.lang.Boolean showVdsConfig,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This returns global recommended topology generated when precheck is successful.
|
UpgradeTopology |
revert(UpgradeTopology upgradeTopology)
This will revert corresponding VDS to PENDING_TOPOLOGY state.
|
void |
revert(UpgradeTopology upgradeTopology,
com.vmware.vapi.bindings.client.AsyncCallback<UpgradeTopology> asyncCallback)
This will revert corresponding VDS to PENDING_TOPOLOGY state.
|
void |
revert(UpgradeTopology upgradeTopology,
com.vmware.vapi.bindings.client.AsyncCallback<UpgradeTopology> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This will revert corresponding VDS to PENDING_TOPOLOGY state.
|
UpgradeTopology |
revert(UpgradeTopology upgradeTopology,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
This will revert corresponding VDS to PENDING_TOPOLOGY state.
|
public TopologyStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config)
public TopologyStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config)
public UpgradeTopology apply(UpgradeTopology upgradeTopology, java.lang.String clusterId, java.lang.Boolean useRecommendedTopologyConfig)
TopologySynchronous method overload. Result of the invocation will be reported as a method return value.
public UpgradeTopology apply(UpgradeTopology upgradeTopology, java.lang.String clusterId, java.lang.Boolean useRecommendedTopologyConfig, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TopologySynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
apply in interface TopologyupgradeTopology - (required)clusterId - cluster identifier (optional)useRecommendedTopologyConfig - Flag to indicate if use recommended topology got from the latest precheck
(optional)invocationConfig - Configuration for the method invocation.public void apply(UpgradeTopology upgradeTopology, java.lang.String clusterId, java.lang.Boolean useRecommendedTopologyConfig, com.vmware.vapi.bindings.client.AsyncCallback<UpgradeTopology> asyncCallback)
TopologyAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.UpgradeTopology
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
apply in interface TopologyupgradeTopology - (required)clusterId - cluster identifier (optional)useRecommendedTopologyConfig - Flag to indicate if use recommended topology got from the latest precheck
(optional)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void apply(UpgradeTopology upgradeTopology, java.lang.String clusterId, java.lang.Boolean useRecommendedTopologyConfig, com.vmware.vapi.bindings.client.AsyncCallback<UpgradeTopology> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TopologyAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.UpgradeTopology
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
apply in interface TopologyupgradeTopology - (required)clusterId - cluster identifier (optional)useRecommendedTopologyConfig - Flag to indicate if use recommended topology got from the latest precheck
(optional)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public UpgradeTopology get(java.lang.String precheckId, java.lang.String clusterId, java.lang.String computeManagerId, java.lang.Boolean showVdsConfig)
TopologySynchronous method overload. Result of the invocation will be reported as a method return value.
get in interface TopologyprecheckId - (required)clusterId - cluster identifier (optional)computeManagerId - vCenter identifier (optional)showVdsConfig - Flag to indicate if VdsTopology should contain VDS configuration (optional)public UpgradeTopology get(java.lang.String precheckId, java.lang.String clusterId, java.lang.String computeManagerId, java.lang.Boolean showVdsConfig, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TopologySynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
get in interface TopologyprecheckId - (required)clusterId - cluster identifier (optional)computeManagerId - vCenter identifier (optional)showVdsConfig - Flag to indicate if VdsTopology should contain VDS configuration (optional)invocationConfig - Configuration for the method invocation.public void get(java.lang.String precheckId,
java.lang.String clusterId,
java.lang.String computeManagerId,
java.lang.Boolean showVdsConfig,
com.vmware.vapi.bindings.client.AsyncCallback<UpgradeTopology> asyncCallback)
TopologyAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.UpgradeTopology
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
get in interface TopologyprecheckId - (required)clusterId - cluster identifier (optional)computeManagerId - vCenter identifier (optional)showVdsConfig - Flag to indicate if VdsTopology should contain VDS configuration (optional)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String precheckId,
java.lang.String clusterId,
java.lang.String computeManagerId,
java.lang.Boolean showVdsConfig,
com.vmware.vapi.bindings.client.AsyncCallback<UpgradeTopology> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TopologyAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.UpgradeTopology
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
get in interface TopologyprecheckId - (required)clusterId - cluster identifier (optional)computeManagerId - vCenter identifier (optional)showVdsConfig - Flag to indicate if VdsTopology should contain VDS configuration (optional)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public UpgradeTopology revert(UpgradeTopology upgradeTopology)
TopologySynchronous method overload. Result of the invocation will be reported as a method return value.
public UpgradeTopology revert(UpgradeTopology upgradeTopology, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TopologySynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
public void revert(UpgradeTopology upgradeTopology, com.vmware.vapi.bindings.client.AsyncCallback<UpgradeTopology> asyncCallback)
TopologyAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.UpgradeTopology
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
public void revert(UpgradeTopology upgradeTopology, com.vmware.vapi.bindings.client.AsyncCallback<UpgradeTopology> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TopologyAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.UpgradeTopology
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found