次の方法で共有


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 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.

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.

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 ProjectInner get(String groupName, String serviceName, String projectName)

Get project information The project resource is a nested resource representing a stored migration project.

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.

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.

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.

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.

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.

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:

groupName - Name of the resource group.
serviceName - Name of the service.
projectName - Name of the project.
parameters - Information about the project.

Returns:

a project resource.

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:

groupName - Name of the resource group.
serviceName - Name of the service.
projectName - Name of the project.
parameters - Information about the project.
context - The context to associate with this operation.

Returns:

a project resource along with Response<T>.

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:

groupName - Name of the resource group.
serviceName - Name of the service.
projectName - Name of the project.

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:

groupName - Name of the resource group.
serviceName - Name of the service.
projectName - Name of the project.
deleteRunningTasks - Delete the resource even if it contains running tasks.
context - The context to associate with this operation.

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:

groupName - Name of the resource group.
serviceName - Name of the service.
projectName - Name of the project.

Returns:

a project resource.

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:

groupName - Name of the resource group.
serviceName - Name of the service.
projectName - Name of the project.
context - The context to associate with this operation.

Returns:

a project resource along with Response<T>.

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:

groupName - Name of the resource group.
serviceName - Name of the service.

Returns:

oData page of project resources as paginated response with PagedIterable<T>.

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:

groupName - Name of the resource group.
serviceName - Name of the service.
context - The context to associate with this operation.

Returns:

oData page of project resources as paginated response with PagedIterable<T>.

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:

groupName - Name of the resource group.
serviceName - Name of the service.
projectName - Name of the project.
parameters - Information about the project.

Returns:

a project resource.

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:

groupName - Name of the resource group.
serviceName - Name of the service.
projectName - Name of the project.
parameters - Information about the project.
context - The context to associate with this operation.

Returns:

a project resource along with Response<T>.

Applies to