Projects class
Klass som representerar ett projekt.
Konstruktorer
| Projects(Visual |
Skapa ett projekt. |
Metoder
Konstruktorinformation
Projects(VisualStudioResourceProviderClientContext)
Skapa ett projekt.
new Projects(client: VisualStudioResourceProviderClientContext)
Parametrar
Referens till tjänstklienten.
Metodinformation
beginCreate(ProjectResource, string, string, string, ProjectsBeginCreateOptionalParams)
Skapar ett Team Services-projekt i samlingen med det angivna namnet. "VersionControlOption" och "ProcessTemplateId" måste anges i resursegenskaperna. Giltiga värden för VersionControlOption: Git, Tfvc. Giltiga värden för ProcessTemplateId: 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC, 27450541-8E31-4150-9947-DC59F998FC01 (dessa ID:er motsvarar Scrum-, Agile- och CMMI-processmallar).
function beginCreate(body: ProjectResource, resourceGroupName: string, rootResourceName: string, resourceName: string, options?: ProjectsBeginCreateOptionalParams): Promise<LROPoller>
Parametrar
- body
- ProjectResource
Begärandedata.
- resourceGroupName
-
string
Namnet på resursgruppen i Azure-prenumerationen.
- rootResourceName
-
string
Namnet på Team Services-kontot.
- resourceName
-
string
Namnet på Team Services-projektet.
De valfria parametrarna
Returer
Promise<@azure/ms-rest-azure-js.LROPoller>
Löfte<msRestAzure.LROPoller>
create(ProjectResource, string, string, string, ProjectsCreateOptionalParams)
Skapar ett Team Services-projekt i samlingen med det angivna namnet. "VersionControlOption" och "ProcessTemplateId" måste anges i resursegenskaperna. Giltiga värden för VersionControlOption: Git, Tfvc. Giltiga värden för ProcessTemplateId: 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC, 27450541-8E31-4150-9947-DC59F998FC01 (dessa ID:er motsvarar Scrum-, Agile- och CMMI-processmallar).
function create(body: ProjectResource, resourceGroupName: string, rootResourceName: string, resourceName: string, options?: ProjectsCreateOptionalParams): Promise<ProjectsCreateResponse>
Parametrar
- body
- ProjectResource
Begärandedata.
- resourceGroupName
-
string
Namnet på resursgruppen i Azure-prenumerationen.
- rootResourceName
-
string
Namnet på Team Services-kontot.
- resourceName
-
string
Namnet på Team Services-projektet.
- options
- ProjectsCreateOptionalParams
De valfria parametrarna
Returer
Promise<ProjectsCreateResponse>
Löfte<Models.ProjectsCreateResponse>
get(string, string, string, RequestOptionsBase)
Varning
Det här API:et är nu inaktuellt.
This operation is deprecated. Please do not use it any longer.
Hämtar information om en Team Services-projektresurs.
function get(resourceGroupName: string, rootResourceName: string, resourceName: string, options?: RequestOptionsBase): Promise<ProjectsGetResponse>
Parametrar
- resourceGroupName
-
string
Namnet på resursgruppen i Azure-prenumerationen.
- rootResourceName
-
string
Namnet på Team Services-kontot.
- resourceName
-
string
Namnet på Team Services-projektet.
- options
- RequestOptionsBase
De valfria parametrarna
Returer
Promise<ProjectsGetResponse>
Löftesmodeller.ProjektGetResponse<>
get(string, string, string, RequestOptionsBase, ServiceCallback<ProjectResource>)
Varning
Det här API:et är nu inaktuellt.
This operation is deprecated. Please do not use it any longer.
function get(resourceGroupName: string, rootResourceName: string, resourceName: string, options: RequestOptionsBase, callback: ServiceCallback<ProjectResource>)
Parametrar
- resourceGroupName
-
string
Namnet på resursgruppen i Azure-prenumerationen.
- rootResourceName
-
string
Namnet på Team Services-kontot.
- resourceName
-
string
Namnet på Team Services-projektet.
- options
- RequestOptionsBase
De valfria parametrarna
- callback
Återanropet
get(string, string, string, ServiceCallback<ProjectResource>)
Varning
Det här API:et är nu inaktuellt.
This operation is deprecated. Please do not use it any longer.
function get(resourceGroupName: string, rootResourceName: string, resourceName: string, callback: ServiceCallback<ProjectResource>)
Parametrar
- resourceGroupName
-
string
Namnet på resursgruppen i Azure-prenumerationen.
- rootResourceName
-
string
Namnet på Team Services-kontot.
- resourceName
-
string
Namnet på Team Services-projektet.
- callback
Återanropet
getJobStatus(string, string, string, string, string, ProjectsGetJobStatusOptionalParams)
Varning
Det här API:et är nu inaktuellt.
This operation is deprecated. Please do not use it any longer.
Hämtar status för jobb för att skapa projektresurser.
function getJobStatus(resourceGroupName: string, rootResourceName: string, resourceName: string, subContainerName: string, operation: string, options?: ProjectsGetJobStatusOptionalParams): Promise<ProjectsGetJobStatusResponse>
Parametrar
- resourceGroupName
-
string
Namnet på resursgruppen i Azure-prenumerationen.
- rootResourceName
-
string
Namnet på Team Services-kontot.
- resourceName
-
string
Namnet på Team Services-projektet.
- subContainerName
-
string
Den här parametern ska anges till resourceName.
- operation
-
string
Åtgärdstypen. Det enda värde som stöds är "put".
De valfria parametrarna
Returer
Promise<ProjectsGetJobStatusResponse>
Löfte<Models.ProjectsGetJobStatusResponse>
getJobStatus(string, string, string, string, string, ProjectsGetJobStatusOptionalParams, ServiceCallback<ProjectResource>)
Varning
Det här API:et är nu inaktuellt.
This operation is deprecated. Please do not use it any longer.
function getJobStatus(resourceGroupName: string, rootResourceName: string, resourceName: string, subContainerName: string, operation: string, options: ProjectsGetJobStatusOptionalParams, callback: ServiceCallback<ProjectResource>)
Parametrar
- resourceGroupName
-
string
Namnet på resursgruppen i Azure-prenumerationen.
- rootResourceName
-
string
Namnet på Team Services-kontot.
- resourceName
-
string
Namnet på Team Services-projektet.
- subContainerName
-
string
Den här parametern ska anges till resourceName.
- operation
-
string
Åtgärdstypen. Det enda värde som stöds är "put".
De valfria parametrarna
- callback
Återanropet
getJobStatus(string, string, string, string, string, ServiceCallback<ProjectResource>)
Varning
Det här API:et är nu inaktuellt.
This operation is deprecated. Please do not use it any longer.
function getJobStatus(resourceGroupName: string, rootResourceName: string, resourceName: string, subContainerName: string, operation: string, callback: ServiceCallback<ProjectResource>)
Parametrar
- resourceGroupName
-
string
Namnet på resursgruppen i Azure-prenumerationen.
- rootResourceName
-
string
Namnet på Team Services-kontot.
- resourceName
-
string
Namnet på Team Services-projektet.
- subContainerName
-
string
Den här parametern ska anges till resourceName.
- operation
-
string
Åtgärdstypen. Det enda värde som stöds är "put".
- callback
Återanropet
listByResourceGroup(string, string, RequestOptionsBase)
Varning
Det här API:et är nu inaktuellt.
This operation is deprecated. Please do not use it any longer.
Hämtar alla Visual Studio Team Services-projektresurser som skapats i det angivna Team Services-kontot.
function listByResourceGroup(resourceGroupName: string, rootResourceName: string, options?: RequestOptionsBase): Promise<ProjectsListByResourceGroupResponse>
Parametrar
- resourceGroupName
-
string
Namnet på resursgruppen i Azure-prenumerationen.
- rootResourceName
-
string
Namnet på Team Services-kontot.
- options
- RequestOptionsBase
De valfria parametrarna
Returer
Promise<ProjectsListByResourceGroupResponse>
Löfte<Models.ProjectsListByResourceGroupResponse>
listByResourceGroup(string, string, RequestOptionsBase, ServiceCallback<ProjectResourceListResult>)
Varning
Det här API:et är nu inaktuellt.
This operation is deprecated. Please do not use it any longer.
function listByResourceGroup(resourceGroupName: string, rootResourceName: string, options: RequestOptionsBase, callback: ServiceCallback<ProjectResourceListResult>)
Parametrar
- resourceGroupName
-
string
Namnet på resursgruppen i Azure-prenumerationen.
- rootResourceName
-
string
Namnet på Team Services-kontot.
- options
- RequestOptionsBase
De valfria parametrarna
- callback
Återanropet
listByResourceGroup(string, string, ServiceCallback<ProjectResourceListResult>)
Varning
Det här API:et är nu inaktuellt.
This operation is deprecated. Please do not use it any longer.
function listByResourceGroup(resourceGroupName: string, rootResourceName: string, callback: ServiceCallback<ProjectResourceListResult>)
Parametrar
- resourceGroupName
-
string
Namnet på resursgruppen i Azure-prenumerationen.
- rootResourceName
-
string
Namnet på Team Services-kontot.
- callback
Återanropet
update(string, ProjectResource, string, string, RequestOptionsBase)
Varning
Det här API:et är nu inaktuellt.
This operation is deprecated. Please do not use it any longer.
Uppdaterar taggarna för det angivna Team Services-projektet.
function update(resourceGroupName: string, body: ProjectResource, rootResourceName: string, resourceName: string, options?: RequestOptionsBase): Promise<ProjectsUpdateResponse>
Parametrar
- resourceGroupName
-
string
Namnet på resursgruppen i Azure-prenumerationen.
- body
- ProjectResource
Begärandedata.
- rootResourceName
-
string
Namnet på Team Services-kontot.
- resourceName
-
string
Namnet på Team Services-projektet.
- options
- RequestOptionsBase
De valfria parametrarna
Returer
Promise<ProjectsUpdateResponse>
Löfte<Models.ProjectsUpdateResponse>
update(string, ProjectResource, string, string, RequestOptionsBase, ServiceCallback<ProjectResource>)
Varning
Det här API:et är nu inaktuellt.
This operation is deprecated. Please do not use it any longer.
function update(resourceGroupName: string, body: ProjectResource, rootResourceName: string, resourceName: string, options: RequestOptionsBase, callback: ServiceCallback<ProjectResource>)
Parametrar
- resourceGroupName
-
string
Namnet på resursgruppen i Azure-prenumerationen.
- body
- ProjectResource
Begärandedata.
- rootResourceName
-
string
Namnet på Team Services-kontot.
- resourceName
-
string
Namnet på Team Services-projektet.
- options
- RequestOptionsBase
De valfria parametrarna
- callback
Återanropet
update(string, ProjectResource, string, string, ServiceCallback<ProjectResource>)
Varning
Det här API:et är nu inaktuellt.
This operation is deprecated. Please do not use it any longer.
function update(resourceGroupName: string, body: ProjectResource, rootResourceName: string, resourceName: string, callback: ServiceCallback<ProjectResource>)
Parametrar
- resourceGroupName
-
string
Namnet på resursgruppen i Azure-prenumerationen.
- body
- ProjectResource
Begärandedata.
- rootResourceName
-
string
Namnet på Team Services-kontot.
- resourceName
-
string
Namnet på Team Services-projektet.
- callback
Återanropet