1. Packages
  2. Azuredevops Provider
  3. API Docs
  4. ServiceendpointMaven
Azure DevOps v3.4.0 published on Wednesday, Oct 30, 2024 by Pulumi

azuredevops.ServiceendpointMaven

Explore with Pulumi AI

azuredevops logo
Azure DevOps v3.4.0 published on Wednesday, Oct 30, 2024 by Pulumi

    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 Terraform",
    });
    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 Terraform")
    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 Terraform"),
    		})
    		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 Terraform",
        });
    
        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 Terraform")
                .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 Terraform
      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 Terraform",
    });
    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 Terraform")
    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 Terraform"),
    		})
    		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 Terraform",
        });
    
        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 Terraform")
                .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 Terraform
      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,
                             authorization: Optional[Mapping[str, str]] = 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",
        },
        Authorization = 
        {
            { "string", "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"),
    	},
    	Authorization: pulumi.StringMap{
    		"string": 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())
        .authorization(Map.of("string", "string"))
        .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",
        },
        authorization={
            "string": "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",
        },
        authorization: {
            string: "string",
        },
        description: "string",
    });
    
    type: azuredevops:ServiceendpointMaven
    properties:
        authenticationBasic:
            password: string
            username: string
        authenticationToken:
            token: string
        authorization:
            string: 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/mirror that Maven tries to connect to.
    ServiceEndpointName string
    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.AzureDevOps.Inputs.ServiceendpointMavenAuthenticationBasic
    A authentication_basic block as documented below.
    AuthenticationToken Pulumi.AzureDevOps.Inputs.ServiceendpointMavenAuthenticationToken
    A authentication_token block as documented below.
    Authorization 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/mirror that Maven tries to connect to.
    ServiceEndpointName string
    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 ServiceendpointMavenAuthenticationBasicArgs
    A authentication_basic block as documented below.
    AuthenticationToken ServiceendpointMavenAuthenticationTokenArgs
    A authentication_token block as documented below.
    Authorization 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/mirror that Maven tries to connect to.
    serviceEndpointName String
    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 ServiceendpointMavenAuthenticationBasic
    A authentication_basic block as documented below.
    authenticationToken ServiceendpointMavenAuthenticationToken
    A authentication_token block as documented below.
    authorization 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/mirror that Maven tries to connect to.
    serviceEndpointName string
    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 ServiceendpointMavenAuthenticationBasic
    A authentication_basic block as documented below.
    authenticationToken ServiceendpointMavenAuthenticationToken
    A authentication_token block as documented below.
    authorization {[key: string]: string}
    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/mirror that Maven tries to connect to.
    service_endpoint_name str
    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 ServiceendpointMavenAuthenticationBasicArgs
    A authentication_basic block as documented below.
    authentication_token ServiceendpointMavenAuthenticationTokenArgs
    A authentication_token block as documented below.
    authorization Mapping[str, str]
    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/mirror that Maven tries to connect to.
    serviceEndpointName String
    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_basic block as documented below.
    authenticationToken Property Map
    A authentication_token block as documented below.
    authorization Map<String>
    description String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ServiceendpointMaven resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    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) -> ServiceendpointMaven
    func 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)
    Resource lookup is not supported in YAML
    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.
    The following state arguments are supported:
    AuthenticationBasic Pulumi.AzureDevOps.Inputs.ServiceendpointMavenAuthenticationBasic
    A authentication_basic block as documented below.
    AuthenticationToken Pulumi.AzureDevOps.Inputs.ServiceendpointMavenAuthenticationToken
    A authentication_token block as documented below.
    Authorization 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/mirror that Maven tries to connect to.
    ServiceEndpointName string
    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 ServiceendpointMavenAuthenticationBasicArgs
    A authentication_basic block as documented below.
    AuthenticationToken ServiceendpointMavenAuthenticationTokenArgs
    A authentication_token block as documented below.
    Authorization 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/mirror that Maven tries to connect to.
    ServiceEndpointName string
    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 ServiceendpointMavenAuthenticationBasic
    A authentication_basic block as documented below.
    authenticationToken ServiceendpointMavenAuthenticationToken
    A authentication_token block as documented below.
    authorization 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/mirror that Maven tries to connect to.
    serviceEndpointName String
    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 ServiceendpointMavenAuthenticationBasic
    A authentication_basic block as documented below.
    authenticationToken ServiceendpointMavenAuthenticationToken
    A authentication_token block as documented below.
    authorization {[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/mirror that Maven tries to connect to.
    serviceEndpointName string
    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 ServiceendpointMavenAuthenticationBasicArgs
    A authentication_basic block as documented below.
    authentication_token ServiceendpointMavenAuthenticationTokenArgs
    A authentication_token block as documented below.
    authorization 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/mirror that Maven tries to connect to.
    service_endpoint_name str
    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_basic block as documented below.
    authenticationToken Property Map
    A authentication_token block as documented below.
    authorization 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/mirror that Maven tries to connect to.
    serviceEndpointName String
    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

    Password string
    The password Maven Repository.
    Username string
    The Username of the Maven Repository.
    Password string
    The password Maven Repository.
    Username string
    The Username of the Maven Repository.
    password String
    The password Maven Repository.
    username String
    The Username of the Maven Repository.
    password string
    The password Maven Repository.
    username string
    The Username of the Maven Repository.
    password str
    The password Maven Repository.
    username str
    The Username of the Maven Repository.
    password String
    The password Maven Repository.
    username String
    The Username of the Maven Repository.

    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

    Service Connection Maven can be imported using the projectId/id or 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 azuredevops Terraform Provider.
    azuredevops logo
    Azure DevOps v3.4.0 published on Wednesday, Oct 30, 2024 by Pulumi