Projects interface
Interface representing a Projects.
Methods
begin |
Creates a Team Services project in the collection with the specified name. 'VersionControlOption' and 'ProcessTemplateId' must be specified in the resource properties. Valid values for VersionControlOption: Git, Tfvc. Valid values for ProcessTemplateId: 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC, 27450541-8E31-4150-9947-DC59F998FC01 (these IDs correspond to Scrum, Agile, and CMMI process templates). |
begin |
Creates a Team Services project in the collection with the specified name. 'VersionControlOption' and 'ProcessTemplateId' must be specified in the resource properties. Valid values for VersionControlOption: Git, Tfvc. Valid values for ProcessTemplateId: 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC, 27450541-8E31-4150-9947-DC59F998FC01 (these IDs correspond to Scrum, Agile, and CMMI process templates). |
get(string, string, string, Projects |
Gets the details of a Team Services project resource. |
get |
Gets the status of the project resource creation job. |
list |
Gets all Visual Studio Team Services project resources created in the specified Team Services account. |
update(string, string, string, Project |
Updates the tags of the specified Team Services project. |
Method Details
beginCreate(string, string, string, ProjectResource, ProjectsCreateOptionalParams)
Creates a Team Services project in the collection with the specified name. 'VersionControlOption' and 'ProcessTemplateId' must be specified in the resource properties. Valid values for VersionControlOption: Git, Tfvc. Valid values for ProcessTemplateId: 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC, 27450541-8E31-4150-9947-DC59F998FC01 (these IDs correspond to Scrum, Agile, and CMMI process templates).
function beginCreate(resourceGroupName: string, rootResourceName: string, resourceName: string, body: ProjectResource, options?: ProjectsCreateOptionalParams): Promise<PollerLike<PollOperationState<ProjectResource>, ProjectResource>>
Parameters
- resourceGroupName
-
string
Name of the resource group within the Azure subscription.
- rootResourceName
-
string
Name of the Team Services account.
- resourceName
-
string
Name of the Team Services project.
- body
- ProjectResource
The request data.
- options
- ProjectsCreateOptionalParams
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<ProjectResource>, ProjectResource>>
beginCreateAndWait(string, string, string, ProjectResource, ProjectsCreateOptionalParams)
Creates a Team Services project in the collection with the specified name. 'VersionControlOption' and 'ProcessTemplateId' must be specified in the resource properties. Valid values for VersionControlOption: Git, Tfvc. Valid values for ProcessTemplateId: 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC, 27450541-8E31-4150-9947-DC59F998FC01 (these IDs correspond to Scrum, Agile, and CMMI process templates).
function beginCreateAndWait(resourceGroupName: string, rootResourceName: string, resourceName: string, body: ProjectResource, options?: ProjectsCreateOptionalParams): Promise<ProjectResource>
Parameters
- resourceGroupName
-
string
Name of the resource group within the Azure subscription.
- rootResourceName
-
string
Name of the Team Services account.
- resourceName
-
string
Name of the Team Services project.
- body
- ProjectResource
The request data.
- options
- ProjectsCreateOptionalParams
The options parameters.
Returns
Promise<ProjectResource>
get(string, string, string, ProjectsGetOptionalParams)
Gets the details of a Team Services project resource.
function get(resourceGroupName: string, rootResourceName: string, resourceName: string, options?: ProjectsGetOptionalParams): Promise<ProjectResource>
Parameters
- resourceGroupName
-
string
Name of the resource group within the Azure subscription.
- rootResourceName
-
string
Name of the Team Services account.
- resourceName
-
string
Name of the Team Services project.
- options
- ProjectsGetOptionalParams
The options parameters.
Returns
Promise<ProjectResource>
getJobStatus(string, string, string, string, string, ProjectsGetJobStatusOptionalParams)
Gets the status of the project resource creation job.
function getJobStatus(resourceGroupName: string, rootResourceName: string, resourceName: string, subContainerName: string, operation: string, options?: ProjectsGetJobStatusOptionalParams): Promise<ProjectResource>
Parameters
- resourceGroupName
-
string
Name of the resource group within the Azure subscription.
- rootResourceName
-
string
Name of the Team Services account.
- resourceName
-
string
Name of the Team Services project.
- subContainerName
-
string
This parameter should be set to the resourceName.
- operation
-
string
The operation type. The only supported value is 'put'.
The options parameters.
Returns
Promise<ProjectResource>
listByResourceGroup(string, string, ProjectsListByResourceGroupOptionalParams)
Gets all Visual Studio Team Services project resources created in the specified Team Services account.
function listByResourceGroup(resourceGroupName: string, rootResourceName: string, options?: ProjectsListByResourceGroupOptionalParams): Promise<ProjectResourceListResult>
Parameters
- resourceGroupName
-
string
Name of the resource group within the Azure subscription.
- rootResourceName
-
string
Name of the Team Services account.
The options parameters.
Returns
Promise<ProjectResourceListResult>
update(string, string, string, ProjectResource, ProjectsUpdateOptionalParams)
Updates the tags of the specified Team Services project.
function update(resourceGroupName: string, rootResourceName: string, resourceName: string, body: ProjectResource, options?: ProjectsUpdateOptionalParams): Promise<ProjectResource>
Parameters
- resourceGroupName
-
string
Name of the resource group within the Azure subscription.
- rootResourceName
-
string
Name of the Team Services account.
- resourceName
-
string
Name of the Team Services project.
- body
- ProjectResource
The request data.
- options
- ProjectsUpdateOptionalParams
The options parameters.
Returns
Promise<ProjectResource>
Azure SDK for JavaScript