Projects interface
Interface representing a Projects.
Methods
assessment |
Get all available options for the properties of an assessment on a project. |
create(string, string, Projects |
Create a project with specified name. If a project already exists, update it. |
delete(string, string, Projects |
Delete the project. Deleting non-existent project is a no-operation. |
get(string, string, Projects |
Get the project with the specified name. |
list(string, Projects |
Get all the projects in the resource group. |
list |
Gets list of all available options for the properties of an assessment on a project. |
list |
Get all the projects in the subscription. |
update(string, string, Projects |
Update a project with specified name. Supports partial updates, for example only tags can be provided. |
Method Details
assessmentOptions(string, string, string, ProjectsAssessmentOptionsOptionalParams)
Get all available options for the properties of an assessment on a project.
function assessmentOptions(resourceGroupName: string, projectName: string, assessmentOptionsName: string, options?: ProjectsAssessmentOptionsOptionalParams): Promise<ProjectsAssessmentOptionsResponse>
Parameters
- resourceGroupName
-
string
Name of the Azure Resource Group that project is part of.
- projectName
-
string
Name of the Azure Migrate project.
- assessmentOptionsName
-
string
Name of the assessment options. The only name accepted in default.
The options parameters.
Returns
Promise<ProjectsAssessmentOptionsResponse>
create(string, string, ProjectsCreateOptionalParams)
Create a project with specified name. If a project already exists, update it.
function create(resourceGroupName: string, projectName: string, options?: ProjectsCreateOptionalParams): Promise<ProjectsCreateResponse>
Parameters
- resourceGroupName
-
string
Name of the Azure Resource Group that project is part of.
- projectName
-
string
Name of the Azure Migrate project.
- options
- ProjectsCreateOptionalParams
The options parameters.
Returns
Promise<ProjectsCreateResponse>
delete(string, string, ProjectsDeleteOptionalParams)
Delete the project. Deleting non-existent project is a no-operation.
function delete(resourceGroupName: string, projectName: string, options?: ProjectsDeleteOptionalParams): Promise<ProjectsDeleteHeaders>
Parameters
- resourceGroupName
-
string
Name of the Azure Resource Group that project is part of.
- projectName
-
string
Name of the Azure Migrate project.
- options
- ProjectsDeleteOptionalParams
The options parameters.
Returns
Promise<ProjectsDeleteHeaders>
get(string, string, ProjectsGetOptionalParams)
Get the project with the specified name.
function get(resourceGroupName: string, projectName: string, options?: ProjectsGetOptionalParams): Promise<ProjectsGetResponse>
Parameters
- resourceGroupName
-
string
Name of the Azure Resource Group that project is part of.
- projectName
-
string
Name of the Azure Migrate project.
- options
- ProjectsGetOptionalParams
The options parameters.
Returns
Promise<ProjectsGetResponse>
list(string, ProjectsListOptionalParams)
Get all the projects in the resource group.
function list(resourceGroupName: string, options?: ProjectsListOptionalParams): PagedAsyncIterableIterator<Project, Project[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of the Azure Resource Group that project is part of.
- options
- ProjectsListOptionalParams
The options parameters.
Returns
listAssessmentOptionsList(string, string, ProjectsAssessmentOptionsListOptionalParams)
Gets list of all available options for the properties of an assessment on a project.
function listAssessmentOptionsList(resourceGroupName: string, projectName: string, options?: ProjectsAssessmentOptionsListOptionalParams): PagedAsyncIterableIterator<AssessmentOptions, AssessmentOptions[], PageSettings>
Parameters
- resourceGroupName
-
string
Name of the Azure Resource Group that project is part of.
- projectName
-
string
Name of the Azure Migrate project.
The options parameters.
Returns
listBySubscription(ProjectsListBySubscriptionOptionalParams)
Get all the projects in the subscription.
function listBySubscription(options?: ProjectsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Project, Project[], PageSettings>
Parameters
The options parameters.
Returns
update(string, string, ProjectsUpdateOptionalParams)
Update a project with specified name. Supports partial updates, for example only tags can be provided.
function update(resourceGroupName: string, projectName: string, options?: ProjectsUpdateOptionalParams): Promise<ProjectsUpdateResponse>
Parameters
- resourceGroupName
-
string
Name of the Azure Resource Group that project is part of.
- projectName
-
string
Name of the Azure Migrate project.
- options
- ProjectsUpdateOptionalParams
The options parameters.
Returns
Promise<ProjectsUpdateResponse>