public class ScopeAssociationsStub extends com.vmware.vapi.internal.bindings.Stub implements ScopeAssociations
ScopeAssociations
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext
_VAPI_SERVICE_ID, LIST_DISCOVERED_RESOURCE_TYPE_COMPUTECOLLECTION, LIST_DISCOVERED_RESOURCE_TYPE_VIRTUALMACHINE, LIST_SCOPE_TYPE_PROJECT, LIST_SCOPE_TYPE_VPC
Constructor and Description |
---|
ScopeAssociationsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ScopeAssociationsStub(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 |
---|---|
void |
add(ScopeAssociationList scopeAssociationList)
Add scope associations for discovered resources
|
void |
add(ScopeAssociationList scopeAssociationList,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Add scope associations for discovered resources
|
void |
add(ScopeAssociationList scopeAssociationList,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Add scope associations for discovered resources
|
void |
add(ScopeAssociationList scopeAssociationList,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Add scope associations for discovered resources
|
void |
delete(ScopeAssociationList scopeAssociationList)
Delete scope associations for discovered resources
|
void |
delete(ScopeAssociationList scopeAssociationList,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete scope associations for discovered resources
|
void |
delete(ScopeAssociationList scopeAssociationList,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete scope associations for discovered resources
|
void |
delete(ScopeAssociationList scopeAssociationList,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete scope associations for discovered resources
|
ScopeAssociationListResult |
list(java.lang.String cursor,
java.lang.String discoveredResourceExternalId,
java.lang.String discoveredResourceType,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.String scopeId,
java.lang.String scopeType,
java.lang.Boolean sortAscending,
java.lang.String sortBy)
Retrieve scope associations for discovered resources
|
void |
list(java.lang.String cursor,
java.lang.String discoveredResourceExternalId,
java.lang.String discoveredResourceType,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.String scopeId,
java.lang.String scopeType,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<ScopeAssociationListResult> asyncCallback)
Retrieve scope associations for discovered resources
|
void |
list(java.lang.String cursor,
java.lang.String discoveredResourceExternalId,
java.lang.String discoveredResourceType,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.String scopeId,
java.lang.String scopeType,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<ScopeAssociationListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Retrieve scope associations for discovered resources
|
ScopeAssociationListResult |
list(java.lang.String cursor,
java.lang.String discoveredResourceExternalId,
java.lang.String discoveredResourceType,
java.lang.String includedFields,
java.lang.Long pageSize,
java.lang.String scopeId,
java.lang.String scopeType,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Retrieve scope associations for discovered resources
|
public ScopeAssociationsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.internal.bindings.TypeConverter typeConverter, com.vmware.vapi.bindings.StubConfigurationBase config)
public ScopeAssociationsStub(com.vmware.vapi.core.ApiProvider apiProvider, com.vmware.vapi.bindings.StubConfigurationBase config)
public void add(ScopeAssociationList scopeAssociationList)
ScopeAssociations
Synchronous method overload. Result of the invocation will be reported as a method return value.
add
in interface ScopeAssociations
scopeAssociationList
- (required)public void add(ScopeAssociationList scopeAssociationList, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ScopeAssociations
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
add
in interface ScopeAssociations
scopeAssociationList
- (required)invocationConfig
- Configuration for the method invocation.public void add(ScopeAssociationList scopeAssociationList, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ScopeAssociations
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
add
in interface ScopeAssociations
scopeAssociationList
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void add(ScopeAssociationList scopeAssociationList, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ScopeAssociations
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
add
in interface ScopeAssociations
scopeAssociationList
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public void delete(ScopeAssociationList scopeAssociationList)
ScopeAssociations
Synchronous method overload. Result of the invocation will be reported as a method return value.
delete
in interface ScopeAssociations
scopeAssociationList
- (required)public void delete(ScopeAssociationList scopeAssociationList, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ScopeAssociations
Synchronous method overload. Result of the invocation will be
reported as a method return value.
Use invocationConfig
to specify configuration for this particular invocation.
delete
in interface ScopeAssociations
scopeAssociationList
- (required)invocationConfig
- Configuration for the method invocation.public void delete(ScopeAssociationList scopeAssociationList, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ScopeAssociations
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
delete
in interface ScopeAssociations
scopeAssociationList
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.public void delete(ScopeAssociationList scopeAssociationList, com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ScopeAssociations
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 ScopeAssociations
scopeAssociationList
- (required)asyncCallback
- Receives the status (progress, result or error) of the operation invocation.invocationConfig
- Configuration for the method invocation.public ScopeAssociationListResult list(java.lang.String cursor, java.lang.String discoveredResourceExternalId, java.lang.String discoveredResourceType, java.lang.String includedFields, java.lang.Long pageSize, java.lang.String scopeId, java.lang.String scopeType, java.lang.Boolean sortAscending, java.lang.String sortBy)
ScopeAssociations
Synchronous method overload. Result of the invocation will be reported as a method return value.
list
in interface ScopeAssociations
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)discoveredResourceExternalId
- External id of the discovered resource (optional)discoveredResourceType
- Type of the discovered resource (optional)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)scopeId
- Id of the associated scope (optional)scopeType
- Type of the associated scope (optional)sortAscending
- (optional)sortBy
- Field by which records are sorted (optional)public ScopeAssociationListResult list(java.lang.String cursor, java.lang.String discoveredResourceExternalId, java.lang.String discoveredResourceType, java.lang.String includedFields, java.lang.Long pageSize, java.lang.String scopeId, java.lang.String scopeType, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ScopeAssociations
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 ScopeAssociations
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)discoveredResourceExternalId
- External id of the discovered resource (optional)discoveredResourceType
- Type of the discovered resource (optional)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)scopeId
- Id of the associated scope (optional)scopeType
- Type of the associated scope (optional)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 discoveredResourceExternalId, java.lang.String discoveredResourceType, java.lang.String includedFields, java.lang.Long pageSize, java.lang.String scopeId, java.lang.String scopeType, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<ScopeAssociationListResult> asyncCallback)
ScopeAssociations
Asynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback
.
Invocation Result:
com.vmware.nsx.model.ScopeAssociationListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface ScopeAssociations
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)discoveredResourceExternalId
- External id of the discovered resource (optional)discoveredResourceType
- Type of the discovered resource (optional)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)scopeId
- Id of the associated scope (optional)scopeType
- Type of the associated scope (optional)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 discoveredResourceExternalId, java.lang.String discoveredResourceType, java.lang.String includedFields, java.lang.Long pageSize, java.lang.String scopeId, java.lang.String scopeType, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.AsyncCallback<ScopeAssociationListResult> asyncCallback, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ScopeAssociations
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.ScopeAssociationListResult
Operation Errors:
InvalidRequest
- Bad Request, Precondition Failed
Unauthorized
- Forbidden
ServiceUnavailable
- Service Unavailable
InternalServerError
- Internal Server Error
NotFound
- Not Found
list
in interface ScopeAssociations
cursor
- Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)discoveredResourceExternalId
- External id of the discovered resource (optional)discoveredResourceType
- Type of the discovered resource (optional)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)scopeId
- Id of the associated scope (optional)scopeType
- Type of the associated scope (optional)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.