Projects Interface
public interface Projects
Resource collection API of Projects.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract Blank |
define(String name)
Begins definition for a new Project resource. |
| abstract void |
delete(String groupName, String serviceName, String projectName)
Delete project The project resource is a nested resource representing a stored migration project. |
| abstract void |
deleteById(String id)
Delete project The project resource is a nested resource representing a stored migration project. |
| abstract Response<Void> |
deleteByIdWithResponse(String id, Boolean deleteRunningTasks, Context context)
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 Project |
getById(String id)
Get project information The project resource is a nested resource representing a stored migration project. |
| abstract Response<Project> |
getByIdWithResponse(String id, Context context)
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. |
Method Details
define
public abstract Project.DefinitionStages.Blank define(String name)
Begins definition for a new Project resource.
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:
deleteById
public abstract void deleteById(String id)
Delete project The project resource is a nested resource representing a stored migration project. The DELETE method deletes a project.
Parameters:
deleteByIdWithResponse
public abstract Response<Void> deleteByIdWithResponse(String id, 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:
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 Project 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:
getById
public abstract Project getById(String id)
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:
getByIdWithResponse
public abstract Response<Project> getByIdWithResponse(String id, 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:
getWithResponse
public 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. The GET method retrieves information about a project.
Parameters:
Returns:
list
public abstract PagedIterable<Project> 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<Project> 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: