public interface Infra extends com.vmware.vapi.bindings.Service, InfraTypes
_VAPI_SERVICE_ID
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.
|
Infra get(java.lang.String basePath, java.lang.String filter, java.lang.String typeFilter)
Synchronous method overload. Result of the invocation will be reported as a method return value.
basePath
- Base Path for retrieving hierarchical intent (optional)filter
- Filter string as java regex (optional)typeFilter
- Filter string to retrieve hierarchy. (optional)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not FoundInfra get(java.lang.String basePath, java.lang.String filter, java.lang.String typeFilter, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
basePath
- 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.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid get(java.lang.String basePath, java.lang.String filter, java.lang.String typeFilter, com.vmware.vapi.bindings.client.AsyncCallback<Infra> asyncCallback)
Asynchronous 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
basePath
- 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.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)
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_policy.model.Infra
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
basePath
- 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.void patch(Infra infra, java.lang.Boolean enforceRevisionCheck)
Synchronous method overload. Result of the invocation will be reported as a method return value.
infra
- (required)enforceRevisionCheck
- Force revision check (optional, default to false)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid patch(Infra infra, java.lang.Boolean enforceRevisionCheck, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
infra
- (required)enforceRevisionCheck
- Force revision check (optional, default to false)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid patch(Infra infra, java.lang.Boolean enforceRevisionCheck, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous 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
infra
- (required)enforceRevisionCheck
- Force revision check (optional, default to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.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)
Asynchronous 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
infra
- (required)enforceRevisionCheck
- Force revision check (optional, default to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.Infra update(Infra infra)
Synchronous method overload. Result of the invocation will be reported as a method return value.
infra
- (required)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not FoundInfra update(Infra infra, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
infra
- (required)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Foundvoid update(Infra infra, com.vmware.vapi.bindings.client.AsyncCallback<Infra> asyncCallback)
Asynchronous 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
infra
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.void update(Infra infra, com.vmware.vapi.bindings.client.AsyncCallback<Infra> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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_policy.model.Infra
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
infra
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.