1. Packages
  2. AzureDevOps
  3. API Docs
  4. ServiceEndpoint
  5. AzureRM
Azure DevOps v2.14.0 published on Tuesday, Oct 31, 2023 by Pulumi

azuredevops.ServiceEndpoint.AzureRM

Explore with Pulumi AI

azuredevops logo
Azure DevOps v2.14.0 published on Tuesday, Oct 31, 2023 by Pulumi

    Deprecated:

    azuredevops.serviceendpoint.AzureRM has been deprecated in favor of azuredevops.ServiceEndpointAzureRM

    Manages Manual or Automatic AzureRM service endpoint within Azure DevOps.

    Requirements (Manual AzureRM Service Endpoint)

    Before to create a service end point in Azure DevOps, you need to create a Service Principal in your Azure subscription.

    For detailed steps to create a service principal with Azure cli see the documentation

    Example Usage

    Service Principal Manual AzureRM Service Endpoint (Subscription Scoped)

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureDevOps = Pulumi.AzureDevOps;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleProject = new AzureDevOps.Project("exampleProject", new()
        {
            Visibility = "private",
            VersionControl = "Git",
            WorkItemTemplate = "Agile",
            Description = "Managed by Terraform",
        });
    
        var exampleServiceEndpointAzureRM = new AzureDevOps.ServiceEndpointAzureRM("exampleServiceEndpointAzureRM", new()
        {
            ProjectId = exampleProject.Id,
            ServiceEndpointName = "Example AzureRM",
            Description = "Managed by Terraform",
            ServiceEndpointAuthenticationScheme = "ServicePrincipal",
            Credentials = new AzureDevOps.Inputs.ServiceEndpointAzureRMCredentialsArgs
            {
                Serviceprincipalid = "00000000-0000-0000-0000-000000000000",
                Serviceprincipalkey = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
            },
            AzurermSpnTenantid = "00000000-0000-0000-0000-000000000000",
            AzurermSubscriptionId = "00000000-0000-0000-0000-000000000000",
            AzurermSubscriptionName = "Example Subscription Name",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azuredevops/sdk/v2/go/azuredevops"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
    			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.NewServiceEndpointAzureRM(ctx, "exampleServiceEndpointAzureRM", &azuredevops.ServiceEndpointAzureRMArgs{
    			ProjectId:                           exampleProject.ID(),
    			ServiceEndpointName:                 pulumi.String("Example AzureRM"),
    			Description:                         pulumi.String("Managed by Terraform"),
    			ServiceEndpointAuthenticationScheme: pulumi.String("ServicePrincipal"),
    			Credentials: &azuredevops.ServiceEndpointAzureRMCredentialsArgs{
    				Serviceprincipalid:  pulumi.String("00000000-0000-0000-0000-000000000000"),
    				Serviceprincipalkey: pulumi.String("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"),
    			},
    			AzurermSpnTenantid:      pulumi.String("00000000-0000-0000-0000-000000000000"),
    			AzurermSubscriptionId:   pulumi.String("00000000-0000-0000-0000-000000000000"),
    			AzurermSubscriptionName: pulumi.String("Example Subscription Name"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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.ServiceEndpointAzureRM;
    import com.pulumi.azuredevops.ServiceEndpointAzureRMArgs;
    import com.pulumi.azuredevops.inputs.ServiceEndpointAzureRMCredentialsArgs;
    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 exampleProject = new Project("exampleProject", ProjectArgs.builder()        
                .visibility("private")
                .versionControl("Git")
                .workItemTemplate("Agile")
                .description("Managed by Terraform")
                .build());
    
            var exampleServiceEndpointAzureRM = new ServiceEndpointAzureRM("exampleServiceEndpointAzureRM", ServiceEndpointAzureRMArgs.builder()        
                .projectId(exampleProject.id())
                .serviceEndpointName("Example AzureRM")
                .description("Managed by Terraform")
                .serviceEndpointAuthenticationScheme("ServicePrincipal")
                .credentials(ServiceEndpointAzureRMCredentialsArgs.builder()
                    .serviceprincipalid("00000000-0000-0000-0000-000000000000")
                    .serviceprincipalkey("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
                    .build())
                .azurermSpnTenantid("00000000-0000-0000-0000-000000000000")
                .azurermSubscriptionId("00000000-0000-0000-0000-000000000000")
                .azurermSubscriptionName("Example Subscription Name")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azuredevops as azuredevops
    
    example_project = azuredevops.Project("exampleProject",
        visibility="private",
        version_control="Git",
        work_item_template="Agile",
        description="Managed by Terraform")
    example_service_endpoint_azure_rm = azuredevops.ServiceEndpointAzureRM("exampleServiceEndpointAzureRM",
        project_id=example_project.id,
        service_endpoint_name="Example AzureRM",
        description="Managed by Terraform",
        service_endpoint_authentication_scheme="ServicePrincipal",
        credentials=azuredevops.ServiceEndpointAzureRMCredentialsArgs(
            serviceprincipalid="00000000-0000-0000-0000-000000000000",
            serviceprincipalkey="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        ),
        azurerm_spn_tenantid="00000000-0000-0000-0000-000000000000",
        azurerm_subscription_id="00000000-0000-0000-0000-000000000000",
        azurerm_subscription_name="Example Subscription Name")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azuredevops from "@pulumi/azuredevops";
    
    const exampleProject = new azuredevops.Project("exampleProject", {
        visibility: "private",
        versionControl: "Git",
        workItemTemplate: "Agile",
        description: "Managed by Terraform",
    });
    const exampleServiceEndpointAzureRM = new azuredevops.ServiceEndpointAzureRM("exampleServiceEndpointAzureRM", {
        projectId: exampleProject.id,
        serviceEndpointName: "Example AzureRM",
        description: "Managed by Terraform",
        serviceEndpointAuthenticationScheme: "ServicePrincipal",
        credentials: {
            serviceprincipalid: "00000000-0000-0000-0000-000000000000",
            serviceprincipalkey: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        },
        azurermSpnTenantid: "00000000-0000-0000-0000-000000000000",
        azurermSubscriptionId: "00000000-0000-0000-0000-000000000000",
        azurermSubscriptionName: "Example Subscription Name",
    });
    
    resources:
      exampleProject:
        type: azuredevops:Project
        properties:
          visibility: private
          versionControl: Git
          workItemTemplate: Agile
          description: Managed by Terraform
      exampleServiceEndpointAzureRM:
        type: azuredevops:ServiceEndpointAzureRM
        properties:
          projectId: ${exampleProject.id}
          serviceEndpointName: Example AzureRM
          description: Managed by Terraform
          serviceEndpointAuthenticationScheme: ServicePrincipal
          credentials:
            serviceprincipalid: 00000000-0000-0000-0000-000000000000
            serviceprincipalkey: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
          azurermSpnTenantid: 00000000-0000-0000-0000-000000000000
          azurermSubscriptionId: 00000000-0000-0000-0000-000000000000
          azurermSubscriptionName: Example Subscription Name
    

    Service Principal Manual AzureRM Service Endpoint (ManagementGroup Scoped)

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureDevOps = Pulumi.AzureDevOps;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleProject = new AzureDevOps.Project("exampleProject", new()
        {
            Visibility = "private",
            VersionControl = "Git",
            WorkItemTemplate = "Agile",
            Description = "Managed by Terraform",
        });
    
        var exampleServiceEndpointAzureRM = new AzureDevOps.ServiceEndpointAzureRM("exampleServiceEndpointAzureRM", new()
        {
            ProjectId = exampleProject.Id,
            ServiceEndpointName = "Example AzureRM",
            Description = "Managed by Terraform",
            ServiceEndpointAuthenticationScheme = "ServicePrincipal",
            Credentials = new AzureDevOps.Inputs.ServiceEndpointAzureRMCredentialsArgs
            {
                Serviceprincipalid = "00000000-0000-0000-0000-000000000000",
                Serviceprincipalkey = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
            },
            AzurermSpnTenantid = "00000000-0000-0000-0000-000000000000",
            AzurermManagementGroupId = "managementGroup",
            AzurermManagementGroupName = "managementGroup",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azuredevops/sdk/v2/go/azuredevops"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
    			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.NewServiceEndpointAzureRM(ctx, "exampleServiceEndpointAzureRM", &azuredevops.ServiceEndpointAzureRMArgs{
    			ProjectId:                           exampleProject.ID(),
    			ServiceEndpointName:                 pulumi.String("Example AzureRM"),
    			Description:                         pulumi.String("Managed by Terraform"),
    			ServiceEndpointAuthenticationScheme: pulumi.String("ServicePrincipal"),
    			Credentials: &azuredevops.ServiceEndpointAzureRMCredentialsArgs{
    				Serviceprincipalid:  pulumi.String("00000000-0000-0000-0000-000000000000"),
    				Serviceprincipalkey: pulumi.String("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"),
    			},
    			AzurermSpnTenantid:         pulumi.String("00000000-0000-0000-0000-000000000000"),
    			AzurermManagementGroupId:   pulumi.String("managementGroup"),
    			AzurermManagementGroupName: pulumi.String("managementGroup"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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.ServiceEndpointAzureRM;
    import com.pulumi.azuredevops.ServiceEndpointAzureRMArgs;
    import com.pulumi.azuredevops.inputs.ServiceEndpointAzureRMCredentialsArgs;
    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 exampleProject = new Project("exampleProject", ProjectArgs.builder()        
                .visibility("private")
                .versionControl("Git")
                .workItemTemplate("Agile")
                .description("Managed by Terraform")
                .build());
    
            var exampleServiceEndpointAzureRM = new ServiceEndpointAzureRM("exampleServiceEndpointAzureRM", ServiceEndpointAzureRMArgs.builder()        
                .projectId(exampleProject.id())
                .serviceEndpointName("Example AzureRM")
                .description("Managed by Terraform")
                .serviceEndpointAuthenticationScheme("ServicePrincipal")
                .credentials(ServiceEndpointAzureRMCredentialsArgs.builder()
                    .serviceprincipalid("00000000-0000-0000-0000-000000000000")
                    .serviceprincipalkey("xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx")
                    .build())
                .azurermSpnTenantid("00000000-0000-0000-0000-000000000000")
                .azurermManagementGroupId("managementGroup")
                .azurermManagementGroupName("managementGroup")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azuredevops as azuredevops
    
    example_project = azuredevops.Project("exampleProject",
        visibility="private",
        version_control="Git",
        work_item_template="Agile",
        description="Managed by Terraform")
    example_service_endpoint_azure_rm = azuredevops.ServiceEndpointAzureRM("exampleServiceEndpointAzureRM",
        project_id=example_project.id,
        service_endpoint_name="Example AzureRM",
        description="Managed by Terraform",
        service_endpoint_authentication_scheme="ServicePrincipal",
        credentials=azuredevops.ServiceEndpointAzureRMCredentialsArgs(
            serviceprincipalid="00000000-0000-0000-0000-000000000000",
            serviceprincipalkey="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        ),
        azurerm_spn_tenantid="00000000-0000-0000-0000-000000000000",
        azurerm_management_group_id="managementGroup",
        azurerm_management_group_name="managementGroup")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azuredevops from "@pulumi/azuredevops";
    
    const exampleProject = new azuredevops.Project("exampleProject", {
        visibility: "private",
        versionControl: "Git",
        workItemTemplate: "Agile",
        description: "Managed by Terraform",
    });
    const exampleServiceEndpointAzureRM = new azuredevops.ServiceEndpointAzureRM("exampleServiceEndpointAzureRM", {
        projectId: exampleProject.id,
        serviceEndpointName: "Example AzureRM",
        description: "Managed by Terraform",
        serviceEndpointAuthenticationScheme: "ServicePrincipal",
        credentials: {
            serviceprincipalid: "00000000-0000-0000-0000-000000000000",
            serviceprincipalkey: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
        },
        azurermSpnTenantid: "00000000-0000-0000-0000-000000000000",
        azurermManagementGroupId: "managementGroup",
        azurermManagementGroupName: "managementGroup",
    });
    
    resources:
      exampleProject:
        type: azuredevops:Project
        properties:
          visibility: private
          versionControl: Git
          workItemTemplate: Agile
          description: Managed by Terraform
      exampleServiceEndpointAzureRM:
        type: azuredevops:ServiceEndpointAzureRM
        properties:
          projectId: ${exampleProject.id}
          serviceEndpointName: Example AzureRM
          description: Managed by Terraform
          serviceEndpointAuthenticationScheme: ServicePrincipal
          credentials:
            serviceprincipalid: 00000000-0000-0000-0000-000000000000
            serviceprincipalkey: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
          azurermSpnTenantid: 00000000-0000-0000-0000-000000000000
          azurermManagementGroupId: managementGroup
          azurermManagementGroupName: managementGroup
    

    Service Principal Automatic AzureRM Service Endpoint

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureDevOps = Pulumi.AzureDevOps;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleProject = new AzureDevOps.Project("exampleProject", new()
        {
            Visibility = "private",
            VersionControl = "Git",
            WorkItemTemplate = "Agile",
        });
    
        var exampleServiceEndpointAzureRM = new AzureDevOps.ServiceEndpointAzureRM("exampleServiceEndpointAzureRM", new()
        {
            ProjectId = exampleProject.Id,
            ServiceEndpointName = "Example AzureRM",
            ServiceEndpointAuthenticationScheme = "ServicePrincipal",
            AzurermSpnTenantid = "00000000-0000-0000-0000-000000000000",
            AzurermSubscriptionId = "00000000-0000-0000-0000-000000000000",
            AzurermSubscriptionName = "Example Subscription Name",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azuredevops/sdk/v2/go/azuredevops"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
    			Visibility:       pulumi.String("private"),
    			VersionControl:   pulumi.String("Git"),
    			WorkItemTemplate: pulumi.String("Agile"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = azuredevops.NewServiceEndpointAzureRM(ctx, "exampleServiceEndpointAzureRM", &azuredevops.ServiceEndpointAzureRMArgs{
    			ProjectId:                           exampleProject.ID(),
    			ServiceEndpointName:                 pulumi.String("Example AzureRM"),
    			ServiceEndpointAuthenticationScheme: pulumi.String("ServicePrincipal"),
    			AzurermSpnTenantid:                  pulumi.String("00000000-0000-0000-0000-000000000000"),
    			AzurermSubscriptionId:               pulumi.String("00000000-0000-0000-0000-000000000000"),
    			AzurermSubscriptionName:             pulumi.String("Example Subscription Name"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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.ServiceEndpointAzureRM;
    import com.pulumi.azuredevops.ServiceEndpointAzureRMArgs;
    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 exampleProject = new Project("exampleProject", ProjectArgs.builder()        
                .visibility("private")
                .versionControl("Git")
                .workItemTemplate("Agile")
                .build());
    
            var exampleServiceEndpointAzureRM = new ServiceEndpointAzureRM("exampleServiceEndpointAzureRM", ServiceEndpointAzureRMArgs.builder()        
                .projectId(exampleProject.id())
                .serviceEndpointName("Example AzureRM")
                .serviceEndpointAuthenticationScheme("ServicePrincipal")
                .azurermSpnTenantid("00000000-0000-0000-0000-000000000000")
                .azurermSubscriptionId("00000000-0000-0000-0000-000000000000")
                .azurermSubscriptionName("Example Subscription Name")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azuredevops as azuredevops
    
    example_project = azuredevops.Project("exampleProject",
        visibility="private",
        version_control="Git",
        work_item_template="Agile")
    example_service_endpoint_azure_rm = azuredevops.ServiceEndpointAzureRM("exampleServiceEndpointAzureRM",
        project_id=example_project.id,
        service_endpoint_name="Example AzureRM",
        service_endpoint_authentication_scheme="ServicePrincipal",
        azurerm_spn_tenantid="00000000-0000-0000-0000-000000000000",
        azurerm_subscription_id="00000000-0000-0000-0000-000000000000",
        azurerm_subscription_name="Example Subscription Name")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azuredevops from "@pulumi/azuredevops";
    
    const exampleProject = new azuredevops.Project("exampleProject", {
        visibility: "private",
        versionControl: "Git",
        workItemTemplate: "Agile",
    });
    const exampleServiceEndpointAzureRM = new azuredevops.ServiceEndpointAzureRM("exampleServiceEndpointAzureRM", {
        projectId: exampleProject.id,
        serviceEndpointName: "Example AzureRM",
        serviceEndpointAuthenticationScheme: "ServicePrincipal",
        azurermSpnTenantid: "00000000-0000-0000-0000-000000000000",
        azurermSubscriptionId: "00000000-0000-0000-0000-000000000000",
        azurermSubscriptionName: "Example Subscription Name",
    });
    
    resources:
      exampleProject:
        type: azuredevops:Project
        properties:
          visibility: private
          versionControl: Git
          workItemTemplate: Agile
      exampleServiceEndpointAzureRM:
        type: azuredevops:ServiceEndpointAzureRM
        properties:
          projectId: ${exampleProject.id}
          serviceEndpointName: Example AzureRM
          serviceEndpointAuthenticationScheme: ServicePrincipal
          azurermSpnTenantid: 00000000-0000-0000-0000-000000000000
          azurermSubscriptionId: 00000000-0000-0000-0000-000000000000
          azurermSubscriptionName: Example Subscription Name
    

    Workload Identity Federation Manual AzureRM Service Endpoint (Subscription Scoped)

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureDevOps = Pulumi.AzureDevOps;
    using Azurerm = Pulumi.Azurerm;
    
    return await Deployment.RunAsync(() => 
    {
        var serviceConnectionName = "example-federated-sc";
    
        var exampleProject = new AzureDevOps.Project("exampleProject", new()
        {
            Visibility = "private",
            VersionControl = "Git",
            WorkItemTemplate = "Agile",
            Description = "Managed by Terraform",
        });
    
        var identity = new Azurerm.Index.Azurerm_resource_group("identity", new()
        {
            Name = "identity",
            Location = "UK South",
        });
    
        var exampleazurerm_user_assigned_identity = new Azurerm.Index.Azurerm_user_assigned_identity("exampleazurerm_user_assigned_identity", new()
        {
            Location = identity.Location,
            Name = "example-identity",
            ResourceGroupName = "azurerm_resource_group.identity.name",
        });
    
        var exampleServiceEndpointAzureRM = new AzureDevOps.ServiceEndpointAzureRM("exampleServiceEndpointAzureRM", new()
        {
            ProjectId = exampleProject.Id,
            ServiceEndpointName = serviceConnectionName,
            Description = "Managed by Terraform",
            ServiceEndpointAuthenticationScheme = "WorkloadIdentityFederation",
            Credentials = new AzureDevOps.Inputs.ServiceEndpointAzureRMCredentialsArgs
            {
                Serviceprincipalid = exampleazurerm_user_assigned_identity.ClientId,
            },
            AzurermSpnTenantid = "00000000-0000-0000-0000-000000000000",
            AzurermSubscriptionId = "00000000-0000-0000-0000-000000000000",
            AzurermSubscriptionName = "Example Subscription Name",
        });
    
        var exampleazurerm_federated_identity_credential = new Azurerm.Index.Azurerm_federated_identity_credential("exampleazurerm_federated_identity_credential", new()
        {
            Name = "example-federated-credential",
            ResourceGroupName = identity.Name,
            ParentId = exampleazurerm_user_assigned_identity.Id,
            Audience = new[]
            {
                "api://AzureADTokenExchange",
            },
            Issuer = exampleServiceEndpointAzureRM.WorkloadIdentityFederationIssuer,
            Subject = exampleServiceEndpointAzureRM.WorkloadIdentityFederationSubject,
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azuredevops/sdk/v2/go/azuredevops"
    	"github.com/pulumi/pulumi-azurerm/sdk/v1/go/azurerm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		serviceConnectionName := "example-federated-sc"
    		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
    			Visibility:       pulumi.String("private"),
    			VersionControl:   pulumi.String("Git"),
    			WorkItemTemplate: pulumi.String("Agile"),
    			Description:      pulumi.String("Managed by Terraform"),
    		})
    		if err != nil {
    			return err
    		}
    		identity, err := index.NewAzurerm_resource_group(ctx, "identity", &index.Azurerm_resource_groupArgs{
    			Name:     "identity",
    			Location: "UK South",
    		})
    		if err != nil {
    			return err
    		}
    		exampleazurerm_user_assigned_identity, err := index.NewAzurerm_user_assigned_identity(ctx, "exampleazurerm_user_assigned_identity", &index.Azurerm_user_assigned_identityArgs{
    			Location:          identity.Location,
    			Name:              "example-identity",
    			ResourceGroupName: "azurerm_resource_group.identity.name",
    		})
    		if err != nil {
    			return err
    		}
    		exampleServiceEndpointAzureRM, err := azuredevops.NewServiceEndpointAzureRM(ctx, "exampleServiceEndpointAzureRM", &azuredevops.ServiceEndpointAzureRMArgs{
    			ProjectId:                           exampleProject.ID(),
    			ServiceEndpointName:                 pulumi.String(serviceConnectionName),
    			Description:                         pulumi.String("Managed by Terraform"),
    			ServiceEndpointAuthenticationScheme: pulumi.String("WorkloadIdentityFederation"),
    			Credentials: &azuredevops.ServiceEndpointAzureRMCredentialsArgs{
    				Serviceprincipalid: exampleazurerm_user_assigned_identity.ClientId,
    			},
    			AzurermSpnTenantid:      pulumi.String("00000000-0000-0000-0000-000000000000"),
    			AzurermSubscriptionId:   pulumi.String("00000000-0000-0000-0000-000000000000"),
    			AzurermSubscriptionName: pulumi.String("Example Subscription Name"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = index.NewAzurerm_federated_identity_credential(ctx, "exampleazurerm_federated_identity_credential", &index.Azurerm_federated_identity_credentialArgs{
    			Name:              "example-federated-credential",
    			ResourceGroupName: identity.Name,
    			ParentId:          exampleazurerm_user_assigned_identity.Id,
    			Audience: []string{
    				"api://AzureADTokenExchange",
    			},
    			Issuer:  exampleServiceEndpointAzureRM.WorkloadIdentityFederationIssuer,
    			Subject: exampleServiceEndpointAzureRM.WorkloadIdentityFederationSubject,
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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.azurerm.azurerm_resource_group;
    import com.pulumi.azurerm.Azurerm_resource_groupArgs;
    import com.pulumi.azurerm.azurerm_user_assigned_identity;
    import com.pulumi.azurerm.Azurerm_user_assigned_identityArgs;
    import com.pulumi.azuredevops.ServiceEndpointAzureRM;
    import com.pulumi.azuredevops.ServiceEndpointAzureRMArgs;
    import com.pulumi.azuredevops.inputs.ServiceEndpointAzureRMCredentialsArgs;
    import com.pulumi.azurerm.azurerm_federated_identity_credential;
    import com.pulumi.azurerm.Azurerm_federated_identity_credentialArgs;
    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) {
            final var serviceConnectionName = "example-federated-sc";
    
            var exampleProject = new Project("exampleProject", ProjectArgs.builder()        
                .visibility("private")
                .versionControl("Git")
                .workItemTemplate("Agile")
                .description("Managed by Terraform")
                .build());
    
            var identity = new Azurerm_resource_group("identity", Azurerm_resource_groupArgs.builder()        
                .name("identity")
                .location("UK South")
                .build());
    
            var exampleazurerm_user_assigned_identity = new Azurerm_user_assigned_identity("exampleazurerm_user_assigned_identity", Azurerm_user_assigned_identityArgs.builder()        
                .location(identity.location())
                .name("example-identity")
                .resourceGroupName("azurerm_resource_group.identity.name")
                .build());
    
            var exampleServiceEndpointAzureRM = new ServiceEndpointAzureRM("exampleServiceEndpointAzureRM", ServiceEndpointAzureRMArgs.builder()        
                .projectId(exampleProject.id())
                .serviceEndpointName(serviceConnectionName)
                .description("Managed by Terraform")
                .serviceEndpointAuthenticationScheme("WorkloadIdentityFederation")
                .credentials(ServiceEndpointAzureRMCredentialsArgs.builder()
                    .serviceprincipalid(exampleazurerm_user_assigned_identity.clientId())
                    .build())
                .azurermSpnTenantid("00000000-0000-0000-0000-000000000000")
                .azurermSubscriptionId("00000000-0000-0000-0000-000000000000")
                .azurermSubscriptionName("Example Subscription Name")
                .build());
    
            var exampleazurerm_federated_identity_credential = new Azurerm_federated_identity_credential("exampleazurerm_federated_identity_credential", Azurerm_federated_identity_credentialArgs.builder()        
                .name("example-federated-credential")
                .resourceGroupName(identity.name())
                .parentId(exampleazurerm_user_assigned_identity.id())
                .audience("api://AzureADTokenExchange")
                .issuer(exampleServiceEndpointAzureRM.workloadIdentityFederationIssuer())
                .subject(exampleServiceEndpointAzureRM.workloadIdentityFederationSubject())
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azuredevops as azuredevops
    import pulumi_azurerm as azurerm
    
    service_connection_name = "example-federated-sc"
    example_project = azuredevops.Project("exampleProject",
        visibility="private",
        version_control="Git",
        work_item_template="Agile",
        description="Managed by Terraform")
    identity = azurerm.index.Azurerm_resource_group("identity",
        name=identity,
        location=UK South)
    exampleazurerm_user_assigned_identity = azurerm.index.Azurerm_user_assigned_identity("exampleazurerm_user_assigned_identity",
        location=identity.location,
        name=example-identity,
        resource_group_name=azurerm_resource_group.identity.name)
    example_service_endpoint_azure_rm = azuredevops.ServiceEndpointAzureRM("exampleServiceEndpointAzureRM",
        project_id=example_project.id,
        service_endpoint_name=service_connection_name,
        description="Managed by Terraform",
        service_endpoint_authentication_scheme="WorkloadIdentityFederation",
        credentials=azuredevops.ServiceEndpointAzureRMCredentialsArgs(
            serviceprincipalid=exampleazurerm_user_assigned_identity["clientId"],
        ),
        azurerm_spn_tenantid="00000000-0000-0000-0000-000000000000",
        azurerm_subscription_id="00000000-0000-0000-0000-000000000000",
        azurerm_subscription_name="Example Subscription Name")
    exampleazurerm_federated_identity_credential = azurerm.index.Azurerm_federated_identity_credential("exampleazurerm_federated_identity_credential",
        name=example-federated-credential,
        resource_group_name=identity.name,
        parent_id=exampleazurerm_user_assigned_identity.id,
        audience=[api://AzureADTokenExchange],
        issuer=example_service_endpoint_azure_rm.workload_identity_federation_issuer,
        subject=example_service_endpoint_azure_rm.workload_identity_federation_subject)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azuredevops from "@pulumi/azuredevops";
    import * as azurerm from "@pulumi/azurerm";
    
    const serviceConnectionName = "example-federated-sc";
    const exampleProject = new azuredevops.Project("exampleProject", {
        visibility: "private",
        versionControl: "Git",
        workItemTemplate: "Agile",
        description: "Managed by Terraform",
    });
    const identity = new azurerm.index.Azurerm_resource_group("identity", {
        name: "identity",
        location: "UK South",
    });
    const exampleazurerm_user_assigned_identity = new azurerm.index.Azurerm_user_assigned_identity("exampleazurerm_user_assigned_identity", {
        location: identity.location,
        name: "example-identity",
        resourceGroupName: "azurerm_resource_group.identity.name",
    });
    const exampleServiceEndpointAzureRM = new azuredevops.ServiceEndpointAzureRM("exampleServiceEndpointAzureRM", {
        projectId: exampleProject.id,
        serviceEndpointName: serviceConnectionName,
        description: "Managed by Terraform",
        serviceEndpointAuthenticationScheme: "WorkloadIdentityFederation",
        credentials: {
            serviceprincipalid: exampleazurerm_user_assigned_identity.clientId,
        },
        azurermSpnTenantid: "00000000-0000-0000-0000-000000000000",
        azurermSubscriptionId: "00000000-0000-0000-0000-000000000000",
        azurermSubscriptionName: "Example Subscription Name",
    });
    const exampleazurerm_federated_identity_credential = new azurerm.index.Azurerm_federated_identity_credential("exampleazurerm_federated_identity_credential", {
        name: "example-federated-credential",
        resourceGroupName: identity.name,
        parentId: exampleazurerm_user_assigned_identity.id,
        audience: ["api://AzureADTokenExchange"],
        issuer: exampleServiceEndpointAzureRM.workloadIdentityFederationIssuer,
        subject: exampleServiceEndpointAzureRM.workloadIdentityFederationSubject,
    });
    
    resources:
      exampleProject:
        type: azuredevops:Project
        properties:
          visibility: private
          versionControl: Git
          workItemTemplate: Agile
          description: Managed by Terraform
      identity:
        type: azurerm:azurerm_resource_group
        properties:
          name: identity
          location: UK South
      exampleazurerm_user_assigned_identity:
        type: azurerm:azurerm_user_assigned_identity
        properties:
          location: ${identity.location}
          name: example-identity
          resourceGroupName: azurerm_resource_group.identity.name
      exampleServiceEndpointAzureRM:
        type: azuredevops:ServiceEndpointAzureRM
        properties:
          projectId: ${exampleProject.id}
          serviceEndpointName: ${serviceConnectionName}
          description: Managed by Terraform
          serviceEndpointAuthenticationScheme: WorkloadIdentityFederation
          credentials:
            serviceprincipalid: ${exampleazurerm_user_assigned_identity.clientId}
          azurermSpnTenantid: 00000000-0000-0000-0000-000000000000
          azurermSubscriptionId: 00000000-0000-0000-0000-000000000000
          azurermSubscriptionName: Example Subscription Name
      exampleazurerm_federated_identity_credential:
        type: azurerm:azurerm_federated_identity_credential
        properties:
          name: example-federated-credential
          resourceGroupName: ${identity.name}
          parentId: ${exampleazurerm_user_assigned_identity.id}
          audience:
            - api://AzureADTokenExchange
          issuer: ${exampleServiceEndpointAzureRM.workloadIdentityFederationIssuer}
          subject: ${exampleServiceEndpointAzureRM.workloadIdentityFederationSubject}
    variables:
      serviceConnectionName: example-federated-sc
    

    Workload Identity Federation Automatic AzureRM Service Endpoint

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureDevOps = Pulumi.AzureDevOps;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleProject = new AzureDevOps.Project("exampleProject", new()
        {
            Visibility = "private",
            VersionControl = "Git",
            WorkItemTemplate = "Agile",
        });
    
        var exampleServiceEndpointAzureRM = new AzureDevOps.ServiceEndpointAzureRM("exampleServiceEndpointAzureRM", new()
        {
            ProjectId = exampleProject.Id,
            ServiceEndpointName = "Example AzureRM",
            ServiceEndpointAuthenticationScheme = "WorkloadIdentityFederation",
            AzurermSpnTenantid = "00000000-0000-0000-0000-000000000000",
            AzurermSubscriptionId = "00000000-0000-0000-0000-000000000000",
            AzurermSubscriptionName = "Example Subscription Name",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azuredevops/sdk/v2/go/azuredevops"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
    			Visibility:       pulumi.String("private"),
    			VersionControl:   pulumi.String("Git"),
    			WorkItemTemplate: pulumi.String("Agile"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = azuredevops.NewServiceEndpointAzureRM(ctx, "exampleServiceEndpointAzureRM", &azuredevops.ServiceEndpointAzureRMArgs{
    			ProjectId:                           exampleProject.ID(),
    			ServiceEndpointName:                 pulumi.String("Example AzureRM"),
    			ServiceEndpointAuthenticationScheme: pulumi.String("WorkloadIdentityFederation"),
    			AzurermSpnTenantid:                  pulumi.String("00000000-0000-0000-0000-000000000000"),
    			AzurermSubscriptionId:               pulumi.String("00000000-0000-0000-0000-000000000000"),
    			AzurermSubscriptionName:             pulumi.String("Example Subscription Name"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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.ServiceEndpointAzureRM;
    import com.pulumi.azuredevops.ServiceEndpointAzureRMArgs;
    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 exampleProject = new Project("exampleProject", ProjectArgs.builder()        
                .visibility("private")
                .versionControl("Git")
                .workItemTemplate("Agile")
                .build());
    
            var exampleServiceEndpointAzureRM = new ServiceEndpointAzureRM("exampleServiceEndpointAzureRM", ServiceEndpointAzureRMArgs.builder()        
                .projectId(exampleProject.id())
                .serviceEndpointName("Example AzureRM")
                .serviceEndpointAuthenticationScheme("WorkloadIdentityFederation")
                .azurermSpnTenantid("00000000-0000-0000-0000-000000000000")
                .azurermSubscriptionId("00000000-0000-0000-0000-000000000000")
                .azurermSubscriptionName("Example Subscription Name")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azuredevops as azuredevops
    
    example_project = azuredevops.Project("exampleProject",
        visibility="private",
        version_control="Git",
        work_item_template="Agile")
    example_service_endpoint_azure_rm = azuredevops.ServiceEndpointAzureRM("exampleServiceEndpointAzureRM",
        project_id=example_project.id,
        service_endpoint_name="Example AzureRM",
        service_endpoint_authentication_scheme="WorkloadIdentityFederation",
        azurerm_spn_tenantid="00000000-0000-0000-0000-000000000000",
        azurerm_subscription_id="00000000-0000-0000-0000-000000000000",
        azurerm_subscription_name="Example Subscription Name")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azuredevops from "@pulumi/azuredevops";
    
    const exampleProject = new azuredevops.Project("exampleProject", {
        visibility: "private",
        versionControl: "Git",
        workItemTemplate: "Agile",
    });
    const exampleServiceEndpointAzureRM = new azuredevops.ServiceEndpointAzureRM("exampleServiceEndpointAzureRM", {
        projectId: exampleProject.id,
        serviceEndpointName: "Example AzureRM",
        serviceEndpointAuthenticationScheme: "WorkloadIdentityFederation",
        azurermSpnTenantid: "00000000-0000-0000-0000-000000000000",
        azurermSubscriptionId: "00000000-0000-0000-0000-000000000000",
        azurermSubscriptionName: "Example Subscription Name",
    });
    
    resources:
      exampleProject:
        type: azuredevops:Project
        properties:
          visibility: private
          versionControl: Git
          workItemTemplate: Agile
      exampleServiceEndpointAzureRM:
        type: azuredevops:ServiceEndpointAzureRM
        properties:
          projectId: ${exampleProject.id}
          serviceEndpointName: Example AzureRM
          serviceEndpointAuthenticationScheme: WorkloadIdentityFederation
          azurermSpnTenantid: 00000000-0000-0000-0000-000000000000
          azurermSubscriptionId: 00000000-0000-0000-0000-000000000000
          azurermSubscriptionName: Example Subscription Name
    

    Managed Identity AzureRM Service Endpoint

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureDevOps = Pulumi.AzureDevOps;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleProject = new AzureDevOps.Project("exampleProject", new()
        {
            Visibility = "private",
            VersionControl = "Git",
            WorkItemTemplate = "Agile",
        });
    
        var exampleServiceEndpointAzureRM = new AzureDevOps.ServiceEndpointAzureRM("exampleServiceEndpointAzureRM", new()
        {
            ProjectId = exampleProject.Id,
            ServiceEndpointName = "Example AzureRM",
            ServiceEndpointAuthenticationScheme = "ManagedServiceIdentity",
            AzurermSpnTenantid = "00000000-0000-0000-0000-000000000000",
            AzurermSubscriptionId = "00000000-0000-0000-0000-000000000000",
            AzurermSubscriptionName = "Example Subscription Name",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azuredevops/sdk/v2/go/azuredevops"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		exampleProject, err := azuredevops.NewProject(ctx, "exampleProject", &azuredevops.ProjectArgs{
    			Visibility:       pulumi.String("private"),
    			VersionControl:   pulumi.String("Git"),
    			WorkItemTemplate: pulumi.String("Agile"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = azuredevops.NewServiceEndpointAzureRM(ctx, "exampleServiceEndpointAzureRM", &azuredevops.ServiceEndpointAzureRMArgs{
    			ProjectId:                           exampleProject.ID(),
    			ServiceEndpointName:                 pulumi.String("Example AzureRM"),
    			ServiceEndpointAuthenticationScheme: pulumi.String("ManagedServiceIdentity"),
    			AzurermSpnTenantid:                  pulumi.String("00000000-0000-0000-0000-000000000000"),
    			AzurermSubscriptionId:               pulumi.String("00000000-0000-0000-0000-000000000000"),
    			AzurermSubscriptionName:             pulumi.String("Example Subscription Name"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    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.ServiceEndpointAzureRM;
    import com.pulumi.azuredevops.ServiceEndpointAzureRMArgs;
    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 exampleProject = new Project("exampleProject", ProjectArgs.builder()        
                .visibility("private")
                .versionControl("Git")
                .workItemTemplate("Agile")
                .build());
    
            var exampleServiceEndpointAzureRM = new ServiceEndpointAzureRM("exampleServiceEndpointAzureRM", ServiceEndpointAzureRMArgs.builder()        
                .projectId(exampleProject.id())
                .serviceEndpointName("Example AzureRM")
                .serviceEndpointAuthenticationScheme("ManagedServiceIdentity")
                .azurermSpnTenantid("00000000-0000-0000-0000-000000000000")
                .azurermSubscriptionId("00000000-0000-0000-0000-000000000000")
                .azurermSubscriptionName("Example Subscription Name")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_azuredevops as azuredevops
    
    example_project = azuredevops.Project("exampleProject",
        visibility="private",
        version_control="Git",
        work_item_template="Agile")
    example_service_endpoint_azure_rm = azuredevops.ServiceEndpointAzureRM("exampleServiceEndpointAzureRM",
        project_id=example_project.id,
        service_endpoint_name="Example AzureRM",
        service_endpoint_authentication_scheme="ManagedServiceIdentity",
        azurerm_spn_tenantid="00000000-0000-0000-0000-000000000000",
        azurerm_subscription_id="00000000-0000-0000-0000-000000000000",
        azurerm_subscription_name="Example Subscription Name")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azuredevops from "@pulumi/azuredevops";
    
    const exampleProject = new azuredevops.Project("exampleProject", {
        visibility: "private",
        versionControl: "Git",
        workItemTemplate: "Agile",
    });
    const exampleServiceEndpointAzureRM = new azuredevops.ServiceEndpointAzureRM("exampleServiceEndpointAzureRM", {
        projectId: exampleProject.id,
        serviceEndpointName: "Example AzureRM",
        serviceEndpointAuthenticationScheme: "ManagedServiceIdentity",
        azurermSpnTenantid: "00000000-0000-0000-0000-000000000000",
        azurermSubscriptionId: "00000000-0000-0000-0000-000000000000",
        azurermSubscriptionName: "Example Subscription Name",
    });
    
    resources:
      exampleProject:
        type: azuredevops:Project
        properties:
          visibility: private
          versionControl: Git
          workItemTemplate: Agile
      exampleServiceEndpointAzureRM:
        type: azuredevops:ServiceEndpointAzureRM
        properties:
          projectId: ${exampleProject.id}
          serviceEndpointName: Example AzureRM
          serviceEndpointAuthenticationScheme: ManagedServiceIdentity
          azurermSpnTenantid: 00000000-0000-0000-0000-000000000000
          azurermSubscriptionId: 00000000-0000-0000-0000-000000000000
          azurermSubscriptionName: Example Subscription Name
    

    Create AzureRM Resource

    new AzureRM(name: string, args: AzureRMArgs, opts?: CustomResourceOptions);
    @overload
    def AzureRM(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                authorization: Optional[Mapping[str, str]] = None,
                azurerm_management_group_id: Optional[str] = None,
                azurerm_management_group_name: Optional[str] = None,
                azurerm_spn_tenantid: Optional[str] = None,
                azurerm_subscription_id: Optional[str] = None,
                azurerm_subscription_name: Optional[str] = None,
                credentials: Optional[_serviceendpoint.AzureRMCredentialsArgs] = None,
                description: Optional[str] = None,
                environment: Optional[str] = None,
                project_id: Optional[str] = None,
                resource_group: Optional[str] = None,
                service_endpoint_authentication_scheme: Optional[str] = None,
                service_endpoint_name: Optional[str] = None)
    @overload
    def AzureRM(resource_name: str,
                args: AzureRMArgs,
                opts: Optional[ResourceOptions] = None)
    func NewAzureRM(ctx *Context, name string, args AzureRMArgs, opts ...ResourceOption) (*AzureRM, error)
    public AzureRM(string name, AzureRMArgs args, CustomResourceOptions? opts = null)
    public AzureRM(String name, AzureRMArgs args)
    public AzureRM(String name, AzureRMArgs args, CustomResourceOptions options)
    
    type: azuredevops:ServiceEndpoint:AzureRM
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args AzureRMArgs
    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 AzureRMArgs
    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 AzureRMArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AzureRMArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AzureRMArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    AzureRM Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The AzureRM resource accepts the following input properties:

    AzurermSpnTenantid string

    The Tenant ID if the service principal.

    ProjectId string

    The ID of the project.

    ServiceEndpointName string

    The Service Endpoint Name.

    Authorization Dictionary<string, string>
    AzurermManagementGroupId string

    The Management group ID of the Azure targets.

    AzurermManagementGroupName string

    The Management group Name of the targets.

    AzurermSubscriptionId string

    The Subscription ID of the Azure targets.

    AzurermSubscriptionName string

    The Subscription Name of the targets.

    Credentials Pulumi.AzureDevOps.ServiceEndpoint.Inputs.AzureRMCredentials

    A credentials block.

    Description string

    Service connection description.

    Environment string

    The Cloud Environment to use. Defaults to AzureCloud. Possible values are AzureCloud, AzureChinaCloud. Changing this forces a new resource to be created.

    NOTE: One of either Subscription scoped i.e. azurerm_subscription_id, azurerm_subscription_name or ManagementGroup scoped i.e. azurerm_management_group_id, azurerm_management_group_name values must be specified.

    ResourceGroup string

    The resource group used for scope of automatic service endpoint.

    ServiceEndpointAuthenticationScheme string

    Specifies the type of azurerm endpoint, either WorkloadIdentityFederation, ManagedServiceIdentity or ServicePrincipal. Defaults to ServicePrincipal for backwards compatibility.

    NOTE: The WorkloadIdentityFederation authentication scheme is currently in private preview. Your organisation must be part of the preview and the feature toggle must be turned on to use it. More details can be found here.

    AzurermSpnTenantid string

    The Tenant ID if the service principal.

    ProjectId string

    The ID of the project.

    ServiceEndpointName string

    The Service Endpoint Name.

    Authorization map[string]string
    AzurermManagementGroupId string

    The Management group ID of the Azure targets.

    AzurermManagementGroupName string

    The Management group Name of the targets.

    AzurermSubscriptionId string

    The Subscription ID of the Azure targets.

    AzurermSubscriptionName string

    The Subscription Name of the targets.

    Credentials AzureRMCredentialsArgs

    A credentials block.

    Description string

    Service connection description.

    Environment string

    The Cloud Environment to use. Defaults to AzureCloud. Possible values are AzureCloud, AzureChinaCloud. Changing this forces a new resource to be created.

    NOTE: One of either Subscription scoped i.e. azurerm_subscription_id, azurerm_subscription_name or ManagementGroup scoped i.e. azurerm_management_group_id, azurerm_management_group_name values must be specified.

    ResourceGroup string

    The resource group used for scope of automatic service endpoint.

    ServiceEndpointAuthenticationScheme string

    Specifies the type of azurerm endpoint, either WorkloadIdentityFederation, ManagedServiceIdentity or ServicePrincipal. Defaults to ServicePrincipal for backwards compatibility.

    NOTE: The WorkloadIdentityFederation authentication scheme is currently in private preview. Your organisation must be part of the preview and the feature toggle must be turned on to use it. More details can be found here.

    azurermSpnTenantid String

    The Tenant ID if the service principal.

    projectId String

    The ID of the project.

    serviceEndpointName String

    The Service Endpoint Name.

    authorization Map<String,String>
    azurermManagementGroupId String

    The Management group ID of the Azure targets.

    azurermManagementGroupName String

    The Management group Name of the targets.

    azurermSubscriptionId String

    The Subscription ID of the Azure targets.

    azurermSubscriptionName String

    The Subscription Name of the targets.

    credentials AzureRMCredentials

    A credentials block.

    description String

    Service connection description.

    environment String

    The Cloud Environment to use. Defaults to AzureCloud. Possible values are AzureCloud, AzureChinaCloud. Changing this forces a new resource to be created.

    NOTE: One of either Subscription scoped i.e. azurerm_subscription_id, azurerm_subscription_name or ManagementGroup scoped i.e. azurerm_management_group_id, azurerm_management_group_name values must be specified.

    resourceGroup String

    The resource group used for scope of automatic service endpoint.

    serviceEndpointAuthenticationScheme String

    Specifies the type of azurerm endpoint, either WorkloadIdentityFederation, ManagedServiceIdentity or ServicePrincipal. Defaults to ServicePrincipal for backwards compatibility.

    NOTE: The WorkloadIdentityFederation authentication scheme is currently in private preview. Your organisation must be part of the preview and the feature toggle must be turned on to use it. More details can be found here.

    azurermSpnTenantid string

    The Tenant ID if the service principal.

    projectId string

    The ID of the project.

    serviceEndpointName string

    The Service Endpoint Name.

    authorization {[key: string]: string}
    azurermManagementGroupId string

    The Management group ID of the Azure targets.

    azurermManagementGroupName string

    The Management group Name of the targets.

    azurermSubscriptionId string

    The Subscription ID of the Azure targets.

    azurermSubscriptionName string

    The Subscription Name of the targets.

    credentials AzureRMCredentials

    A credentials block.

    description string

    Service connection description.

    environment string

    The Cloud Environment to use. Defaults to AzureCloud. Possible values are AzureCloud, AzureChinaCloud. Changing this forces a new resource to be created.

    NOTE: One of either Subscription scoped i.e. azurerm_subscription_id, azurerm_subscription_name or ManagementGroup scoped i.e. azurerm_management_group_id, azurerm_management_group_name values must be specified.

    resourceGroup string

    The resource group used for scope of automatic service endpoint.

    serviceEndpointAuthenticationScheme string

    Specifies the type of azurerm endpoint, either WorkloadIdentityFederation, ManagedServiceIdentity or ServicePrincipal. Defaults to ServicePrincipal for backwards compatibility.

    NOTE: The WorkloadIdentityFederation authentication scheme is currently in private preview. Your organisation must be part of the preview and the feature toggle must be turned on to use it. More details can be found here.

    azurerm_spn_tenantid str

    The Tenant ID if the service principal.

    project_id str

    The ID of the project.

    service_endpoint_name str

    The Service Endpoint Name.

    authorization Mapping[str, str]
    azurerm_management_group_id str

    The Management group ID of the Azure targets.

    azurerm_management_group_name str

    The Management group Name of the targets.

    azurerm_subscription_id str

    The Subscription ID of the Azure targets.

    azurerm_subscription_name str

    The Subscription Name of the targets.

    credentials AzureRMCredentialsArgs

    A credentials block.

    description str

    Service connection description.

    environment str

    The Cloud Environment to use. Defaults to AzureCloud. Possible values are AzureCloud, AzureChinaCloud. Changing this forces a new resource to be created.

    NOTE: One of either Subscription scoped i.e. azurerm_subscription_id, azurerm_subscription_name or ManagementGroup scoped i.e. azurerm_management_group_id, azurerm_management_group_name values must be specified.

    resource_group str

    The resource group used for scope of automatic service endpoint.

    service_endpoint_authentication_scheme str

    Specifies the type of azurerm endpoint, either WorkloadIdentityFederation, ManagedServiceIdentity or ServicePrincipal. Defaults to ServicePrincipal for backwards compatibility.

    NOTE: The WorkloadIdentityFederation authentication scheme is currently in private preview. Your organisation must be part of the preview and the feature toggle must be turned on to use it. More details can be found here.

    azurermSpnTenantid String

    The Tenant ID if the service principal.

    projectId String

    The ID of the project.

    serviceEndpointName String

    The Service Endpoint Name.

    authorization Map<String>
    azurermManagementGroupId String

    The Management group ID of the Azure targets.

    azurermManagementGroupName String

    The Management group Name of the targets.

    azurermSubscriptionId String

    The Subscription ID of the Azure targets.

    azurermSubscriptionName String

    The Subscription Name of the targets.

    credentials Property Map

    A credentials block.

    description String

    Service connection description.

    environment String

    The Cloud Environment to use. Defaults to AzureCloud. Possible values are AzureCloud, AzureChinaCloud. Changing this forces a new resource to be created.

    NOTE: One of either Subscription scoped i.e. azurerm_subscription_id, azurerm_subscription_name or ManagementGroup scoped i.e. azurerm_management_group_id, azurerm_management_group_name values must be specified.

    resourceGroup String

    The resource group used for scope of automatic service endpoint.

    serviceEndpointAuthenticationScheme String

    Specifies the type of azurerm endpoint, either WorkloadIdentityFederation, ManagedServiceIdentity or ServicePrincipal. Defaults to ServicePrincipal for backwards compatibility.

    NOTE: The WorkloadIdentityFederation authentication scheme is currently in private preview. Your organisation must be part of the preview and the feature toggle must be turned on to use it. More details can be found here.

    Outputs

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

    Id string

    The provider-assigned unique ID for this managed resource.

    ServicePrincipalId string

    The Application(Client) ID of the Service Principal.

    WorkloadIdentityFederationIssuer string

    The issuer if service_endpoint_authentication_scheme is set to WorkloadIdentityFederation. This looks like https://vstoken.dev.azure.com/00000000-0000-0000-0000-000000000000, where the GUID is the Organization ID of your Azure DevOps Organisation.

    WorkloadIdentityFederationSubject string

    The subject if service_endpoint_authentication_scheme is set to WorkloadIdentityFederation. This looks like sc://<organisation>/<project>/<service-connection-name>.

    Id string

    The provider-assigned unique ID for this managed resource.

    ServicePrincipalId string

    The Application(Client) ID of the Service Principal.

    WorkloadIdentityFederationIssuer string

    The issuer if service_endpoint_authentication_scheme is set to WorkloadIdentityFederation. This looks like https://vstoken.dev.azure.com/00000000-0000-0000-0000-000000000000, where the GUID is the Organization ID of your Azure DevOps Organisation.

    WorkloadIdentityFederationSubject string

    The subject if service_endpoint_authentication_scheme is set to WorkloadIdentityFederation. This looks like sc://<organisation>/<project>/<service-connection-name>.

    id String

    The provider-assigned unique ID for this managed resource.

    servicePrincipalId String

    The Application(Client) ID of the Service Principal.

    workloadIdentityFederationIssuer String

    The issuer if service_endpoint_authentication_scheme is set to WorkloadIdentityFederation. This looks like https://vstoken.dev.azure.com/00000000-0000-0000-0000-000000000000, where the GUID is the Organization ID of your Azure DevOps Organisation.

    workloadIdentityFederationSubject String

    The subject if service_endpoint_authentication_scheme is set to WorkloadIdentityFederation. This looks like sc://<organisation>/<project>/<service-connection-name>.

    id string

    The provider-assigned unique ID for this managed resource.

    servicePrincipalId string

    The Application(Client) ID of the Service Principal.

    workloadIdentityFederationIssuer string

    The issuer if service_endpoint_authentication_scheme is set to WorkloadIdentityFederation. This looks like https://vstoken.dev.azure.com/00000000-0000-0000-0000-000000000000, where the GUID is the Organization ID of your Azure DevOps Organisation.

    workloadIdentityFederationSubject string

    The subject if service_endpoint_authentication_scheme is set to WorkloadIdentityFederation. This looks like sc://<organisation>/<project>/<service-connection-name>.

    id str

    The provider-assigned unique ID for this managed resource.

    service_principal_id str

    The Application(Client) ID of the Service Principal.

    workload_identity_federation_issuer str

    The issuer if service_endpoint_authentication_scheme is set to WorkloadIdentityFederation. This looks like https://vstoken.dev.azure.com/00000000-0000-0000-0000-000000000000, where the GUID is the Organization ID of your Azure DevOps Organisation.

    workload_identity_federation_subject str

    The subject if service_endpoint_authentication_scheme is set to WorkloadIdentityFederation. This looks like sc://<organisation>/<project>/<service-connection-name>.

    id String

    The provider-assigned unique ID for this managed resource.

    servicePrincipalId String

    The Application(Client) ID of the Service Principal.

    workloadIdentityFederationIssuer String

    The issuer if service_endpoint_authentication_scheme is set to WorkloadIdentityFederation. This looks like https://vstoken.dev.azure.com/00000000-0000-0000-0000-000000000000, where the GUID is the Organization ID of your Azure DevOps Organisation.

    workloadIdentityFederationSubject String

    The subject if service_endpoint_authentication_scheme is set to WorkloadIdentityFederation. This looks like sc://<organisation>/<project>/<service-connection-name>.

    Look up Existing AzureRM Resource

    Get an existing AzureRM 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?: AzureRMState, opts?: CustomResourceOptions): AzureRM
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            authorization: Optional[Mapping[str, str]] = None,
            azurerm_management_group_id: Optional[str] = None,
            azurerm_management_group_name: Optional[str] = None,
            azurerm_spn_tenantid: Optional[str] = None,
            azurerm_subscription_id: Optional[str] = None,
            azurerm_subscription_name: Optional[str] = None,
            credentials: Optional[_serviceendpoint.AzureRMCredentialsArgs] = None,
            description: Optional[str] = None,
            environment: Optional[str] = None,
            project_id: Optional[str] = None,
            resource_group: Optional[str] = None,
            service_endpoint_authentication_scheme: Optional[str] = None,
            service_endpoint_name: Optional[str] = None,
            service_principal_id: Optional[str] = None,
            workload_identity_federation_issuer: Optional[str] = None,
            workload_identity_federation_subject: Optional[str] = None) -> AzureRM
    func GetAzureRM(ctx *Context, name string, id IDInput, state *AzureRMState, opts ...ResourceOption) (*AzureRM, error)
    public static AzureRM Get(string name, Input<string> id, AzureRMState? state, CustomResourceOptions? opts = null)
    public static AzureRM get(String name, Output<String> id, AzureRMState 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:
    Authorization Dictionary<string, string>
    AzurermManagementGroupId string

    The Management group ID of the Azure targets.

    AzurermManagementGroupName string

    The Management group Name of the targets.

    AzurermSpnTenantid string

    The Tenant ID if the service principal.

    AzurermSubscriptionId string

    The Subscription ID of the Azure targets.

    AzurermSubscriptionName string

    The Subscription Name of the targets.

    Credentials Pulumi.AzureDevOps.ServiceEndpoint.Inputs.AzureRMCredentials

    A credentials block.

    Description string

    Service connection description.

    Environment string

    The Cloud Environment to use. Defaults to AzureCloud. Possible values are AzureCloud, AzureChinaCloud. Changing this forces a new resource to be created.

    NOTE: One of either Subscription scoped i.e. azurerm_subscription_id, azurerm_subscription_name or ManagementGroup scoped i.e. azurerm_management_group_id, azurerm_management_group_name values must be specified.

    ProjectId string

    The ID of the project.

    ResourceGroup string

    The resource group used for scope of automatic service endpoint.

    ServiceEndpointAuthenticationScheme string

    Specifies the type of azurerm endpoint, either WorkloadIdentityFederation, ManagedServiceIdentity or ServicePrincipal. Defaults to ServicePrincipal for backwards compatibility.

    NOTE: The WorkloadIdentityFederation authentication scheme is currently in private preview. Your organisation must be part of the preview and the feature toggle must be turned on to use it. More details can be found here.

    ServiceEndpointName string

    The Service Endpoint Name.

    ServicePrincipalId string

    The Application(Client) ID of the Service Principal.

    WorkloadIdentityFederationIssuer string

    The issuer if service_endpoint_authentication_scheme is set to WorkloadIdentityFederation. This looks like https://vstoken.dev.azure.com/00000000-0000-0000-0000-000000000000, where the GUID is the Organization ID of your Azure DevOps Organisation.

    WorkloadIdentityFederationSubject string

    The subject if service_endpoint_authentication_scheme is set to WorkloadIdentityFederation. This looks like sc://<organisation>/<project>/<service-connection-name>.

    Authorization map[string]string
    AzurermManagementGroupId string

    The Management group ID of the Azure targets.

    AzurermManagementGroupName string

    The Management group Name of the targets.

    AzurermSpnTenantid string

    The Tenant ID if the service principal.

    AzurermSubscriptionId string

    The Subscription ID of the Azure targets.

    AzurermSubscriptionName string

    The Subscription Name of the targets.

    Credentials AzureRMCredentialsArgs

    A credentials block.

    Description string

    Service connection description.

    Environment string

    The Cloud Environment to use. Defaults to AzureCloud. Possible values are AzureCloud, AzureChinaCloud. Changing this forces a new resource to be created.

    NOTE: One of either Subscription scoped i.e. azurerm_subscription_id, azurerm_subscription_name or ManagementGroup scoped i.e. azurerm_management_group_id, azurerm_management_group_name values must be specified.

    ProjectId string

    The ID of the project.

    ResourceGroup string

    The resource group used for scope of automatic service endpoint.

    ServiceEndpointAuthenticationScheme string

    Specifies the type of azurerm endpoint, either WorkloadIdentityFederation, ManagedServiceIdentity or ServicePrincipal. Defaults to ServicePrincipal for backwards compatibility.

    NOTE: The WorkloadIdentityFederation authentication scheme is currently in private preview. Your organisation must be part of the preview and the feature toggle must be turned on to use it. More details can be found here.

    ServiceEndpointName string

    The Service Endpoint Name.

    ServicePrincipalId string

    The Application(Client) ID of the Service Principal.

    WorkloadIdentityFederationIssuer string

    The issuer if service_endpoint_authentication_scheme is set to WorkloadIdentityFederation. This looks like https://vstoken.dev.azure.com/00000000-0000-0000-0000-000000000000, where the GUID is the Organization ID of your Azure DevOps Organisation.

    WorkloadIdentityFederationSubject string

    The subject if service_endpoint_authentication_scheme is set to WorkloadIdentityFederation. This looks like sc://<organisation>/<project>/<service-connection-name>.

    authorization Map<String,String>
    azurermManagementGroupId String

    The Management group ID of the Azure targets.

    azurermManagementGroupName String

    The Management group Name of the targets.

    azurermSpnTenantid String

    The Tenant ID if the service principal.

    azurermSubscriptionId String

    The Subscription ID of the Azure targets.

    azurermSubscriptionName String

    The Subscription Name of the targets.

    credentials AzureRMCredentials

    A credentials block.

    description String

    Service connection description.

    environment String

    The Cloud Environment to use. Defaults to AzureCloud. Possible values are AzureCloud, AzureChinaCloud. Changing this forces a new resource to be created.

    NOTE: One of either Subscription scoped i.e. azurerm_subscription_id, azurerm_subscription_name or ManagementGroup scoped i.e. azurerm_management_group_id, azurerm_management_group_name values must be specified.

    projectId String

    The ID of the project.

    resourceGroup String

    The resource group used for scope of automatic service endpoint.

    serviceEndpointAuthenticationScheme String

    Specifies the type of azurerm endpoint, either WorkloadIdentityFederation, ManagedServiceIdentity or ServicePrincipal. Defaults to ServicePrincipal for backwards compatibility.

    NOTE: The WorkloadIdentityFederation authentication scheme is currently in private preview. Your organisation must be part of the preview and the feature toggle must be turned on to use it. More details can be found here.

    serviceEndpointName String

    The Service Endpoint Name.

    servicePrincipalId String

    The Application(Client) ID of the Service Principal.

    workloadIdentityFederationIssuer String

    The issuer if service_endpoint_authentication_scheme is set to WorkloadIdentityFederation. This looks like https://vstoken.dev.azure.com/00000000-0000-0000-0000-000000000000, where the GUID is the Organization ID of your Azure DevOps Organisation.

    workloadIdentityFederationSubject String

    The subject if service_endpoint_authentication_scheme is set to WorkloadIdentityFederation. This looks like sc://<organisation>/<project>/<service-connection-name>.

    authorization {[key: string]: string}
    azurermManagementGroupId string

    The Management group ID of the Azure targets.

    azurermManagementGroupName string

    The Management group Name of the targets.

    azurermSpnTenantid string

    The Tenant ID if the service principal.

    azurermSubscriptionId string

    The Subscription ID of the Azure targets.

    azurermSubscriptionName string

    The Subscription Name of the targets.

    credentials AzureRMCredentials

    A credentials block.

    description string

    Service connection description.

    environment string

    The Cloud Environment to use. Defaults to AzureCloud. Possible values are AzureCloud, AzureChinaCloud. Changing this forces a new resource to be created.

    NOTE: One of either Subscription scoped i.e. azurerm_subscription_id, azurerm_subscription_name or ManagementGroup scoped i.e. azurerm_management_group_id, azurerm_management_group_name values must be specified.

    projectId string

    The ID of the project.

    resourceGroup string

    The resource group used for scope of automatic service endpoint.

    serviceEndpointAuthenticationScheme string

    Specifies the type of azurerm endpoint, either WorkloadIdentityFederation, ManagedServiceIdentity or ServicePrincipal. Defaults to ServicePrincipal for backwards compatibility.

    NOTE: The WorkloadIdentityFederation authentication scheme is currently in private preview. Your organisation must be part of the preview and the feature toggle must be turned on to use it. More details can be found here.

    serviceEndpointName string

    The Service Endpoint Name.

    servicePrincipalId string

    The Application(Client) ID of the Service Principal.

    workloadIdentityFederationIssuer string

    The issuer if service_endpoint_authentication_scheme is set to WorkloadIdentityFederation. This looks like https://vstoken.dev.azure.com/00000000-0000-0000-0000-000000000000, where the GUID is the Organization ID of your Azure DevOps Organisation.

    workloadIdentityFederationSubject string

    The subject if service_endpoint_authentication_scheme is set to WorkloadIdentityFederation. This looks like sc://<organisation>/<project>/<service-connection-name>.

    authorization Mapping[str, str]
    azurerm_management_group_id str

    The Management group ID of the Azure targets.

    azurerm_management_group_name str

    The Management group Name of the targets.

    azurerm_spn_tenantid str

    The Tenant ID if the service principal.

    azurerm_subscription_id str

    The Subscription ID of the Azure targets.

    azurerm_subscription_name str

    The Subscription Name of the targets.

    credentials AzureRMCredentialsArgs

    A credentials block.

    description str

    Service connection description.

    environment str

    The Cloud Environment to use. Defaults to AzureCloud. Possible values are AzureCloud, AzureChinaCloud. Changing this forces a new resource to be created.

    NOTE: One of either Subscription scoped i.e. azurerm_subscription_id, azurerm_subscription_name or ManagementGroup scoped i.e. azurerm_management_group_id, azurerm_management_group_name values must be specified.

    project_id str

    The ID of the project.

    resource_group str

    The resource group used for scope of automatic service endpoint.

    service_endpoint_authentication_scheme str

    Specifies the type of azurerm endpoint, either WorkloadIdentityFederation, ManagedServiceIdentity or ServicePrincipal. Defaults to ServicePrincipal for backwards compatibility.

    NOTE: The WorkloadIdentityFederation authentication scheme is currently in private preview. Your organisation must be part of the preview and the feature toggle must be turned on to use it. More details can be found here.

    service_endpoint_name str

    The Service Endpoint Name.

    service_principal_id str

    The Application(Client) ID of the Service Principal.

    workload_identity_federation_issuer str

    The issuer if service_endpoint_authentication_scheme is set to WorkloadIdentityFederation. This looks like https://vstoken.dev.azure.com/00000000-0000-0000-0000-000000000000, where the GUID is the Organization ID of your Azure DevOps Organisation.

    workload_identity_federation_subject str

    The subject if service_endpoint_authentication_scheme is set to WorkloadIdentityFederation. This looks like sc://<organisation>/<project>/<service-connection-name>.

    authorization Map<String>
    azurermManagementGroupId String

    The Management group ID of the Azure targets.

    azurermManagementGroupName String

    The Management group Name of the targets.

    azurermSpnTenantid String

    The Tenant ID if the service principal.

    azurermSubscriptionId String

    The Subscription ID of the Azure targets.

    azurermSubscriptionName String

    The Subscription Name of the targets.

    credentials Property Map

    A credentials block.

    description String

    Service connection description.

    environment String

    The Cloud Environment to use. Defaults to AzureCloud. Possible values are AzureCloud, AzureChinaCloud. Changing this forces a new resource to be created.

    NOTE: One of either Subscription scoped i.e. azurerm_subscription_id, azurerm_subscription_name or ManagementGroup scoped i.e. azurerm_management_group_id, azurerm_management_group_name values must be specified.

    projectId String

    The ID of the project.

    resourceGroup String

    The resource group used for scope of automatic service endpoint.

    serviceEndpointAuthenticationScheme String

    Specifies the type of azurerm endpoint, either WorkloadIdentityFederation, ManagedServiceIdentity or ServicePrincipal. Defaults to ServicePrincipal for backwards compatibility.

    NOTE: The WorkloadIdentityFederation authentication scheme is currently in private preview. Your organisation must be part of the preview and the feature toggle must be turned on to use it. More details can be found here.

    serviceEndpointName String

    The Service Endpoint Name.

    servicePrincipalId String

    The Application(Client) ID of the Service Principal.

    workloadIdentityFederationIssuer String

    The issuer if service_endpoint_authentication_scheme is set to WorkloadIdentityFederation. This looks like https://vstoken.dev.azure.com/00000000-0000-0000-0000-000000000000, where the GUID is the Organization ID of your Azure DevOps Organisation.

    workloadIdentityFederationSubject String

    The subject if service_endpoint_authentication_scheme is set to WorkloadIdentityFederation. This looks like sc://<organisation>/<project>/<service-connection-name>.

    Supporting Types

    AzureRMCredentials, AzureRMCredentialsArgs

    Serviceprincipalid string

    The service principal application Id

    Serviceprincipalkey string

    The service principal secret. This not required if service_endpoint_authentication_scheme is set to WorkloadIdentityFederation.

    Serviceprincipalid string

    The service principal application Id

    Serviceprincipalkey string

    The service principal secret. This not required if service_endpoint_authentication_scheme is set to WorkloadIdentityFederation.

    serviceprincipalid String

    The service principal application Id

    serviceprincipalkey String

    The service principal secret. This not required if service_endpoint_authentication_scheme is set to WorkloadIdentityFederation.

    serviceprincipalid string

    The service principal application Id

    serviceprincipalkey string

    The service principal secret. This not required if service_endpoint_authentication_scheme is set to WorkloadIdentityFederation.

    serviceprincipalid str

    The service principal application Id

    serviceprincipalkey str

    The service principal secret. This not required if service_endpoint_authentication_scheme is set to WorkloadIdentityFederation.

    serviceprincipalid String

    The service principal application Id

    serviceprincipalkey String

    The service principal secret. This not required if service_endpoint_authentication_scheme is set to WorkloadIdentityFederation.

    Import

    Azure DevOps Service Endpoint Azure Resource Manage can be imported using projectID/serviceEndpointID or projectName/serviceEndpointID

     $ pulumi import azuredevops:ServiceEndpoint/azureRM:AzureRM example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000
    

    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 v2.14.0 published on Tuesday, Oct 31, 2023 by Pulumi