public interface Rules extends com.vmware.vapi.bindings.Service, RulesTypes
_VAPI_SERVICE_ID, LIST_RULE_TYPE_ALL, LIST_RULE_TYPE_NAT64, LIST_RULE_TYPE_NATV4
Modifier and Type | Method and Description |
---|---|
NatRule |
create(java.lang.String logicalRouterId,
NatRule natRule)
Deprecated.
|
void |
create(java.lang.String logicalRouterId,
NatRule natRule,
com.vmware.vapi.bindings.client.AsyncCallback<NatRule> asyncCallback)
Deprecated.
|
void |
create(java.lang.String logicalRouterId,
NatRule natRule,
com.vmware.vapi.bindings.client.AsyncCallback<NatRule> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
|
NatRule |
create(java.lang.String logicalRouterId,
NatRule natRule,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
|
NatRuleList |
createmultiple(java.lang.String logicalRouterId,
NatRuleList natRuleList)
Deprecated.
|
void |
createmultiple(java.lang.String logicalRouterId,
NatRuleList natRuleList,
com.vmware.vapi.bindings.client.AsyncCallback<NatRuleList> asyncCallback)
Deprecated.
|
void |
createmultiple(java.lang.String logicalRouterId,
NatRuleList natRuleList,
com.vmware.vapi.bindings.client.AsyncCallback<NatRuleList> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
|
NatRuleList |
createmultiple(java.lang.String logicalRouterId,
NatRuleList natRuleList,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
|
void |
delete(java.lang.String logicalRouterId,
java.lang.String ruleId)
Deprecated.
|
void |
delete(java.lang.String logicalRouterId,
java.lang.String ruleId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deprecated.
|
void |
delete(java.lang.String logicalRouterId,
java.lang.String ruleId,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
|
void |
delete(java.lang.String logicalRouterId,
java.lang.String ruleId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
|
NatRule |
get(java.lang.String logicalRouterId,
java.lang.String ruleId)
Deprecated.
|
void |
get(java.lang.String logicalRouterId,
java.lang.String ruleId,
com.vmware.vapi.bindings.client.AsyncCallback<NatRule> asyncCallback)
Deprecated.
|
void |
get(java.lang.String logicalRouterId,
java.lang.String ruleId,
com.vmware.vapi.bindings.client.AsyncCallback<NatRule> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
|
NatRule |
get(java.lang.String logicalRouterId,
java.lang.String ruleId,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
|
NatRuleListResult |
list(java.lang.String logicalRouterId,
java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.String ruleType,
java.lang.Boolean sortAscending,
java.lang.String sortBy)
Deprecated.
|
void |
list(java.lang.String logicalRouterId,
java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.String ruleType,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<NatRuleListResult> asyncCallback)
Deprecated.
|
void |
list(java.lang.String logicalRouterId,
java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.String ruleType,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<NatRuleListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
|
NatRuleListResult |
list(java.lang.String logicalRouterId,
java.lang.String cursor,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.String ruleType,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
|
NatRule |
update(java.lang.String logicalRouterId,
java.lang.String ruleId,
NatRule natRule)
Deprecated.
|
void |
update(java.lang.String logicalRouterId,
java.lang.String ruleId,
NatRule natRule,
com.vmware.vapi.bindings.client.AsyncCallback<NatRule> asyncCallback)
Deprecated.
|
void |
update(java.lang.String logicalRouterId,
java.lang.String ruleId,
NatRule natRule,
com.vmware.vapi.bindings.client.AsyncCallback<NatRule> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
|
NatRule |
update(java.lang.String logicalRouterId,
java.lang.String ruleId,
NatRule natRule,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
|
@Deprecated NatRule create(java.lang.String logicalRouterId, NatRule natRule)
Synchronous method overload. Result of the invocation will be reported as a method return value.
logicalRouterId
- (required)natRule
- (required)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found@Deprecated NatRule create(java.lang.String logicalRouterId, NatRule natRule, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
logicalRouterId
- (required)natRule
- (required)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found@Deprecated void create(java.lang.String logicalRouterId, NatRule natRule, com.vmware.vapi.bindings.client.AsyncCallback<NatRule> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.NatRule
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
logicalRouterId
- (required)natRule
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.@Deprecated void create(java.lang.String logicalRouterId, NatRule natRule, com.vmware.vapi.bindings.client.AsyncCallback<NatRule> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.model.NatRule
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
logicalRouterId
- (required)natRule
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.@Deprecated NatRuleList createmultiple(java.lang.String logicalRouterId, NatRuleList natRuleList)
Synchronous method overload. Result of the invocation will be reported as a method return value.
logicalRouterId
- (required)natRuleList
- (required)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found@Deprecated NatRuleList createmultiple(java.lang.String logicalRouterId, NatRuleList natRuleList, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
logicalRouterId
- (required)natRuleList
- (required)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found@Deprecated void createmultiple(java.lang.String logicalRouterId, NatRuleList natRuleList, com.vmware.vapi.bindings.client.AsyncCallback<NatRuleList> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.NatRuleList
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
logicalRouterId
- (required)natRuleList
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.@Deprecated void createmultiple(java.lang.String logicalRouterId, NatRuleList natRuleList, com.vmware.vapi.bindings.client.AsyncCallback<NatRuleList> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.model.NatRuleList
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
logicalRouterId
- (required)natRuleList
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.@Deprecated void delete(java.lang.String logicalRouterId, java.lang.String ruleId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
logicalRouterId
- (required)ruleId
- (required)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found@Deprecated void delete(java.lang.String logicalRouterId, java.lang.String ruleId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
logicalRouterId
- (required)ruleId
- (required)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found@Deprecated void delete(java.lang.String logicalRouterId, java.lang.String ruleId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Asynchronous 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
logicalRouterId
- (required)ruleId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.@Deprecated void delete(java.lang.String logicalRouterId, java.lang.String ruleId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous 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
logicalRouterId
- (required)ruleId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.@Deprecated NatRule get(java.lang.String logicalRouterId, java.lang.String ruleId)
Synchronous method overload. Result of the invocation will be reported as a method return value.
logicalRouterId
- (required)ruleId
- (required)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found@Deprecated NatRule get(java.lang.String logicalRouterId, java.lang.String ruleId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
logicalRouterId
- (required)ruleId
- (required)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found@Deprecated void get(java.lang.String logicalRouterId, java.lang.String ruleId, com.vmware.vapi.bindings.client.AsyncCallback<NatRule> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.NatRule
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
logicalRouterId
- (required)ruleId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.@Deprecated void get(java.lang.String logicalRouterId, java.lang.String ruleId, com.vmware.vapi.bindings.client.AsyncCallback<NatRule> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.model.NatRule
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
logicalRouterId
- (required)ruleId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.@Deprecated NatRuleListResult list(java.lang.String logicalRouterId, java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.String ruleType, java.lang.Boolean sortAscending, java.lang.String sortBy)
Synchronous method overload. Result of the invocation will be reported as a method return value.
logicalRouterId
- (required)cursor
- 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)ruleType
- Action type for getting NAT rules (optional)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found@Deprecated NatRuleListResult list(java.lang.String logicalRouterId, java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.String ruleType, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
logicalRouterId
- (required)cursor
- 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)ruleType
- Action type for getting NAT rules (optional)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found@Deprecated void list(java.lang.String logicalRouterId, java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.String ruleType, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<NatRuleListResult> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.NatRuleListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
logicalRouterId
- (required)cursor
- 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)ruleType
- Action type for getting NAT rules (optional)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.@Deprecated void list(java.lang.String logicalRouterId, java.lang.String cursor, java.lang.String includedFields, java.lang.Long pageSize, java.lang.String ruleType, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<NatRuleListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.model.NatRuleListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
logicalRouterId
- (required)cursor
- 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)ruleType
- Action type for getting NAT rules (optional)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.@Deprecated NatRule update(java.lang.String logicalRouterId, java.lang.String ruleId, NatRule natRule)
Synchronous method overload. Result of the invocation will be reported as a method return value.
logicalRouterId
- (required)ruleId
- (required)natRule
- (required)com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found@Deprecated NatRule update(java.lang.String logicalRouterId, java.lang.String ruleId, NatRule natRule, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
logicalRouterId
- (required)ruleId
- (required)natRule
- (required)invocationConfig
- Configuration for the method invocation.com.vmware.vapi.std.errors.InvalidRequest
- Bad Request, Precondition Failedcom.vmware.vapi.std.errors.Unauthorized
- Forbiddencom.vmware.vapi.std.errors.ServiceUnavailable
- Service Unavailablecom.vmware.vapi.std.errors.InternalServerError
- Internal Server Errorcom.vmware.vapi.std.errors.NotFound
- Not Found@Deprecated void update(java.lang.String logicalRouterId, java.lang.String ruleId, NatRule natRule, com.vmware.vapi.bindings.client.AsyncCallback<NatRule> asyncCallback)
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.NatRule
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
logicalRouterId
- (required)ruleId
- (required)natRule
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.@Deprecated void update(java.lang.String logicalRouterId, java.lang.String ruleId, NatRule natRule, com.vmware.vapi.bindings.client.AsyncCallback<NatRule> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
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.model.NatRule
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
logicalRouterId
- (required)ruleId
- (required)natRule
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.