Class AggregatedWithPaginationStub
- java.lang.Object
-
- com.vmware.vapi.internal.bindings.Stub
-
- com.vmware.nsx_policy.global_infra.drafts.AggregatedWithPaginationStub
-
- All Implemented Interfaces:
AggregatedWithPagination
,AggregatedWithPaginationTypes
,com.vmware.vapi.bindings.Service
public class AggregatedWithPaginationStub extends com.vmware.vapi.internal.bindings.Stub implements AggregatedWithPagination
Remote stub implementation of theAggregatedWithPagination
API service.WARNING: Internal class, subject to change in future versions.
-
-
Field Summary
-
Fields inherited from class com.vmware.vapi.internal.bindings.Stub
apiProvider, converter, ifaceId, retryPolicy, securityContext
-
Fields inherited from interface com.vmware.nsx_policy.global_infra.drafts.AggregatedWithPaginationTypes
_VAPI_SERVICE_ID
-
-
Constructor Summary
Constructors Constructor Description AggregatedWithPaginationStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
AggregatedWithPaginationStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PolicyDraftPaginatedAggregatedConfigurationResult
get(java.lang.String draftId, java.lang.String requestId, java.lang.String rootPath)
Get a paginated aggregated configuration of a given draft.void
get(java.lang.String draftId, java.lang.String requestId, java.lang.String rootPath, com.vmware.vapi.bindings.client.AsyncCallback<PolicyDraftPaginatedAggregatedConfigurationResult> asyncCallback)
Get a paginated aggregated configuration of a given draft.void
get(java.lang.String draftId, java.lang.String requestId, java.lang.String rootPath, com.vmware.vapi.bindings.client.AsyncCallback<PolicyDraftPaginatedAggregatedConfigurationResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get a paginated aggregated configuration of a given draft.PolicyDraftPaginatedAggregatedConfigurationResult
get(java.lang.String draftId, java.lang.String requestId, java.lang.String rootPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get a paginated aggregated configuration of a given draft.
-
-
-
Constructor Detail
-
AggregatedWithPaginationStub
public AggregatedWithPaginationStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
-
AggregatedWithPaginationStub
public AggregatedWithPaginationStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
-
-
Method Detail
-
get
public PolicyDraftPaginatedAggregatedConfigurationResult get(java.lang.String draftId, java.lang.String requestId, java.lang.String rootPath)
Description copied from interface:AggregatedWithPagination
Get a paginated aggregated configuration of a given draft. This aggregated configuration is the differnece between the current published firewall configuration and a firewall configuration stored in a given draft. For an initial API call, if request_id is present in a response, then this is a paginated aggregated configuration of a given draft, containing all the security policies from the aggregated configuration. Using this request_id, more granular aggregated configuration, at security policy level, can be fetched from subsequent API calls. Absence of request_id suggests that whole aggregated configuration has been returned as a response to initial API call, as the size of aggregated configuration is not big enough to need pagination.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Specified by:
get
in interfaceAggregatedWithPagination
- Parameters:
draftId
- (required)requestId
- Request identifier to track subsequent API calls (optional)rootPath
- Path of the root object of subtree (optional)- Returns:
- com.vmware.nsx_policy.model.PolicyDraftPaginatedAggregatedConfigurationResult
-
get
public PolicyDraftPaginatedAggregatedConfigurationResult get(java.lang.String draftId, java.lang.String requestId, java.lang.String rootPath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:AggregatedWithPagination
Get a paginated aggregated configuration of a given draft. This aggregated configuration is the differnece between the current published firewall configuration and a firewall configuration stored in a given draft. For an initial API call, if request_id is present in a response, then this is a paginated aggregated configuration of a given draft, containing all the security policies from the aggregated configuration. Using this request_id, more granular aggregated configuration, at security policy level, can be fetched from subsequent API calls. Absence of request_id suggests that whole aggregated configuration has been returned as a response to initial API call, as the size of aggregated configuration is not big enough to need pagination.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Specified by:
get
in interfaceAggregatedWithPagination
- Parameters:
draftId
- (required)requestId
- Request identifier to track subsequent API calls (optional)rootPath
- Path of the root object of subtree (optional)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.PolicyDraftPaginatedAggregatedConfigurationResult
-
get
public void get(java.lang.String draftId, java.lang.String requestId, java.lang.String rootPath, com.vmware.vapi.bindings.client.AsyncCallback<PolicyDraftPaginatedAggregatedConfigurationResult> asyncCallback)
Description copied from interface:AggregatedWithPagination
Get a paginated aggregated configuration of a given draft. This aggregated configuration is the differnece between the current published firewall configuration and a firewall configuration stored in a given draft. For an initial API call, if request_id is present in a response, then this is a paginated aggregated configuration of a given draft, containing all the security policies from the aggregated configuration. Using this request_id, more granular aggregated configuration, at security policy level, can be fetched from subsequent API calls. Absence of request_id suggests that whole aggregated configuration has been returned as a response to initial API call, as the size of aggregated configuration is not big enough to need pagination.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.PolicyDraftPaginatedAggregatedConfigurationResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfaceAggregatedWithPagination
- Parameters:
draftId
- (required)requestId
- Request identifier to track subsequent API calls (optional)rootPath
- Path of the root object of subtree (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get
public void get(java.lang.String draftId, java.lang.String requestId, java.lang.String rootPath, com.vmware.vapi.bindings.client.AsyncCallback<PolicyDraftPaginatedAggregatedConfigurationResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Description copied from interface:AggregatedWithPagination
Get a paginated aggregated configuration of a given draft. This aggregated configuration is the differnece between the current published firewall configuration and a firewall configuration stored in a given draft. For an initial API call, if request_id is present in a response, then this is a paginated aggregated configuration of a given draft, containing all the security policies from the aggregated configuration. Using this request_id, more granular aggregated configuration, at security policy level, can be fetched from subsequent API calls. Absence of request_id suggests that whole aggregated configuration has been returned as a response to initial API call, as the size of aggregated configuration is not big enough to need pagination.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.PolicyDraftPaginatedAggregatedConfigurationResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Specified by:
get
in interfaceAggregatedWithPagination
- Parameters:
draftId
- (required)requestId
- Request identifier to track subsequent API calls (optional)rootPath
- Path of the root object of subtree (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-