Interface EndpointPolicies
-
- All Superinterfaces:
EndpointPoliciesTypes
,com.vmware.vapi.bindings.Service
- All Known Implementing Classes:
EndpointPoliciesStub
public interface EndpointPolicies extends com.vmware.vapi.bindings.Service, EndpointPoliciesTypes
-
-
Field Summary
-
Fields inherited from interface com.vmware.nsx_policy.infra.domains.EndpointPoliciesTypes
_VAPI_SERVICE_ID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
delete(java.lang.String domainId, java.lang.String endpointPolicyId)
Delete Endpoint policy.void
delete(java.lang.String domainId, java.lang.String endpointPolicyId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete Endpoint policy.void
delete(java.lang.String domainId, java.lang.String endpointPolicyId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete Endpoint policy.void
delete(java.lang.String domainId, java.lang.String endpointPolicyId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete Endpoint policy.EndpointPolicy
get(java.lang.String domainId, java.lang.String endpointPolicyId)
Read Endpoint policy.void
get(java.lang.String domainId, java.lang.String endpointPolicyId, com.vmware.vapi.bindings.client.AsyncCallback<EndpointPolicy> asyncCallback)
Read Endpoint policy.void
get(java.lang.String domainId, java.lang.String endpointPolicyId, com.vmware.vapi.bindings.client.AsyncCallback<EndpointPolicy> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read Endpoint policy.EndpointPolicy
get(java.lang.String domainId, java.lang.String endpointPolicyId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read Endpoint policy.EndpointPolicyListResult
list(java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
List all Endpoint policies across all domains ordered by precedence.void
list(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<EndpointPolicyListResult> asyncCallback)
List all Endpoint policies across all domains ordered by precedence.void
list(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<EndpointPolicyListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List all Endpoint policies across all domains ordered by precedence.EndpointPolicyListResult
list(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)
List all Endpoint policies across all domains ordered by precedence.void
patch(java.lang.String domainId, java.lang.String endpointPolicyId, EndpointPolicy endpointPolicy)
Create or update the Endpoint policy.void
patch(java.lang.String domainId, java.lang.String endpointPolicyId, EndpointPolicy endpointPolicy, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Create or update the Endpoint policy.void
patch(java.lang.String domainId, java.lang.String endpointPolicyId, EndpointPolicy endpointPolicy, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create or update the Endpoint policy.void
patch(java.lang.String domainId, java.lang.String endpointPolicyId, EndpointPolicy endpointPolicy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create or update the Endpoint policy.EndpointPolicy
update(java.lang.String domainId, java.lang.String endpointPolicyId, EndpointPolicy endpointPolicy)
Create or update the Endpoint policy.void
update(java.lang.String domainId, java.lang.String endpointPolicyId, EndpointPolicy endpointPolicy, com.vmware.vapi.bindings.client.AsyncCallback<EndpointPolicy> asyncCallback)
Create or update the Endpoint policy.void
update(java.lang.String domainId, java.lang.String endpointPolicyId, EndpointPolicy endpointPolicy, com.vmware.vapi.bindings.client.AsyncCallback<EndpointPolicy> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create or update the Endpoint policy.EndpointPolicy
update(java.lang.String domainId, java.lang.String endpointPolicyId, EndpointPolicy endpointPolicy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create or update the Endpoint policy.
-
-
-
Method Detail
-
delete
void delete(java.lang.String domainId, java.lang.String endpointPolicyId)
Delete Endpoint policy.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
domainId
- Domain id (required)endpointPolicyId
- Endpoint policy id (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
void delete(java.lang.String domainId, java.lang.String endpointPolicyId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete Endpoint policy.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:
domainId
- Domain id (required)endpointPolicyId
- Endpoint policy id (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
void delete(java.lang.String domainId, java.lang.String endpointPolicyId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete Endpoint policy.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:
domainId
- Domain id (required)endpointPolicyId
- Endpoint policy id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
delete
void delete(java.lang.String domainId, java.lang.String endpointPolicyId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete Endpoint policy.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:
domainId
- Domain id (required)endpointPolicyId
- Endpoint policy id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
get
EndpointPolicy get(java.lang.String domainId, java.lang.String endpointPolicyId)
Read Endpoint policy.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
domainId
- Domain id (required)endpointPolicyId
- Endpoint policy id (required)- Returns:
- com.vmware.nsx_policy.model.EndpointPolicy
- 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
EndpointPolicy get(java.lang.String domainId, java.lang.String endpointPolicyId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read Endpoint policy.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:
domainId
- Domain id (required)endpointPolicyId
- Endpoint policy id (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.EndpointPolicy
- 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
void get(java.lang.String domainId, java.lang.String endpointPolicyId, com.vmware.vapi.bindings.client.AsyncCallback<EndpointPolicy> asyncCallback)
Read Endpoint policy.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.EndpointPolicyOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
domainId
- Domain id (required)endpointPolicyId
- Endpoint policy id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get
void get(java.lang.String domainId, java.lang.String endpointPolicyId, com.vmware.vapi.bindings.client.AsyncCallback<EndpointPolicy> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Read Endpoint policy.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.EndpointPolicyOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
domainId
- Domain id (required)endpointPolicyId
- Endpoint policy id (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
list
EndpointPolicyListResult list(java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
List all Endpoint policies across all domains ordered by precedence.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
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.EndpointPolicyListResult
- 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
EndpointPolicyListResult list(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)
List all Endpoint policies across all domains ordered by precedence.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:
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.EndpointPolicyListResult
- 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
void list(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<EndpointPolicyListResult> asyncCallback)
List all Endpoint policies across all domains ordered by precedence.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.EndpointPolicyListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
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
void list(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<EndpointPolicyListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
List all Endpoint policies across all domains ordered by precedence.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.EndpointPolicyListResultOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
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
void patch(java.lang.String domainId, java.lang.String endpointPolicyId, EndpointPolicy endpointPolicy)
Create or update the Endpoint policy.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
domainId
- Domain id (required)endpointPolicyId
- Endpoint policy id (required)endpointPolicy
- (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
void patch(java.lang.String domainId, java.lang.String endpointPolicyId, EndpointPolicy endpointPolicy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create or update the Endpoint policy.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:
domainId
- Domain id (required)endpointPolicyId
- Endpoint policy id (required)endpointPolicy
- (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
void patch(java.lang.String domainId, java.lang.String endpointPolicyId, EndpointPolicy endpointPolicy, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Create or update the Endpoint policy.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:
domainId
- Domain id (required)endpointPolicyId
- Endpoint policy id (required)endpointPolicy
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
patch
void patch(java.lang.String domainId, java.lang.String endpointPolicyId, EndpointPolicy endpointPolicy, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create or update the Endpoint policy.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:
domainId
- Domain id (required)endpointPolicyId
- Endpoint policy id (required)endpointPolicy
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
update
EndpointPolicy update(java.lang.String domainId, java.lang.String endpointPolicyId, EndpointPolicy endpointPolicy)
Create or update the Endpoint policy.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
domainId
- Domain id (required)endpointPolicyId
- Endpoint policy id (required)endpointPolicy
- (required)- Returns:
- com.vmware.nsx_policy.model.EndpointPolicy
- 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
EndpointPolicy update(java.lang.String domainId, java.lang.String endpointPolicyId, EndpointPolicy endpointPolicy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create or update the Endpoint policy.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:
domainId
- Domain id (required)endpointPolicyId
- Endpoint policy id (required)endpointPolicy
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.EndpointPolicy
- 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
void update(java.lang.String domainId, java.lang.String endpointPolicyId, EndpointPolicy endpointPolicy, com.vmware.vapi.bindings.client.AsyncCallback<EndpointPolicy> asyncCallback)
Create or update the Endpoint policy.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.EndpointPolicyOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
domainId
- Domain id (required)endpointPolicyId
- Endpoint policy id (required)endpointPolicy
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
update
void update(java.lang.String domainId, java.lang.String endpointPolicyId, EndpointPolicy endpointPolicy, com.vmware.vapi.bindings.client.AsyncCallback<EndpointPolicy> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Create or update the Endpoint policy.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.EndpointPolicyOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
domainId
- Domain id (required)endpointPolicyId
- Endpoint policy id (required)endpointPolicy
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-