1. Packages
  2. AzureDevOps
  3. API Docs
  4. ServiceEndpointServiceFabric
Azure DevOps v3.0.0 published on Friday, Mar 15, 2024 by Pulumi

azuredevops.ServiceEndpointServiceFabric

Explore with Pulumi AI

azuredevops logo
Azure DevOps v3.0.0 published on Friday, Mar 15, 2024 by Pulumi

    Manages a Service Fabric service endpoint within Azure DevOps.

    Example Usage

    Client Certificate Authentication

    import * as pulumi from "@pulumi/pulumi";
    import * as azuredevops from "@pulumi/azuredevops";
    import * as fs from "fs";
    
    const exampleProject = new azuredevops.Project("exampleProject", {
        visibility: "private",
        versionControl: "Git",
        workItemTemplate: "Agile",
        description: "Managed by Terraform",
    });
    const exampleServiceEndpointServiceFabric = new azuredevops.ServiceEndpointServiceFabric("exampleServiceEndpointServiceFabric", {
        projectId: exampleProject.id,
        serviceEndpointName: "Example Service Fabric",
        description: "Managed by Terraform",
        clusterEndpoint: "tcp://test",
        certificate: {
            serverCertificateLookup: "Thumbprint",
            serverCertificateThumbprint: "0000000000000000000000000000000000000000",
            clientCertificate: fs.readFileSync("certificate.pfx", { encoding: "base64" }),
            clientCertificatePassword: "password",
        },
    });
    
    import pulumi
    import base64
    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_service_fabric = azuredevops.ServiceEndpointServiceFabric("exampleServiceEndpointServiceFabric",
        project_id=example_project.id,
        service_endpoint_name="Example Service Fabric",
        description="Managed by Terraform",
        cluster_endpoint="tcp://test",
        certificate=azuredevops.ServiceEndpointServiceFabricCertificateArgs(
            server_certificate_lookup="Thumbprint",
            server_certificate_thumbprint="0000000000000000000000000000000000000000",
            client_certificate=(lambda path: base64.b64encode(open(path).read().encode()).decode())("certificate.pfx"),
            client_certificate_password="password",
        ))
    
    package main
    
    import (
    	"encoding/base64"
    	"os"
    
    	"github.com/pulumi/pulumi-azuredevops/sdk/v3/go/azuredevops"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func filebase64OrPanic(path string) string {
    	if fileData, err := os.ReadFile(path); err == nil {
    		return base64.StdEncoding.EncodeToString(fileData[:])
    	} else {
    		panic(err.Error())
    	}
    }
    
    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.NewServiceEndpointServiceFabric(ctx, "exampleServiceEndpointServiceFabric", &azuredevops.ServiceEndpointServiceFabricArgs{
    			ProjectId:           exampleProject.ID(),
    			ServiceEndpointName: pulumi.String("Example Service Fabric"),
    			Description:         pulumi.String("Managed by Terraform"),
    			ClusterEndpoint:     pulumi.String("tcp://test"),
    			Certificate: &azuredevops.ServiceEndpointServiceFabricCertificateArgs{
    				ServerCertificateLookup:     pulumi.String("Thumbprint"),
    				ServerCertificateThumbprint: pulumi.String("0000000000000000000000000000000000000000"),
    				ClientCertificate:           filebase64OrPanic("certificate.pfx"),
    				ClientCertificatePassword:   pulumi.String("password"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System;
    using System.Collections.Generic;
    using System.IO;
    using System.Linq;
    using Pulumi;
    using AzureDevOps = Pulumi.AzureDevOps;
    
    	
    string ReadFileBase64(string path) 
    {
        return Convert.ToBase64String(Encoding.UTF8.GetBytes(File.ReadAllText(path)));
    }
    
    return await Deployment.RunAsync(() => 
    {
        var exampleProject = new AzureDevOps.Project("exampleProject", new()
        {
            Visibility = "private",
            VersionControl = "Git",
            WorkItemTemplate = "Agile",
            Description = "Managed by Terraform",
        });
    
        var exampleServiceEndpointServiceFabric = new AzureDevOps.ServiceEndpointServiceFabric("exampleServiceEndpointServiceFabric", new()
        {
            ProjectId = exampleProject.Id,
            ServiceEndpointName = "Example Service Fabric",
            Description = "Managed by Terraform",
            ClusterEndpoint = "tcp://test",
            Certificate = new AzureDevOps.Inputs.ServiceEndpointServiceFabricCertificateArgs
            {
                ServerCertificateLookup = "Thumbprint",
                ServerCertificateThumbprint = "0000000000000000000000000000000000000000",
                ClientCertificate = ReadFileBase64("certificate.pfx"),
                ClientCertificatePassword = "password",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azuredevops.Project;
    import com.pulumi.azuredevops.ProjectArgs;
    import com.pulumi.azuredevops.ServiceEndpointServiceFabric;
    import com.pulumi.azuredevops.ServiceEndpointServiceFabricArgs;
    import com.pulumi.azuredevops.inputs.ServiceEndpointServiceFabricCertificateArgs;
    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 exampleServiceEndpointServiceFabric = new ServiceEndpointServiceFabric("exampleServiceEndpointServiceFabric", ServiceEndpointServiceFabricArgs.builder()        
                .projectId(exampleProject.id())
                .serviceEndpointName("Example Service Fabric")
                .description("Managed by Terraform")
                .clusterEndpoint("tcp://test")
                .certificate(ServiceEndpointServiceFabricCertificateArgs.builder()
                    .serverCertificateLookup("Thumbprint")
                    .serverCertificateThumbprint("0000000000000000000000000000000000000000")
                    .clientCertificate(Base64.getEncoder().encodeToString(Files.readAllBytes(Paths.get("certificate.pfx"))))
                    .clientCertificatePassword("password")
                    .build())
                .build());
    
        }
    }
    
    Coming soon!```
    </pulumi-choosable>
    </div>
    
    
    ### Azure Active Directory Authentication
    
    <div>
    <pulumi-chooser type="language" options="typescript,python,go,csharp,java,yaml"></pulumi-chooser>
    </div>
    <div>
    <pulumi-choosable type="language" values="javascript,typescript">
    
    ```typescript
    import * as pulumi from "@pulumi/pulumi";
    import * as azuredevops from "@pulumi/azuredevops";
    
    const project = new azuredevops.Project("project", {
        visibility: "private",
        versionControl: "Git",
        workItemTemplate: "Agile",
    });
    const test = new azuredevops.ServiceEndpointServiceFabric("test", {
        projectId: project.id,
        serviceEndpointName: "Sample Service Fabric",
        description: "Managed by Terraform",
        clusterEndpoint: "tcp://test",
        azureActiveDirectory: {
            serverCertificateLookup: "Thumbprint",
            serverCertificateThumbprint: "0000000000000000000000000000000000000000",
            username: "username",
            password: "password",
        },
    });
    
    import pulumi
    import pulumi_azuredevops as azuredevops
    
    project = azuredevops.Project("project",
        visibility="private",
        version_control="Git",
        work_item_template="Agile")
    test = azuredevops.ServiceEndpointServiceFabric("test",
        project_id=project.id,
        service_endpoint_name="Sample Service Fabric",
        description="Managed by Terraform",
        cluster_endpoint="tcp://test",
        azure_active_directory=azuredevops.ServiceEndpointServiceFabricAzureActiveDirectoryArgs(
            server_certificate_lookup="Thumbprint",
            server_certificate_thumbprint="0000000000000000000000000000000000000000",
            username="username",
            password="password",
        ))
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azuredevops/sdk/v3/go/azuredevops"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		project, err := azuredevops.NewProject(ctx, "project", &azuredevops.ProjectArgs{
    			Visibility:       pulumi.String("private"),
    			VersionControl:   pulumi.String("Git"),
    			WorkItemTemplate: pulumi.String("Agile"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = azuredevops.NewServiceEndpointServiceFabric(ctx, "test", &azuredevops.ServiceEndpointServiceFabricArgs{
    			ProjectId:           project.ID(),
    			ServiceEndpointName: pulumi.String("Sample Service Fabric"),
    			Description:         pulumi.String("Managed by Terraform"),
    			ClusterEndpoint:     pulumi.String("tcp://test"),
    			AzureActiveDirectory: &azuredevops.ServiceEndpointServiceFabricAzureActiveDirectoryArgs{
    				ServerCertificateLookup:     pulumi.String("Thumbprint"),
    				ServerCertificateThumbprint: pulumi.String("0000000000000000000000000000000000000000"),
    				Username:                    pulumi.String("username"),
    				Password:                    pulumi.String("password"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureDevOps = Pulumi.AzureDevOps;
    
    return await Deployment.RunAsync(() => 
    {
        var project = new AzureDevOps.Project("project", new()
        {
            Visibility = "private",
            VersionControl = "Git",
            WorkItemTemplate = "Agile",
        });
    
        var test = new AzureDevOps.ServiceEndpointServiceFabric("test", new()
        {
            ProjectId = project.Id,
            ServiceEndpointName = "Sample Service Fabric",
            Description = "Managed by Terraform",
            ClusterEndpoint = "tcp://test",
            AzureActiveDirectory = new AzureDevOps.Inputs.ServiceEndpointServiceFabricAzureActiveDirectoryArgs
            {
                ServerCertificateLookup = "Thumbprint",
                ServerCertificateThumbprint = "0000000000000000000000000000000000000000",
                Username = "username",
                Password = "password",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azuredevops.Project;
    import com.pulumi.azuredevops.ProjectArgs;
    import com.pulumi.azuredevops.ServiceEndpointServiceFabric;
    import com.pulumi.azuredevops.ServiceEndpointServiceFabricArgs;
    import com.pulumi.azuredevops.inputs.ServiceEndpointServiceFabricAzureActiveDirectoryArgs;
    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 project = new Project("project", ProjectArgs.builder()        
                .visibility("private")
                .versionControl("Git")
                .workItemTemplate("Agile")
                .build());
    
            var test = new ServiceEndpointServiceFabric("test", ServiceEndpointServiceFabricArgs.builder()        
                .projectId(project.id())
                .serviceEndpointName("Sample Service Fabric")
                .description("Managed by Terraform")
                .clusterEndpoint("tcp://test")
                .azureActiveDirectory(ServiceEndpointServiceFabricAzureActiveDirectoryArgs.builder()
                    .serverCertificateLookup("Thumbprint")
                    .serverCertificateThumbprint("0000000000000000000000000000000000000000")
                    .username("username")
                    .password("password")
                    .build())
                .build());
    
        }
    }
    
    resources:
      project:
        type: azuredevops:Project
        properties:
          visibility: private
          versionControl: Git
          workItemTemplate: Agile
      test:
        type: azuredevops:ServiceEndpointServiceFabric
        properties:
          projectId: ${project.id}
          serviceEndpointName: Sample Service Fabric
          description: Managed by Terraform
          clusterEndpoint: tcp://test
          azureActiveDirectory:
            serverCertificateLookup: Thumbprint
            serverCertificateThumbprint: '0000000000000000000000000000000000000000'
            username: username
            password: password
    

    Windows Authentication

    import * as pulumi from "@pulumi/pulumi";
    import * as azuredevops from "@pulumi/azuredevops";
    
    const project = new azuredevops.Project("project", {
        visibility: "private",
        versionControl: "Git",
        workItemTemplate: "Agile",
    });
    const test = new azuredevops.ServiceEndpointServiceFabric("test", {
        projectId: project.id,
        serviceEndpointName: "Sample Service Fabric",
        description: "Managed by Terraform",
        clusterEndpoint: "tcp://test",
        none: {
            unsecured: false,
            clusterSpn: "HTTP/www.contoso.com",
        },
    });
    
    import pulumi
    import pulumi_azuredevops as azuredevops
    
    project = azuredevops.Project("project",
        visibility="private",
        version_control="Git",
        work_item_template="Agile")
    test = azuredevops.ServiceEndpointServiceFabric("test",
        project_id=project.id,
        service_endpoint_name="Sample Service Fabric",
        description="Managed by Terraform",
        cluster_endpoint="tcp://test",
        none=azuredevops.ServiceEndpointServiceFabricNoneArgs(
            unsecured=False,
            cluster_spn="HTTP/www.contoso.com",
        ))
    
    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 {
    		project, err := azuredevops.NewProject(ctx, "project", &azuredevops.ProjectArgs{
    			Visibility:       pulumi.String("private"),
    			VersionControl:   pulumi.String("Git"),
    			WorkItemTemplate: pulumi.String("Agile"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = azuredevops.NewServiceEndpointServiceFabric(ctx, "test", &azuredevops.ServiceEndpointServiceFabricArgs{
    			ProjectId:           project.ID(),
    			ServiceEndpointName: pulumi.String("Sample Service Fabric"),
    			Description:         pulumi.String("Managed by Terraform"),
    			ClusterEndpoint:     pulumi.String("tcp://test"),
    			None: &azuredevops.ServiceEndpointServiceFabricNoneArgs{
    				Unsecured:  pulumi.Bool(false),
    				ClusterSpn: pulumi.String("HTTP/www.contoso.com"),
    			},
    		})
    		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 project = new AzureDevOps.Project("project", new()
        {
            Visibility = "private",
            VersionControl = "Git",
            WorkItemTemplate = "Agile",
        });
    
        var test = new AzureDevOps.ServiceEndpointServiceFabric("test", new()
        {
            ProjectId = project.Id,
            ServiceEndpointName = "Sample Service Fabric",
            Description = "Managed by Terraform",
            ClusterEndpoint = "tcp://test",
            None = new AzureDevOps.Inputs.ServiceEndpointServiceFabricNoneArgs
            {
                Unsecured = false,
                ClusterSpn = "HTTP/www.contoso.com",
            },
        });
    
    });
    
    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.ServiceEndpointServiceFabric;
    import com.pulumi.azuredevops.ServiceEndpointServiceFabricArgs;
    import com.pulumi.azuredevops.inputs.ServiceEndpointServiceFabricNoneArgs;
    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 project = new Project("project", ProjectArgs.builder()        
                .visibility("private")
                .versionControl("Git")
                .workItemTemplate("Agile")
                .build());
    
            var test = new ServiceEndpointServiceFabric("test", ServiceEndpointServiceFabricArgs.builder()        
                .projectId(project.id())
                .serviceEndpointName("Sample Service Fabric")
                .description("Managed by Terraform")
                .clusterEndpoint("tcp://test")
                .none(ServiceEndpointServiceFabricNoneArgs.builder()
                    .unsecured(false)
                    .clusterSpn("HTTP/www.contoso.com")
                    .build())
                .build());
    
        }
    }
    
    resources:
      project:
        type: azuredevops:Project
        properties:
          visibility: private
          versionControl: Git
          workItemTemplate: Agile
      test:
        type: azuredevops:ServiceEndpointServiceFabric
        properties:
          projectId: ${project.id}
          serviceEndpointName: Sample Service Fabric
          description: Managed by Terraform
          clusterEndpoint: tcp://test
          none:
            unsecured: false
            clusterSpn: HTTP/www.contoso.com
    

    Create ServiceEndpointServiceFabric Resource

    new ServiceEndpointServiceFabric(name: string, args: ServiceEndpointServiceFabricArgs, opts?: CustomResourceOptions);
    @overload
    def ServiceEndpointServiceFabric(resource_name: str,
                                     opts: Optional[ResourceOptions] = None,
                                     authorization: Optional[Mapping[str, str]] = None,
                                     azure_active_directory: Optional[ServiceEndpointServiceFabricAzureActiveDirectoryArgs] = None,
                                     certificate: Optional[ServiceEndpointServiceFabricCertificateArgs] = None,
                                     cluster_endpoint: Optional[str] = None,
                                     description: Optional[str] = None,
                                     none: Optional[ServiceEndpointServiceFabricNoneArgs] = None,
                                     project_id: Optional[str] = None,
                                     service_endpoint_name: Optional[str] = None)
    @overload
    def ServiceEndpointServiceFabric(resource_name: str,
                                     args: ServiceEndpointServiceFabricArgs,
                                     opts: Optional[ResourceOptions] = None)
    func NewServiceEndpointServiceFabric(ctx *Context, name string, args ServiceEndpointServiceFabricArgs, opts ...ResourceOption) (*ServiceEndpointServiceFabric, error)
    public ServiceEndpointServiceFabric(string name, ServiceEndpointServiceFabricArgs args, CustomResourceOptions? opts = null)
    public ServiceEndpointServiceFabric(String name, ServiceEndpointServiceFabricArgs args)
    public ServiceEndpointServiceFabric(String name, ServiceEndpointServiceFabricArgs args, CustomResourceOptions options)
    
    type: azuredevops:ServiceEndpointServiceFabric
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args ServiceEndpointServiceFabricArgs
    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 ServiceEndpointServiceFabricArgs
    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 ServiceEndpointServiceFabricArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServiceEndpointServiceFabricArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServiceEndpointServiceFabricArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

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

    ClusterEndpoint string
    Client connection endpoint for the cluster. Prefix the value with 'tcp://';. This value overrides the publish profile.
    ProjectId string
    The ID of the project.
    ServiceEndpointName string
    The Service Endpoint name.
    Authorization Dictionary<string, string>
    AzureActiveDirectory Pulumi.AzureDevOps.Inputs.ServiceEndpointServiceFabricAzureActiveDirectory
    Certificate Pulumi.AzureDevOps.Inputs.ServiceEndpointServiceFabricCertificate
    Description string
    None Pulumi.AzureDevOps.Inputs.ServiceEndpointServiceFabricNone
    ClusterEndpoint string
    Client connection endpoint for the cluster. Prefix the value with 'tcp://';. This value overrides the publish profile.
    ProjectId string
    The ID of the project.
    ServiceEndpointName string
    The Service Endpoint name.
    Authorization map[string]string
    AzureActiveDirectory ServiceEndpointServiceFabricAzureActiveDirectoryArgs
    Certificate ServiceEndpointServiceFabricCertificateArgs
    Description string
    None ServiceEndpointServiceFabricNoneArgs
    clusterEndpoint String
    Client connection endpoint for the cluster. Prefix the value with 'tcp://';. This value overrides the publish profile.
    projectId String
    The ID of the project.
    serviceEndpointName String
    The Service Endpoint name.
    authorization Map<String,String>
    azureActiveDirectory ServiceEndpointServiceFabricAzureActiveDirectory
    certificate ServiceEndpointServiceFabricCertificate
    description String
    none ServiceEndpointServiceFabricNone
    clusterEndpoint string
    Client connection endpoint for the cluster. Prefix the value with 'tcp://';. This value overrides the publish profile.
    projectId string
    The ID of the project.
    serviceEndpointName string
    The Service Endpoint name.
    authorization {[key: string]: string}
    azureActiveDirectory ServiceEndpointServiceFabricAzureActiveDirectory
    certificate ServiceEndpointServiceFabricCertificate
    description string
    none ServiceEndpointServiceFabricNone
    cluster_endpoint str
    Client connection endpoint for the cluster. Prefix the value with 'tcp://';. This value overrides the publish profile.
    project_id str
    The ID of the project.
    service_endpoint_name str
    The Service Endpoint name.
    authorization Mapping[str, str]
    azure_active_directory ServiceEndpointServiceFabricAzureActiveDirectoryArgs
    certificate ServiceEndpointServiceFabricCertificateArgs
    description str
    none ServiceEndpointServiceFabricNoneArgs
    clusterEndpoint String
    Client connection endpoint for the cluster. Prefix the value with 'tcp://';. This value overrides the publish profile.
    projectId String
    The ID of the project.
    serviceEndpointName String
    The Service Endpoint name.
    authorization Map<String>
    azureActiveDirectory Property Map
    certificate Property Map
    description String
    none Property Map

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ServiceEndpointServiceFabric Resource

    Get an existing ServiceEndpointServiceFabric 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?: ServiceEndpointServiceFabricState, opts?: CustomResourceOptions): ServiceEndpointServiceFabric
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            authorization: Optional[Mapping[str, str]] = None,
            azure_active_directory: Optional[ServiceEndpointServiceFabricAzureActiveDirectoryArgs] = None,
            certificate: Optional[ServiceEndpointServiceFabricCertificateArgs] = None,
            cluster_endpoint: Optional[str] = None,
            description: Optional[str] = None,
            none: Optional[ServiceEndpointServiceFabricNoneArgs] = None,
            project_id: Optional[str] = None,
            service_endpoint_name: Optional[str] = None) -> ServiceEndpointServiceFabric
    func GetServiceEndpointServiceFabric(ctx *Context, name string, id IDInput, state *ServiceEndpointServiceFabricState, opts ...ResourceOption) (*ServiceEndpointServiceFabric, error)
    public static ServiceEndpointServiceFabric Get(string name, Input<string> id, ServiceEndpointServiceFabricState? state, CustomResourceOptions? opts = null)
    public static ServiceEndpointServiceFabric get(String name, Output<String> id, ServiceEndpointServiceFabricState 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>
    AzureActiveDirectory Pulumi.AzureDevOps.Inputs.ServiceEndpointServiceFabricAzureActiveDirectory
    Certificate Pulumi.AzureDevOps.Inputs.ServiceEndpointServiceFabricCertificate
    ClusterEndpoint string
    Client connection endpoint for the cluster. Prefix the value with 'tcp://';. This value overrides the publish profile.
    Description string
    None Pulumi.AzureDevOps.Inputs.ServiceEndpointServiceFabricNone
    ProjectId string
    The ID of the project.
    ServiceEndpointName string
    The Service Endpoint name.
    Authorization map[string]string
    AzureActiveDirectory ServiceEndpointServiceFabricAzureActiveDirectoryArgs
    Certificate ServiceEndpointServiceFabricCertificateArgs
    ClusterEndpoint string
    Client connection endpoint for the cluster. Prefix the value with 'tcp://';. This value overrides the publish profile.
    Description string
    None ServiceEndpointServiceFabricNoneArgs
    ProjectId string
    The ID of the project.
    ServiceEndpointName string
    The Service Endpoint name.
    authorization Map<String,String>
    azureActiveDirectory ServiceEndpointServiceFabricAzureActiveDirectory
    certificate ServiceEndpointServiceFabricCertificate
    clusterEndpoint String
    Client connection endpoint for the cluster. Prefix the value with 'tcp://';. This value overrides the publish profile.
    description String
    none ServiceEndpointServiceFabricNone
    projectId String
    The ID of the project.
    serviceEndpointName String
    The Service Endpoint name.
    authorization {[key: string]: string}
    azureActiveDirectory ServiceEndpointServiceFabricAzureActiveDirectory
    certificate ServiceEndpointServiceFabricCertificate
    clusterEndpoint string
    Client connection endpoint for the cluster. Prefix the value with 'tcp://';. This value overrides the publish profile.
    description string
    none ServiceEndpointServiceFabricNone
    projectId string
    The ID of the project.
    serviceEndpointName string
    The Service Endpoint name.
    authorization Mapping[str, str]
    azure_active_directory ServiceEndpointServiceFabricAzureActiveDirectoryArgs
    certificate ServiceEndpointServiceFabricCertificateArgs
    cluster_endpoint str
    Client connection endpoint for the cluster. Prefix the value with 'tcp://';. This value overrides the publish profile.
    description str
    none ServiceEndpointServiceFabricNoneArgs
    project_id str
    The ID of the project.
    service_endpoint_name str
    The Service Endpoint name.
    authorization Map<String>
    azureActiveDirectory Property Map
    certificate Property Map
    clusterEndpoint String
    Client connection endpoint for the cluster. Prefix the value with 'tcp://';. This value overrides the publish profile.
    description String
    none Property Map
    projectId String
    The ID of the project.
    serviceEndpointName String
    The Service Endpoint name.

    Supporting Types

    ServiceEndpointServiceFabricAzureActiveDirectory, ServiceEndpointServiceFabricAzureActiveDirectoryArgs

    Password string
    Password for the Azure Active Directory account.
    ServerCertificateLookup string
    Verification mode for the cluster. Possible values include Thumbprint or CommonName.
    Username string
    Specify an Azure Active Directory account.
    ServerCertificateCommonName string
    The common name(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple common names with a comma (',')
    ServerCertificateThumbprint string
    The thumbprint(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple thumbprints with a comma (',')
    Password string
    Password for the Azure Active Directory account.
    ServerCertificateLookup string
    Verification mode for the cluster. Possible values include Thumbprint or CommonName.
    Username string
    Specify an Azure Active Directory account.
    ServerCertificateCommonName string
    The common name(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple common names with a comma (',')
    ServerCertificateThumbprint string
    The thumbprint(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple thumbprints with a comma (',')
    password String
    Password for the Azure Active Directory account.
    serverCertificateLookup String
    Verification mode for the cluster. Possible values include Thumbprint or CommonName.
    username String
    Specify an Azure Active Directory account.
    serverCertificateCommonName String
    The common name(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple common names with a comma (',')
    serverCertificateThumbprint String
    The thumbprint(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple thumbprints with a comma (',')
    password string
    Password for the Azure Active Directory account.
    serverCertificateLookup string
    Verification mode for the cluster. Possible values include Thumbprint or CommonName.
    username string
    Specify an Azure Active Directory account.
    serverCertificateCommonName string
    The common name(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple common names with a comma (',')
    serverCertificateThumbprint string
    The thumbprint(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple thumbprints with a comma (',')
    password str
    Password for the Azure Active Directory account.
    server_certificate_lookup str
    Verification mode for the cluster. Possible values include Thumbprint or CommonName.
    username str
    Specify an Azure Active Directory account.
    server_certificate_common_name str
    The common name(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple common names with a comma (',')
    server_certificate_thumbprint str
    The thumbprint(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple thumbprints with a comma (',')
    password String
    Password for the Azure Active Directory account.
    serverCertificateLookup String
    Verification mode for the cluster. Possible values include Thumbprint or CommonName.
    username String
    Specify an Azure Active Directory account.
    serverCertificateCommonName String
    The common name(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple common names with a comma (',')
    serverCertificateThumbprint String
    The thumbprint(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple thumbprints with a comma (',')

    ServiceEndpointServiceFabricCertificate, ServiceEndpointServiceFabricCertificateArgs

    ClientCertificate string
    Base64 encoding of the cluster's client certificate file.
    ServerCertificateLookup string
    Verification mode for the cluster. Possible values include Thumbprint or CommonName.
    ClientCertificatePassword string
    Password for the certificate.
    ServerCertificateCommonName string
    The common name(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple common names with a comma (',')
    ServerCertificateThumbprint string
    The thumbprint(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple thumbprints with a comma (',')
    ClientCertificate string
    Base64 encoding of the cluster's client certificate file.
    ServerCertificateLookup string
    Verification mode for the cluster. Possible values include Thumbprint or CommonName.
    ClientCertificatePassword string
    Password for the certificate.
    ServerCertificateCommonName string
    The common name(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple common names with a comma (',')
    ServerCertificateThumbprint string
    The thumbprint(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple thumbprints with a comma (',')
    clientCertificate String
    Base64 encoding of the cluster's client certificate file.
    serverCertificateLookup String
    Verification mode for the cluster. Possible values include Thumbprint or CommonName.
    clientCertificatePassword String
    Password for the certificate.
    serverCertificateCommonName String
    The common name(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple common names with a comma (',')
    serverCertificateThumbprint String
    The thumbprint(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple thumbprints with a comma (',')
    clientCertificate string
    Base64 encoding of the cluster's client certificate file.
    serverCertificateLookup string
    Verification mode for the cluster. Possible values include Thumbprint or CommonName.
    clientCertificatePassword string
    Password for the certificate.
    serverCertificateCommonName string
    The common name(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple common names with a comma (',')
    serverCertificateThumbprint string
    The thumbprint(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple thumbprints with a comma (',')
    client_certificate str
    Base64 encoding of the cluster's client certificate file.
    server_certificate_lookup str
    Verification mode for the cluster. Possible values include Thumbprint or CommonName.
    client_certificate_password str
    Password for the certificate.
    server_certificate_common_name str
    The common name(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple common names with a comma (',')
    server_certificate_thumbprint str
    The thumbprint(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple thumbprints with a comma (',')
    clientCertificate String
    Base64 encoding of the cluster's client certificate file.
    serverCertificateLookup String
    Verification mode for the cluster. Possible values include Thumbprint or CommonName.
    clientCertificatePassword String
    Password for the certificate.
    serverCertificateCommonName String
    The common name(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple common names with a comma (',')
    serverCertificateThumbprint String
    The thumbprint(s) of the cluster's certificate(s). This is used to verify the identity of the cluster. This value overrides the publish profile. Separate multiple thumbprints with a comma (',')

    ServiceEndpointServiceFabricNone, ServiceEndpointServiceFabricNoneArgs

    ClusterSpn string
    Fully qualified domain SPN for gMSA account. This is applicable only if unsecured option is disabled.
    Unsecured bool
    Skip using windows security for authentication.
    ClusterSpn string
    Fully qualified domain SPN for gMSA account. This is applicable only if unsecured option is disabled.
    Unsecured bool
    Skip using windows security for authentication.
    clusterSpn String
    Fully qualified domain SPN for gMSA account. This is applicable only if unsecured option is disabled.
    unsecured Boolean
    Skip using windows security for authentication.
    clusterSpn string
    Fully qualified domain SPN for gMSA account. This is applicable only if unsecured option is disabled.
    unsecured boolean
    Skip using windows security for authentication.
    cluster_spn str
    Fully qualified domain SPN for gMSA account. This is applicable only if unsecured option is disabled.
    unsecured bool
    Skip using windows security for authentication.
    clusterSpn String
    Fully qualified domain SPN for gMSA account. This is applicable only if unsecured option is disabled.
    unsecured Boolean
    Skip using windows security for authentication.

    Import

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

    $ pulumi import azuredevops:index/serviceEndpointServiceFabric:ServiceEndpointServiceFabric 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 v3.0.0 published on Friday, Mar 15, 2024 by Pulumi