public class TopologyByClusterStub extends com.vmware.vapi.internal.bindings.Stub implements TopologyByCluster
TopologyByCluster
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
TopologyByClusterStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
TopologyByClusterStub(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(java.lang.String precheckId,
UpgradeTopology upgradeTopology,
java.lang.String clusterId,
java.lang.Boolean useRecommendedTopologyConfig)
Set VDS configuration and create it in vCenter
|
void |
apply(java.lang.String precheckId,
UpgradeTopology upgradeTopology,
java.lang.String clusterId,
java.lang.Boolean useRecommendedTopologyConfig,
com.vmware.vapi.bindings.client.AsyncCallback<UpgradeTopology> asyncCallback)
Set VDS configuration and create it in vCenter
|
void |
apply(java.lang.String precheckId,
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)
Set VDS configuration and create it in vCenter
|
UpgradeTopology |
apply(java.lang.String precheckId,
UpgradeTopology upgradeTopology,
java.lang.String clusterId,
java.lang.Boolean useRecommendedTopologyConfig,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Set VDS configuration and create it in vCenter
|
UpgradeTopology |
get(java.lang.String precheckId,
java.lang.String clusterId,
java.lang.String computeManagerId,
java.lang.Boolean showVdsConfig)
Recommmended topology
|
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)
Recommmended topology
|
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)
Recommmended topology
|
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)
Recommmended topology
|
public TopologyByClusterStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public TopologyByClusterStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public UpgradeTopology apply(java.lang.String precheckId, UpgradeTopology upgradeTopology, java.lang.String clusterId, java.lang.Boolean useRecommendedTopologyConfig)
TopologyByCluster
Synchronous method overload. Result of the invocation will be reported as a method return value.
apply
in interface TopologyByCluster
precheckId
- (required)upgradeTopology
- (required)clusterId
- cluster identifier (optional)useRecommendedTopologyConfig
- Flag to indicate if use recommended topology got from the latest precheck
(optional)public UpgradeTopology apply(java.lang.String precheckId, UpgradeTopology upgradeTopology, java.lang.String clusterId, java.lang.Boolean useRecommendedTopologyConfig, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
TopologyByCluster
Synchronous 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 TopologyByCluster
precheckId
- (required)upgradeTopology
- (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(java.lang.String precheckId, UpgradeTopology upgradeTopology, java.lang.String clusterId, java.lang.Boolean useRecommendedTopologyConfig, com.vmware.vapi.bindings.client.AsyncCallback<UpgradeTopology> asyncCallback)
TopologyByCluster
Asynchronous 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 TopologyByCluster
precheckId
- (required)upgradeTopology
- (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(java.lang.String precheckId, 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)
TopologyByCluster
Asynchronous 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 TopologyByCluster
precheckId
- (required)upgradeTopology
- (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)
TopologyByCluster
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface TopologyByCluster
precheckId
- (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)
TopologyByCluster
Synchronous 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 TopologyByCluster
precheckId
- (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)
TopologyByCluster
Asynchronous 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 TopologyByCluster
precheckId
- (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)
TopologyByCluster
Asynchronous 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 TopologyByCluster
precheckId
- (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.