ProjectsClient Interface
public interface ProjectsClient
An instance of this class provides access to all the operations defined in ProjectsClient.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
abstract
Project |
createOrUpdate(String groupName, String serviceName, String projectName, ProjectInner parameters)
Create or update project The project resource is a nested resource representing a stored migration project. |
|
abstract
Response<Project |
createOrUpdateWithResponse(String groupName, String serviceName, String projectName, ProjectInner parameters, Context context)
Create or update project The project resource is a nested resource representing a stored migration project. |
| abstract void |
delete(String groupName, String serviceName, String projectName)
Delete project The project resource is a nested resource representing a stored migration project. |
| abstract Response<Void> |
deleteWithResponse(String groupName, String serviceName, String projectName, Boolean deleteRunningTasks, Context context)
Delete project The project resource is a nested resource representing a stored migration project. |
|
abstract
Project |
get(String groupName, String serviceName, String projectName)
Get project information The project resource is a nested resource representing a stored migration project. |
|
abstract
Response<Project |
getWithResponse(String groupName, String serviceName, String projectName, Context context)
Get project information The project resource is a nested resource representing a stored migration project. |
|
abstract
Paged |
list(String groupName, String serviceName)
Get projects in a service The project resource is a nested resource representing a stored migration project. |
|
abstract
Paged |
list(String groupName, String serviceName, Context context)
Get projects in a service The project resource is a nested resource representing a stored migration project. |
|
abstract
Project |
update(String groupName, String serviceName, String projectName, ProjectInner parameters)
Update project The project resource is a nested resource representing a stored migration project. |
|
abstract
Response<Project |
updateWithResponse(String groupName, String serviceName, String projectName, ProjectInner parameters, Context context)
Update project The project resource is a nested resource representing a stored migration project. |
Method Details
createOrUpdate
public abstract ProjectInner createOrUpdate(String groupName, String serviceName, String projectName, ProjectInner parameters)
Create or update project The project resource is a nested resource representing a stored migration project. The PUT method creates a new project or updates an existing one.
Parameters:
Returns:
createOrUpdateWithResponse
public abstract Response<ProjectInner> createOrUpdateWithResponse(String groupName, String serviceName, String projectName, ProjectInner parameters, Context context)
Create or update project The project resource is a nested resource representing a stored migration project. The PUT method creates a new project or updates an existing one.
Parameters:
Returns:
delete
public abstract void delete(String groupName, String serviceName, String projectName)
Delete project The project resource is a nested resource representing a stored migration project. The DELETE method deletes a project.
Parameters:
deleteWithResponse
public abstract Response<Void> deleteWithResponse(String groupName, String serviceName, String projectName, Boolean deleteRunningTasks, Context context)
Delete project The project resource is a nested resource representing a stored migration project. The DELETE method deletes a project.
Parameters:
Returns:
get
public abstract ProjectInner get(String groupName, String serviceName, String projectName)
Get project information The project resource is a nested resource representing a stored migration project. The GET method retrieves information about a project.
Parameters:
Returns:
getWithResponse
public abstract Response<ProjectInner> getWithResponse(String groupName, String serviceName, String projectName, Context context)
Get project information The project resource is a nested resource representing a stored migration project. The GET method retrieves information about a project.
Parameters:
Returns:
list
public abstract PagedIterable<ProjectInner> list(String groupName, String serviceName)
Get projects in a service The project resource is a nested resource representing a stored migration project. This method returns a list of projects owned by a service resource.
Parameters:
Returns:
list
public abstract PagedIterable<ProjectInner> list(String groupName, String serviceName, Context context)
Get projects in a service The project resource is a nested resource representing a stored migration project. This method returns a list of projects owned by a service resource.
Parameters:
Returns:
update
public abstract ProjectInner update(String groupName, String serviceName, String projectName, ProjectInner parameters)
Update project The project resource is a nested resource representing a stored migration project. The PATCH method updates an existing project.
Parameters:
Returns:
updateWithResponse
public abstract Response<ProjectInner> updateWithResponse(String groupName, String serviceName, String projectName, ProjectInner parameters, Context context)
Update project The project resource is a nested resource representing a stored migration project. The PATCH method updates an existing project.
Parameters:
Returns: