public class GlobalInfraStub extends com.vmware.vapi.internal.bindings.Stub implements GlobalInfra
GlobalInfra
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
GlobalInfraStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
GlobalInfraStub(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.
|
public GlobalInfraStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public GlobalInfraStub(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)
GlobalInfra
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface GlobalInfra
basePath
- Base Path for retrieving hierarchical intent (optional)filter
- Filter string as java regex (optional)typeFilter
- Filter string to retrieve hierarchy. (optional)public Infra get(java.lang.String basePath, java.lang.String filter, java.lang.String typeFilter, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
GlobalInfra
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 GlobalInfra
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.public void get(java.lang.String basePath, java.lang.String filter, java.lang.String typeFilter, com.vmware.vapi.bindings.client.AsyncCallback<Infra> asyncCallback)
GlobalInfra
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
get
in interface GlobalInfra
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.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)
GlobalInfra
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
get
in interface GlobalInfra
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.public void patch(Infra infra, java.lang.Boolean enforceRevisionCheck)
GlobalInfra
Synchronous method overload. Result of the invocation will be reported as a method return value.
patch
in interface GlobalInfra
infra
- (required)enforceRevisionCheck
- Force revision check (optional, default to false)public void patch(Infra infra, java.lang.Boolean enforceRevisionCheck, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
GlobalInfra
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
patch
in interface GlobalInfra
infra
- (required)enforceRevisionCheck
- Force revision check (optional, default to false)invocationConfig
- Configuration for the method invocation.public void patch(Infra infra, java.lang.Boolean enforceRevisionCheck, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
GlobalInfra
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
patch
in interface GlobalInfra
infra
- (required)enforceRevisionCheck
- Force revision check (optional, default to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.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)
GlobalInfra
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
patch
in interface GlobalInfra
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.