次の方法で共有


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 SyncPoller<PollResult<ProjectInner>,ProjectInner> beginCreateOrUpdate(String resourceGroupName, String projectName, ProjectInner body)

Creates or updates a project.

abstract SyncPoller<PollResult<ProjectInner>,ProjectInner> beginCreateOrUpdate(String resourceGroupName, String projectName, ProjectInner body, Context context)

Creates or updates a project.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String projectName)

Deletes a project resource.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String projectName, Context context)

Deletes a project resource.

abstract SyncPoller<PollResult<ProjectInner>,ProjectInner> beginUpdate(String resourceGroupName, String projectName, ProjectUpdate body)

Partially updates a project.

abstract SyncPoller<PollResult<ProjectInner>,ProjectInner> beginUpdate(String resourceGroupName, String projectName, ProjectUpdate body, Context context)

Partially updates a project.

abstract ProjectInner createOrUpdate(String resourceGroupName, String projectName, ProjectInner body)

Creates or updates a project.

abstract ProjectInner createOrUpdate(String resourceGroupName, String projectName, ProjectInner body, Context context)

Creates or updates a project.

abstract void delete(String resourceGroupName, String projectName)

Deletes a project resource.

abstract void delete(String resourceGroupName, String projectName, Context context)

Deletes a project resource.

abstract ProjectInner getByResourceGroup(String resourceGroupName, String projectName)

Gets a specific project.

abstract Response<ProjectInner> getByResourceGroupWithResponse(String resourceGroupName, String projectName, Context context)

Gets a specific project.

abstract PagedIterable<ProjectInner> list()

Lists all projects in the subscription.

abstract PagedIterable<ProjectInner> list(Integer top, Context context)

Lists all projects in the subscription.

abstract PagedIterable<ProjectInner> listByResourceGroup(String resourceGroupName)

Lists all projects in the resource group.

abstract PagedIterable<ProjectInner> listByResourceGroup(String resourceGroupName, Integer top, Context context)

Lists all projects in the resource group.

abstract ProjectInner update(String resourceGroupName, String projectName, ProjectUpdate body)

Partially updates a project.

abstract ProjectInner update(String resourceGroupName, String projectName, ProjectUpdate body, Context context)

Partially updates a project.

Method Details

beginCreateOrUpdate

public abstract SyncPoller<PollResult<ProjectInner>,ProjectInner> beginCreateOrUpdate(String resourceGroupName, String projectName, ProjectInner body)

Creates or updates a project.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
body - Represents a project.

Returns:

the SyncPoller<T,U> for polling of represents a project resource.

beginCreateOrUpdate

public abstract SyncPoller<PollResult<ProjectInner>,ProjectInner> beginCreateOrUpdate(String resourceGroupName, String projectName, ProjectInner body, Context context)

Creates or updates a project.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
body - Represents a project.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of represents a project resource.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String projectName)

Deletes a project resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String projectName, Context context)

Deletes a project resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller<PollResult<ProjectInner>,ProjectInner> beginUpdate(String resourceGroupName, String projectName, ProjectUpdate body)

Partially updates a project.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
body - Updatable project properties.

Returns:

the SyncPoller<T,U> for polling of represents a project resource.

beginUpdate

public abstract SyncPoller<PollResult<ProjectInner>,ProjectInner> beginUpdate(String resourceGroupName, String projectName, ProjectUpdate body, Context context)

Partially updates a project.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
body - Updatable project properties.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of represents a project resource.

createOrUpdate

public abstract ProjectInner createOrUpdate(String resourceGroupName, String projectName, ProjectInner body)

Creates or updates a project.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
body - Represents a project.

Returns:

represents a project resource.

createOrUpdate

public abstract ProjectInner createOrUpdate(String resourceGroupName, String projectName, ProjectInner body, Context context)

Creates or updates a project.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
body - Represents a project.
context - The context to associate with this operation.

Returns:

represents a project resource.

delete

public abstract void delete(String resourceGroupName, String projectName)

Deletes a project resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.

delete

public abstract void delete(String resourceGroupName, String projectName, Context context)

Deletes a project resource.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
context - The context to associate with this operation.

getByResourceGroup

public abstract ProjectInner getByResourceGroup(String resourceGroupName, String projectName)

Gets a specific project.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.

Returns:

a specific project.

getByResourceGroupWithResponse

public abstract Response<ProjectInner> getByResourceGroupWithResponse(String resourceGroupName, String projectName, Context context)

Gets a specific project.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
context - The context to associate with this operation.

Returns:

a specific project along with Response<T>.

list

public abstract PagedIterable<ProjectInner> list()

Lists all projects in the subscription.

Returns:

results of the project list operation as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<ProjectInner> list(Integer top, Context context)

Lists all projects in the subscription.

Parameters:

top - The maximum number of resources to return from the operation. Example: '$top=10'.
context - The context to associate with this operation.

Returns:

results of the project list operation as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<ProjectInner> listByResourceGroup(String resourceGroupName)

Lists all projects in the resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.

Returns:

results of the project list operation as paginated response with PagedIterable<T>.

listByResourceGroup

public abstract PagedIterable<ProjectInner> listByResourceGroup(String resourceGroupName, Integer top, Context context)

Lists all projects in the resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
top - The maximum number of resources to return from the operation. Example: '$top=10'.
context - The context to associate with this operation.

Returns:

results of the project list operation as paginated response with PagedIterable<T>.

update

public abstract ProjectInner update(String resourceGroupName, String projectName, ProjectUpdate body)

Partially updates a project.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
body - Updatable project properties.

Returns:

represents a project resource.

update

public abstract ProjectInner update(String resourceGroupName, String projectName, ProjectUpdate body, Context context)

Partially updates a project.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
projectName - The name of the project.
body - Updatable project properties.
context - The context to associate with this operation.

Returns:

represents a project resource.

Applies to