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 |
|---|---|
FirewallRule |
create(java.lang.String sectionId,
FirewallRule firewallRule,
java.lang.String id,
java.lang.String operation)
Adds a new firewall rule in existing firewall section.
|
void |
create(java.lang.String sectionId,
FirewallRule firewallRule,
java.lang.String id,
java.lang.String operation,
com.vmware.vapi.bindings.client.AsyncCallback<FirewallRule> asyncCallback)
Adds a new firewall rule in existing firewall section.
|
void |
create(java.lang.String sectionId,
FirewallRule firewallRule,
java.lang.String id,
java.lang.String operation,
com.vmware.vapi.bindings.client.AsyncCallback<FirewallRule> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Adds a new firewall rule in existing firewall section.
|
FirewallRule |
create(java.lang.String sectionId,
FirewallRule firewallRule,
java.lang.String id,
java.lang.String operation,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Adds a new firewall rule in existing firewall section.
|
FirewallRuleList |
createmultiple(java.lang.String sectionId,
FirewallRuleList firewallRuleList,
java.lang.String id,
java.lang.String operation)
Create multiple firewall rules in existing firewall section bounded by limit of
1000 firewall rules per section.
|
void |
createmultiple(java.lang.String sectionId,
FirewallRuleList firewallRuleList,
java.lang.String id,
java.lang.String operation,
com.vmware.vapi.bindings.client.AsyncCallback<FirewallRuleList> asyncCallback)
Create multiple firewall rules in existing firewall section bounded by limit of
1000 firewall rules per section.
|
void |
createmultiple(java.lang.String sectionId,
FirewallRuleList firewallRuleList,
java.lang.String id,
java.lang.String operation,
com.vmware.vapi.bindings.client.AsyncCallback<FirewallRuleList> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create multiple firewall rules in existing firewall section bounded by limit of
1000 firewall rules per section.
|
FirewallRuleList |
createmultiple(java.lang.String sectionId,
FirewallRuleList firewallRuleList,
java.lang.String id,
java.lang.String operation,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create multiple firewall rules in existing firewall section bounded by limit of
1000 firewall rules per section.
|
void |
delete(java.lang.String sectionId,
java.lang.String ruleId)
Delete existing firewall rule in a firewall section.
|
void |
delete(java.lang.String sectionId,
java.lang.String ruleId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete existing firewall rule in a firewall 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 firewall rule in a firewall section.
|
void |
delete(java.lang.String sectionId,
java.lang.String ruleId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete existing firewall rule in a firewall section.
|
FirewallRule |
get(java.lang.String sectionId,
java.lang.String ruleId)
Return existing firewall rule information in a firewall section.
|
void |
get(java.lang.String sectionId,
java.lang.String ruleId,
com.vmware.vapi.bindings.client.AsyncCallback<FirewallRule> asyncCallback)
Return existing firewall rule information in a firewall section.
|
void |
get(java.lang.String sectionId,
java.lang.String ruleId,
com.vmware.vapi.bindings.client.AsyncCallback<FirewallRule> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Return existing firewall rule information in a firewall section.
|
FirewallRule |
get(java.lang.String sectionId,
java.lang.String ruleId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Return existing firewall rule information in a firewall section.
|
FirewallRuleListResult |
list(java.lang.String sectionId,
java.lang.String appliedTos,
java.lang.String contextProfiles,
java.lang.String cursor,
java.lang.Boolean deepSearch,
java.lang.String destinations,
java.lang.String extendedSources,
java.lang.String filterType,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean searchInvalidReferences,
java.lang.String services,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
java.lang.String sources)
Return all firewall rule(s) information for a given firewall section.
|
void |
list(java.lang.String sectionId,
java.lang.String appliedTos,
java.lang.String contextProfiles,
java.lang.String cursor,
java.lang.Boolean deepSearch,
java.lang.String destinations,
java.lang.String extendedSources,
java.lang.String filterType,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean searchInvalidReferences,
java.lang.String services,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
java.lang.String sources,
com.vmware.vapi.bindings.client.AsyncCallback<FirewallRuleListResult> asyncCallback)
Return all firewall rule(s) information for a given firewall section.
|
void |
list(java.lang.String sectionId,
java.lang.String appliedTos,
java.lang.String contextProfiles,
java.lang.String cursor,
java.lang.Boolean deepSearch,
java.lang.String destinations,
java.lang.String extendedSources,
java.lang.String filterType,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean searchInvalidReferences,
java.lang.String services,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
java.lang.String sources,
com.vmware.vapi.bindings.client.AsyncCallback<FirewallRuleListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Return all firewall rule(s) information for a given firewall section.
|
FirewallRuleListResult |
list(java.lang.String sectionId,
java.lang.String appliedTos,
java.lang.String contextProfiles,
java.lang.String cursor,
java.lang.Boolean deepSearch,
java.lang.String destinations,
java.lang.String extendedSources,
java.lang.String filterType,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean searchInvalidReferences,
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 firewall rule(s) information for a given firewall section.
|
FirewallRule |
revise(java.lang.String sectionId,
java.lang.String ruleId,
FirewallRule firewallRule,
java.lang.String id,
java.lang.String operation)
Modifies existing firewall rule along with relative position among other
firewall rules inside a firewall section.
|
void |
revise(java.lang.String sectionId,
java.lang.String ruleId,
FirewallRule firewallRule,
java.lang.String id,
java.lang.String operation,
com.vmware.vapi.bindings.client.AsyncCallback<FirewallRule> asyncCallback)
Modifies existing firewall rule along with relative position among other
firewall rules inside a firewall section.
|
void |
revise(java.lang.String sectionId,
java.lang.String ruleId,
FirewallRule firewallRule,
java.lang.String id,
java.lang.String operation,
com.vmware.vapi.bindings.client.AsyncCallback<FirewallRule> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies existing firewall rule along with relative position among other
firewall rules inside a firewall section.
|
FirewallRule |
revise(java.lang.String sectionId,
java.lang.String ruleId,
FirewallRule firewallRule,
java.lang.String id,
java.lang.String operation,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies existing firewall rule along with relative position among other
firewall rules inside a firewall section.
|
FirewallRule |
update(java.lang.String sectionId,
java.lang.String ruleId,
FirewallRule firewallRule)
Modifies existing firewall rule in a firewall section.
|
void |
update(java.lang.String sectionId,
java.lang.String ruleId,
FirewallRule firewallRule,
com.vmware.vapi.bindings.client.AsyncCallback<FirewallRule> asyncCallback)
Modifies existing firewall rule in a firewall section.
|
void |
update(java.lang.String sectionId,
java.lang.String ruleId,
FirewallRule firewallRule,
com.vmware.vapi.bindings.client.AsyncCallback<FirewallRule> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies existing firewall rule in a firewall section.
|
FirewallRule |
update(java.lang.String sectionId,
java.lang.String ruleId,
FirewallRule firewallRule,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Modifies existing firewall rule in a firewall 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 FirewallRule create(java.lang.String sectionId, FirewallRule firewallRule, 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)firewallRule - (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 FirewallRule create(java.lang.String sectionId, FirewallRule firewallRule, 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)firewallRule - (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,
FirewallRule firewallRule,
java.lang.String id,
java.lang.String operation,
com.vmware.vapi.bindings.client.AsyncCallback<FirewallRule> asyncCallback)
RulesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.FirewallRule
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
create in interface RulessectionId - (required)firewallRule - (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,
FirewallRule firewallRule,
java.lang.String id,
java.lang.String operation,
com.vmware.vapi.bindings.client.AsyncCallback<FirewallRule> 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.FirewallRule
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
create in interface RulessectionId - (required)firewallRule - (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 FirewallRuleList createmultiple(java.lang.String sectionId, FirewallRuleList firewallRuleList, 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)firewallRuleList - (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 FirewallRuleList createmultiple(java.lang.String sectionId, FirewallRuleList firewallRuleList, 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)firewallRuleList - (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,
FirewallRuleList firewallRuleList,
java.lang.String id,
java.lang.String operation,
com.vmware.vapi.bindings.client.AsyncCallback<FirewallRuleList> asyncCallback)
RulesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.FirewallRuleList
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
createmultiple in interface RulessectionId - (required)firewallRuleList - (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,
FirewallRuleList firewallRuleList,
java.lang.String id,
java.lang.String operation,
com.vmware.vapi.bindings.client.AsyncCallback<FirewallRuleList> 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.FirewallRuleList
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
createmultiple in interface RulessectionId - (required)firewallRuleList - (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 FirewallRule 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 FirewallRule 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<FirewallRule> asyncCallback)
RulesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.FirewallRule
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<FirewallRule> 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.FirewallRule
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
public FirewallRuleListResult list(java.lang.String sectionId, java.lang.String appliedTos, java.lang.String contextProfiles, java.lang.String cursor, java.lang.Boolean deepSearch, java.lang.String destinations, java.lang.String extendedSources, java.lang.String filterType, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean searchInvalidReferences, 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)contextProfiles - Limits results to sections having rules with specific Context Profiles.
(optional)cursor - Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)deepSearch - Toggle to search with direct or indirect references. (optional, default to
false)destinations - Destinations referenced by this section's Distributed Service Rules . (optional)extendedSources - Limits results to sections having rules with specific Extended Sources.
(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)searchInvalidReferences - Return invalid references in results. (optional, default to false)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 FirewallRuleListResult list(java.lang.String sectionId, java.lang.String appliedTos, java.lang.String contextProfiles, java.lang.String cursor, java.lang.Boolean deepSearch, java.lang.String destinations, java.lang.String extendedSources, java.lang.String filterType, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean searchInvalidReferences, 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)contextProfiles - Limits results to sections having rules with specific Context Profiles.
(optional)cursor - Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)deepSearch - Toggle to search with direct or indirect references. (optional, default to
false)destinations - Destinations referenced by this section's Distributed Service Rules . (optional)extendedSources - Limits results to sections having rules with specific Extended Sources.
(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)searchInvalidReferences - Return invalid references in results. (optional, default to false)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 contextProfiles,
java.lang.String cursor,
java.lang.Boolean deepSearch,
java.lang.String destinations,
java.lang.String extendedSources,
java.lang.String filterType,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean searchInvalidReferences,
java.lang.String services,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
java.lang.String sources,
com.vmware.vapi.bindings.client.AsyncCallback<FirewallRuleListResult> asyncCallback)
RulesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.FirewallRuleListResult
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)contextProfiles - Limits results to sections having rules with specific Context Profiles.
(optional)cursor - Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)deepSearch - Toggle to search with direct or indirect references. (optional, default to
false)destinations - Destinations referenced by this section's Distributed Service Rules . (optional)extendedSources - Limits results to sections having rules with specific Extended Sources.
(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)searchInvalidReferences - Return invalid references in results. (optional, default to false)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 contextProfiles,
java.lang.String cursor,
java.lang.Boolean deepSearch,
java.lang.String destinations,
java.lang.String extendedSources,
java.lang.String filterType,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.Boolean searchInvalidReferences,
java.lang.String services,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
java.lang.String sources,
com.vmware.vapi.bindings.client.AsyncCallback<FirewallRuleListResult> 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.FirewallRuleListResult
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)contextProfiles - Limits results to sections having rules with specific Context Profiles.
(optional)cursor - Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)deepSearch - Toggle to search with direct or indirect references. (optional, default to
false)destinations - Destinations referenced by this section's Distributed Service Rules . (optional)extendedSources - Limits results to sections having rules with specific Extended Sources.
(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)searchInvalidReferences - Return invalid references in results. (optional, default to false)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 FirewallRule revise(java.lang.String sectionId, java.lang.String ruleId, FirewallRule firewallRule, 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)firewallRule - (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 FirewallRule revise(java.lang.String sectionId, java.lang.String ruleId, FirewallRule firewallRule, 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)firewallRule - (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,
FirewallRule firewallRule,
java.lang.String id,
java.lang.String operation,
com.vmware.vapi.bindings.client.AsyncCallback<FirewallRule> asyncCallback)
RulesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.FirewallRule
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)firewallRule - (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,
FirewallRule firewallRule,
java.lang.String id,
java.lang.String operation,
com.vmware.vapi.bindings.client.AsyncCallback<FirewallRule> 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.FirewallRule
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)firewallRule - (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 FirewallRule update(java.lang.String sectionId, java.lang.String ruleId, FirewallRule firewallRule)
RulesSynchronous method overload. Result of the invocation will be reported as a method return value.
public FirewallRule update(java.lang.String sectionId, java.lang.String ruleId, FirewallRule firewallRule, 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,
FirewallRule firewallRule,
com.vmware.vapi.bindings.client.AsyncCallback<FirewallRule> asyncCallback)
RulesAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx.model.FirewallRule
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,
FirewallRule firewallRule,
com.vmware.vapi.bindings.client.AsyncCallback<FirewallRule> 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.FirewallRule
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found