public class StatusStub extends com.vmware.vapi.internal.bindings.Stub implements Status
Status
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID
Constructor and Description |
---|
StatusStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
StatusStub(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 |
---|---|
ConsolidatedRealizedStatus |
get(java.lang.String orgId,
java.lang.String projectId,
java.lang.String intentPath,
java.lang.Boolean includeEnforcedStatus,
java.lang.String sitePath)
Get Consolidated Status of an intent object (with or without enforcement
specific status details).
|
void |
get(java.lang.String orgId,
java.lang.String projectId,
java.lang.String intentPath,
java.lang.Boolean includeEnforcedStatus,
java.lang.String sitePath,
com.vmware.vapi.bindings.client.AsyncCallback<ConsolidatedRealizedStatus> asyncCallback)
Get Consolidated Status of an intent object (with or without enforcement
specific status details).
|
void |
get(java.lang.String orgId,
java.lang.String projectId,
java.lang.String intentPath,
java.lang.Boolean includeEnforcedStatus,
java.lang.String sitePath,
com.vmware.vapi.bindings.client.AsyncCallback<ConsolidatedRealizedStatus> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get Consolidated Status of an intent object (with or without enforcement
specific status details).
|
ConsolidatedRealizedStatus |
get(java.lang.String orgId,
java.lang.String projectId,
java.lang.String intentPath,
java.lang.Boolean includeEnforcedStatus,
java.lang.String sitePath,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get Consolidated Status of an intent object (with or without enforcement
specific status details).
|
public StatusStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public StatusStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public ConsolidatedRealizedStatus get(java.lang.String orgId, java.lang.String projectId, java.lang.String intentPath, java.lang.Boolean includeEnforcedStatus, java.lang.String sitePath)
Status
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface Status
orgId
- The organization ID (required)projectId
- The project ID (required)intentPath
- Policy Path of the intent object (required)includeEnforcedStatus
- Include Enforced Status Flag (optional, default to false)sitePath
- Policy Path of the site from where the realization status needs to be fetched
(optional)public ConsolidatedRealizedStatus get(java.lang.String orgId, java.lang.String projectId, java.lang.String intentPath, java.lang.Boolean includeEnforcedStatus, java.lang.String sitePath, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Status
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 Status
orgId
- The organization ID (required)projectId
- The project ID (required)intentPath
- Policy Path of the intent object (required)includeEnforcedStatus
- Include Enforced Status Flag (optional, default to false)sitePath
- Policy Path of the site from where the realization status needs to be fetched
(optional)invocationConfig
- Configuration for the method invocation.public void get(java.lang.String orgId, java.lang.String projectId, java.lang.String intentPath, java.lang.Boolean includeEnforcedStatus, java.lang.String sitePath, com.vmware.vapi.bindings.client.AsyncCallback<ConsolidatedRealizedStatus> asyncCallback)
Status
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx_policy.model.ConsolidatedRealizedStatus
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface Status
orgId
- The organization ID (required)projectId
- The project ID (required)intentPath
- Policy Path of the intent object (required)includeEnforcedStatus
- Include Enforced Status Flag (optional, default to false)sitePath
- Policy Path of the site from where the realization status needs to be fetched
(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 intentPath, java.lang.Boolean includeEnforcedStatus, java.lang.String sitePath, com.vmware.vapi.bindings.client.AsyncCallback<ConsolidatedRealizedStatus> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Status
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.ConsolidatedRealizedStatus
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface Status
orgId
- The organization ID (required)projectId
- The project ID (required)intentPath
- Policy Path of the intent object (required)includeEnforcedStatus
- Include Enforced Status Flag (optional, default to false)sitePath
- Policy Path of the site from where the realization status needs to be fetched
(optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.