Projects interface

Interface representing a Projects.

Methods

beginDelete(string, string, string, ProjectsDeleteOptionalParams)

Deletes a Project resource.

beginDeleteAndWait(string, string, string, ProjectsDeleteOptionalParams)

Deletes a Project resource.

createOrUpdate(string, string, string, Project, ProjectsCreateOrUpdateOptionalParams)

Creates or updates a Project resource, which is a logical grouping of related jobs.

get(string, string, string, ProjectsGetOptionalParams)

Gets a Project resource.

list(string, string, ProjectsListOptionalParams)

Lists all Projects in a Storage Mover.

update(string, string, string, ProjectUpdateParameters, ProjectsUpdateOptionalParams)

Updates properties for a Project resource. Properties not specified in the request body will be unchanged.

Method Details

beginDelete(string, string, string, ProjectsDeleteOptionalParams)

Deletes a Project resource.

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

Parameters

resourceGroupName

string

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

storageMoverName

string

The name of the Storage Mover resource.

projectName

string

The name of the Project resource.

options
ProjectsDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, ProjectsDeleteOptionalParams)

Deletes a Project resource.

function beginDeleteAndWait(resourceGroupName: string, storageMoverName: string, projectName: string, options?: ProjectsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

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

storageMoverName

string

The name of the Storage Mover resource.

projectName

string

The name of the Project resource.

options
ProjectsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

createOrUpdate(string, string, string, Project, ProjectsCreateOrUpdateOptionalParams)

Creates or updates a Project resource, which is a logical grouping of related jobs.

function createOrUpdate(resourceGroupName: string, storageMoverName: string, projectName: string, project: Project, options?: ProjectsCreateOrUpdateOptionalParams): Promise<Project>

Parameters

resourceGroupName

string

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

storageMoverName

string

The name of the Storage Mover resource.

projectName

string

The name of the Project resource.

project
Project

The Project resource.

options
ProjectsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<Project>

get(string, string, string, ProjectsGetOptionalParams)

Gets a Project resource.

function get(resourceGroupName: string, storageMoverName: string, projectName: string, options?: ProjectsGetOptionalParams): Promise<Project>

Parameters

resourceGroupName

string

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

storageMoverName

string

The name of the Storage Mover resource.

projectName

string

The name of the Project resource.

options
ProjectsGetOptionalParams

The options parameters.

Returns

Promise<Project>

list(string, string, ProjectsListOptionalParams)

Lists all Projects in a Storage Mover.

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

Parameters

resourceGroupName

string

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

storageMoverName

string

The name of the Storage Mover resource.

options
ProjectsListOptionalParams

The options parameters.

Returns

update(string, string, string, ProjectUpdateParameters, ProjectsUpdateOptionalParams)

Updates properties for a Project resource. Properties not specified in the request body will be unchanged.

function update(resourceGroupName: string, storageMoverName: string, projectName: string, project: ProjectUpdateParameters, options?: ProjectsUpdateOptionalParams): Promise<Project>

Parameters

resourceGroupName

string

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

storageMoverName

string

The name of the Storage Mover resource.

projectName

string

The name of the Project resource.

project
ProjectUpdateParameters

The Project resource.

options
ProjectsUpdateOptionalParams

The options parameters.

Returns

Promise<Project>