azuredevops.ServiceendpointMaven
Explore with Pulumi AI
Manages a Maven service endpoint within Azure DevOps, which can be used as a resource in YAML pipelines to connect to a Maven instance.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azuredevops from "@pulumi/azuredevops";
const example = new azuredevops.Project("example", {
    name: "Example Project",
    visibility: "private",
    versionControl: "Git",
    workItemTemplate: "Agile",
    description: "Managed by Pulumi",
});
const exampleServiceendpointMaven = new azuredevops.ServiceendpointMaven("example", {
    projectId: example.id,
    serviceEndpointName: "maven-example",
    description: "Service Endpoint for 'Maven' (Managed by Terraform)",
    url: "https://example.com",
    repositoryId: "example",
    authenticationToken: {
        token: "0000000000000000000000000000000000000000",
    },
});
import pulumi
import pulumi_azuredevops as azuredevops
example = azuredevops.Project("example",
    name="Example Project",
    visibility="private",
    version_control="Git",
    work_item_template="Agile",
    description="Managed by Pulumi")
example_serviceendpoint_maven = azuredevops.ServiceendpointMaven("example",
    project_id=example.id,
    service_endpoint_name="maven-example",
    description="Service Endpoint for 'Maven' (Managed by Terraform)",
    url="https://example.com",
    repository_id="example",
    authentication_token={
        "token": "0000000000000000000000000000000000000000",
    })
package main
import (
	"github.com/pulumi/pulumi-azuredevops/sdk/v3/go/azuredevops"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := azuredevops.NewProject(ctx, "example", &azuredevops.ProjectArgs{
			Name:             pulumi.String("Example Project"),
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Pulumi"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceendpointMaven(ctx, "example", &azuredevops.ServiceendpointMavenArgs{
			ProjectId:           example.ID(),
			ServiceEndpointName: pulumi.String("maven-example"),
			Description:         pulumi.String("Service Endpoint for 'Maven' (Managed by Terraform)"),
			Url:                 pulumi.String("https://example.com"),
			RepositoryId:        pulumi.String("example"),
			AuthenticationToken: &azuredevops.ServiceendpointMavenAuthenticationTokenArgs{
				Token: pulumi.String("0000000000000000000000000000000000000000"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureDevOps = Pulumi.AzureDevOps;
return await Deployment.RunAsync(() => 
{
    var example = new AzureDevOps.Project("example", new()
    {
        Name = "Example Project",
        Visibility = "private",
        VersionControl = "Git",
        WorkItemTemplate = "Agile",
        Description = "Managed by Pulumi",
    });
    var exampleServiceendpointMaven = new AzureDevOps.ServiceendpointMaven("example", new()
    {
        ProjectId = example.Id,
        ServiceEndpointName = "maven-example",
        Description = "Service Endpoint for 'Maven' (Managed by Terraform)",
        Url = "https://example.com",
        RepositoryId = "example",
        AuthenticationToken = new AzureDevOps.Inputs.ServiceendpointMavenAuthenticationTokenArgs
        {
            Token = "0000000000000000000000000000000000000000",
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azuredevops.Project;
import com.pulumi.azuredevops.ProjectArgs;
import com.pulumi.azuredevops.ServiceendpointMaven;
import com.pulumi.azuredevops.ServiceendpointMavenArgs;
import com.pulumi.azuredevops.inputs.ServiceendpointMavenAuthenticationTokenArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var example = new Project("example", ProjectArgs.builder()
            .name("Example Project")
            .visibility("private")
            .versionControl("Git")
            .workItemTemplate("Agile")
            .description("Managed by Pulumi")
            .build());
        var exampleServiceendpointMaven = new ServiceendpointMaven("exampleServiceendpointMaven", ServiceendpointMavenArgs.builder()
            .projectId(example.id())
            .serviceEndpointName("maven-example")
            .description("Service Endpoint for 'Maven' (Managed by Terraform)")
            .url("https://example.com")
            .repositoryId("example")
            .authenticationToken(ServiceendpointMavenAuthenticationTokenArgs.builder()
                .token("0000000000000000000000000000000000000000")
                .build())
            .build());
    }
}
resources:
  example:
    type: azuredevops:Project
    properties:
      name: Example Project
      visibility: private
      versionControl: Git
      workItemTemplate: Agile
      description: Managed by Pulumi
  exampleServiceendpointMaven:
    type: azuredevops:ServiceendpointMaven
    name: example
    properties:
      projectId: ${example.id}
      serviceEndpointName: maven-example
      description: Service Endpoint for 'Maven' (Managed by Terraform)
      url: https://example.com
      repositoryId: example
      authenticationToken:
        token: '0000000000000000000000000000000000000000'
Alternatively a username and password may be used.
import * as pulumi from "@pulumi/pulumi";
import * as azuredevops from "@pulumi/azuredevops";
const example = new azuredevops.Project("example", {
    name: "Example Project",
    visibility: "private",
    versionControl: "Git",
    workItemTemplate: "Agile",
    description: "Managed by Pulumi",
});
const exampleServiceendpointMaven = new azuredevops.ServiceendpointMaven("example", {
    projectId: example.id,
    serviceEndpointName: "maven-example",
    description: "Service Endpoint for 'Maven' (Managed by Terraform)",
    url: "https://example.com",
    repositoryId: "example",
    authenticationBasic: {
        username: "username",
        password: "password",
    },
});
import pulumi
import pulumi_azuredevops as azuredevops
example = azuredevops.Project("example",
    name="Example Project",
    visibility="private",
    version_control="Git",
    work_item_template="Agile",
    description="Managed by Pulumi")
example_serviceendpoint_maven = azuredevops.ServiceendpointMaven("example",
    project_id=example.id,
    service_endpoint_name="maven-example",
    description="Service Endpoint for 'Maven' (Managed by Terraform)",
    url="https://example.com",
    repository_id="example",
    authentication_basic={
        "username": "username",
        "password": "password",
    })
package main
import (
	"github.com/pulumi/pulumi-azuredevops/sdk/v3/go/azuredevops"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := azuredevops.NewProject(ctx, "example", &azuredevops.ProjectArgs{
			Name:             pulumi.String("Example Project"),
			Visibility:       pulumi.String("private"),
			VersionControl:   pulumi.String("Git"),
			WorkItemTemplate: pulumi.String("Agile"),
			Description:      pulumi.String("Managed by Pulumi"),
		})
		if err != nil {
			return err
		}
		_, err = azuredevops.NewServiceendpointMaven(ctx, "example", &azuredevops.ServiceendpointMavenArgs{
			ProjectId:           example.ID(),
			ServiceEndpointName: pulumi.String("maven-example"),
			Description:         pulumi.String("Service Endpoint for 'Maven' (Managed by Terraform)"),
			Url:                 pulumi.String("https://example.com"),
			RepositoryId:        pulumi.String("example"),
			AuthenticationBasic: &azuredevops.ServiceendpointMavenAuthenticationBasicArgs{
				Username: pulumi.String("username"),
				Password: pulumi.String("password"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureDevOps = Pulumi.AzureDevOps;
return await Deployment.RunAsync(() => 
{
    var example = new AzureDevOps.Project("example", new()
    {
        Name = "Example Project",
        Visibility = "private",
        VersionControl = "Git",
        WorkItemTemplate = "Agile",
        Description = "Managed by Pulumi",
    });
    var exampleServiceendpointMaven = new AzureDevOps.ServiceendpointMaven("example", new()
    {
        ProjectId = example.Id,
        ServiceEndpointName = "maven-example",
        Description = "Service Endpoint for 'Maven' (Managed by Terraform)",
        Url = "https://example.com",
        RepositoryId = "example",
        AuthenticationBasic = new AzureDevOps.Inputs.ServiceendpointMavenAuthenticationBasicArgs
        {
            Username = "username",
            Password = "password",
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azuredevops.Project;
import com.pulumi.azuredevops.ProjectArgs;
import com.pulumi.azuredevops.ServiceendpointMaven;
import com.pulumi.azuredevops.ServiceendpointMavenArgs;
import com.pulumi.azuredevops.inputs.ServiceendpointMavenAuthenticationBasicArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        var example = new Project("example", ProjectArgs.builder()
            .name("Example Project")
            .visibility("private")
            .versionControl("Git")
            .workItemTemplate("Agile")
            .description("Managed by Pulumi")
            .build());
        var exampleServiceendpointMaven = new ServiceendpointMaven("exampleServiceendpointMaven", ServiceendpointMavenArgs.builder()
            .projectId(example.id())
            .serviceEndpointName("maven-example")
            .description("Service Endpoint for 'Maven' (Managed by Terraform)")
            .url("https://example.com")
            .repositoryId("example")
            .authenticationBasic(ServiceendpointMavenAuthenticationBasicArgs.builder()
                .username("username")
                .password("password")
                .build())
            .build());
    }
}
resources:
  example:
    type: azuredevops:Project
    properties:
      name: Example Project
      visibility: private
      versionControl: Git
      workItemTemplate: Agile
      description: Managed by Pulumi
  exampleServiceendpointMaven:
    type: azuredevops:ServiceendpointMaven
    name: example
    properties:
      projectId: ${example.id}
      serviceEndpointName: maven-example
      description: Service Endpoint for 'Maven' (Managed by Terraform)
      url: https://example.com
      repositoryId: example
      authenticationBasic:
        username: username
        password: password
Create ServiceendpointMaven Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ServiceendpointMaven(name: string, args: ServiceendpointMavenArgs, opts?: CustomResourceOptions);@overload
def ServiceendpointMaven(resource_name: str,
                         args: ServiceendpointMavenArgs,
                         opts: Optional[ResourceOptions] = None)
@overload
def ServiceendpointMaven(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         project_id: Optional[str] = None,
                         repository_id: Optional[str] = None,
                         service_endpoint_name: Optional[str] = None,
                         url: Optional[str] = None,
                         authentication_basic: Optional[ServiceendpointMavenAuthenticationBasicArgs] = None,
                         authentication_token: Optional[ServiceendpointMavenAuthenticationTokenArgs] = None,
                         description: Optional[str] = None)func NewServiceendpointMaven(ctx *Context, name string, args ServiceendpointMavenArgs, opts ...ResourceOption) (*ServiceendpointMaven, error)public ServiceendpointMaven(string name, ServiceendpointMavenArgs args, CustomResourceOptions? opts = null)
public ServiceendpointMaven(String name, ServiceendpointMavenArgs args)
public ServiceendpointMaven(String name, ServiceendpointMavenArgs args, CustomResourceOptions options)
type: azuredevops:ServiceendpointMaven
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ServiceendpointMavenArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ServiceendpointMavenArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ServiceendpointMavenArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ServiceendpointMavenArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ServiceendpointMavenArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var serviceendpointMavenResource = new AzureDevOps.ServiceendpointMaven("serviceendpointMavenResource", new()
{
    ProjectId = "string",
    RepositoryId = "string",
    ServiceEndpointName = "string",
    Url = "string",
    AuthenticationBasic = new AzureDevOps.Inputs.ServiceendpointMavenAuthenticationBasicArgs
    {
        Password = "string",
        Username = "string",
    },
    AuthenticationToken = new AzureDevOps.Inputs.ServiceendpointMavenAuthenticationTokenArgs
    {
        Token = "string",
    },
    Description = "string",
});
example, err := azuredevops.NewServiceendpointMaven(ctx, "serviceendpointMavenResource", &azuredevops.ServiceendpointMavenArgs{
	ProjectId:           pulumi.String("string"),
	RepositoryId:        pulumi.String("string"),
	ServiceEndpointName: pulumi.String("string"),
	Url:                 pulumi.String("string"),
	AuthenticationBasic: &azuredevops.ServiceendpointMavenAuthenticationBasicArgs{
		Password: pulumi.String("string"),
		Username: pulumi.String("string"),
	},
	AuthenticationToken: &azuredevops.ServiceendpointMavenAuthenticationTokenArgs{
		Token: pulumi.String("string"),
	},
	Description: pulumi.String("string"),
})
var serviceendpointMavenResource = new ServiceendpointMaven("serviceendpointMavenResource", ServiceendpointMavenArgs.builder()
    .projectId("string")
    .repositoryId("string")
    .serviceEndpointName("string")
    .url("string")
    .authenticationBasic(ServiceendpointMavenAuthenticationBasicArgs.builder()
        .password("string")
        .username("string")
        .build())
    .authenticationToken(ServiceendpointMavenAuthenticationTokenArgs.builder()
        .token("string")
        .build())
    .description("string")
    .build());
serviceendpoint_maven_resource = azuredevops.ServiceendpointMaven("serviceendpointMavenResource",
    project_id="string",
    repository_id="string",
    service_endpoint_name="string",
    url="string",
    authentication_basic={
        "password": "string",
        "username": "string",
    },
    authentication_token={
        "token": "string",
    },
    description="string")
const serviceendpointMavenResource = new azuredevops.ServiceendpointMaven("serviceendpointMavenResource", {
    projectId: "string",
    repositoryId: "string",
    serviceEndpointName: "string",
    url: "string",
    authenticationBasic: {
        password: "string",
        username: "string",
    },
    authenticationToken: {
        token: "string",
    },
    description: "string",
});
type: azuredevops:ServiceendpointMaven
properties:
    authenticationBasic:
        password: string
        username: string
    authenticationToken:
        token: string
    description: string
    projectId: string
    repositoryId: string
    serviceEndpointName: string
    url: string
ServiceendpointMaven Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ServiceendpointMaven resource accepts the following input properties:
- ProjectId string
- The ID of the project. Changing this forces a new Service Connection Maven to be created.
- RepositoryId string
- The ID of the server that matches the id element of the repository/mirrorthat Maven tries to connect to.
- ServiceEndpoint stringName 
- The name of the service endpoint. Changing this forces a new Service Connection Maven to be created.
- Url string
- The URL of the Maven Repository.
- AuthenticationBasic Pulumi.Azure Dev Ops. Inputs. Serviceendpoint Maven Authentication Basic 
- A authentication_basicblock as documented below.
- AuthenticationToken Pulumi.Azure Dev Ops. Inputs. Serviceendpoint Maven Authentication Token 
- A authentication_tokenblock as documented below.
- Description string
- ProjectId string
- The ID of the project. Changing this forces a new Service Connection Maven to be created.
- RepositoryId string
- The ID of the server that matches the id element of the repository/mirrorthat Maven tries to connect to.
- ServiceEndpoint stringName 
- The name of the service endpoint. Changing this forces a new Service Connection Maven to be created.
- Url string
- The URL of the Maven Repository.
- AuthenticationBasic ServiceendpointMaven Authentication Basic Args 
- A authentication_basicblock as documented below.
- AuthenticationToken ServiceendpointMaven Authentication Token Args 
- A authentication_tokenblock as documented below.
- Description string
- projectId String
- The ID of the project. Changing this forces a new Service Connection Maven to be created.
- repositoryId String
- The ID of the server that matches the id element of the repository/mirrorthat Maven tries to connect to.
- serviceEndpoint StringName 
- The name of the service endpoint. Changing this forces a new Service Connection Maven to be created.
- url String
- The URL of the Maven Repository.
- authenticationBasic ServiceendpointMaven Authentication Basic 
- A authentication_basicblock as documented below.
- authenticationToken ServiceendpointMaven Authentication Token 
- A authentication_tokenblock as documented below.
- description String
- projectId string
- The ID of the project. Changing this forces a new Service Connection Maven to be created.
- repositoryId string
- The ID of the server that matches the id element of the repository/mirrorthat Maven tries to connect to.
- serviceEndpoint stringName 
- The name of the service endpoint. Changing this forces a new Service Connection Maven to be created.
- url string
- The URL of the Maven Repository.
- authenticationBasic ServiceendpointMaven Authentication Basic 
- A authentication_basicblock as documented below.
- authenticationToken ServiceendpointMaven Authentication Token 
- A authentication_tokenblock as documented below.
- description string
- project_id str
- The ID of the project. Changing this forces a new Service Connection Maven to be created.
- repository_id str
- The ID of the server that matches the id element of the repository/mirrorthat Maven tries to connect to.
- service_endpoint_ strname 
- The name of the service endpoint. Changing this forces a new Service Connection Maven to be created.
- url str
- The URL of the Maven Repository.
- authentication_basic ServiceendpointMaven Authentication Basic Args 
- A authentication_basicblock as documented below.
- authentication_token ServiceendpointMaven Authentication Token Args 
- A authentication_tokenblock as documented below.
- description str
- projectId String
- The ID of the project. Changing this forces a new Service Connection Maven to be created.
- repositoryId String
- The ID of the server that matches the id element of the repository/mirrorthat Maven tries to connect to.
- serviceEndpoint StringName 
- The name of the service endpoint. Changing this forces a new Service Connection Maven to be created.
- url String
- The URL of the Maven Repository.
- authenticationBasic Property Map
- A authentication_basicblock as documented below.
- authenticationToken Property Map
- A authentication_tokenblock as documented below.
- description String
Outputs
All input properties are implicitly available as output properties. Additionally, the ServiceendpointMaven resource produces the following output properties:
- Dictionary<string, string>
- Id string
- The provider-assigned unique ID for this managed resource.
- map[string]string
- Id string
- The provider-assigned unique ID for this managed resource.
- Map<String,String>
- id String
- The provider-assigned unique ID for this managed resource.
- {[key: string]: string}
- id string
- The provider-assigned unique ID for this managed resource.
- Mapping[str, str]
- id str
- The provider-assigned unique ID for this managed resource.
- Map<String>
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ServiceendpointMaven Resource
Get an existing ServiceendpointMaven resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ServiceendpointMavenState, opts?: CustomResourceOptions): ServiceendpointMaven@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        authentication_basic: Optional[ServiceendpointMavenAuthenticationBasicArgs] = None,
        authentication_token: Optional[ServiceendpointMavenAuthenticationTokenArgs] = None,
        authorization: Optional[Mapping[str, str]] = None,
        description: Optional[str] = None,
        project_id: Optional[str] = None,
        repository_id: Optional[str] = None,
        service_endpoint_name: Optional[str] = None,
        url: Optional[str] = None) -> ServiceendpointMavenfunc GetServiceendpointMaven(ctx *Context, name string, id IDInput, state *ServiceendpointMavenState, opts ...ResourceOption) (*ServiceendpointMaven, error)public static ServiceendpointMaven Get(string name, Input<string> id, ServiceendpointMavenState? state, CustomResourceOptions? opts = null)public static ServiceendpointMaven get(String name, Output<String> id, ServiceendpointMavenState state, CustomResourceOptions options)resources:  _:    type: azuredevops:ServiceendpointMaven    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- AuthenticationBasic Pulumi.Azure Dev Ops. Inputs. Serviceendpoint Maven Authentication Basic 
- A authentication_basicblock as documented below.
- AuthenticationToken Pulumi.Azure Dev Ops. Inputs. Serviceendpoint Maven Authentication Token 
- A authentication_tokenblock as documented below.
- Dictionary<string, string>
- Description string
- ProjectId string
- The ID of the project. Changing this forces a new Service Connection Maven to be created.
- RepositoryId string
- The ID of the server that matches the id element of the repository/mirrorthat Maven tries to connect to.
- ServiceEndpoint stringName 
- The name of the service endpoint. Changing this forces a new Service Connection Maven to be created.
- Url string
- The URL of the Maven Repository.
- AuthenticationBasic ServiceendpointMaven Authentication Basic Args 
- A authentication_basicblock as documented below.
- AuthenticationToken ServiceendpointMaven Authentication Token Args 
- A authentication_tokenblock as documented below.
- map[string]string
- Description string
- ProjectId string
- The ID of the project. Changing this forces a new Service Connection Maven to be created.
- RepositoryId string
- The ID of the server that matches the id element of the repository/mirrorthat Maven tries to connect to.
- ServiceEndpoint stringName 
- The name of the service endpoint. Changing this forces a new Service Connection Maven to be created.
- Url string
- The URL of the Maven Repository.
- authenticationBasic ServiceendpointMaven Authentication Basic 
- A authentication_basicblock as documented below.
- authenticationToken ServiceendpointMaven Authentication Token 
- A authentication_tokenblock as documented below.
- Map<String,String>
- description String
- projectId String
- The ID of the project. Changing this forces a new Service Connection Maven to be created.
- repositoryId String
- The ID of the server that matches the id element of the repository/mirrorthat Maven tries to connect to.
- serviceEndpoint StringName 
- The name of the service endpoint. Changing this forces a new Service Connection Maven to be created.
- url String
- The URL of the Maven Repository.
- authenticationBasic ServiceendpointMaven Authentication Basic 
- A authentication_basicblock as documented below.
- authenticationToken ServiceendpointMaven Authentication Token 
- A authentication_tokenblock as documented below.
- {[key: string]: string}
- description string
- projectId string
- The ID of the project. Changing this forces a new Service Connection Maven to be created.
- repositoryId string
- The ID of the server that matches the id element of the repository/mirrorthat Maven tries to connect to.
- serviceEndpoint stringName 
- The name of the service endpoint. Changing this forces a new Service Connection Maven to be created.
- url string
- The URL of the Maven Repository.
- authentication_basic ServiceendpointMaven Authentication Basic Args 
- A authentication_basicblock as documented below.
- authentication_token ServiceendpointMaven Authentication Token Args 
- A authentication_tokenblock as documented below.
- Mapping[str, str]
- description str
- project_id str
- The ID of the project. Changing this forces a new Service Connection Maven to be created.
- repository_id str
- The ID of the server that matches the id element of the repository/mirrorthat Maven tries to connect to.
- service_endpoint_ strname 
- The name of the service endpoint. Changing this forces a new Service Connection Maven to be created.
- url str
- The URL of the Maven Repository.
- authenticationBasic Property Map
- A authentication_basicblock as documented below.
- authenticationToken Property Map
- A authentication_tokenblock as documented below.
- Map<String>
- description String
- projectId String
- The ID of the project. Changing this forces a new Service Connection Maven to be created.
- repositoryId String
- The ID of the server that matches the id element of the repository/mirrorthat Maven tries to connect to.
- serviceEndpoint StringName 
- The name of the service endpoint. Changing this forces a new Service Connection Maven to be created.
- url String
- The URL of the Maven Repository.
Supporting Types
ServiceendpointMavenAuthenticationBasic, ServiceendpointMavenAuthenticationBasicArgs        
ServiceendpointMavenAuthenticationToken, ServiceendpointMavenAuthenticationTokenArgs        
- Token string
- Authentication Token generated through maven repository.
- Token string
- Authentication Token generated through maven repository.
- token String
- Authentication Token generated through maven repository.
- token string
- Authentication Token generated through maven repository.
- token str
- Authentication Token generated through maven repository.
- token String
- Authentication Token generated through maven repository.
Import
Azure DevOps Maven Service Connection can be imported using the projectId/id or projectName/id, e.g.
$ pulumi import azuredevops:index/serviceendpointMaven:ServiceendpointMaven example projectName/00000000-0000-0000-0000-000000000000
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure DevOps pulumi/pulumi-azuredevops
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the azuredevopsTerraform Provider.