Interface EnforcementPoints
-
- All Superinterfaces:
EnforcementPointsTypes
,com.vmware.vapi.bindings.Service
- All Known Implementing Classes:
EnforcementPointsStub
public interface EnforcementPoints extends com.vmware.vapi.bindings.Service, EnforcementPointsTypes
-
-
Field Summary
-
Fields inherited from interface com.vmware.nsx_policy.infra.deployment_zones.EnforcementPointsTypes
_VAPI_SERVICE_ID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
delete(java.lang.String deploymentZoneId, java.lang.String enforcementpointId)
Deprecated.void
delete(java.lang.String deploymentZoneId, java.lang.String enforcementpointId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deprecated.void
delete(java.lang.String deploymentZoneId, java.lang.String enforcementpointId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.void
delete(java.lang.String deploymentZoneId, java.lang.String enforcementpointId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.EnforcementPoint
get(java.lang.String deploymentZoneId, java.lang.String enforcementpointId)
Deprecated.void
get(java.lang.String deploymentZoneId, java.lang.String enforcementpointId, com.vmware.vapi.bindings.client.AsyncCallback<EnforcementPoint> asyncCallback)
Deprecated.void
get(java.lang.String deploymentZoneId, java.lang.String enforcementpointId, com.vmware.vapi.bindings.client.AsyncCallback<EnforcementPoint> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.EnforcementPoint
get(java.lang.String deploymentZoneId, java.lang.String enforcementpointId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.EnforcementPointListResult
list(java.lang.String deploymentZoneId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
Deprecated.void
list(java.lang.String deploymentZoneId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<EnforcementPointListResult> asyncCallback)
Deprecated.void
list(java.lang.String deploymentZoneId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<EnforcementPointListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.EnforcementPointListResult
list(java.lang.String deploymentZoneId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.void
patch(java.lang.String deploymentZoneId, java.lang.String enforcementpointId, EnforcementPoint enforcementPoint)
Deprecated.void
patch(java.lang.String deploymentZoneId, java.lang.String enforcementpointId, EnforcementPoint enforcementPoint, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deprecated.void
patch(java.lang.String deploymentZoneId, java.lang.String enforcementpointId, EnforcementPoint enforcementPoint, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.void
patch(java.lang.String deploymentZoneId, java.lang.String enforcementpointId, EnforcementPoint enforcementPoint, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.EnforcementPoint
update(java.lang.String deploymentZoneId, java.lang.String enforcementpointId, EnforcementPoint enforcementPoint)
Deprecated.void
update(java.lang.String deploymentZoneId, java.lang.String enforcementpointId, EnforcementPoint enforcementPoint, com.vmware.vapi.bindings.client.AsyncCallback<EnforcementPoint> asyncCallback)
Deprecated.void
update(java.lang.String deploymentZoneId, java.lang.String enforcementpointId, EnforcementPoint enforcementPoint, com.vmware.vapi.bindings.client.AsyncCallback<EnforcementPoint> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.EnforcementPoint
update(java.lang.String deploymentZoneId, java.lang.String enforcementpointId, EnforcementPoint enforcementPoint, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
-
-
-
Method Detail
-
delete
@Deprecated void delete(java.lang.String deploymentZoneId, java.lang.String enforcementpointId)
Deprecated.Delete EnforcementPoint.
This is a deprecated API. DeploymentZone has been renamed to Site. Use DELETE /infra/sites/site-id/enforcement-points/enforcementpoint-id.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
deploymentZoneId
- (required)enforcementpointId
- (required)- Throws:
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
-
delete
@Deprecated void delete(java.lang.String deploymentZoneId, java.lang.String enforcementpointId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.Delete EnforcementPoint.
This is a deprecated API. DeploymentZone has been renamed to Site. Use DELETE /infra/sites/site-id/enforcement-points/enforcementpoint-id.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
deploymentZoneId
- (required)enforcementpointId
- (required)invocationConfig
- Configuration for the method invocation.- Throws:
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
-
delete
@Deprecated void delete(java.lang.String deploymentZoneId, java.lang.String enforcementpointId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deprecated.Delete EnforcementPoint.
This is a deprecated API. DeploymentZone has been renamed to Site. Use DELETE /infra/sites/site-id/enforcement-points/enforcementpoint-id.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
- Parameters:
deploymentZoneId
- (required)enforcementpointId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
delete
@Deprecated void delete(java.lang.String deploymentZoneId, java.lang.String enforcementpointId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.Delete EnforcementPoint.
This is a deprecated API. DeploymentZone has been renamed to Site. Use DELETE /infra/sites/site-id/enforcement-points/enforcementpoint-id.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
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
- Parameters:
deploymentZoneId
- (required)enforcementpointId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
get
@Deprecated EnforcementPoint get(java.lang.String deploymentZoneId, java.lang.String enforcementpointId)
Deprecated.Read an Enforcement Point.
This is a deprecated API. DeploymentZone has been renamed to Site. Use GET /infra/sites/site-id/enforcement-points/enforcementpoint-id.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
deploymentZoneId
- (required)enforcementpointId
- (required)- Returns:
- com.vmware.nsx_policy.model.EnforcementPoint
- Throws:
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
-
get
@Deprecated EnforcementPoint get(java.lang.String deploymentZoneId, java.lang.String enforcementpointId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.Read an Enforcement Point.
This is a deprecated API. DeploymentZone has been renamed to Site. Use GET /infra/sites/site-id/enforcement-points/enforcementpoint-id.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
deploymentZoneId
- (required)enforcementpointId
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.EnforcementPoint
- Throws:
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
-
get
@Deprecated void get(java.lang.String deploymentZoneId, java.lang.String enforcementpointId, com.vmware.vapi.bindings.client.AsyncCallback<EnforcementPoint> asyncCallback)
Deprecated.Read an Enforcement Point.
This is a deprecated API. DeploymentZone has been renamed to Site. Use GET /infra/sites/site-id/enforcement-points/enforcementpoint-id.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.EnforcementPointOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
deploymentZoneId
- (required)enforcementpointId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get
@Deprecated void get(java.lang.String deploymentZoneId, java.lang.String enforcementpointId, com.vmware.vapi.bindings.client.AsyncCallback<EnforcementPoint> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.Read an Enforcement Point.
This is a deprecated API. DeploymentZone has been renamed to Site. Use GET /infra/sites/site-id/enforcement-points/enforcementpoint-id.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.EnforcementPointOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
deploymentZoneId
- (required)enforcementpointId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
list
@Deprecated EnforcementPointListResult list(java.lang.String deploymentZoneId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
Deprecated.Paginated list of all enforcementpoints for infra.
This is a deprecated API. DeploymentZone has been renamed to Site. Use GET /infra/sites/site-id/enforcement-points.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
deploymentZoneId
- (required)cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)includeMarkForDeleteObjects
- Include objects that are marked for deletion in results (optional, default to false)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)- Returns:
- com.vmware.nsx_policy.model.EnforcementPointListResult
- Throws:
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
-
list
@Deprecated EnforcementPointListResult list(java.lang.String deploymentZoneId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.Paginated list of all enforcementpoints for infra.
This is a deprecated API. DeploymentZone has been renamed to Site. Use GET /infra/sites/site-id/enforcement-points.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
deploymentZoneId
- (required)cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)includeMarkForDeleteObjects
- Include objects that are marked for deletion in results (optional, default to false)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.- Returns:
- com.vmware.nsx_policy.model.EnforcementPointListResult
- Throws:
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
-
list
@Deprecated void list(java.lang.String deploymentZoneId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<EnforcementPointListResult> asyncCallback)
Deprecated.Paginated list of all enforcementpoints for infra.
This is a deprecated API. DeploymentZone has been renamed to Site. Use GET /infra/sites/site-id/enforcement-points.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.EnforcementPointListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
deploymentZoneId
- (required)cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)includeMarkForDeleteObjects
- Include objects that are marked for deletion in results (optional, default to false)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.
-
list
@Deprecated void list(java.lang.String deploymentZoneId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<EnforcementPointListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.Paginated list of all enforcementpoints for infra.
This is a deprecated API. DeploymentZone has been renamed to Site. Use GET /infra/sites/site-id/enforcement-points.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.EnforcementPointListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
deploymentZoneId
- (required)cursor
- Opaque cursor to be used for getting next page of records (supplied by current result page) (optional)includeMarkForDeleteObjects
- Include objects that are marked for deletion in results (optional, default to false)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.
-
patch
@Deprecated void patch(java.lang.String deploymentZoneId, java.lang.String enforcementpointId, EnforcementPoint enforcementPoint)
Deprecated.If the passed Enforcement Point does not already exist, create a new Enforcement Point. If it already exists, patch it.
This is a deprecated API. DeploymentZone has been renamed to Site. Use PATCH /infra/sites/site-1/enforcement-points/enforcementpoint-1.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
deploymentZoneId
- (required)enforcementpointId
- (required)enforcementPoint
- (required)- Throws:
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
-
patch
@Deprecated void patch(java.lang.String deploymentZoneId, java.lang.String enforcementpointId, EnforcementPoint enforcementPoint, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.If the passed Enforcement Point does not already exist, create a new Enforcement Point. If it already exists, patch it.
This is a deprecated API. DeploymentZone has been renamed to Site. Use PATCH /infra/sites/site-1/enforcement-points/enforcementpoint-1.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
deploymentZoneId
- (required)enforcementpointId
- (required)enforcementPoint
- (required)invocationConfig
- Configuration for the method invocation.- Throws:
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
-
patch
@Deprecated void patch(java.lang.String deploymentZoneId, java.lang.String enforcementpointId, EnforcementPoint enforcementPoint, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deprecated.If the passed Enforcement Point does not already exist, create a new Enforcement Point. If it already exists, patch it.
This is a deprecated API. DeploymentZone has been renamed to Site. Use PATCH /infra/sites/site-1/enforcement-points/enforcementpoint-1.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
- Parameters:
deploymentZoneId
- (required)enforcementpointId
- (required)enforcementPoint
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
patch
@Deprecated void patch(java.lang.String deploymentZoneId, java.lang.String enforcementpointId, EnforcementPoint enforcementPoint, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.If the passed Enforcement Point does not already exist, create a new Enforcement Point. If it already exists, patch it.
This is a deprecated API. DeploymentZone has been renamed to Site. Use PATCH /infra/sites/site-1/enforcement-points/enforcementpoint-1.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
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
- Parameters:
deploymentZoneId
- (required)enforcementpointId
- (required)enforcementPoint
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
update
@Deprecated EnforcementPoint update(java.lang.String deploymentZoneId, java.lang.String enforcementpointId, EnforcementPoint enforcementPoint)
Deprecated.If the passed Enforcement Point does not already exist, create a new Enforcement Point. If it already exists, replace it.
This is a deprecated API. DeploymentZone has been renamed to Site. Use PUT /infra/sites/site-id/enforcement-points/enforcementpoint-id.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
deploymentZoneId
- (required)enforcementpointId
- (required)enforcementPoint
- (required)- Returns:
- com.vmware.nsx_policy.model.EnforcementPoint
- Throws:
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
-
update
@Deprecated EnforcementPoint update(java.lang.String deploymentZoneId, java.lang.String enforcementpointId, EnforcementPoint enforcementPoint, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.If the passed Enforcement Point does not already exist, create a new Enforcement Point. If it already exists, replace it.
This is a deprecated API. DeploymentZone has been renamed to Site. Use PUT /infra/sites/site-id/enforcement-points/enforcementpoint-id.Synchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
deploymentZoneId
- (required)enforcementpointId
- (required)enforcementPoint
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.EnforcementPoint
- Throws:
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
-
update
@Deprecated void update(java.lang.String deploymentZoneId, java.lang.String enforcementpointId, EnforcementPoint enforcementPoint, com.vmware.vapi.bindings.client.AsyncCallback<EnforcementPoint> asyncCallback)
Deprecated.If the passed Enforcement Point does not already exist, create a new Enforcement Point. If it already exists, replace it.
This is a deprecated API. DeploymentZone has been renamed to Site. Use PUT /infra/sites/site-id/enforcement-points/enforcementpoint-id.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.EnforcementPointOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
deploymentZoneId
- (required)enforcementpointId
- (required)enforcementPoint
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
update
@Deprecated void update(java.lang.String deploymentZoneId, java.lang.String enforcementpointId, EnforcementPoint enforcementPoint, com.vmware.vapi.bindings.client.AsyncCallback<EnforcementPoint> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.If the passed Enforcement Point does not already exist, create a new Enforcement Point. If it already exists, replace it.
This is a deprecated API. DeploymentZone has been renamed to Site. Use PUT /infra/sites/site-id/enforcement-points/enforcementpoint-id.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
. UseinvocationConfig
to specify configuration for this particular invocation.Invocation Result:
com.vmware.nsx_policy.model.EnforcementPointOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
deploymentZoneId
- (required)enforcementpointId
- (required)enforcementPoint
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-