Interface Widgetconfigurations
-
- All Superinterfaces:
com.vmware.vapi.bindings.Service
,WidgetconfigurationsTypes
- All Known Implementing Classes:
WidgetconfigurationsStub
public interface Widgetconfigurations extends com.vmware.vapi.bindings.Service, WidgetconfigurationsTypes
-
-
Field Summary
-
Fields inherited from interface com.vmware.nsx_policy.ui_views.WidgetconfigurationsTypes
_VAPI_SERVICE_ID
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.vmware.vapi.bindings.Structure
create(java.lang.String viewId, com.vmware.vapi.bindings.Structure widgetConfiguration)
Creates a new Widget Configuration and adds it to the specified view.void
create(java.lang.String viewId, com.vmware.vapi.bindings.Structure widgetConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Creates a new Widget Configuration and adds it to the specified view.void
create(java.lang.String viewId, com.vmware.vapi.bindings.Structure widgetConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new Widget Configuration and adds it to the specified view.com.vmware.vapi.bindings.Structure
create(java.lang.String viewId, com.vmware.vapi.bindings.Structure widgetConfiguration, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new Widget Configuration and adds it to the specified view.void
delete(java.lang.String viewId, java.lang.String widgetconfigurationId)
Detaches widget from a given view.void
delete(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Detaches widget from a given view.void
delete(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Detaches widget from a given view.void
delete(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Detaches widget from a given view.WidgetConfigurationList
get(java.lang.String viewId, java.lang.String container, java.lang.String widgetIds)
If no query params are specified then all the Widget Configurations of the specified view are returned.void
get(java.lang.String viewId, java.lang.String container, java.lang.String widgetIds, com.vmware.vapi.bindings.client.AsyncCallback<WidgetConfigurationList> asyncCallback)
If no query params are specified then all the Widget Configurations of the specified view are returned.void
get(java.lang.String viewId, java.lang.String container, java.lang.String widgetIds, com.vmware.vapi.bindings.client.AsyncCallback<WidgetConfigurationList> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If no query params are specified then all the Widget Configurations of the specified view are returned.WidgetConfigurationList
get(java.lang.String viewId, java.lang.String container, java.lang.String widgetIds, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If no query params are specified then all the Widget Configurations of the specified view are returned.com.vmware.vapi.bindings.Structure
get0(java.lang.String viewId, java.lang.String widgetconfigurationId)
Returns Information about a specific Widget Configuration.void
get0(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Returns Information about a specific Widget Configuration.void
get0(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns Information about a specific Widget Configuration.com.vmware.vapi.bindings.Structure
get0(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns Information about a specific Widget Configuration.com.vmware.vapi.bindings.Structure
update(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.Structure widgetConfiguration)
Updates the widget at the given view.void
update(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.Structure widgetConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Updates the widget at the given view.void
update(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.Structure widgetConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Updates the widget at the given view.com.vmware.vapi.bindings.Structure
update(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.Structure widgetConfiguration, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Updates the widget at the given view.
-
-
-
Method Detail
-
create
com.vmware.vapi.bindings.Structure create(java.lang.String viewId, com.vmware.vapi.bindings.Structure widgetConfiguration)
Creates a new Widget Configuration and adds it to the specified view. Supported resource_types are LabelValueConfiguration, DonutConfiguration, GridConfiguration, StatsConfiguration, MultiWidgetConfiguration, GraphConfiguration and ContainerConfiguration. Note: Expressions should be given in a single line. If an expression spans multiple lines, then form the expression in a single line. For label-value pairs, expressions are evaluated as follows: a. First, render configurations are evaluated in their order of appearance in the widget config. The 'field' is evaluated at the end. b. Second, when render configuration is provided then the order of evaluation is 1. If expressions provided in 'condition' and 'display value' are well-formed and free of runtime-errors such as 'null pointers' and evaluates to 'true'; Then remaining render configurations are not evaluated, and the current render configuration's 'display value' is taken as the final value. 2. If expression provided in 'condition' of render configuration is false, then next render configuration is evaluated. 3. Finally, 'field' is evaluated only when every render configuration evaluates to false and no error occurs during steps 1 and 2 above. If an error occurs during evaluation of render configuration, then an error message is shown. The display value corresponding to that label is not shown and evaluation of the remaining render configurations continues to collect and show all the error messages (marked with the 'Label' for identification) as 'Error_Messages: {}'. If during evaluation of expressions for any label-value pair an error occurs, then it is marked with error. The errors are shown in the report, along with the label value pairs that are error-free. Important: For elements that take expressions, strings should be provided by escaping them with a back-slash. These elements are - condition, field, tooltip text and render_configuration's display_value.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
viewId
- (required)widgetConfiguration
- (required) The parameter must contain all the properties defined inWidgetConfiguration
.- Returns:
- com.vmware.nsx_policy.model.WidgetConfiguration
The return value will contain all the properties defined in
WidgetConfiguration
. - 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
com.vmware.vapi.bindings.Structure create(java.lang.String viewId, com.vmware.vapi.bindings.Structure widgetConfiguration, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new Widget Configuration and adds it to the specified view. Supported resource_types are LabelValueConfiguration, DonutConfiguration, GridConfiguration, StatsConfiguration, MultiWidgetConfiguration, GraphConfiguration and ContainerConfiguration. Note: Expressions should be given in a single line. If an expression spans multiple lines, then form the expression in a single line. For label-value pairs, expressions are evaluated as follows: a. First, render configurations are evaluated in their order of appearance in the widget config. The 'field' is evaluated at the end. b. Second, when render configuration is provided then the order of evaluation is 1. If expressions provided in 'condition' and 'display value' are well-formed and free of runtime-errors such as 'null pointers' and evaluates to 'true'; Then remaining render configurations are not evaluated, and the current render configuration's 'display value' is taken as the final value. 2. If expression provided in 'condition' of render configuration is false, then next render configuration is evaluated. 3. Finally, 'field' is evaluated only when every render configuration evaluates to false and no error occurs during steps 1 and 2 above. If an error occurs during evaluation of render configuration, then an error message is shown. The display value corresponding to that label is not shown and evaluation of the remaining render configurations continues to collect and show all the error messages (marked with the 'Label' for identification) as 'Error_Messages: {}'. If during evaluation of expressions for any label-value pair an error occurs, then it is marked with error. The errors are shown in the report, along with the label value pairs that are error-free. Important: For elements that take expressions, strings should be provided by escaping them with a back-slash. These elements are - condition, field, tooltip text and render_configuration's display_value.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:
viewId
- (required)widgetConfiguration
- (required) The parameter must contain all the properties defined inWidgetConfiguration
.invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.WidgetConfiguration
The return value will contain all the properties defined in
WidgetConfiguration
. - 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
void create(java.lang.String viewId, com.vmware.vapi.bindings.Structure widgetConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Creates a new Widget Configuration and adds it to the specified view. Supported resource_types are LabelValueConfiguration, DonutConfiguration, GridConfiguration, StatsConfiguration, MultiWidgetConfiguration, GraphConfiguration and ContainerConfiguration. Note: Expressions should be given in a single line. If an expression spans multiple lines, then form the expression in a single line. For label-value pairs, expressions are evaluated as follows: a. First, render configurations are evaluated in their order of appearance in the widget config. The 'field' is evaluated at the end. b. Second, when render configuration is provided then the order of evaluation is 1. If expressions provided in 'condition' and 'display value' are well-formed and free of runtime-errors such as 'null pointers' and evaluates to 'true'; Then remaining render configurations are not evaluated, and the current render configuration's 'display value' is taken as the final value. 2. If expression provided in 'condition' of render configuration is false, then next render configuration is evaluated. 3. Finally, 'field' is evaluated only when every render configuration evaluates to false and no error occurs during steps 1 and 2 above. If an error occurs during evaluation of render configuration, then an error message is shown. The display value corresponding to that label is not shown and evaluation of the remaining render configurations continues to collect and show all the error messages (marked with the 'Label' for identification) as 'Error_Messages: {}'. If during evaluation of expressions for any label-value pair an error occurs, then it is marked with error. The errors are shown in the report, along with the label value pairs that are error-free. Important: For elements that take expressions, strings should be provided by escaping them with a back-slash. These elements are - condition, field, tooltip text and render_configuration's display_value.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.WidgetConfiguration The return value will contain all the properties defined inWidgetConfiguration
.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
viewId
- (required)widgetConfiguration
- (required) The parameter must contain all the properties defined inWidgetConfiguration
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
create
void create(java.lang.String viewId, com.vmware.vapi.bindings.Structure widgetConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Creates a new Widget Configuration and adds it to the specified view. Supported resource_types are LabelValueConfiguration, DonutConfiguration, GridConfiguration, StatsConfiguration, MultiWidgetConfiguration, GraphConfiguration and ContainerConfiguration. Note: Expressions should be given in a single line. If an expression spans multiple lines, then form the expression in a single line. For label-value pairs, expressions are evaluated as follows: a. First, render configurations are evaluated in their order of appearance in the widget config. The 'field' is evaluated at the end. b. Second, when render configuration is provided then the order of evaluation is 1. If expressions provided in 'condition' and 'display value' are well-formed and free of runtime-errors such as 'null pointers' and evaluates to 'true'; Then remaining render configurations are not evaluated, and the current render configuration's 'display value' is taken as the final value. 2. If expression provided in 'condition' of render configuration is false, then next render configuration is evaluated. 3. Finally, 'field' is evaluated only when every render configuration evaluates to false and no error occurs during steps 1 and 2 above. If an error occurs during evaluation of render configuration, then an error message is shown. The display value corresponding to that label is not shown and evaluation of the remaining render configurations continues to collect and show all the error messages (marked with the 'Label' for identification) as 'Error_Messages: {}'. If during evaluation of expressions for any label-value pair an error occurs, then it is marked with error. The errors are shown in the report, along with the label value pairs that are error-free. Important: For elements that take expressions, strings should be provided by escaping them with a back-slash. These elements are - condition, field, tooltip text and render_configuration's display_value.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.WidgetConfiguration The return value will contain all the properties defined inWidgetConfiguration
.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
viewId
- (required)widgetConfiguration
- (required) The parameter must contain all the properties defined inWidgetConfiguration
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
delete
void delete(java.lang.String viewId, java.lang.String widgetconfigurationId)
Detaches widget from a given view. If the widget is no longer part of any view, then it will be purged.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
viewId
- (required)widgetconfigurationId
- (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 viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Detaches widget from a given view. If the widget is no longer part of any view, then it will be purged.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:
viewId
- (required)widgetconfigurationId
- (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 viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Detaches widget from a given view. If the widget is no longer part of any view, then it will be purged.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:
viewId
- (required)widgetconfigurationId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
delete
void delete(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Detaches widget from a given view. If the widget is no longer part of any view, then it will be purged.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:
viewId
- (required)widgetconfigurationId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
get
WidgetConfigurationList get(java.lang.String viewId, java.lang.String container, java.lang.String widgetIds)
If no query params are specified then all the Widget Configurations of the specified view are returned.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
viewId
- (required)container
- Id of the container (optional)widgetIds
- Ids of the WidgetConfigurations (optional)- Returns:
- com.vmware.nsx_policy.model.WidgetConfigurationList
- 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
WidgetConfigurationList get(java.lang.String viewId, java.lang.String container, java.lang.String widgetIds, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If no query params are specified then all the Widget Configurations of the specified view are returned.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:
viewId
- (required)container
- Id of the container (optional)widgetIds
- Ids of the WidgetConfigurations (optional)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.WidgetConfigurationList
- 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 viewId, java.lang.String container, java.lang.String widgetIds, com.vmware.vapi.bindings.client.AsyncCallback<WidgetConfigurationList> asyncCallback)
If no query params are specified then all the Widget Configurations of the specified view are returned.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.WidgetConfigurationListOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
viewId
- (required)container
- Id of the container (optional)widgetIds
- Ids of the WidgetConfigurations (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get
void get(java.lang.String viewId, java.lang.String container, java.lang.String widgetIds, com.vmware.vapi.bindings.client.AsyncCallback<WidgetConfigurationList> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If no query params are specified then all the Widget Configurations of the specified view are returned.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.WidgetConfigurationListOperation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
viewId
- (required)container
- Id of the container (optional)widgetIds
- Ids of the WidgetConfigurations (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
get0
com.vmware.vapi.bindings.Structure get0(java.lang.String viewId, java.lang.String widgetconfigurationId)
Returns Information about a specific Widget Configuration.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
viewId
- (required)widgetconfigurationId
- (required)- Returns:
- com.vmware.nsx_policy.model.WidgetConfiguration
The return value will contain all the properties defined in
WidgetConfiguration
. - 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
-
get0
com.vmware.vapi.bindings.Structure get0(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns Information about a specific Widget Configuration.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:
viewId
- (required)widgetconfigurationId
- (required)invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.WidgetConfiguration
The return value will contain all the properties defined in
WidgetConfiguration
. - 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
-
get0
void get0(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Returns Information about a specific Widget Configuration.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.WidgetConfiguration The return value will contain all the properties defined inWidgetConfiguration
.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
viewId
- (required)widgetconfigurationId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
get0
void get0(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Returns Information about a specific Widget Configuration.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.WidgetConfiguration The return value will contain all the properties defined inWidgetConfiguration
.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
viewId
- (required)widgetconfigurationId
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
update
com.vmware.vapi.bindings.Structure update(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.Structure widgetConfiguration)
Updates the widget at the given view. If the widget is referenced by other views, then the widget will be updated in all the views that it is part of.Synchronous method overload. Result of the invocation will be reported as a method return value.
- Parameters:
viewId
- (required)widgetconfigurationId
- (required)widgetConfiguration
- (required) The parameter must contain all the properties defined inWidgetConfiguration
.- Returns:
- com.vmware.nsx_policy.model.WidgetConfiguration
The return value will contain all the properties defined in
WidgetConfiguration
. - 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
com.vmware.vapi.bindings.Structure update(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.Structure widgetConfiguration, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Updates the widget at the given view. If the widget is referenced by other views, then the widget will be updated in all the views that it is part of.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:
viewId
- (required)widgetconfigurationId
- (required)widgetConfiguration
- (required) The parameter must contain all the properties defined inWidgetConfiguration
.invocationConfig
- Configuration for the method invocation.- Returns:
- com.vmware.nsx_policy.model.WidgetConfiguration
The return value will contain all the properties defined in
WidgetConfiguration
. - 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 viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.Structure widgetConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback)
Updates the widget at the given view. If the widget is referenced by other views, then the widget will be updated in all the views that it is part of.Asynchronous method overload. Result of the invocation will be reported via the specified
asyncCallback
.Invocation Result:
com.vmware.nsx_policy.model.WidgetConfiguration The return value will contain all the properties defined inWidgetConfiguration
.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
viewId
- (required)widgetconfigurationId
- (required)widgetConfiguration
- (required) The parameter must contain all the properties defined inWidgetConfiguration
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.
-
update
void update(java.lang.String viewId, java.lang.String widgetconfigurationId, com.vmware.vapi.bindings.Structure widgetConfiguration, com.vmware.vapi.bindings.client.AsyncCallback<com.vmware.vapi.bindings.Structure> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Updates the widget at the given view. If the widget is referenced by other views, then the widget will be updated in all the views that it is part of.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.WidgetConfiguration The return value will contain all the properties defined inWidgetConfiguration
.Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
- Parameters:
viewId
- (required)widgetconfigurationId
- (required)widgetConfiguration
- (required) The parameter must contain all the properties defined inWidgetConfiguration
.asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.
-
-