Interface CustomAttributes
-
- All Superinterfaces:
CustomAttributesTypes
,com.vmware.vapi.bindings.Service
- All Known Implementing Classes:
CustomAttributesStub
public interface CustomAttributes extends com.vmware.vapi.bindings.Service, CustomAttributesTypes
-
-
Field Summary
-
Fields inherited from interface com.vmware.nsx_policy.global_infra.context_profiles.CustomAttributesTypes
_VAPI_SERVICE_ID, CREATE_ACTION_ADD, CREATE_ACTION_REMOVE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
create(PolicyAttributes policyAttributes, java.lang.String action)
Deprecated.void
create(PolicyAttributes policyAttributes, java.lang.String action, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deprecated.void
create(PolicyAttributes policyAttributes, java.lang.String action, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.void
create(PolicyAttributes policyAttributes, java.lang.String action, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.void
patch(PolicyAttributes policyAttributes)
Deprecated.void
patch(PolicyAttributes policyAttributes, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deprecated.void
patch(PolicyAttributes policyAttributes, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.void
patch(PolicyAttributes policyAttributes, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.
-
-
-
Method Detail
-
create
@Deprecated void create(PolicyAttributes policyAttributes, java.lang.String action)
Deprecated.This API adds/removes custom attribute values from list for a given attribute key.
This rest routine is deprecated. Use /infra/context-profiles/custom-attributes/default to Adds/Removes custom attribute values from listSynchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
policyAttributes
- (required)action
- Add or Remove Custom Context Profile Attribute values. (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
-
create
@Deprecated void create(PolicyAttributes policyAttributes, java.lang.String action, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.This API adds/removes custom attribute values from list for a given attribute key.
This rest routine is deprecated. Use /infra/context-profiles/custom-attributes/default to Adds/Removes custom attribute values from listSynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
policyAttributes
- (required)action
- Add or Remove Custom Context Profile Attribute values. (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
-
create
@Deprecated void create(PolicyAttributes policyAttributes, java.lang.String action, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deprecated.This API adds/removes custom attribute values from list for a given attribute key.
This rest routine is deprecated. Use /infra/context-profiles/custom-attributes/default to Adds/Removes custom attribute values from listAsynchronous 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:
policyAttributes
- (required)action
- Add or Remove Custom Context Profile Attribute values. (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
create
@Deprecated void create(PolicyAttributes policyAttributes, java.lang.String action, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.This API adds/removes custom attribute values from list for a given attribute key.
This rest routine is deprecated. Use /infra/context-profiles/custom-attributes/default to Adds/Removes custom attribute values from listAsynchronous 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:
policyAttributes
- (required)action
- Add or Remove Custom Context Profile Attribute values. (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
patch
@Deprecated void patch(PolicyAttributes policyAttributes)
Deprecated.This API updates custom attribute value list for given key.
This rest routine is deprecated. Use /infra/context-profiles/custom-attributes/default for create/update custom object attribute value list for given attribute keySynchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
policyAttributes
- (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(PolicyAttributes policyAttributes, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.This API updates custom attribute value list for given key.
This rest routine is deprecated. Use /infra/context-profiles/custom-attributes/default for create/update custom object attribute value list for given attribute keySynchronous method overload. Result of the invocation will be reported as a method return value. Use
invocationConfig
to specify configuration for this particular invocation.- Parameters:
policyAttributes
- (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(PolicyAttributes policyAttributes, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deprecated.This API updates custom attribute value list for given key.
This rest routine is deprecated. Use /infra/context-profiles/custom-attributes/default for create/update custom object attribute value list for given attribute keyAsynchronous 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:
policyAttributes
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
patch
@Deprecated void patch(PolicyAttributes policyAttributes, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deprecated.This API updates custom attribute value list for given key.
This rest routine is deprecated. Use /infra/context-profiles/custom-attributes/default for create/update custom object attribute value list for given attribute keyAsynchronous 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:
policyAttributes
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-