1. Packages
  2. Azure DevOps Provider
  3. API Docs
  4. ServiceendpointDynamicsLifecycleServices
Azure DevOps v3.8.0 published on Monday, Mar 17, 2025 by Pulumi

azuredevops.ServiceendpointDynamicsLifecycleServices

Explore with Pulumi AI

azuredevops logo
Azure DevOps v3.8.0 published on Monday, Mar 17, 2025 by Pulumi

    Manages a Dynamics Lifecycle Services service endpoint within Azure DevOps. Using this service endpoint requires you to install: Dynamics Lifecycle Services

    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 exampleServiceendpointDynamicsLifecycleServices = new azuredevops.ServiceendpointDynamicsLifecycleServices("example", {
        projectId: example.id,
        serviceEndpointName: "Example Service connection",
        authorizationEndpoint: "https://login.microsoftonline.com/organization",
        lifecycleServicesApiEndpoint: "https://lcsapi.lcs.dynamics.com",
        clientId: "00000000-0000-0000-0000-000000000000",
        username: "username",
        password: "password",
        description: "Managed by Pulumi",
    });
    
    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_dynamics_lifecycle_services = azuredevops.ServiceendpointDynamicsLifecycleServices("example",
        project_id=example.id,
        service_endpoint_name="Example Service connection",
        authorization_endpoint="https://login.microsoftonline.com/organization",
        lifecycle_services_api_endpoint="https://lcsapi.lcs.dynamics.com",
        client_id="00000000-0000-0000-0000-000000000000",
        username="username",
        password="password",
        description="Managed by Pulumi")
    
    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.NewServiceendpointDynamicsLifecycleServices(ctx, "example", &azuredevops.ServiceendpointDynamicsLifecycleServicesArgs{
    			ProjectId:                    example.ID(),
    			ServiceEndpointName:          pulumi.String("Example Service connection"),
    			AuthorizationEndpoint:        pulumi.String("https://login.microsoftonline.com/organization"),
    			LifecycleServicesApiEndpoint: pulumi.String("https://lcsapi.lcs.dynamics.com"),
    			ClientId:                     pulumi.String("00000000-0000-0000-0000-000000000000"),
    			Username:                     pulumi.String("username"),
    			Password:                     pulumi.String("password"),
    			Description:                  pulumi.String("Managed by Pulumi"),
    		})
    		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 exampleServiceendpointDynamicsLifecycleServices = new AzureDevOps.ServiceendpointDynamicsLifecycleServices("example", new()
        {
            ProjectId = example.Id,
            ServiceEndpointName = "Example Service connection",
            AuthorizationEndpoint = "https://login.microsoftonline.com/organization",
            LifecycleServicesApiEndpoint = "https://lcsapi.lcs.dynamics.com",
            ClientId = "00000000-0000-0000-0000-000000000000",
            Username = "username",
            Password = "password",
            Description = "Managed by Pulumi",
        });
    
    });
    
    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.ServiceendpointDynamicsLifecycleServices;
    import com.pulumi.azuredevops.ServiceendpointDynamicsLifecycleServicesArgs;
    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 exampleServiceendpointDynamicsLifecycleServices = new ServiceendpointDynamicsLifecycleServices("exampleServiceendpointDynamicsLifecycleServices", ServiceendpointDynamicsLifecycleServicesArgs.builder()
                .projectId(example.id())
                .serviceEndpointName("Example Service connection")
                .authorizationEndpoint("https://login.microsoftonline.com/organization")
                .lifecycleServicesApiEndpoint("https://lcsapi.lcs.dynamics.com")
                .clientId("00000000-0000-0000-0000-000000000000")
                .username("username")
                .password("password")
                .description("Managed by Pulumi")
                .build());
    
        }
    }
    
    resources:
      example:
        type: azuredevops:Project
        properties:
          name: Example Project
          visibility: private
          versionControl: Git
          workItemTemplate: Agile
          description: Managed by Pulumi
      exampleServiceendpointDynamicsLifecycleServices:
        type: azuredevops:ServiceendpointDynamicsLifecycleServices
        name: example
        properties:
          projectId: ${example.id}
          serviceEndpointName: Example Service connection
          authorizationEndpoint: https://login.microsoftonline.com/organization
          lifecycleServicesApiEndpoint: https://lcsapi.lcs.dynamics.com
          clientId: 00000000-0000-0000-0000-000000000000
          username: username
          password: password
          description: Managed by Pulumi
    

    Create ServiceendpointDynamicsLifecycleServices Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ServiceendpointDynamicsLifecycleServices(name: string, args: ServiceendpointDynamicsLifecycleServicesArgs, opts?: CustomResourceOptions);
    @overload
    def ServiceendpointDynamicsLifecycleServices(resource_name: str,
                                                 args: ServiceendpointDynamicsLifecycleServicesArgs,
                                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def ServiceendpointDynamicsLifecycleServices(resource_name: str,
                                                 opts: Optional[ResourceOptions] = None,
                                                 authorization_endpoint: Optional[str] = None,
                                                 client_id: Optional[str] = None,
                                                 lifecycle_services_api_endpoint: Optional[str] = None,
                                                 password: Optional[str] = None,
                                                 project_id: Optional[str] = None,
                                                 service_endpoint_name: Optional[str] = None,
                                                 username: Optional[str] = None,
                                                 description: Optional[str] = None)
    func NewServiceendpointDynamicsLifecycleServices(ctx *Context, name string, args ServiceendpointDynamicsLifecycleServicesArgs, opts ...ResourceOption) (*ServiceendpointDynamicsLifecycleServices, error)
    public ServiceendpointDynamicsLifecycleServices(string name, ServiceendpointDynamicsLifecycleServicesArgs args, CustomResourceOptions? opts = null)
    public ServiceendpointDynamicsLifecycleServices(String name, ServiceendpointDynamicsLifecycleServicesArgs args)
    public ServiceendpointDynamicsLifecycleServices(String name, ServiceendpointDynamicsLifecycleServicesArgs args, CustomResourceOptions options)
    
    type: azuredevops:ServiceendpointDynamicsLifecycleServices
    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 ServiceendpointDynamicsLifecycleServicesArgs
    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 ServiceendpointDynamicsLifecycleServicesArgs
    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 ServiceendpointDynamicsLifecycleServicesArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServiceendpointDynamicsLifecycleServicesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServiceendpointDynamicsLifecycleServicesArgs
    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 serviceendpointDynamicsLifecycleServicesResource = new AzureDevOps.ServiceendpointDynamicsLifecycleServices("serviceendpointDynamicsLifecycleServicesResource", new()
    {
        AuthorizationEndpoint = "string",
        ClientId = "string",
        LifecycleServicesApiEndpoint = "string",
        Password = "string",
        ProjectId = "string",
        ServiceEndpointName = "string",
        Username = "string",
        Description = "string",
    });
    
    example, err := azuredevops.NewServiceendpointDynamicsLifecycleServices(ctx, "serviceendpointDynamicsLifecycleServicesResource", &azuredevops.ServiceendpointDynamicsLifecycleServicesArgs{
    	AuthorizationEndpoint:        pulumi.String("string"),
    	ClientId:                     pulumi.String("string"),
    	LifecycleServicesApiEndpoint: pulumi.String("string"),
    	Password:                     pulumi.String("string"),
    	ProjectId:                    pulumi.String("string"),
    	ServiceEndpointName:          pulumi.String("string"),
    	Username:                     pulumi.String("string"),
    	Description:                  pulumi.String("string"),
    })
    
    var serviceendpointDynamicsLifecycleServicesResource = new ServiceendpointDynamicsLifecycleServices("serviceendpointDynamicsLifecycleServicesResource", ServiceendpointDynamicsLifecycleServicesArgs.builder()
        .authorizationEndpoint("string")
        .clientId("string")
        .lifecycleServicesApiEndpoint("string")
        .password("string")
        .projectId("string")
        .serviceEndpointName("string")
        .username("string")
        .description("string")
        .build());
    
    serviceendpoint_dynamics_lifecycle_services_resource = azuredevops.ServiceendpointDynamicsLifecycleServices("serviceendpointDynamicsLifecycleServicesResource",
        authorization_endpoint="string",
        client_id="string",
        lifecycle_services_api_endpoint="string",
        password="string",
        project_id="string",
        service_endpoint_name="string",
        username="string",
        description="string")
    
    const serviceendpointDynamicsLifecycleServicesResource = new azuredevops.ServiceendpointDynamicsLifecycleServices("serviceendpointDynamicsLifecycleServicesResource", {
        authorizationEndpoint: "string",
        clientId: "string",
        lifecycleServicesApiEndpoint: "string",
        password: "string",
        projectId: "string",
        serviceEndpointName: "string",
        username: "string",
        description: "string",
    });
    
    type: azuredevops:ServiceendpointDynamicsLifecycleServices
    properties:
        authorizationEndpoint: string
        clientId: string
        description: string
        lifecycleServicesApiEndpoint: string
        password: string
        projectId: string
        serviceEndpointName: string
        username: string
    

    ServiceendpointDynamicsLifecycleServices 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 ServiceendpointDynamicsLifecycleServices resource accepts the following input properties:

    AuthorizationEndpoint string
    The URL of the Authentication Endpoint.
    ClientId string
    The client ID for a native application registration in Azure Active Directory with API permissions for Dynamics Lifecycle Services.
    LifecycleServicesApiEndpoint string
    The URL of the Lifecycle Services API Endpoint.
    Password string
    The Password for the Azure Active Directory account.
    ProjectId string
    The ID of the project.
    ServiceEndpointName string
    The Service Endpoint name.
    Username string
    The E-mail address of user with sufficient permissions to interact with LCS asset library and environments.
    Description string
    AuthorizationEndpoint string
    The URL of the Authentication Endpoint.
    ClientId string
    The client ID for a native application registration in Azure Active Directory with API permissions for Dynamics Lifecycle Services.
    LifecycleServicesApiEndpoint string
    The URL of the Lifecycle Services API Endpoint.
    Password string
    The Password for the Azure Active Directory account.
    ProjectId string
    The ID of the project.
    ServiceEndpointName string
    The Service Endpoint name.
    Username string
    The E-mail address of user with sufficient permissions to interact with LCS asset library and environments.
    Description string
    authorizationEndpoint String
    The URL of the Authentication Endpoint.
    clientId String
    The client ID for a native application registration in Azure Active Directory with API permissions for Dynamics Lifecycle Services.
    lifecycleServicesApiEndpoint String
    The URL of the Lifecycle Services API Endpoint.
    password String
    The Password for the Azure Active Directory account.
    projectId String
    The ID of the project.
    serviceEndpointName String
    The Service Endpoint name.
    username String
    The E-mail address of user with sufficient permissions to interact with LCS asset library and environments.
    description String
    authorizationEndpoint string
    The URL of the Authentication Endpoint.
    clientId string
    The client ID for a native application registration in Azure Active Directory with API permissions for Dynamics Lifecycle Services.
    lifecycleServicesApiEndpoint string
    The URL of the Lifecycle Services API Endpoint.
    password string
    The Password for the Azure Active Directory account.
    projectId string
    The ID of the project.
    serviceEndpointName string
    The Service Endpoint name.
    username string
    The E-mail address of user with sufficient permissions to interact with LCS asset library and environments.
    description string
    authorization_endpoint str
    The URL of the Authentication Endpoint.
    client_id str
    The client ID for a native application registration in Azure Active Directory with API permissions for Dynamics Lifecycle Services.
    lifecycle_services_api_endpoint str
    The URL of the Lifecycle Services API Endpoint.
    password str
    The Password for the Azure Active Directory account.
    project_id str
    The ID of the project.
    service_endpoint_name str
    The Service Endpoint name.
    username str
    The E-mail address of user with sufficient permissions to interact with LCS asset library and environments.
    description str
    authorizationEndpoint String
    The URL of the Authentication Endpoint.
    clientId String
    The client ID for a native application registration in Azure Active Directory with API permissions for Dynamics Lifecycle Services.
    lifecycleServicesApiEndpoint String
    The URL of the Lifecycle Services API Endpoint.
    password String
    The Password for the Azure Active Directory account.
    projectId String
    The ID of the project.
    serviceEndpointName String
    The Service Endpoint name.
    username String
    The E-mail address of user with sufficient permissions to interact with LCS asset library and environments.
    description String

    Outputs

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

    Authorization Dictionary<string, string>
    Id string
    The provider-assigned unique ID for this managed resource.
    Authorization map[string]string
    Id string
    The provider-assigned unique ID for this managed resource.
    authorization Map<String,String>
    id String
    The provider-assigned unique ID for this managed resource.
    authorization {[key: string]: string}
    id string
    The provider-assigned unique ID for this managed resource.
    authorization Mapping[str, str]
    id str
    The provider-assigned unique ID for this managed resource.
    authorization Map<String>
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ServiceendpointDynamicsLifecycleServices Resource

    Get an existing ServiceendpointDynamicsLifecycleServices 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?: ServiceendpointDynamicsLifecycleServicesState, opts?: CustomResourceOptions): ServiceendpointDynamicsLifecycleServices
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            authorization: Optional[Mapping[str, str]] = None,
            authorization_endpoint: Optional[str] = None,
            client_id: Optional[str] = None,
            description: Optional[str] = None,
            lifecycle_services_api_endpoint: Optional[str] = None,
            password: Optional[str] = None,
            project_id: Optional[str] = None,
            service_endpoint_name: Optional[str] = None,
            username: Optional[str] = None) -> ServiceendpointDynamicsLifecycleServices
    func GetServiceendpointDynamicsLifecycleServices(ctx *Context, name string, id IDInput, state *ServiceendpointDynamicsLifecycleServicesState, opts ...ResourceOption) (*ServiceendpointDynamicsLifecycleServices, error)
    public static ServiceendpointDynamicsLifecycleServices Get(string name, Input<string> id, ServiceendpointDynamicsLifecycleServicesState? state, CustomResourceOptions? opts = null)
    public static ServiceendpointDynamicsLifecycleServices get(String name, Output<String> id, ServiceendpointDynamicsLifecycleServicesState state, CustomResourceOptions options)
    resources:  _:    type: azuredevops:ServiceendpointDynamicsLifecycleServices    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.
    The following state arguments are supported:
    Authorization Dictionary<string, string>
    AuthorizationEndpoint string
    The URL of the Authentication Endpoint.
    ClientId string
    The client ID for a native application registration in Azure Active Directory with API permissions for Dynamics Lifecycle Services.
    Description string
    LifecycleServicesApiEndpoint string
    The URL of the Lifecycle Services API Endpoint.
    Password string
    The Password for the Azure Active Directory account.
    ProjectId string
    The ID of the project.
    ServiceEndpointName string
    The Service Endpoint name.
    Username string
    The E-mail address of user with sufficient permissions to interact with LCS asset library and environments.
    Authorization map[string]string
    AuthorizationEndpoint string
    The URL of the Authentication Endpoint.
    ClientId string
    The client ID for a native application registration in Azure Active Directory with API permissions for Dynamics Lifecycle Services.
    Description string
    LifecycleServicesApiEndpoint string
    The URL of the Lifecycle Services API Endpoint.
    Password string
    The Password for the Azure Active Directory account.
    ProjectId string
    The ID of the project.
    ServiceEndpointName string
    The Service Endpoint name.
    Username string
    The E-mail address of user with sufficient permissions to interact with LCS asset library and environments.
    authorization Map<String,String>
    authorizationEndpoint String
    The URL of the Authentication Endpoint.
    clientId String
    The client ID for a native application registration in Azure Active Directory with API permissions for Dynamics Lifecycle Services.
    description String
    lifecycleServicesApiEndpoint String
    The URL of the Lifecycle Services API Endpoint.
    password String
    The Password for the Azure Active Directory account.
    projectId String
    The ID of the project.
    serviceEndpointName String
    The Service Endpoint name.
    username String
    The E-mail address of user with sufficient permissions to interact with LCS asset library and environments.
    authorization {[key: string]: string}
    authorizationEndpoint string
    The URL of the Authentication Endpoint.
    clientId string
    The client ID for a native application registration in Azure Active Directory with API permissions for Dynamics Lifecycle Services.
    description string
    lifecycleServicesApiEndpoint string
    The URL of the Lifecycle Services API Endpoint.
    password string
    The Password for the Azure Active Directory account.
    projectId string
    The ID of the project.
    serviceEndpointName string
    The Service Endpoint name.
    username string
    The E-mail address of user with sufficient permissions to interact with LCS asset library and environments.
    authorization Mapping[str, str]
    authorization_endpoint str
    The URL of the Authentication Endpoint.
    client_id str
    The client ID for a native application registration in Azure Active Directory with API permissions for Dynamics Lifecycle Services.
    description str
    lifecycle_services_api_endpoint str
    The URL of the Lifecycle Services API Endpoint.
    password str
    The Password for the Azure Active Directory account.
    project_id str
    The ID of the project.
    service_endpoint_name str
    The Service Endpoint name.
    username str
    The E-mail address of user with sufficient permissions to interact with LCS asset library and environments.
    authorization Map<String>
    authorizationEndpoint String
    The URL of the Authentication Endpoint.
    clientId String
    The client ID for a native application registration in Azure Active Directory with API permissions for Dynamics Lifecycle Services.
    description String
    lifecycleServicesApiEndpoint String
    The URL of the Lifecycle Services API Endpoint.
    password String
    The Password for the Azure Active Directory account.
    projectId String
    The ID of the project.
    serviceEndpointName String
    The Service Endpoint name.
    username String
    The E-mail address of user with sufficient permissions to interact with LCS asset library and environments.

    Import

    Azure DevOps Dynamics Life Cycle Service Endpoint can be imported using projectID/serviceEndpointID or projectName/serviceEndpointID

    $ pulumi import azuredevops:index/serviceendpointDynamicsLifecycleServices:ServiceendpointDynamicsLifecycleServices example 00000000-0000-0000-0000-000000000000/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.8.0 published on Monday, Mar 17, 2025 by Pulumi