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, CREATE_OPERATION_AFTER, CREATE_OPERATION_BEFORE, CREATE_OPERATION_BOTTOM, CREATE_OPERATION_TOP, CREATEMULTIPLE_OPERATION_AFTER, CREATEMULTIPLE_OPERATION_BEFORE, CREATEMULTIPLE_OPERATION_BOTTOM, CREATEMULTIPLE_OPERATION_TOP, LIST_FILTER_TYPE_FILTER, LIST_FILTER_TYPE_SEARCH, REVISE_OPERATION_AFTER, REVISE_OPERATION_BEFORE, REVISE_OPERATION_BOTTOM, REVISE_OPERATION_TOP| 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 |
|---|---|
ServiceInsertionRule |
create(java.lang.String sectionId,
ServiceInsertionRule serviceInsertionRule,
java.lang.String id,
java.lang.String operation)
Adds a new serviceinsertion rule in existing serviceinsertion section.
|
void |
create(java.lang.String sectionId,
ServiceInsertionRule serviceInsertionRule,
java.lang.String id,
java.lang.String operation,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionRule> asyncCallback)
Adds a new serviceinsertion rule in existing serviceinsertion section.
|
void |
create(java.lang.String sectionId,
ServiceInsertionRule serviceInsertionRule,
java.lang.String id,
java.lang.String operation,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionRule> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Adds a new serviceinsertion rule in existing serviceinsertion section.
|
ServiceInsertionRule |
create(java.lang.String sectionId,
ServiceInsertionRule serviceInsertionRule,
java.lang.String id,
java.lang.String operation,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Adds a new serviceinsertion rule in existing serviceinsertion section.
|
ServiceInsertionRuleList |
createmultiple(java.lang.String sectionId,
ServiceInsertionRuleList serviceInsertionRuleList,
java.lang.String id,
java.lang.String operation)
Create multiple serviceinsertion rules in existing serviceinsertion section
bounded by limit of 1000 serviceinsertion rules per section.
|
void |
createmultiple(java.lang.String sectionId,
ServiceInsertionRuleList serviceInsertionRuleList,
java.lang.String id,
java.lang.String operation,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionRuleList> asyncCallback)
Create multiple serviceinsertion rules in existing serviceinsertion section
bounded by limit of 1000 serviceinsertion rules per section.
|
void |
createmultiple(java.lang.String sectionId,
ServiceInsertionRuleList serviceInsertionRuleList,
java.lang.String id,
java.lang.String operation,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionRuleList> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create multiple serviceinsertion rules in existing serviceinsertion section
bounded by limit of 1000 serviceinsertion rules per section.
|
ServiceInsertionRuleList |
createmultiple(java.lang.String sectionId,
ServiceInsertionRuleList serviceInsertionRuleList,
java.lang.String id,
java.lang.String operation,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create multiple serviceinsertion rules in existing serviceinsertion section
bounded by limit of 1000 serviceinsertion rules per section.
|
void |
delete(java.lang.String sectionId,
java.lang.String ruleId)
Delete existing serviceinsertion rule in a serviceinsertion section.
|
void |
delete(java.lang.String sectionId,
java.lang.String ruleId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete existing serviceinsertion rule in a serviceinsertion section.
|
void |
delete(java.lang.String sectionId,
java.lang.String ruleId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete existing serviceinsertion rule in a serviceinsertion section.
|
void |
delete(java.lang.String sectionId,
java.lang.String ruleId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete existing serviceinsertion rule in a serviceinsertion section.
|
ServiceInsertionRule |
get(java.lang.String sectionId,
java.lang.String ruleId)
Return existing serviceinsertion rule information in a serviceinsertion section.
|
void |
get(java.lang.String sectionId,
java.lang.String ruleId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionRule> asyncCallback)
Return existing serviceinsertion rule information in a serviceinsertion section.
|
void |
get(java.lang.String sectionId,
java.lang.String ruleId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionRule> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Return existing serviceinsertion rule information in a serviceinsertion section.
|
ServiceInsertionRule |
get(java.lang.String sectionId,
java.lang.String ruleId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Return existing serviceinsertion rule information in a serviceinsertion section.
|
ServiceInsertionRuleListResult |
list(java.lang.String sectionId,
java.lang.String appliedTos,
java.lang.String cursor,
java.lang.String destinations,
java.lang.String filterType,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.String services,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
java.lang.String sources)
Return all serviceinsertion rule(s) information for a given serviceinsertion
section.
|
void |
list(java.lang.String sectionId,
java.lang.String appliedTos,
java.lang.String cursor,
java.lang.String destinations,
java.lang.String filterType,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.String services,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
java.lang.String sources,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionRuleListResult> asyncCallback)
Return all serviceinsertion rule(s) information for a given serviceinsertion
section.
|
void |
list(java.lang.String sectionId,
java.lang.String appliedTos,
java.lang.String cursor,
java.lang.String destinations,
java.lang.String filterType,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.String services,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
java.lang.String sources,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionRuleListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Return all serviceinsertion rule(s) information for a given serviceinsertion
section.
|
ServiceInsertionRuleListResult |
list(java.lang.String sectionId,
java.lang.String appliedTos,
java.lang.String cursor,
java.lang.String destinations,
java.lang.String filterType,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.String services,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
java.lang.String sources,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Return all serviceinsertion rule(s) information for a given serviceinsertion
section.
|
ServiceInsertionRule |
revise(java.lang.String sectionId,
java.lang.String ruleId,
ServiceInsertionRule serviceInsertionRule,
java.lang.String id,
java.lang.String operation)
Modifies existing serviceinsertion rule along with relative position among other
serviceinsertion rules inside a serviceinsertion section.
|
void |
revise(java.lang.String sectionId,
java.lang.String ruleId,
ServiceInsertionRule serviceInsertionRule,
java.lang.String id,
java.lang.String operation,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionRule> asyncCallback)
Modifies existing serviceinsertion rule along with relative position among other
serviceinsertion rules inside a serviceinsertion section.
|
void |
revise(java.lang.String sectionId,
java.lang.String ruleId,
ServiceInsertionRule serviceInsertionRule,
java.lang.String id,
java.lang.String operation,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionRule> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies existing serviceinsertion rule along with relative position among other
serviceinsertion rules inside a serviceinsertion section.
|
ServiceInsertionRule |
revise(java.lang.String sectionId,
java.lang.String ruleId,
ServiceInsertionRule serviceInsertionRule,
java.lang.String id,
java.lang.String operation,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies existing serviceinsertion rule along with relative position among other
serviceinsertion rules inside a serviceinsertion section.
|
ServiceInsertionRule |
update(java.lang.String sectionId,
java.lang.String ruleId,
ServiceInsertionRule serviceInsertionRule)
Modifies existing serviceinsertion rule in a serviceinsertion section.
|
void |
update(java.lang.String sectionId,
java.lang.String ruleId,
ServiceInsertionRule serviceInsertionRule,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionRule> asyncCallback)
Modifies existing serviceinsertion rule in a serviceinsertion section.
|
void |
update(java.lang.String sectionId,
java.lang.String ruleId,
ServiceInsertionRule serviceInsertionRule,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionRule> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies existing serviceinsertion rule in a serviceinsertion section.
|
ServiceInsertionRule |
update(java.lang.String sectionId,
java.lang.String ruleId,
ServiceInsertionRule serviceInsertionRule,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies existing serviceinsertion rule in a serviceinsertion section.
|
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 ServiceInsertionRule create(java.lang.String sectionId, ServiceInsertionRule serviceInsertionRule, java.lang.String id, java.lang.String operation)
RulesSynchronous method overload. Result of the invocation will be reported as a method return value.
create in interface RulessectionId - (required)serviceInsertionRule - (required)id - Identifier of the anchor rule or section. This is a required field in case
operation like 'insert_before' and 'insert_after'. (optional)operation - Operation (optional, default to insert_top)public ServiceInsertionRule create(java.lang.String sectionId, ServiceInsertionRule serviceInsertionRule, java.lang.String id, java.lang.String operation, 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.
create in interface RulessectionId - (required)serviceInsertionRule - (required)id - Identifier of the anchor rule or section. This is a required field in case
operation like 'insert_before' and 'insert_after'. (optional)operation - Operation (optional, default to insert_top)invocationConfig - Configuration for the method invocation.public void create(java.lang.String sectionId,
ServiceInsertionRule serviceInsertionRule,
java.lang.String id,
java.lang.String operation,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionRule> asyncCallback)
RulesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.ServiceInsertionRule
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
create in interface RulessectionId - (required)serviceInsertionRule - (required)id - Identifier of the anchor rule or section. This is a required field in case
operation like 'insert_before' and 'insert_after'. (optional)operation - Operation (optional, default to insert_top)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void create(java.lang.String sectionId,
ServiceInsertionRule serviceInsertionRule,
java.lang.String id,
java.lang.String operation,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionRule> 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.ServiceInsertionRule
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
create in interface RulessectionId - (required)serviceInsertionRule - (required)id - Identifier of the anchor rule or section. This is a required field in case
operation like 'insert_before' and 'insert_after'. (optional)operation - Operation (optional, default to insert_top)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public ServiceInsertionRuleList createmultiple(java.lang.String sectionId, ServiceInsertionRuleList serviceInsertionRuleList, java.lang.String id, java.lang.String operation)
RulesSynchronous method overload. Result of the invocation will be reported as a method return value.
createmultiple in interface RulessectionId - (required)serviceInsertionRuleList - (required)id - Identifier of the anchor rule or section. This is a required field in case
operation like 'insert_before' and 'insert_after'. (optional)operation - Operation (optional, default to insert_top)public ServiceInsertionRuleList createmultiple(java.lang.String sectionId, ServiceInsertionRuleList serviceInsertionRuleList, java.lang.String id, java.lang.String operation, 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.
createmultiple in interface RulessectionId - (required)serviceInsertionRuleList - (required)id - Identifier of the anchor rule or section. This is a required field in case
operation like 'insert_before' and 'insert_after'. (optional)operation - Operation (optional, default to insert_top)invocationConfig - Configuration for the method invocation.public void createmultiple(java.lang.String sectionId,
ServiceInsertionRuleList serviceInsertionRuleList,
java.lang.String id,
java.lang.String operation,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionRuleList> asyncCallback)
RulesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.ServiceInsertionRuleList
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
createmultiple in interface RulessectionId - (required)serviceInsertionRuleList - (required)id - Identifier of the anchor rule or section. This is a required field in case
operation like 'insert_before' and 'insert_after'. (optional)operation - Operation (optional, default to insert_top)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void createmultiple(java.lang.String sectionId,
ServiceInsertionRuleList serviceInsertionRuleList,
java.lang.String id,
java.lang.String operation,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionRuleList> 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.ServiceInsertionRuleList
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
createmultiple in interface RulessectionId - (required)serviceInsertionRuleList - (required)id - Identifier of the anchor rule or section. This is a required field in case
operation like 'insert_before' and 'insert_after'. (optional)operation - Operation (optional, default to insert_top)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public void delete(java.lang.String sectionId,
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 sectionId,
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 sectionId,
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 sectionId,
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 ServiceInsertionRule get(java.lang.String sectionId, java.lang.String ruleId)
RulesSynchronous method overload. Result of the invocation will be reported as a method return value.
public ServiceInsertionRule get(java.lang.String sectionId, 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 sectionId,
java.lang.String ruleId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionRule> asyncCallback)
RulesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.ServiceInsertionRule
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 sectionId,
java.lang.String ruleId,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionRule> 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.ServiceInsertionRule
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
public ServiceInsertionRuleListResult list(java.lang.String sectionId, java.lang.String appliedTos, java.lang.String cursor, java.lang.String destinations, java.lang.String filterType, java.lang.String includedFields, java.lang.Long pageSize, java.lang.String services, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String sources)
RulesSynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface RulessectionId - (required)appliedTos - AppliedTo's referenced by this section or section's Distributed Service Rules .
(optional)cursor - Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)destinations - Destinations referenced by this section's Distributed Service Rules . (optional)filterType - Filter type (optional, default to FILTER)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)services - NSService referenced by this section's Distributed Service Rules . (optional)sortAscending - (optional)sortBy - Field by which records are sorted (optional)sources - Sources referenced by this section's Distributed Service Rules . (optional)public ServiceInsertionRuleListResult list(java.lang.String sectionId, java.lang.String appliedTos, java.lang.String cursor, java.lang.String destinations, java.lang.String filterType, java.lang.String includedFields, java.lang.Long pageSize, java.lang.String services, java.lang.Boolean sortAscending, java.lang.String sortBy, java.lang.String sources, 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 RulessectionId - (required)appliedTos - AppliedTo's referenced by this section or section's Distributed Service Rules .
(optional)cursor - Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)destinations - Destinations referenced by this section's Distributed Service Rules . (optional)filterType - Filter type (optional, default to FILTER)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)services - NSService referenced by this section's Distributed Service Rules . (optional)sortAscending - (optional)sortBy - Field by which records are sorted (optional)sources - Sources referenced by this section's Distributed Service Rules . (optional)invocationConfig - Configuration for the method invocation.public void list(java.lang.String sectionId,
java.lang.String appliedTos,
java.lang.String cursor,
java.lang.String destinations,
java.lang.String filterType,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.String services,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
java.lang.String sources,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionRuleListResult> asyncCallback)
RulesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.ServiceInsertionRuleListResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
list in interface RulessectionId - (required)appliedTos - AppliedTo's referenced by this section or section's Distributed Service Rules .
(optional)cursor - Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)destinations - Destinations referenced by this section's Distributed Service Rules . (optional)filterType - Filter type (optional, default to FILTER)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)services - NSService referenced by this section's Distributed Service Rules . (optional)sortAscending - (optional)sortBy - Field by which records are sorted (optional)sources - Sources referenced by this section's Distributed Service Rules . (optional)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void list(java.lang.String sectionId,
java.lang.String appliedTos,
java.lang.String cursor,
java.lang.String destinations,
java.lang.String filterType,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.String services,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
java.lang.String sources,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionRuleListResult> 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.ServiceInsertionRuleListResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
list in interface RulessectionId - (required)appliedTos - AppliedTo's referenced by this section or section's Distributed Service Rules .
(optional)cursor - Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)destinations - Destinations referenced by this section's Distributed Service Rules . (optional)filterType - Filter type (optional, default to FILTER)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)services - NSService referenced by this section's Distributed Service Rules . (optional)sortAscending - (optional)sortBy - Field by which records are sorted (optional)sources - Sources referenced by this section's Distributed Service Rules . (optional)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public ServiceInsertionRule revise(java.lang.String sectionId, java.lang.String ruleId, ServiceInsertionRule serviceInsertionRule, java.lang.String id, java.lang.String operation)
RulesSynchronous method overload. Result of the invocation will be reported as a method return value.
revise in interface RulessectionId - (required)ruleId - (required)serviceInsertionRule - (required)id - Identifier of the anchor rule or section. This is a required field in case
operation like 'insert_before' and 'insert_after'. (optional)operation - Operation (optional, default to insert_top)public ServiceInsertionRule revise(java.lang.String sectionId, java.lang.String ruleId, ServiceInsertionRule serviceInsertionRule, java.lang.String id, java.lang.String operation, 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.
revise in interface RulessectionId - (required)ruleId - (required)serviceInsertionRule - (required)id - Identifier of the anchor rule or section. This is a required field in case
operation like 'insert_before' and 'insert_after'. (optional)operation - Operation (optional, default to insert_top)invocationConfig - Configuration for the method invocation.public void revise(java.lang.String sectionId,
java.lang.String ruleId,
ServiceInsertionRule serviceInsertionRule,
java.lang.String id,
java.lang.String operation,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionRule> asyncCallback)
RulesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.ServiceInsertionRule
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
revise in interface RulessectionId - (required)ruleId - (required)serviceInsertionRule - (required)id - Identifier of the anchor rule or section. This is a required field in case
operation like 'insert_before' and 'insert_after'. (optional)operation - Operation (optional, default to insert_top)asyncCallback - Receives the status (progress, result or error) of the operation invocation.public void revise(java.lang.String sectionId,
java.lang.String ruleId,
ServiceInsertionRule serviceInsertionRule,
java.lang.String id,
java.lang.String operation,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionRule> 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.ServiceInsertionRule
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
revise in interface RulessectionId - (required)ruleId - (required)serviceInsertionRule - (required)id - Identifier of the anchor rule or section. This is a required field in case
operation like 'insert_before' and 'insert_after'. (optional)operation - Operation (optional, default to insert_top)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public ServiceInsertionRule update(java.lang.String sectionId, java.lang.String ruleId, ServiceInsertionRule serviceInsertionRule)
RulesSynchronous method overload. Result of the invocation will be reported as a method return value.
public ServiceInsertionRule update(java.lang.String sectionId, java.lang.String ruleId, ServiceInsertionRule serviceInsertionRule, 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 sectionId,
java.lang.String ruleId,
ServiceInsertionRule serviceInsertionRule,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionRule> asyncCallback)
RulesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.ServiceInsertionRule
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 sectionId,
java.lang.String ruleId,
ServiceInsertionRule serviceInsertionRule,
com.vmware.vapi.bindings.client.AsyncCallback<ServiceInsertionRule> 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.ServiceInsertionRule
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found