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.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 voidcreate(PolicyAttributes policyAttributes, java.lang.String action)Deprecated.voidcreate(PolicyAttributes policyAttributes, java.lang.String action, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Deprecated.voidcreate(PolicyAttributes policyAttributes, java.lang.String action, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Deprecated.voidcreate(PolicyAttributes policyAttributes, java.lang.String action, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Deprecated.voidpatch(PolicyAttributes policyAttributes)Deprecated.voidpatch(PolicyAttributes policyAttributes, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)Deprecated.voidpatch(PolicyAttributes policyAttributes, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)Deprecated.voidpatch(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
invocationConfigto 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. UseinvocationConfigto 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
invocationConfigto 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. UseinvocationConfigto 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.
-
-