Share via


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> beginCreate(String resourceGroupName, String accountName, String projectName, ProjectInner project)

Create Cognitive Services Account's Project.

abstract SyncPoller<PollResult<ProjectInner>,ProjectInner> beginCreate(String resourceGroupName, String accountName, String projectName, ProjectInner project, Context context)

Create Cognitive Services Account's Project.

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

Deletes a Cognitive Services project from the resource group.

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

Deletes a Cognitive Services project from the resource group.

abstract SyncPoller<PollResult<ProjectInner>,ProjectInner> beginUpdate(String resourceGroupName, String accountName, String projectName, ProjectInner project)

Updates a Cognitive Services Project.

abstract SyncPoller<PollResult<ProjectInner>,ProjectInner> beginUpdate(String resourceGroupName, String accountName, String projectName, ProjectInner project, Context context)

Updates a Cognitive Services Project.

abstract ProjectInner create(String resourceGroupName, String accountName, String projectName, ProjectInner project)

Create Cognitive Services Account's Project.

abstract ProjectInner create(String resourceGroupName, String accountName, String projectName, ProjectInner project, Context context)

Create Cognitive Services Account's Project.

abstract void delete(String resourceGroupName, String accountName, String projectName)

Deletes a Cognitive Services project from the resource group.

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

Deletes a Cognitive Services project from the resource group.

abstract ProjectInner get(String resourceGroupName, String accountName, String projectName)

Returns a Cognitive Services project specified by the parameters.

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

Returns a Cognitive Services project specified by the parameters.

abstract PagedIterable<ProjectInner> list(String resourceGroupName, String accountName)

Returns all the projects in a Cognitive Services account.

abstract PagedIterable<ProjectInner> list(String resourceGroupName, String accountName, Context context)

Returns all the projects in a Cognitive Services account.

abstract ProjectInner update(String resourceGroupName, String accountName, String projectName, ProjectInner project)

Updates a Cognitive Services Project.

abstract ProjectInner update(String resourceGroupName, String accountName, String projectName, ProjectInner project, Context context)

Updates a Cognitive Services Project.

Method Details

beginCreate

public abstract SyncPoller<PollResult<ProjectInner>,ProjectInner> beginCreate(String resourceGroupName, String accountName, String projectName, ProjectInner project)

Create Cognitive Services Account's Project. Project is a sub-resource of an account which give AI developer it's individual container to work on.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of Cognitive Services account.
projectName - The name of Cognitive Services account's project.
project - The parameters to provide for the created project.

Returns:

the SyncPoller<T,U> for polling of cognitive Services project is an Azure resource representing the provisioned account's project, it's type, location and SKU.

beginCreate

public abstract SyncPoller<PollResult<ProjectInner>,ProjectInner> beginCreate(String resourceGroupName, String accountName, String projectName, ProjectInner project, Context context)

Create Cognitive Services Account's Project. Project is a sub-resource of an account which give AI developer it's individual container to work on.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of Cognitive Services account.
projectName - The name of Cognitive Services account's project.
project - The parameters to provide for the created project.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of cognitive Services project is an Azure resource representing the provisioned account's project, it's type, location and SKU.

beginDelete

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

Deletes a Cognitive Services project from the resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of Cognitive Services account.
projectName - The name of Cognitive Services account's project.

Returns:

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

beginDelete

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

Deletes a Cognitive Services project from the resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of Cognitive Services account.
projectName - The name of Cognitive Services account's 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 accountName, String projectName, ProjectInner project)

Updates a Cognitive Services Project.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of Cognitive Services account.
projectName - The name of Cognitive Services account's project.
project - The parameters to provide for the created project.

Returns:

the SyncPoller<T,U> for polling of cognitive Services project is an Azure resource representing the provisioned account's project, it's type, location and SKU.

beginUpdate

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

Updates a Cognitive Services Project.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of Cognitive Services account.
projectName - The name of Cognitive Services account's project.
project - The parameters to provide for the created project.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of cognitive Services project is an Azure resource representing the provisioned account's project, it's type, location and SKU.

create

public abstract ProjectInner create(String resourceGroupName, String accountName, String projectName, ProjectInner project)

Create Cognitive Services Account's Project. Project is a sub-resource of an account which give AI developer it's individual container to work on.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of Cognitive Services account.
projectName - The name of Cognitive Services account's project.
project - The parameters to provide for the created project.

Returns:

cognitive Services project is an Azure resource representing the provisioned account's project, it's type, location and SKU.

create

public abstract ProjectInner create(String resourceGroupName, String accountName, String projectName, ProjectInner project, Context context)

Create Cognitive Services Account's Project. Project is a sub-resource of an account which give AI developer it's individual container to work on.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of Cognitive Services account.
projectName - The name of Cognitive Services account's project.
project - The parameters to provide for the created project.
context - The context to associate with this operation.

Returns:

cognitive Services project is an Azure resource representing the provisioned account's project, it's type, location and SKU.

delete

public abstract void delete(String resourceGroupName, String accountName, String projectName)

Deletes a Cognitive Services project from the resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of Cognitive Services account.
projectName - The name of Cognitive Services account's project.

delete

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

Deletes a Cognitive Services project from the resource group.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of Cognitive Services account.
projectName - The name of Cognitive Services account's project.
context - The context to associate with this operation.

get

public abstract ProjectInner get(String resourceGroupName, String accountName, String projectName)

Returns a Cognitive Services project specified by the parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of Cognitive Services account.
projectName - The name of Cognitive Services account's project.

Returns:

cognitive Services project is an Azure resource representing the provisioned account's project, it's type, location and SKU.

getWithResponse

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

Returns a Cognitive Services project specified by the parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of Cognitive Services account.
projectName - The name of Cognitive Services account's project.
context - The context to associate with this operation.

Returns:

cognitive Services project is an Azure resource representing the provisioned account's project, it's type, location and SKU along with Response<T>.

list

public abstract PagedIterable<ProjectInner> list(String resourceGroupName, String accountName)

Returns all the projects in a Cognitive Services account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of Cognitive Services account.

Returns:

the list of cognitive services projects operation response as paginated response with PagedIterable<T>.

list

public abstract PagedIterable<ProjectInner> list(String resourceGroupName, String accountName, Context context)

Returns all the projects in a Cognitive Services account.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of Cognitive Services account.
context - The context to associate with this operation.

Returns:

the list of cognitive services projects operation response as paginated response with PagedIterable<T>.

update

public abstract ProjectInner update(String resourceGroupName, String accountName, String projectName, ProjectInner project)

Updates a Cognitive Services Project.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of Cognitive Services account.
projectName - The name of Cognitive Services account's project.
project - The parameters to provide for the created project.

Returns:

cognitive Services project is an Azure resource representing the provisioned account's project, it's type, location and SKU.

update

public abstract ProjectInner update(String resourceGroupName, String accountName, String projectName, ProjectInner project, Context context)

Updates a Cognitive Services Project.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
accountName - The name of Cognitive Services account.
projectName - The name of Cognitive Services account's project.
project - The parameters to provide for the created project.
context - The context to associate with this operation.

Returns:

cognitive Services project is an Azure resource representing the provisioned account's project, it's type, location and SKU.

Applies to