Projects class
Classe che rappresenta un oggetto Projects.
Costruttori
Projects(Visual |
Creare un progetto. |
Metodi
begin |
Crea un progetto Team Services nella raccolta con il nome specificato. È necessario specificare 'VersionControlOption' e 'ProcessTemplateId' nelle proprietà della risorsa. Valori validi per VersionControlOption: Git, Tfvc. Valori validi per ProcessTemplateId: 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC, 27450541-8E31-4150-9947-DC59F998FC01 (questi ID corrispondono ai modelli di processo Scrum, Agile e CMMI). |
create(Project |
Crea un progetto Team Services nella raccolta con il nome specificato. È necessario specificare 'VersionControlOption' e 'ProcessTemplateId' nelle proprietà della risorsa. Valori validi per VersionControlOption: Git, Tfvc. Valori validi per ProcessTemplateId: 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC, 27450541-8E31-4150-9947-DC59F998FC01 (questi ID corrispondono ai modelli di processo Scrum, Agile e CMMI). |
get(string, string, string, Request |
Ottiene i dettagli di una risorsa del progetto Team Services. |
get(string, string, string, Request |
|
get(string, string, string, Service |
|
get |
Ottiene lo stato del processo di creazione della risorsa del progetto. |
get |
|
get |
|
list |
Ottiene tutte le risorse del progetto di Visual Studio Team Services create nell'account Team Services specificato. |
list |
|
list |
|
update(string, Project |
Aggiorna i tag del progetto Team Services specificato. |
update(string, Project |
|
update(string, Project |
Dettagli costruttore
Projects(VisualStudioResourceProviderClientContext)
Creare un progetto.
new Projects(client: VisualStudioResourceProviderClientContext)
Parametri
Riferimento al client del servizio.
Dettagli metodo
beginCreate(ProjectResource, string, string, string, ProjectsBeginCreateOptionalParams)
Crea un progetto Team Services nella raccolta con il nome specificato. È necessario specificare 'VersionControlOption' e 'ProcessTemplateId' nelle proprietà della risorsa. Valori validi per VersionControlOption: Git, Tfvc. Valori validi per ProcessTemplateId: 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC, 27450541-8E31-4150-9947-DC59F998FC01 (questi ID corrispondono ai modelli di processo Scrum, Agile e CMMI).
function beginCreate(body: ProjectResource, resourceGroupName: string, rootResourceName: string, resourceName: string, options?: ProjectsBeginCreateOptionalParams): Promise<LROPoller>
Parametri
- body
- ProjectResource
Dati della richiesta.
- resourceGroupName
-
string
Nome del gruppo di risorse all'interno della sottoscrizione di Azure.
- rootResourceName
-
string
Nome dell'account Team Services.
- resourceName
-
string
Nome del progetto Team Services.
Parametri facoltativi
Restituisce
Promise<@azure/ms-rest-azure-js.LROPoller>
Promise<msRestAzure.LROPoller>
create(ProjectResource, string, string, string, ProjectsCreateOptionalParams)
Crea un progetto Team Services nella raccolta con il nome specificato. È necessario specificare 'VersionControlOption' e 'ProcessTemplateId' nelle proprietà della risorsa. Valori validi per VersionControlOption: Git, Tfvc. Valori validi per ProcessTemplateId: 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC, 27450541-8E31-4150-9947-DC59F998FC01 (questi ID corrispondono ai modelli di processo Scrum, Agile e CMMI).
function create(body: ProjectResource, resourceGroupName: string, rootResourceName: string, resourceName: string, options?: ProjectsCreateOptionalParams): Promise<ProjectsCreateResponse>
Parametri
- body
- ProjectResource
Dati della richiesta.
- resourceGroupName
-
string
Nome del gruppo di risorse all'interno della sottoscrizione di Azure.
- rootResourceName
-
string
Nome dell'account Team Services.
- resourceName
-
string
Nome del progetto Team Services.
- options
- ProjectsCreateOptionalParams
Parametri facoltativi
Restituisce
Promise<ProjectsCreateResponse>
Promise<Models.ProjectsCreateResponse>
get(string, string, string, RequestOptionsBase)
Avviso
Questa API è ora deprecata.
This operation is deprecated. Please do not use it any longer.
Ottiene i dettagli di una risorsa del progetto Team Services.
function get(resourceGroupName: string, rootResourceName: string, resourceName: string, options?: RequestOptionsBase): Promise<ProjectsGetResponse>
Parametri
- resourceGroupName
-
string
Nome del gruppo di risorse all'interno della sottoscrizione di Azure.
- rootResourceName
-
string
Nome dell'account Team Services.
- resourceName
-
string
Nome del progetto Team Services.
- options
- RequestOptionsBase
Parametri facoltativi
Restituisce
Promise<ProjectsGetResponse>
Promise<Models.ProjectsGetResponse>
get(string, string, string, RequestOptionsBase, ServiceCallback<ProjectResource>)
Avviso
Questa API è ora deprecata.
This operation is deprecated. Please do not use it any longer.
function get(resourceGroupName: string, rootResourceName: string, resourceName: string, options: RequestOptionsBase, callback: ServiceCallback<ProjectResource>)
Parametri
- resourceGroupName
-
string
Nome del gruppo di risorse all'interno della sottoscrizione di Azure.
- rootResourceName
-
string
Nome dell'account Team Services.
- resourceName
-
string
Nome del progetto Team Services.
- options
- RequestOptionsBase
Parametri facoltativi
- callback
Callback
get(string, string, string, ServiceCallback<ProjectResource>)
Avviso
Questa API è ora deprecata.
This operation is deprecated. Please do not use it any longer.
function get(resourceGroupName: string, rootResourceName: string, resourceName: string, callback: ServiceCallback<ProjectResource>)
Parametri
- resourceGroupName
-
string
Nome del gruppo di risorse all'interno della sottoscrizione di Azure.
- rootResourceName
-
string
Nome dell'account Team Services.
- resourceName
-
string
Nome del progetto Team Services.
- callback
Callback
getJobStatus(string, string, string, string, string, ProjectsGetJobStatusOptionalParams)
Avviso
Questa API è ora deprecata.
This operation is deprecated. Please do not use it any longer.
Ottiene lo stato del processo di creazione della risorsa del progetto.
function getJobStatus(resourceGroupName: string, rootResourceName: string, resourceName: string, subContainerName: string, operation: string, options?: ProjectsGetJobStatusOptionalParams): Promise<ProjectsGetJobStatusResponse>
Parametri
- resourceGroupName
-
string
Nome del gruppo di risorse all'interno della sottoscrizione di Azure.
- rootResourceName
-
string
Nome dell'account Team Services.
- resourceName
-
string
Nome del progetto Team Services.
- subContainerName
-
string
Questo parametro deve essere impostato su resourceName.
- operation
-
string
Tipo di operazione. L'unico valore supportato è 'put'.
Parametri facoltativi
Restituisce
Promise<ProjectsGetJobStatusResponse>
Promise<Models.ProjectsGetJobStatusResponse>
getJobStatus(string, string, string, string, string, ProjectsGetJobStatusOptionalParams, ServiceCallback<ProjectResource>)
Avviso
Questa API è ora deprecata.
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>)
Parametri
- resourceGroupName
-
string
Nome del gruppo di risorse all'interno della sottoscrizione di Azure.
- rootResourceName
-
string
Nome dell'account Team Services.
- resourceName
-
string
Nome del progetto Team Services.
- subContainerName
-
string
Questo parametro deve essere impostato su resourceName.
- operation
-
string
Tipo di operazione. L'unico valore supportato è 'put'.
Parametri facoltativi
- callback
Callback
getJobStatus(string, string, string, string, string, ServiceCallback<ProjectResource>)
Avviso
Questa API è ora deprecata.
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>)
Parametri
- resourceGroupName
-
string
Nome del gruppo di risorse all'interno della sottoscrizione di Azure.
- rootResourceName
-
string
Nome dell'account Team Services.
- resourceName
-
string
Nome del progetto Team Services.
- subContainerName
-
string
Questo parametro deve essere impostato su resourceName.
- operation
-
string
Tipo di operazione. L'unico valore supportato è 'put'.
- callback
Callback
listByResourceGroup(string, string, RequestOptionsBase)
Avviso
Questa API è ora deprecata.
This operation is deprecated. Please do not use it any longer.
Ottiene tutte le risorse del progetto di Visual Studio Team Services create nell'account Team Services specificato.
function listByResourceGroup(resourceGroupName: string, rootResourceName: string, options?: RequestOptionsBase): Promise<ProjectsListByResourceGroupResponse>
Parametri
- resourceGroupName
-
string
Nome del gruppo di risorse all'interno della sottoscrizione di Azure.
- rootResourceName
-
string
Nome dell'account Team Services.
- options
- RequestOptionsBase
Parametri facoltativi
Restituisce
Promise<ProjectsListByResourceGroupResponse>
Promise<Models.ProjectsListByResourceGroupResponse>
listByResourceGroup(string, string, RequestOptionsBase, ServiceCallback<ProjectResourceListResult>)
Avviso
Questa API è ora deprecata.
This operation is deprecated. Please do not use it any longer.
function listByResourceGroup(resourceGroupName: string, rootResourceName: string, options: RequestOptionsBase, callback: ServiceCallback<ProjectResourceListResult>)
Parametri
- resourceGroupName
-
string
Nome del gruppo di risorse all'interno della sottoscrizione di Azure.
- rootResourceName
-
string
Nome dell'account Team Services.
- options
- RequestOptionsBase
Parametri facoltativi
- callback
Callback
listByResourceGroup(string, string, ServiceCallback<ProjectResourceListResult>)
Avviso
Questa API è ora deprecata.
This operation is deprecated. Please do not use it any longer.
function listByResourceGroup(resourceGroupName: string, rootResourceName: string, callback: ServiceCallback<ProjectResourceListResult>)
Parametri
- resourceGroupName
-
string
Nome del gruppo di risorse all'interno della sottoscrizione di Azure.
- rootResourceName
-
string
Nome dell'account Team Services.
- callback
Callback
update(string, ProjectResource, string, string, RequestOptionsBase)
Avviso
Questa API è ora deprecata.
This operation is deprecated. Please do not use it any longer.
Aggiorna i tag del progetto Team Services specificato.
function update(resourceGroupName: string, body: ProjectResource, rootResourceName: string, resourceName: string, options?: RequestOptionsBase): Promise<ProjectsUpdateResponse>
Parametri
- resourceGroupName
-
string
Nome del gruppo di risorse all'interno della sottoscrizione di Azure.
- body
- ProjectResource
Dati della richiesta.
- rootResourceName
-
string
Nome dell'account Team Services.
- resourceName
-
string
Nome del progetto Team Services.
- options
- RequestOptionsBase
Parametri facoltativi
Restituisce
Promise<ProjectsUpdateResponse>
Promise<Models.ProjectsUpdateResponse>
update(string, ProjectResource, string, string, RequestOptionsBase, ServiceCallback<ProjectResource>)
Avviso
Questa API è ora deprecata.
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>)
Parametri
- resourceGroupName
-
string
Nome del gruppo di risorse all'interno della sottoscrizione di Azure.
- body
- ProjectResource
Dati della richiesta.
- rootResourceName
-
string
Nome dell'account Team Services.
- resourceName
-
string
Nome del progetto Team Services.
- options
- RequestOptionsBase
Parametri facoltativi
- callback
Callback
update(string, ProjectResource, string, string, ServiceCallback<ProjectResource>)
Avviso
Questa API è ora deprecata.
This operation is deprecated. Please do not use it any longer.
function update(resourceGroupName: string, body: ProjectResource, rootResourceName: string, resourceName: string, callback: ServiceCallback<ProjectResource>)
Parametri
- resourceGroupName
-
string
Nome del gruppo di risorse all'interno della sottoscrizione di Azure.
- body
- ProjectResource
Dati della richiesta.
- rootResourceName
-
string
Nome dell'account Team Services.
- resourceName
-
string
Nome del progetto Team Services.
- callback
Callback