public class ProjectsStub extends com.vmware.vapi.internal.bindings.Stub implements Projects
Projects
API service.
WARNING: Internal class, subject to change in future versions.
apiProvider, converter, ifaceId, retryPolicy, securityContext_VAPI_SERVICE_ID| Constructor and Description |
|---|
ProjectsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config) |
ProjectsStub(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 |
delete(java.lang.String orgId,
java.lang.String projectId,
java.lang.Boolean isRecursive)
Delete PROJECT.
|
void |
delete(java.lang.String orgId,
java.lang.String projectId,
java.lang.Boolean isRecursive,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
Delete PROJECT.
|
void |
delete(java.lang.String orgId,
java.lang.String projectId,
java.lang.Boolean isRecursive,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete PROJECT.
|
void |
delete(java.lang.String orgId,
java.lang.String projectId,
java.lang.Boolean isRecursive,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Delete PROJECT.
|
Project |
get(java.lang.String orgId,
java.lang.String projectId,
java.lang.Boolean shortFormat)
Get PROJECT
|
void |
get(java.lang.String orgId,
java.lang.String projectId,
java.lang.Boolean shortFormat,
com.vmware.vapi.bindings.client.AsyncCallback<Project> asyncCallback)
Get PROJECT
|
void |
get(java.lang.String orgId,
java.lang.String projectId,
java.lang.Boolean shortFormat,
com.vmware.vapi.bindings.client.AsyncCallback<Project> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get PROJECT
|
Project |
get(java.lang.String orgId,
java.lang.String projectId,
java.lang.Boolean shortFormat,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Get PROJECT
|
ProjectListResult |
list(java.lang.String orgId,
java.lang.String cursor,
java.lang.Boolean includeMarkForDeleteObjects,
java.lang.String includedFields,
java.lang.String instanceId,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy)
Paginated list of Project.
|
void |
list(java.lang.String orgId,
java.lang.String cursor,
java.lang.Boolean includeMarkForDeleteObjects,
java.lang.String includedFields,
java.lang.String instanceId,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<ProjectListResult> asyncCallback)
Paginated list of Project.
|
void |
list(java.lang.String orgId,
java.lang.String cursor,
java.lang.Boolean includeMarkForDeleteObjects,
java.lang.String includedFields,
java.lang.String instanceId,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<ProjectListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Paginated list of Project.
|
ProjectListResult |
list(java.lang.String orgId,
java.lang.String cursor,
java.lang.Boolean includeMarkForDeleteObjects,
java.lang.String includedFields,
java.lang.String instanceId,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Paginated list of Project.
|
void |
patch(java.lang.String orgId,
java.lang.String projectId,
Project project)
If a Project with the project-id is not already present, create a new Project.
|
void |
patch(java.lang.String orgId,
java.lang.String projectId,
Project project,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
If a Project with the project-id is not already present, create a new Project.
|
void |
patch(java.lang.String orgId,
java.lang.String projectId,
Project project,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If a Project with the project-id is not already present, create a new Project.
|
void |
patch(java.lang.String orgId,
java.lang.String projectId,
Project project,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
If a Project with the project-id is not already present, create a new Project.
|
Project |
update(java.lang.String orgId,
java.lang.String projectId,
Project project)
Update the Project.
|
void |
update(java.lang.String orgId,
java.lang.String projectId,
Project project,
com.vmware.vapi.bindings.client.AsyncCallback<Project> asyncCallback)
Update the Project.
|
void |
update(java.lang.String orgId,
java.lang.String projectId,
Project project,
com.vmware.vapi.bindings.client.AsyncCallback<Project> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update the Project.
|
Project |
update(java.lang.String orgId,
java.lang.String projectId,
Project project,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
Update the Project.
|
public ProjectsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.internal.bindings.TypeConverter typeConverter,
com.vmware.vapi.bindings.StubConfigurationBase config)
public ProjectsStub(com.vmware.vapi.core.ApiProvider apiProvider,
com.vmware.vapi.bindings.StubConfigurationBase config)
public void delete(java.lang.String orgId,
java.lang.String projectId,
java.lang.Boolean isRecursive)
ProjectsSynchronous method overload. Result of the invocation will be reported as a method return value.
public void delete(java.lang.String orgId,
java.lang.String projectId,
java.lang.Boolean isRecursive,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ProjectsSynchronous 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 orgId,
java.lang.String projectId,
java.lang.Boolean isRecursive,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ProjectsAsynchronous 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 orgId,
java.lang.String projectId,
java.lang.Boolean isRecursive,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ProjectsAsynchronous 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 ProjectsorgId - (required)projectId - (required)isRecursive - Recursively delete entire project tree. (optional, default to false)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public Project get(java.lang.String orgId, java.lang.String projectId, java.lang.Boolean shortFormat)
ProjectsSynchronous method overload. Result of the invocation will be reported as a method return value.
public Project get(java.lang.String orgId, java.lang.String projectId, java.lang.Boolean shortFormat, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ProjectsSynchronous 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 orgId,
java.lang.String projectId,
java.lang.Boolean shortFormat,
com.vmware.vapi.bindings.client.AsyncCallback<Project> asyncCallback)
ProjectsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx_policy.model.Project
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 orgId,
java.lang.String projectId,
java.lang.Boolean shortFormat,
com.vmware.vapi.bindings.client.AsyncCallback<Project> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ProjectsAsynchronous 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_policy.model.Project
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
get in interface ProjectsorgId - (required)projectId - (required)shortFormat - Project API response is brief or descriptive (optional, default to false)asyncCallback - Receives the status (progress, result or error) of the operation invocation.invocationConfig - Configuration for the method invocation.public ProjectListResult list(java.lang.String orgId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.String instanceId, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy)
ProjectsSynchronous method overload. Result of the invocation will be reported as a method return value.
list in interface ProjectsorgId - (required)cursor - Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includeMarkForDeleteObjects - Include objects that are marked for deletion in results (optional, default to
false)includedFields - Comma separated list of fields that should be included in query result
(optional)instanceId - Instance id of NSX+ where to route this request to. (optional)pageSize - Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending - (optional)sortBy - Field by which records are sorted (optional)public ProjectListResult list(java.lang.String orgId, java.lang.String cursor, java.lang.Boolean includeMarkForDeleteObjects, java.lang.String includedFields, java.lang.String instanceId, java.lang.Long pageSize, java.lang.Boolean sortAscending, java.lang.String sortBy, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ProjectsSynchronous 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 ProjectsorgId - (required)cursor - Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includeMarkForDeleteObjects - Include objects that are marked for deletion in results (optional, default to
false)includedFields - Comma separated list of fields that should be included in query result
(optional)instanceId - Instance id of NSX+ where to route this request to. (optional)pageSize - Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)sortAscending - (optional)sortBy - Field by which records are sorted (optional)invocationConfig - Configuration for the method invocation.public void list(java.lang.String orgId,
java.lang.String cursor,
java.lang.Boolean includeMarkForDeleteObjects,
java.lang.String includedFields,
java.lang.String instanceId,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<ProjectListResult> asyncCallback)
ProjectsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx_policy.model.ProjectListResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
list in interface ProjectsorgId - (required)cursor - Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includeMarkForDeleteObjects - Include objects that are marked for deletion in results (optional, default to
false)includedFields - Comma separated list of fields that should be included in query result
(optional)instanceId - Instance id of NSX+ where to route this request to. (optional)pageSize - Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)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 orgId,
java.lang.String cursor,
java.lang.Boolean includeMarkForDeleteObjects,
java.lang.String includedFields,
java.lang.String instanceId,
java.lang.Long pageSize,
java.lang.Boolean sortAscending,
java.lang.String sortBy,
com.vmware.vapi.bindings.client.AsyncCallback<ProjectListResult> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ProjectsAsynchronous 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_policy.model.ProjectListResult
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found
list in interface ProjectsorgId - (required)cursor - Opaque cursor to be used for getting next page of records (supplied by current
result page) (optional)includeMarkForDeleteObjects - Include objects that are marked for deletion in results (optional, default to
false)includedFields - Comma separated list of fields that should be included in query result
(optional)instanceId - Instance id of NSX+ where to route this request to. (optional)pageSize - Maximum number of results to return in this page (server may return fewer)
(optional, default to 1000)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 void patch(java.lang.String orgId,
java.lang.String projectId,
Project project)
ProjectsSynchronous method overload. Result of the invocation will be reported as a method return value.
public void patch(java.lang.String orgId,
java.lang.String projectId,
Project project,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ProjectsSynchronous 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 patch(java.lang.String orgId,
java.lang.String projectId,
Project project,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback)
ProjectsAsynchronous 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 patch(java.lang.String orgId,
java.lang.String projectId,
Project project,
com.vmware.vapi.bindings.client.AsyncCallback<java.lang.Void> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ProjectsAsynchronous 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
public Project update(java.lang.String orgId, java.lang.String projectId, Project project)
ProjectsSynchronous method overload. Result of the invocation will be reported as a method return value.
public Project update(java.lang.String orgId, java.lang.String projectId, Project project, com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ProjectsSynchronous 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 orgId,
java.lang.String projectId,
Project project,
com.vmware.vapi.bindings.client.AsyncCallback<Project> asyncCallback)
ProjectsAsynchronous method overload. Result of the invocation will be
reported via the specified asyncCallback.
Invocation Result:
com.vmware.nsx_policy.model.Project
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 orgId,
java.lang.String projectId,
Project project,
com.vmware.vapi.bindings.client.AsyncCallback<Project> asyncCallback,
com.vmware.vapi.bindings.client.InvocationConfig invocationConfig)
ProjectsAsynchronous 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_policy.model.Project
Operation Errors:
InvalidRequest - Bad Request, Precondition Failed
Unauthorized - Forbidden
ServiceUnavailable - Service Unavailable
InternalServerError - Internal Server Error
NotFound - Not Found