ProjectsOperations interface

Interface representing a Projects operations.

Properties

beginCreate
beginCreateAndWait
beginDelete
beginDeleteAndWait
beginUpdate
beginUpdateAndWait
create

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.

delete

Deletes a Cognitive Services project from the resource group.

get

Returns a Cognitive Services project specified by the parameters.

list

Returns all the projects in a Cognitive Services account.

update

Updates a Cognitive Services Project

Property Details

beginCreate

Warning

This API is now deprecated.

use create instead

beginCreate: (resourceGroupName: string, accountName: string, projectName: string, project: Project, options?: ProjectsCreateOptionalParams) => Promise<SimplePollerLike<OperationState<Project>, Project>>

Property Value

(resourceGroupName: string, accountName: string, projectName: string, project: Project, options?: ProjectsCreateOptionalParams) => Promise<SimplePollerLike<OperationState<Project>, Project>>

beginCreateAndWait

Warning

This API is now deprecated.

use create instead

beginCreateAndWait: (resourceGroupName: string, accountName: string, projectName: string, project: Project, options?: ProjectsCreateOptionalParams) => Promise<Project>

Property Value

(resourceGroupName: string, accountName: string, projectName: string, project: Project, options?: ProjectsCreateOptionalParams) => Promise<Project>

beginDelete

Warning

This API is now deprecated.

use delete instead

beginDelete: (resourceGroupName: string, accountName: string, projectName: string, options?: ProjectsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

Property Value

(resourceGroupName: string, accountName: string, projectName: string, options?: ProjectsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

Warning

This API is now deprecated.

use delete instead

beginDeleteAndWait: (resourceGroupName: string, accountName: string, projectName: string, options?: ProjectsDeleteOptionalParams) => Promise<void>

Property Value

(resourceGroupName: string, accountName: string, projectName: string, options?: ProjectsDeleteOptionalParams) => Promise<void>

beginUpdate

Warning

This API is now deprecated.

use update instead

beginUpdate: (resourceGroupName: string, accountName: string, projectName: string, project: Project, options?: ProjectsUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Project>, Project>>

Property Value

(resourceGroupName: string, accountName: string, projectName: string, project: Project, options?: ProjectsUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<Project>, Project>>

beginUpdateAndWait

Warning

This API is now deprecated.

use update instead

beginUpdateAndWait: (resourceGroupName: string, accountName: string, projectName: string, project: Project, options?: ProjectsUpdateOptionalParams) => Promise<Project>

Property Value

(resourceGroupName: string, accountName: string, projectName: string, project: Project, options?: ProjectsUpdateOptionalParams) => Promise<Project>

create

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.

create: (resourceGroupName: string, accountName: string, projectName: string, project: Project, options?: ProjectsCreateOptionalParams) => PollerLike<OperationState<Project>, Project>

Property Value

(resourceGroupName: string, accountName: string, projectName: string, project: Project, options?: ProjectsCreateOptionalParams) => PollerLike<OperationState<Project>, Project>

delete

Deletes a Cognitive Services project from the resource group.

delete: (resourceGroupName: string, accountName: string, projectName: string, options?: ProjectsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, accountName: string, projectName: string, options?: ProjectsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

Returns a Cognitive Services project specified by the parameters.

get: (resourceGroupName: string, accountName: string, projectName: string, options?: ProjectsGetOptionalParams) => Promise<Project>

Property Value

(resourceGroupName: string, accountName: string, projectName: string, options?: ProjectsGetOptionalParams) => Promise<Project>

list

Returns all the projects in a Cognitive Services account.

list: (resourceGroupName: string, accountName: string, options?: ProjectsListOptionalParams) => PagedAsyncIterableIterator<Project, Project[], PageSettings>

Property Value

(resourceGroupName: string, accountName: string, options?: ProjectsListOptionalParams) => PagedAsyncIterableIterator<Project, Project[], PageSettings>

update

Updates a Cognitive Services Project

update: (resourceGroupName: string, accountName: string, projectName: string, project: Project, options?: ProjectsUpdateOptionalParams) => PollerLike<OperationState<Project>, Project>

Property Value

(resourceGroupName: string, accountName: string, projectName: string, project: Project, options?: ProjectsUpdateOptionalParams) => PollerLike<OperationState<Project>, Project>