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 orgId,
java.lang.String projectId,
java.lang.String basePath,
java.lang.String filter,
java.lang.String typeFilter)
Read infra.
|
void |
get(java.lang.String orgId,
java.lang.String projectId,
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 orgId,
java.lang.String projectId,
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 orgId,
java.lang.String projectId,
java.lang.String basePath,
java.lang.String filter,
java.lang.String typeFilter,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read infra.
|
void |
patch(java.lang.String orgId,
java.lang.String projectId,
Infra infra,
java.lang.Boolean enforceRevisionCheck)
Patch API at infra level can be used in two flavours 1.
|
void |
patch(java.lang.String orgId,
java.lang.String projectId,
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(java.lang.String orgId,
java.lang.String projectId,
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(java.lang.String orgId,
java.lang.String projectId,
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 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 orgId, java.lang.String projectId, java.lang.String basePath, java.lang.String filter, java.lang.String typeFilter)
Infra
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Infra
orgId
- The organization ID (required)projectId
- The project ID (required)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 orgId, java.lang.String projectId, java.lang.String basePath, java.lang.String filter, java.lang.String typeFilter, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Infra
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 Infra
orgId
- The organization ID (required)projectId
- The project ID (required)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 orgId, java.lang.String projectId, java.lang.String basePath, java.lang.String filter, java.lang.String typeFilter, com.vmware.vapi.bindings.client.AsyncCallback<Infra> asyncCallback)
Infra
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 Infra
orgId
- The organization ID (required)projectId
- The project ID (required)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 orgId, java.lang.String projectId, 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)
Infra
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 Infra
orgId
- The organization ID (required)projectId
- The project ID (required)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(java.lang.String orgId, java.lang.String projectId, Infra infra, java.lang.Boolean enforceRevisionCheck)
Infra
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void patch(java.lang.String orgId, java.lang.String projectId, Infra infra, java.lang.Boolean enforceRevisionCheck, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Infra
Synchronous 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(java.lang.String orgId, java.lang.String projectId, Infra infra, java.lang.Boolean enforceRevisionCheck, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Infra
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 Infra
orgId
- The organization ID (required)projectId
- The project ID (required)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(java.lang.String orgId, java.lang.String projectId, Infra infra, java.lang.Boolean enforceRevisionCheck, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Infra
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 Infra
orgId
- The organization ID (required)projectId
- The project ID (required)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.