public class NsGroupsStub extends com.vmware.vapi.internal.bindings.Stub implements NsGroups
NsGroups
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID, ADDORREMOVEEXPRESSION_ACTION_ADD_MEMBERS, ADDORREMOVEEXPRESSION_ACTION_REMOVE_MEMBERS
Constructor and Description |
---|
NsGroupsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
NsGroupsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config) |
Modifier and Type | Method and Description |
---|---|
NSGroup |
addorremoveexpression(java.lang.String nsGroupId,
NSGroupExpressionList nsGroupExpressionList,
java.lang.String action)
Add/remove the expressions passed in the request body to/from the NSGroup
|
void |
addorremoveexpression(java.lang.String nsGroupId,
NSGroupExpressionList nsGroupExpressionList,
java.lang.String action,
com.vmware.vapi.bindings.client.AsyncCallback<NSGroup> asyncCallback)
Add/remove the expressions passed in the request body to/from the NSGroup
|
void |
addorremoveexpression(java.lang.String nsGroupId,
NSGroupExpressionList nsGroupExpressionList,
java.lang.String action,
com.vmware.vapi.bindings.client.AsyncCallback<NSGroup> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Add/remove the expressions passed in the request body to/from the NSGroup
|
NSGroup |
addorremoveexpression(java.lang.String nsGroupId,
NSGroupExpressionList nsGroupExpressionList,
java.lang.String action,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Add/remove the expressions passed in the request body to/from the NSGroup
|
NSGroup |
create(NSGroup nsGroup)
Synchronous method overload.
|
void |
create(NSGroup nsGroup,
com.vmware.vapi.bindings.client.AsyncCallback<NSGroup> asyncCallback)
Asynchronous method overload.
|
void |
create(NSGroup nsGroup,
com.vmware.vapi.bindings.client.AsyncCallback<NSGroup> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload.
|
NSGroup |
create(NSGroup nsGroup,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload.
|
void |
delete(java.lang.String nsGroupId,
java.lang.Boolean force)
Deletes the specified NSGroup.
|
void |
delete(java.lang.String nsGroupId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Deletes the specified NSGroup.
|
void |
delete(java.lang.String nsGroupId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes the specified NSGroup.
|
void |
delete(java.lang.String nsGroupId,
java.lang.Boolean force,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Deletes the specified NSGroup.
|
NSGroup |
get(java.lang.String nsGroupId,
java.lang.Boolean populateReferences)
Synchronous method overload.
|
void |
get(java.lang.String nsGroupId,
java.lang.Boolean populateReferences,
com.vmware.vapi.bindings.client.AsyncCallback<NSGroup> asyncCallback)
Asynchronous method overload.
|
void |
get(java.lang.String nsGroupId,
java.lang.Boolean populateReferences,
com.vmware.vapi.bindings.client.AsyncCallback<NSGroup> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload.
|
NSGroup |
get(java.lang.String nsGroupId,
java.lang.Boolean populateReferences,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload.
|
NSGroupListResult |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.String memberTypes,
java.lang.Long pageSize,
java.lang.Boolean populateReferences,
java.lang.Boolean sortAscending,
java.lang.String sortBy)
Synchronous method overload.
|
void |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.String memberTypes,
java.lang.Long pageSize,
java.lang.Boolean populateReferences,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<NSGroupListResult> asyncCallback)
Asynchronous method overload.
|
void |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.String memberTypes,
java.lang.Long pageSize,
java.lang.Boolean populateReferences,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<NSGroupListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload.
|
NSGroupListResult |
list(java.lang.String cursor,
java.lang.String includedFields,
java.lang.String memberTypes,
java.lang.Long pageSize,
java.lang.Boolean populateReferences,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload.
|
NSGroup |
update(java.lang.String nsGroupId,
NSGroup nsGroup)
Synchronous method overload.
|
void |
update(java.lang.String nsGroupId,
NSGroup nsGroup,
com.vmware.vapi.bindings.client.AsyncCallback<NSGroup> asyncCallback)
Asynchronous method overload.
|
void |
update(java.lang.String nsGroupId,
NSGroup nsGroup,
com.vmware.vapi.bindings.client.AsyncCallback<NSGroup> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Asynchronous method overload.
|
NSGroup |
update(java.lang.String nsGroupId,
NSGroup nsGroup,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Synchronous method overload.
|
public NsGroupsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public NsGroupsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public NSGroup addorremoveexpression(java.lang.String nsGroupId, NSGroupExpressionList nsGroupExpressionList, java.lang.String action)
NsGroups
Synchronous method overload. Result of the invocation will be reported as a method return value.
addorremoveexpression
in interface NsGroups
nsGroupId
- NSGroup Id (required)nsGroupExpressionList
- (required)action
- Specifies addition or removal action (required)public NSGroup addorremoveexpression(java.lang.String nsGroupId, NSGroupExpressionList nsGroupExpressionList, java.lang.String action, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NsGroups
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
addorremoveexpression
in interface NsGroups
nsGroupId
- NSGroup Id (required)nsGroupExpressionList
- (required)action
- Specifies addition or removal action (required)invocationConfig
- Configuration for the method invocation.public void addorremoveexpression(java.lang.String nsGroupId, NSGroupExpressionList nsGroupExpressionList, java.lang.String action, com.vmware.vapi.bindings.client.AsyncCallback<NSGroup> asyncCallback)
NsGroups
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.NSGroup
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
addorremoveexpression
in interface NsGroups
nsGroupId
- NSGroup Id (required)nsGroupExpressionList
- (required)action
- Specifies addition or removal action (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void addorremoveexpression(java.lang.String nsGroupId, NSGroupExpressionList nsGroupExpressionList, java.lang.String action, com.vmware.vapi.bindings.client.AsyncCallback<NSGroup> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NsGroups
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.NSGroup
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
addorremoveexpression
in interface NsGroups
nsGroupId
- NSGroup Id (required)nsGroupExpressionList
- (required)action
- Specifies addition or removal action (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public NSGroup create(NSGroup nsGroup)
NsGroups
Synchronous method overload. Result of the invocation will be reported as a method return value.
public NSGroup create(NSGroup nsGroup, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NsGroups
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void create(NSGroup nsGroup, com.vmware.vapi.bindings.client.AsyncCallback<NSGroup> asyncCallback)
NsGroups
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.NSGroup
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void create(NSGroup nsGroup, com.vmware.vapi.bindings.client.AsyncCallback<NSGroup> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NsGroups
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.NSGroup
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void delete(java.lang.String nsGroupId, java.lang.Boolean force)
NsGroups
Synchronous method overload. Result of the invocation will be reported as a method return value.
public void delete(java.lang.String nsGroupId, java.lang.Boolean force, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NsGroups
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void delete(java.lang.String nsGroupId, java.lang.Boolean force, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
NsGroups
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
public void delete(java.lang.String nsGroupId, java.lang.Boolean force, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NsGroups
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
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
delete
in interface NsGroups
nsGroupId
- NSGroup Id (required)force
- Force delete the resource even if it is being used somewhere (optional, default
to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public NSGroup get(java.lang.String nsGroupId, java.lang.Boolean populateReferences)
NsGroups
Synchronous method overload. Result of the invocation will be reported as a method return value.
public NSGroup get(java.lang.String nsGroupId, java.lang.Boolean populateReferences, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NsGroups
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void get(java.lang.String nsGroupId, java.lang.Boolean populateReferences, com.vmware.vapi.bindings.client.AsyncCallback<NSGroup> asyncCallback)
NsGroups
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.NSGroup
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void get(java.lang.String nsGroupId, java.lang.Boolean populateReferences, com.vmware.vapi.bindings.client.AsyncCallback<NSGroup> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NsGroups
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.NSGroup
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
get
in interface NsGroups
nsGroupId
- NSGroup Id (required)populateReferences
- Populate metadata of resource referenced by NSGroupExpressions (optional,
default to false)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public NSGroupListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.String memberTypes, java.lang.Long pageSize, java.lang.Boolean populateReferences, java.lang.Boolean sortAscending, java.lang.String sortBy)
NsGroups
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface NsGroups
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields
- Comma separated list of fields that should be included in query result
(optional)memberTypes
- Specify member types to filter corresponding NSGroups (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)populateReferences
- Populate metadata of resource referenced by NSGroupExpressions (optional,
default to false)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)public NSGroupListResult list(java.lang.String cursor, java.lang.String includedFields, java.lang.String memberTypes, java.lang.Long pageSize, java.lang.Boolean populateReferences, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NsGroups
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
list
in interface NsGroups
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields
- Comma separated list of fields that should be included in query result
(optional)memberTypes
- Specify member types to filter corresponding NSGroups (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)populateReferences
- Populate metadata of resource referenced by NSGroupExpressions (optional,
default to false)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)invocationConfig
- Configuration for the method invocation.public void list(java.lang.String cursor, java.lang.String includedFields, java.lang.String memberTypes, java.lang.Long pageSize, java.lang.Boolean populateReferences, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<NSGroupListResult> asyncCallback)
NsGroups
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.NSGroupListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface NsGroups
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields
- Comma separated list of fields that should be included in query result
(optional)memberTypes
- Specify member types to filter corresponding NSGroups (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)populateReferences
- Populate metadata of resource referenced by NSGroupExpressions (optional,
default to false)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void list(java.lang.String cursor, java.lang.String includedFields, java.lang.String memberTypes, java.lang.Long pageSize, java.lang.Boolean populateReferences, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<NSGroupListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NsGroups
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.NSGroupListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface NsGroups
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includedFields
- Comma separated list of fields that should be included in query result
(optional)memberTypes
- Specify member types to filter corresponding NSGroups (optional)pageSize
- Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)populateReferences
- Populate metadata of resource referenced by NSGroupExpressions (optional,
default to false)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.public NSGroup update(java.lang.String nsGroupId, NSGroup nsGroup)
NsGroups
Synchronous method overload. Result of the invocation will be reported as a method return value.
public NSGroup update(java.lang.String nsGroupId, NSGroup nsGroup, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NsGroups
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
public void update(java.lang.String nsGroupId, NSGroup nsGroup, com.vmware.vapi.bindings.client.AsyncCallback<NSGroup> asyncCallback)
NsGroups
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.NSGroup
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
public void update(java.lang.String nsGroupId, NSGroup nsGroup, com.vmware.vapi.bindings.client.AsyncCallback<NSGroup> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
NsGroups
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Use invocationConfig
to specify configuration for this particular invocation.
Invocation Result:
com.vmware.nsx.model.NSGroup
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found