public class RulesStub extends com.vmware.vapi.internal.bindings.Stub implements Rules
Rules
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
RulesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
RulesStub(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 |
|---|---|
LbRule |
create(LbRule lbRule)
Create a load balancer rule.
|
void |
create(LbRule lbRule,
com.vmware.vapi.bindings.client.AsyncCallback<LbRule> asyncCallback)
Create a load balancer rule.
|
void |
create(LbRule lbRule,
com.vmware.vapi.bindings.client.AsyncCallback<LbRule> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a load balancer rule.
|
LbRule |
create(LbRule lbRule,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create a load balancer rule.
|
void |
delete(java.lang.String ruleId)
Delete a load balancer rule.
|
void |
delete(java.lang.String ruleId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete a load balancer rule.
|
void |
delete(java.lang.String ruleId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete a load balancer rule.
|
void |
delete(java.lang.String ruleId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete a load balancer rule.
|
LbRule |
get(java.lang.String ruleId)
Retrieve a load balancer rule.
|
void |
get(java.lang.String ruleId,
com.vmware.vapi.bindings.client.AsyncCallback<LbRule> asyncCallback)
Retrieve a load balancer rule.
|
void |
get(java.lang.String ruleId,
com.vmware.vapi.bindings.client.AsyncCallback<LbRule> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Retrieve a load balancer rule.
|
LbRule |
get(java.lang.String ruleId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Retrieve a load balancer rule.
|
LbRuleListResult |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy)
Retrieve a paginated list of load balancer rules.
|
void |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<LbRuleListResult> asyncCallback)
Retrieve a paginated list of load balancer rules.
|
void |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<LbRuleListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Retrieve a paginated list of load balancer rules.
|
LbRuleListResult |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Retrieve a paginated list of load balancer rules.
|
LbRule |
update(java.lang.String ruleId,
LbRule lbRule)
Update a load balancer rule.
|
void |
update(java.lang.String ruleId,
LbRule lbRule,
com.vmware.vapi.bindings.client.AsyncCallback<LbRule> asyncCallback)
Update a load balancer rule.
|
void |
update(java.lang.String ruleId,
LbRule lbRule,
com.vmware.vapi.bindings.client.AsyncCallback<LbRule> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update a load balancer rule.
|
LbRule |
update(java.lang.String ruleId,
LbRule lbRule,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update a load balancer rule.
|
public RulesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config)
public RulesStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config)
public LbRule create(LbRule lbRule)
RulesSynchronous method overload. Result of the invocation will be reported as a method return value.
public LbRule create(LbRule lbRule, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
RulesSynchronous 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 create(LbRule lbRule, com.vmware.vapi.bindings.client.AsyncCallback<LbRule> asyncCallback)
RulesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.LbRule
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
public void create(LbRule lbRule, com.vmware.vapi.bindings.client.AsyncCallback<LbRule> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
RulesAsynchronous 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.model.LbRule
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
public void delete(java.lang.String ruleId)
RulesSynchronous method overload. Result of the invocation will be reported as a method return value.
public void delete(java.lang.String ruleId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
RulesSynchronous 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 delete(java.lang.String ruleId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
RulesAsynchronous 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
public void delete(java.lang.String ruleId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
RulesAsynchronous 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
public LbRule get(java.lang.String ruleId)
RulesSynchronous method overload. Result of the invocation will be reported as a method return value.
public LbRule get(java.lang.String ruleId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
RulesSynchronous 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 get(java.lang.String ruleId,
com.vmware.vapi.bindings.client.AsyncCallback<LbRule> asyncCallback)
RulesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.LbRule
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
public void get(java.lang.String ruleId,
com.vmware.vapi.bindings.client.AsyncCallback<LbRule> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
RulesAsynchronous 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.model.LbRule
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
public LbRuleListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
RulesSynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface Rulescursor - Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields - Comma separated list of fields that should be included in query result
(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)public LbRuleListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
RulesSynchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig to specify configuration for this particular invocation.
list in interface Rulescursor - Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields - Comma separated list of fields that should be included in query result
(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)invocationConfig - Configuration for the method invocation.public void list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<LbRuleListResult> asyncCallback)
RulesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.LbRuleListResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
list in interface Rulescursor - Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields - Comma separated list of fields that should be included in query result
(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)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<LbRuleListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
RulesAsynchronous 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.model.LbRuleListResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
list in interface Rulescursor - Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields - Comma separated list of fields that should be included in query result
(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)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public LbRule update(java.lang.String ruleId, LbRule lbRule)
RulesSynchronous method overload. Result of the invocation will be reported as a method return value.
public LbRule update(java.lang.String ruleId, LbRule lbRule, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
RulesSynchronous 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 update(java.lang.String ruleId,
LbRule lbRule,
com.vmware.vapi.bindings.client.AsyncCallback<LbRule> asyncCallback)
RulesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.LbRule
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
public void update(java.lang.String ruleId,
LbRule lbRule,
com.vmware.vapi.bindings.client.AsyncCallback<LbRule> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
RulesAsynchronous 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.model.LbRule
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found