public class InfraStub extends com.vmware.vapi.internal.bindings.Stub implements Infra
Infra
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
InfraStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
InfraStub(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 |
|---|---|
Infra |
get(java.lang.String basePath,
java.lang.String filter,
java.lang.String typeFilter)
Read infra.
|
void |
get(java.lang.String basePath,
java.lang.String filter,
java.lang.String typeFilter,
com.vmware.vapi.bindings.client.AsyncCallback<Infra> asyncCallback)
Read infra.
|
void |
get(java.lang.String basePath,
java.lang.String filter,
java.lang.String typeFilter,
com.vmware.vapi.bindings.client.AsyncCallback<Infra> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read infra.
|
Infra |
get(java.lang.String basePath,
java.lang.String filter,
java.lang.String typeFilter,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read infra.
|
void |
patch(Infra infra,
java.lang.Boolean enforceRevisionCheck)
Patch API at infra level can be used in two flavours 1.
|
void |
patch(Infra infra,
java.lang.Boolean enforceRevisionCheck,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Patch API at infra level can be used in two flavours 1.
|
void |
patch(Infra infra,
java.lang.Boolean enforceRevisionCheck,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Patch API at infra level can be used in two flavours 1.
|
void |
patch(Infra infra,
java.lang.Boolean enforceRevisionCheck,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Patch API at infra level can be used in two flavours 1.
|
Infra |
update(Infra infra)
Updates only the single infra object.
|
void |
update(Infra infra,
com.vmware.vapi.bindings.client.AsyncCallback<Infra> asyncCallback)
Updates only the single infra object.
|
void |
update(Infra infra,
com.vmware.vapi.bindings.client.AsyncCallback<Infra> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Updates only the single infra object.
|
Infra |
update(Infra infra,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Updates only the single infra object.
|
public InfraStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config)
public InfraStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config)
public Infra get(java.lang.String basePath, java.lang.String filter, java.lang.String typeFilter)
InfraSynchronous method overload. Result of the invocation will be reported as a method return value.
public Infra get(java.lang.String basePath, java.lang.String filter, java.lang.String typeFilter, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
InfraSynchronous 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 InfrabasePath - Base Path for retrieving hierarchical intent (optional)filter - Filter string as java regex (optional)typeFilter - Filter string to retrieve hierarchy. (optional)invocationConfig - Configuration for the method invocation.public void get(java.lang.String basePath,
java.lang.String filter,
java.lang.String typeFilter,
com.vmware.vapi.bindings.client.AsyncCallback<Infra> asyncCallback)
InfraAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx_policy.model.Infra
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
get in interface InfrabasePath - Base Path for retrieving hierarchical intent (optional)filter - Filter string as java regex (optional)typeFilter - Filter string to retrieve hierarchy. (optional)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void get(java.lang.String basePath,
java.lang.String filter,
java.lang.String typeFilter,
com.vmware.vapi.bindings.client.AsyncCallback<Infra> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
InfraAsynchronous 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_policy.model.Infra
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
get in interface InfrabasePath - Base Path for retrieving hierarchical intent (optional)filter - Filter string as java regex (optional)typeFilter - Filter string to retrieve hierarchy. (optional)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void patch(Infra infra, java.lang.Boolean enforceRevisionCheck)
InfraSynchronous method overload. Result of the invocation will be reported as a method return value.
public void patch(Infra infra, java.lang.Boolean enforceRevisionCheck, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
InfraSynchronous 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 patch(Infra infra, java.lang.Boolean enforceRevisionCheck, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
InfraAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
public void patch(Infra infra, java.lang.Boolean enforceRevisionCheck, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
InfraAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Use invocationConfig to specify configuration for this particular invocation.
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
public Infra update(Infra infra)
InfraSynchronous method overload. Result of the invocation will be reported as a method return value.
public Infra update(Infra infra, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
InfraSynchronous 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 update(Infra infra, com.vmware.vapi.bindings.client.AsyncCallback<Infra> asyncCallback)
InfraAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx_policy.model.Infra
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
public void update(Infra infra, com.vmware.vapi.bindings.client.AsyncCallback<Infra> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
InfraAsynchronous 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_policy.model.Infra
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found