Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 1.47 KB

serviceendpoint_npm.html.markdown

File metadata and controls

55 lines (34 loc) · 1.47 KB
layout page_title description
azuredevops
AzureDevops: azuredevops_serviceendpoint_npm
Gets information about an existing NPM Service Endpoint.

Data Source : azuredevops_serviceendpoint_npm

Use this data source to access information about an existing NPM Service Endpoint.

Example Usage

data "azuredevops_serviceendpoint_npm" "example" {
  project_id            = azuredevops_project.example.id
  service_endpoint_name = "Example npm"
}

output "service_endpoint_id" {
  value = data.azuredevops_serviceendpoint_npm.example.id
}

Arguments Reference

The following arguments are supported:

  • project_id - (Required) The ID of the project.

  • service_endpoint_id - (Optional) the ID of the Service Endpoint.

  • service_endpoint_name - (Optional) the Name of the Service Endpoint.

~> NOTE: One of either service_endpoint_id or service_endpoint_name must be specified.

Attributes Reference

In addition to the Arguments list above - the following Attributes are exported:

  • id - The ID of the NPM Service Endpoint.

  • authorization - The Authorization scheme.

  • url - The URL of the NPM registry to connect with.

  • description - The description of the Service Endpoint.

Timeouts

The timeouts block allows you to specify timeouts for certain actions:

  • read - (Defaults to 5 minute) Used when retrieving the NPM Service Endpoint.