public class StateStub extends com.vmware.vapi.internal.bindings.Stub implements State
State
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID, GET_TYPE_GATEWAY_STATE, GET_TYPE_GATEWAY_STATUS, GET_TYPE_IPV6_STATUS
Constructor and Description |
---|
StateStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
StateStub(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 |
---|---|
Tier1GatewayState |
get(java.lang.String orgId,
java.lang.String projectId,
java.lang.String tier1Id,
java.lang.String cursor,
java.lang.String enforcementPointPath,
java.lang.String includedFields,
java.lang.String interfacePath,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
java.lang.String type)
Returns
|
void |
get(java.lang.String orgId,
java.lang.String projectId,
java.lang.String tier1Id,
java.lang.String cursor,
java.lang.String enforcementPointPath,
java.lang.String includedFields,
java.lang.String interfacePath,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
java.lang.String type,
com.vmware.vapi.bindings.client.AsyncCallback<Tier1GatewayState> asyncCallback)
Returns
|
void |
get(java.lang.String orgId,
java.lang.String projectId,
java.lang.String tier1Id,
java.lang.String cursor,
java.lang.String enforcementPointPath,
java.lang.String includedFields,
java.lang.String interfacePath,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
java.lang.String type,
com.vmware.vapi.bindings.client.AsyncCallback<Tier1GatewayState> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns
|
Tier1GatewayState |
get(java.lang.String orgId,
java.lang.String projectId,
java.lang.String tier1Id,
java.lang.String cursor,
java.lang.String enforcementPointPath,
java.lang.String includedFields,
java.lang.String interfacePath,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
java.lang.String type,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns
|
public StateStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public StateStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public Tier1GatewayState get(java.lang.String orgId, java.lang.String projectId, java.lang.String tier1Id, java.lang.String cursor, java.lang.String enforcementPointPath, java.lang.String includedFields, java.lang.String interfacePath, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type)
State
Synchronous method overload. Result of the invocation will be reported as a method return value.
get
in interface State
orgId
- The organization ID (required)projectId
- The project ID (required)tier1Id
- (required)cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)enforcementPointPath
- Enforcement point path (optional)includedFields
- Comma separated list of fields that should be included in query result
(optional)interfacePath
- Interface path for interface specific state such as IPv6 DAD state (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)type
- Returns specific information based on the value specified. (optional)public Tier1GatewayState get(java.lang.String orgId, java.lang.String projectId, java.lang.String tier1Id, java.lang.String cursor, java.lang.String enforcementPointPath, java.lang.String includedFields, java.lang.String interfacePath, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
State
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 State
orgId
- The organization ID (required)projectId
- The project ID (required)tier1Id
- (required)cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)enforcementPointPath
- Enforcement point path (optional)includedFields
- Comma separated list of fields that should be included in query result
(optional)interfacePath
- Interface path for interface specific state such as IPv6 DAD state (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)type
- Returns specific information based on the value specified. (optional)invocationConfig
- Configuration for the method invocation.public void get(java.lang.String orgId, java.lang.String projectId, java.lang.String tier1Id, java.lang.String cursor, java.lang.String enforcementPointPath, java.lang.String includedFields, java.lang.String interfacePath, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type, com.vmware.vapi.bindings.client.AsyncCallback<Tier1GatewayState> asyncCallback)
State
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx_policy.model.Tier1GatewayState
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface State
orgId
- The organization ID (required)projectId
- The project ID (required)tier1Id
- (required)cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)enforcementPointPath
- Enforcement point path (optional)includedFields
- Comma separated list of fields that should be included in query result
(optional)interfacePath
- Interface path for interface specific state such as IPv6 DAD state (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)type
- Returns specific information based on the value specified. (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 tier1Id, java.lang.String cursor, java.lang.String enforcementPointPath, java.lang.String includedFields, java.lang.String interfacePath, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String type, com.vmware.vapi.bindings.client.AsyncCallback<Tier1GatewayState> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
State
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.Tier1GatewayState
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface State
orgId
- The organization ID (required)projectId
- The project ID (required)tier1Id
- (required)cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)enforcementPointPath
- Enforcement point path (optional)includedFields
- Comma separated list of fields that should be included in query result
(optional)interfacePath
- Interface path for interface specific state such as IPv6 DAD state (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)type
- Returns specific information based on the value specified. (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.