Projects interface
Interface representing a Projects.
Methods
create |
The project resource is a nested resource representing a stored migration project. The PUT method creates a new project or updates an existing one. |
delete(string, string, string, Projects |
The project resource is a nested resource representing a stored migration project. The DELETE method deletes a project. |
get(string, string, string, Projects |
The project resource is a nested resource representing a stored migration project. The GET method retrieves information about a project. |
list(string, string, Projects |
The project resource is a nested resource representing a stored migration project. This method returns a list of projects owned by a service resource. |
update(string, string, string, Project, Projects |
The project resource is a nested resource representing a stored migration project. The PATCH method updates an existing project. |
Method Details
createOrUpdate(string, string, string, Project, ProjectsCreateOrUpdateOptionalParams)
The project resource is a nested resource representing a stored migration project. The PUT method creates a new project or updates an existing one.
function createOrUpdate(groupName: string, serviceName: string, projectName: string, parameters: Project, options?: ProjectsCreateOrUpdateOptionalParams): Promise<Project>
Parameters
- groupName
-
string
Name of the resource group
- serviceName
-
string
Name of the service
- projectName
-
string
Name of the project
- parameters
- Project
Information about the project
The options parameters.
Returns
Promise<Project>
delete(string, string, string, ProjectsDeleteOptionalParams)
The project resource is a nested resource representing a stored migration project. The DELETE method deletes a project.
function delete(groupName: string, serviceName: string, projectName: string, options?: ProjectsDeleteOptionalParams): Promise<void>
Parameters
- groupName
-
string
Name of the resource group
- serviceName
-
string
Name of the service
- projectName
-
string
Name of the project
- options
- ProjectsDeleteOptionalParams
The options parameters.
Returns
Promise<void>
get(string, string, string, ProjectsGetOptionalParams)
The project resource is a nested resource representing a stored migration project. The GET method retrieves information about a project.
function get(groupName: string, serviceName: string, projectName: string, options?: ProjectsGetOptionalParams): Promise<Project>
Parameters
- groupName
-
string
Name of the resource group
- serviceName
-
string
Name of the service
- projectName
-
string
Name of the project
- options
- ProjectsGetOptionalParams
The options parameters.
Returns
Promise<Project>
list(string, string, ProjectsListOptionalParams)
The project resource is a nested resource representing a stored migration project. This method returns a list of projects owned by a service resource.
function list(groupName: string, serviceName: string, options?: ProjectsListOptionalParams): PagedAsyncIterableIterator<Project, Project[], PageSettings>
Parameters
- groupName
-
string
Name of the resource group
- serviceName
-
string
Name of the service
- options
- ProjectsListOptionalParams
The options parameters.
Returns
update(string, string, string, Project, ProjectsUpdateOptionalParams)
The project resource is a nested resource representing a stored migration project. The PATCH method updates an existing project.
function update(groupName: string, serviceName: string, projectName: string, parameters: Project, options?: ProjectsUpdateOptionalParams): Promise<Project>
Parameters
- groupName
-
string
Name of the resource group
- serviceName
-
string
Name of the service
- projectName
-
string
Name of the project
- parameters
- Project
Information about the project
- options
- ProjectsUpdateOptionalParams
The options parameters.
Returns
Promise<Project>
Azure SDK for JavaScript