Partilhar via


Projects class

Classe que representa um Projeto.

Construtores

Projects(VisualStudioResourceProviderClientContext)

Crie um projeto.

Métodos

beginCreate(ProjectResource, string, string, string, ProjectsBeginCreateOptionalParams)

Cria um projeto do Team Services na coleção com o nome especificado. 'VersionControlOption' e 'ProcessTemplateId' devem ser especificados nas propriedades do recurso. Valores válidos para VersionControlOption: Git, Tfvc. Valores válidos para ProcessTemplateId: 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC, 27450541-8E31-4150-9947-DC59F998FC01 (esses IDs correspondem aos modelos de processo Scrum, Agile e CMMI).

create(ProjectResource, string, string, string, ProjectsCreateOptionalParams)

Cria um projeto do Team Services na coleção com o nome especificado. 'VersionControlOption' e 'ProcessTemplateId' devem ser especificados nas propriedades do recurso. Valores válidos para VersionControlOption: Git, Tfvc. Valores válidos para ProcessTemplateId: 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC, 27450541-8E31-4150-9947-DC59F998FC01 (esses IDs correspondem aos modelos de processo Scrum, Agile e CMMI).

get(string, string, string, RequestOptionsBase)

Obtém os detalhes de um recurso de projeto do Team Services.

get(string, string, string, RequestOptionsBase, ServiceCallback<ProjectResource>)
get(string, string, string, ServiceCallback<ProjectResource>)
getJobStatus(string, string, string, string, string, ProjectsGetJobStatusOptionalParams)

Obtém o status do trabalho de criação de recursos do projeto.

getJobStatus(string, string, string, string, string, ProjectsGetJobStatusOptionalParams, ServiceCallback<ProjectResource>)
getJobStatus(string, string, string, string, string, ServiceCallback<ProjectResource>)
listByResourceGroup(string, string, RequestOptionsBase)

Obtém todos os recursos de projeto do Visual Studio Team Services criados na conta especificada do Team Services.

listByResourceGroup(string, string, RequestOptionsBase, ServiceCallback<ProjectResourceListResult>)
listByResourceGroup(string, string, ServiceCallback<ProjectResourceListResult>)
update(string, ProjectResource, string, string, RequestOptionsBase)

Atualiza as tags do projeto especificado do Team Services.

update(string, ProjectResource, string, string, RequestOptionsBase, ServiceCallback<ProjectResource>)
update(string, ProjectResource, string, string, ServiceCallback<ProjectResource>)

Detalhes do Construtor

Projects(VisualStudioResourceProviderClientContext)

Crie um projeto.

new Projects(client: VisualStudioResourceProviderClientContext)

Parâmetros

client
VisualStudioResourceProviderClientContext

Referência ao cliente do serviço.

Detalhes de Método

beginCreate(ProjectResource, string, string, string, ProjectsBeginCreateOptionalParams)

Cria um projeto do Team Services na coleção com o nome especificado. 'VersionControlOption' e 'ProcessTemplateId' devem ser especificados nas propriedades do recurso. Valores válidos para VersionControlOption: Git, Tfvc. Valores válidos para ProcessTemplateId: 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC, 27450541-8E31-4150-9947-DC59F998FC01 (esses IDs correspondem aos modelos de processo Scrum, Agile e CMMI).

function beginCreate(body: ProjectResource, resourceGroupName: string, rootResourceName: string, resourceName: string, options?: ProjectsBeginCreateOptionalParams): Promise<LROPoller>

Parâmetros

body
ProjectResource

Os dados da solicitação.

resourceGroupName

string

Nome do grupo de recursos dentro da assinatura do Azure.

rootResourceName

string

Nome da conta do Team Services.

resourceName

string

Nome do projeto Team Services.

options
ProjectsBeginCreateOptionalParams

Os parâmetros opcionais

Devoluções

Promise<@azure/ms-rest-azure-js.LROPoller>

Prometa<> msRestAzure.LROPoller

create(ProjectResource, string, string, string, ProjectsCreateOptionalParams)

Cria um projeto do Team Services na coleção com o nome especificado. 'VersionControlOption' e 'ProcessTemplateId' devem ser especificados nas propriedades do recurso. Valores válidos para VersionControlOption: Git, Tfvc. Valores válidos para ProcessTemplateId: 6B724908-EF14-45CF-84F8-768B5384DA45, ADCC42AB-9882-485E-A3ED-7678F01F66BC, 27450541-8E31-4150-9947-DC59F998FC01 (esses IDs correspondem aos modelos de processo Scrum, Agile e CMMI).

function create(body: ProjectResource, resourceGroupName: string, rootResourceName: string, resourceName: string, options?: ProjectsCreateOptionalParams): Promise<ProjectsCreateResponse>

Parâmetros

body
ProjectResource

Os dados da solicitação.

resourceGroupName

string

Nome do grupo de recursos dentro da assinatura do Azure.

rootResourceName

string

Nome da conta do Team Services.

resourceName

string

Nome do projeto Team Services.

options
ProjectsCreateOptionalParams

Os parâmetros opcionais

Devoluções

Promise<Models.ProjectsCreateResponse>

get(string, string, string, RequestOptionsBase)

Aviso

Esta API foi preterida.

This operation is deprecated. Please do not use it any longer.

Obtém os detalhes de um recurso de projeto do Team Services.

function get(resourceGroupName: string, rootResourceName: string, resourceName: string, options?: RequestOptionsBase): Promise<ProjectsGetResponse>

Parâmetros

resourceGroupName

string

Nome do grupo de recursos dentro da assinatura do Azure.

rootResourceName

string

Nome da conta do Team Services.

resourceName

string

Nome do projeto Team Services.

options
RequestOptionsBase

Os parâmetros opcionais

Devoluções

Promise<Models.ProjectsGetResponse>

get(string, string, string, RequestOptionsBase, ServiceCallback<ProjectResource>)

Aviso

Esta API foi preterida.

This operation is deprecated. Please do not use it any longer.

function get(resourceGroupName: string, rootResourceName: string, resourceName: string, options: RequestOptionsBase, callback: ServiceCallback<ProjectResource>)

Parâmetros

resourceGroupName

string

Nome do grupo de recursos dentro da assinatura do Azure.

rootResourceName

string

Nome da conta do Team Services.

resourceName

string

Nome do projeto Team Services.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<ProjectResource>

O retorno de chamada

get(string, string, string, ServiceCallback<ProjectResource>)

Aviso

Esta API foi preterida.

This operation is deprecated. Please do not use it any longer.

function get(resourceGroupName: string, rootResourceName: string, resourceName: string, callback: ServiceCallback<ProjectResource>)

Parâmetros

resourceGroupName

string

Nome do grupo de recursos dentro da assinatura do Azure.

rootResourceName

string

Nome da conta do Team Services.

resourceName

string

Nome do projeto Team Services.

callback

ServiceCallback<ProjectResource>

O retorno de chamada

getJobStatus(string, string, string, string, string, ProjectsGetJobStatusOptionalParams)

Aviso

Esta API foi preterida.

This operation is deprecated. Please do not use it any longer.

Obtém o status do trabalho de criação de recursos do projeto.

function getJobStatus(resourceGroupName: string, rootResourceName: string, resourceName: string, subContainerName: string, operation: string, options?: ProjectsGetJobStatusOptionalParams): Promise<ProjectsGetJobStatusResponse>

Parâmetros

resourceGroupName

string

Nome do grupo de recursos dentro da assinatura do Azure.

rootResourceName

string

Nome da conta do Team Services.

resourceName

string

Nome do projeto Team Services.

subContainerName

string

Este parâmetro deve ser definido como resourceName.

operation

string

O tipo de operação. O único valor suportado é 'put'.

options
ProjectsGetJobStatusOptionalParams

Os parâmetros opcionais

Devoluções

Promise<Models.ProjectsGetJobStatusResponse>

getJobStatus(string, string, string, string, string, ProjectsGetJobStatusOptionalParams, ServiceCallback<ProjectResource>)

Aviso

Esta API foi preterida.

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>)

Parâmetros

resourceGroupName

string

Nome do grupo de recursos dentro da assinatura do Azure.

rootResourceName

string

Nome da conta do Team Services.

resourceName

string

Nome do projeto Team Services.

subContainerName

string

Este parâmetro deve ser definido como resourceName.

operation

string

O tipo de operação. O único valor suportado é 'put'.

options
ProjectsGetJobStatusOptionalParams

Os parâmetros opcionais

callback

ServiceCallback<ProjectResource>

O retorno de chamada

getJobStatus(string, string, string, string, string, ServiceCallback<ProjectResource>)

Aviso

Esta API foi preterida.

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>)

Parâmetros

resourceGroupName

string

Nome do grupo de recursos dentro da assinatura do Azure.

rootResourceName

string

Nome da conta do Team Services.

resourceName

string

Nome do projeto Team Services.

subContainerName

string

Este parâmetro deve ser definido como resourceName.

operation

string

O tipo de operação. O único valor suportado é 'put'.

callback

ServiceCallback<ProjectResource>

O retorno de chamada

listByResourceGroup(string, string, RequestOptionsBase)

Aviso

Esta API foi preterida.

This operation is deprecated. Please do not use it any longer.

Obtém todos os recursos de projeto do Visual Studio Team Services criados na conta especificada do Team Services.

function listByResourceGroup(resourceGroupName: string, rootResourceName: string, options?: RequestOptionsBase): Promise<ProjectsListByResourceGroupResponse>

Parâmetros

resourceGroupName

string

Nome do grupo de recursos dentro da assinatura do Azure.

rootResourceName

string

Nome da conta do Team Services.

options
RequestOptionsBase

Os parâmetros opcionais

Devoluções

Promise<Models.ProjectsListByResourceGroupResponse>

listByResourceGroup(string, string, RequestOptionsBase, ServiceCallback<ProjectResourceListResult>)

Aviso

Esta API foi preterida.

This operation is deprecated. Please do not use it any longer.

function listByResourceGroup(resourceGroupName: string, rootResourceName: string, options: RequestOptionsBase, callback: ServiceCallback<ProjectResourceListResult>)

Parâmetros

resourceGroupName

string

Nome do grupo de recursos dentro da assinatura do Azure.

rootResourceName

string

Nome da conta do Team Services.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<ProjectResourceListResult>

O retorno de chamada

listByResourceGroup(string, string, ServiceCallback<ProjectResourceListResult>)

Aviso

Esta API foi preterida.

This operation is deprecated. Please do not use it any longer.

function listByResourceGroup(resourceGroupName: string, rootResourceName: string, callback: ServiceCallback<ProjectResourceListResult>)

Parâmetros

resourceGroupName

string

Nome do grupo de recursos dentro da assinatura do Azure.

rootResourceName

string

Nome da conta do Team Services.

callback

ServiceCallback<ProjectResourceListResult>

O retorno de chamada

update(string, ProjectResource, string, string, RequestOptionsBase)

Aviso

Esta API foi preterida.

This operation is deprecated. Please do not use it any longer.

Atualiza as tags do projeto especificado do Team Services.

function update(resourceGroupName: string, body: ProjectResource, rootResourceName: string, resourceName: string, options?: RequestOptionsBase): Promise<ProjectsUpdateResponse>

Parâmetros

resourceGroupName

string

Nome do grupo de recursos dentro da assinatura do Azure.

body
ProjectResource

Os dados da solicitação.

rootResourceName

string

Nome da conta do Team Services.

resourceName

string

Nome do projeto Team Services.

options
RequestOptionsBase

Os parâmetros opcionais

Devoluções

Promise<Models.ProjectsUpdateResponse>

update(string, ProjectResource, string, string, RequestOptionsBase, ServiceCallback<ProjectResource>)

Aviso

Esta API foi preterida.

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>)

Parâmetros

resourceGroupName

string

Nome do grupo de recursos dentro da assinatura do Azure.

body
ProjectResource

Os dados da solicitação.

rootResourceName

string

Nome da conta do Team Services.

resourceName

string

Nome do projeto Team Services.

options
RequestOptionsBase

Os parâmetros opcionais

callback

ServiceCallback<ProjectResource>

O retorno de chamada

update(string, ProjectResource, string, string, ServiceCallback<ProjectResource>)

Aviso

Esta API foi preterida.

This operation is deprecated. Please do not use it any longer.

function update(resourceGroupName: string, body: ProjectResource, rootResourceName: string, resourceName: string, callback: ServiceCallback<ProjectResource>)

Parâmetros

resourceGroupName

string

Nome do grupo de recursos dentro da assinatura do Azure.

body
ProjectResource

Os dados da solicitação.

rootResourceName

string

Nome da conta do Team Services.

resourceName

string

Nome do projeto Team Services.

callback

ServiceCallback<ProjectResource>

O retorno de chamada