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

azuredevops.ServiceendpointJfrogXrayV2

Explore with Pulumi AI

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

    Manages an JFrog XRay V2 server endpoint within an Azure DevOps organization.

    Note: Using this service endpoint requires you to first install JFrog Extension.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as azuredevops from "@pulumi/azuredevops";
    
    const example = new azuredevops.Project("example", {
        name: "Example Project",
        visibility: "private",
        versionControl: "Git",
        workItemTemplate: "Agile",
        description: "Managed by Terraform",
    });
    const exampleServiceendpointJfrogXrayV2 = new azuredevops.ServiceendpointJfrogXrayV2("example", {
        projectId: example.id,
        serviceEndpointName: "Example Artifactory",
        description: "Managed by Terraform",
        url: "https://artifactory.my.com",
        authenticationToken: {
            token: "0000000000000000000000000000000000000000",
        },
    });
    
    import pulumi
    import pulumi_azuredevops as azuredevops
    
    example = azuredevops.Project("example",
        name="Example Project",
        visibility="private",
        version_control="Git",
        work_item_template="Agile",
        description="Managed by Terraform")
    example_serviceendpoint_jfrog_xray_v2 = azuredevops.ServiceendpointJfrogXrayV2("example",
        project_id=example.id,
        service_endpoint_name="Example Artifactory",
        description="Managed by Terraform",
        url="https://artifactory.my.com",
        authentication_token={
            "token": "0000000000000000000000000000000000000000",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azuredevops/sdk/v3/go/azuredevops"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := azuredevops.NewProject(ctx, "example", &azuredevops.ProjectArgs{
    			Name:             pulumi.String("Example Project"),
    			Visibility:       pulumi.String("private"),
    			VersionControl:   pulumi.String("Git"),
    			WorkItemTemplate: pulumi.String("Agile"),
    			Description:      pulumi.String("Managed by Terraform"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = azuredevops.NewServiceendpointJfrogXrayV2(ctx, "example", &azuredevops.ServiceendpointJfrogXrayV2Args{
    			ProjectId:           example.ID(),
    			ServiceEndpointName: pulumi.String("Example Artifactory"),
    			Description:         pulumi.String("Managed by Terraform"),
    			Url:                 pulumi.String("https://artifactory.my.com"),
    			AuthenticationToken: &azuredevops.ServiceendpointJfrogXrayV2AuthenticationTokenArgs{
    				Token: pulumi.String("0000000000000000000000000000000000000000"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureDevOps = Pulumi.AzureDevOps;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new AzureDevOps.Project("example", new()
        {
            Name = "Example Project",
            Visibility = "private",
            VersionControl = "Git",
            WorkItemTemplate = "Agile",
            Description = "Managed by Terraform",
        });
    
        var exampleServiceendpointJfrogXrayV2 = new AzureDevOps.ServiceendpointJfrogXrayV2("example", new()
        {
            ProjectId = example.Id,
            ServiceEndpointName = "Example Artifactory",
            Description = "Managed by Terraform",
            Url = "https://artifactory.my.com",
            AuthenticationToken = new AzureDevOps.Inputs.ServiceendpointJfrogXrayV2AuthenticationTokenArgs
            {
                Token = "0000000000000000000000000000000000000000",
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azuredevops.Project;
    import com.pulumi.azuredevops.ProjectArgs;
    import com.pulumi.azuredevops.ServiceendpointJfrogXrayV2;
    import com.pulumi.azuredevops.ServiceendpointJfrogXrayV2Args;
    import com.pulumi.azuredevops.inputs.ServiceendpointJfrogXrayV2AuthenticationTokenArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new Project("example", ProjectArgs.builder()
                .name("Example Project")
                .visibility("private")
                .versionControl("Git")
                .workItemTemplate("Agile")
                .description("Managed by Terraform")
                .build());
    
            var exampleServiceendpointJfrogXrayV2 = new ServiceendpointJfrogXrayV2("exampleServiceendpointJfrogXrayV2", ServiceendpointJfrogXrayV2Args.builder()
                .projectId(example.id())
                .serviceEndpointName("Example Artifactory")
                .description("Managed by Terraform")
                .url("https://artifactory.my.com")
                .authenticationToken(ServiceendpointJfrogXrayV2AuthenticationTokenArgs.builder()
                    .token("0000000000000000000000000000000000000000")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: azuredevops:Project
        properties:
          name: Example Project
          visibility: private
          versionControl: Git
          workItemTemplate: Agile
          description: Managed by Terraform
      exampleServiceendpointJfrogXrayV2:
        type: azuredevops:ServiceendpointJfrogXrayV2
        name: example
        properties:
          projectId: ${example.id}
          serviceEndpointName: Example Artifactory
          description: Managed by Terraform
          url: https://artifactory.my.com
          authenticationToken:
            token: '0000000000000000000000000000000000000000'
    

    Alternatively a username and password may be used.

    import * as pulumi from "@pulumi/pulumi";
    import * as azuredevops from "@pulumi/azuredevops";
    
    const example = new azuredevops.Project("example", {
        name: "Example Project",
        visibility: "private",
        versionControl: "Git",
        workItemTemplate: "Agile",
        description: "Managed by Terraform",
    });
    const exampleServiceendpointJfrogXrayV2 = new azuredevops.ServiceendpointJfrogXrayV2("example", {
        projectId: example.id,
        serviceEndpointName: "Example Artifactory",
        description: "Managed by Terraform",
        url: "https://artifactory.my.com",
        authenticationBasic: {
            username: "username",
            password: "password",
        },
    });
    
    import pulumi
    import pulumi_azuredevops as azuredevops
    
    example = azuredevops.Project("example",
        name="Example Project",
        visibility="private",
        version_control="Git",
        work_item_template="Agile",
        description="Managed by Terraform")
    example_serviceendpoint_jfrog_xray_v2 = azuredevops.ServiceendpointJfrogXrayV2("example",
        project_id=example.id,
        service_endpoint_name="Example Artifactory",
        description="Managed by Terraform",
        url="https://artifactory.my.com",
        authentication_basic={
            "username": "username",
            "password": "password",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-azuredevops/sdk/v3/go/azuredevops"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := azuredevops.NewProject(ctx, "example", &azuredevops.ProjectArgs{
    			Name:             pulumi.String("Example Project"),
    			Visibility:       pulumi.String("private"),
    			VersionControl:   pulumi.String("Git"),
    			WorkItemTemplate: pulumi.String("Agile"),
    			Description:      pulumi.String("Managed by Terraform"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = azuredevops.NewServiceendpointJfrogXrayV2(ctx, "example", &azuredevops.ServiceendpointJfrogXrayV2Args{
    			ProjectId:           example.ID(),
    			ServiceEndpointName: pulumi.String("Example Artifactory"),
    			Description:         pulumi.String("Managed by Terraform"),
    			Url:                 pulumi.String("https://artifactory.my.com"),
    			AuthenticationBasic: &azuredevops.ServiceendpointJfrogXrayV2AuthenticationBasicArgs{
    				Username: pulumi.String("username"),
    				Password: pulumi.String("password"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureDevOps = Pulumi.AzureDevOps;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new AzureDevOps.Project("example", new()
        {
            Name = "Example Project",
            Visibility = "private",
            VersionControl = "Git",
            WorkItemTemplate = "Agile",
            Description = "Managed by Terraform",
        });
    
        var exampleServiceendpointJfrogXrayV2 = new AzureDevOps.ServiceendpointJfrogXrayV2("example", new()
        {
            ProjectId = example.Id,
            ServiceEndpointName = "Example Artifactory",
            Description = "Managed by Terraform",
            Url = "https://artifactory.my.com",
            AuthenticationBasic = new AzureDevOps.Inputs.ServiceendpointJfrogXrayV2AuthenticationBasicArgs
            {
                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.ServiceendpointJfrogXrayV2;
    import com.pulumi.azuredevops.ServiceendpointJfrogXrayV2Args;
    import com.pulumi.azuredevops.inputs.ServiceendpointJfrogXrayV2AuthenticationBasicArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new Project("example", ProjectArgs.builder()
                .name("Example Project")
                .visibility("private")
                .versionControl("Git")
                .workItemTemplate("Agile")
                .description("Managed by Terraform")
                .build());
    
            var exampleServiceendpointJfrogXrayV2 = new ServiceendpointJfrogXrayV2("exampleServiceendpointJfrogXrayV2", ServiceendpointJfrogXrayV2Args.builder()
                .projectId(example.id())
                .serviceEndpointName("Example Artifactory")
                .description("Managed by Terraform")
                .url("https://artifactory.my.com")
                .authenticationBasic(ServiceendpointJfrogXrayV2AuthenticationBasicArgs.builder()
                    .username("username")
                    .password("password")
                    .build())
                .build());
    
        }
    }
    
    resources:
      example:
        type: azuredevops:Project
        properties:
          name: Example Project
          visibility: private
          versionControl: Git
          workItemTemplate: Agile
          description: Managed by Terraform
      exampleServiceendpointJfrogXrayV2:
        type: azuredevops:ServiceendpointJfrogXrayV2
        name: example
        properties:
          projectId: ${example.id}
          serviceEndpointName: Example Artifactory
          description: Managed by Terraform
          url: https://artifactory.my.com
          authenticationBasic:
            username: username
            password: password
    

    Create ServiceendpointJfrogXrayV2 Resource

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

    Constructor syntax

    new ServiceendpointJfrogXrayV2(name: string, args: ServiceendpointJfrogXrayV2Args, opts?: CustomResourceOptions);
    @overload
    def ServiceendpointJfrogXrayV2(resource_name: str,
                                   args: ServiceendpointJfrogXrayV2Args,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def ServiceendpointJfrogXrayV2(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   project_id: Optional[str] = None,
                                   service_endpoint_name: Optional[str] = None,
                                   url: Optional[str] = None,
                                   authentication_basic: Optional[ServiceendpointJfrogXrayV2AuthenticationBasicArgs] = None,
                                   authentication_token: Optional[ServiceendpointJfrogXrayV2AuthenticationTokenArgs] = None,
                                   authorization: Optional[Mapping[str, str]] = None,
                                   description: Optional[str] = None)
    func NewServiceendpointJfrogXrayV2(ctx *Context, name string, args ServiceendpointJfrogXrayV2Args, opts ...ResourceOption) (*ServiceendpointJfrogXrayV2, error)
    public ServiceendpointJfrogXrayV2(string name, ServiceendpointJfrogXrayV2Args args, CustomResourceOptions? opts = null)
    public ServiceendpointJfrogXrayV2(String name, ServiceendpointJfrogXrayV2Args args)
    public ServiceendpointJfrogXrayV2(String name, ServiceendpointJfrogXrayV2Args args, CustomResourceOptions options)
    
    type: azuredevops:ServiceendpointJfrogXrayV2
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ServiceendpointJfrogXrayV2Args
    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 ServiceendpointJfrogXrayV2Args
    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 ServiceendpointJfrogXrayV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ServiceendpointJfrogXrayV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ServiceendpointJfrogXrayV2Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var serviceendpointJfrogXrayV2Resource = new AzureDevOps.ServiceendpointJfrogXrayV2("serviceendpointJfrogXrayV2Resource", new()
    {
        ProjectId = "string",
        ServiceEndpointName = "string",
        Url = "string",
        AuthenticationBasic = new AzureDevOps.Inputs.ServiceendpointJfrogXrayV2AuthenticationBasicArgs
        {
            Password = "string",
            Username = "string",
        },
        AuthenticationToken = new AzureDevOps.Inputs.ServiceendpointJfrogXrayV2AuthenticationTokenArgs
        {
            Token = "string",
        },
        Authorization = 
        {
            { "string", "string" },
        },
        Description = "string",
    });
    
    example, err := azuredevops.NewServiceendpointJfrogXrayV2(ctx, "serviceendpointJfrogXrayV2Resource", &azuredevops.ServiceendpointJfrogXrayV2Args{
    	ProjectId:           pulumi.String("string"),
    	ServiceEndpointName: pulumi.String("string"),
    	Url:                 pulumi.String("string"),
    	AuthenticationBasic: &azuredevops.ServiceendpointJfrogXrayV2AuthenticationBasicArgs{
    		Password: pulumi.String("string"),
    		Username: pulumi.String("string"),
    	},
    	AuthenticationToken: &azuredevops.ServiceendpointJfrogXrayV2AuthenticationTokenArgs{
    		Token: pulumi.String("string"),
    	},
    	Authorization: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    })
    
    var serviceendpointJfrogXrayV2Resource = new ServiceendpointJfrogXrayV2("serviceendpointJfrogXrayV2Resource", ServiceendpointJfrogXrayV2Args.builder()
        .projectId("string")
        .serviceEndpointName("string")
        .url("string")
        .authenticationBasic(ServiceendpointJfrogXrayV2AuthenticationBasicArgs.builder()
            .password("string")
            .username("string")
            .build())
        .authenticationToken(ServiceendpointJfrogXrayV2AuthenticationTokenArgs.builder()
            .token("string")
            .build())
        .authorization(Map.of("string", "string"))
        .description("string")
        .build());
    
    serviceendpoint_jfrog_xray_v2_resource = azuredevops.ServiceendpointJfrogXrayV2("serviceendpointJfrogXrayV2Resource",
        project_id="string",
        service_endpoint_name="string",
        url="string",
        authentication_basic={
            "password": "string",
            "username": "string",
        },
        authentication_token={
            "token": "string",
        },
        authorization={
            "string": "string",
        },
        description="string")
    
    const serviceendpointJfrogXrayV2Resource = new azuredevops.ServiceendpointJfrogXrayV2("serviceendpointJfrogXrayV2Resource", {
        projectId: "string",
        serviceEndpointName: "string",
        url: "string",
        authenticationBasic: {
            password: "string",
            username: "string",
        },
        authenticationToken: {
            token: "string",
        },
        authorization: {
            string: "string",
        },
        description: "string",
    });
    
    type: azuredevops:ServiceendpointJfrogXrayV2
    properties:
        authenticationBasic:
            password: string
            username: string
        authenticationToken:
            token: string
        authorization:
            string: string
        description: string
        projectId: string
        serviceEndpointName: string
        url: string
    

    ServiceendpointJfrogXrayV2 Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ServiceendpointJfrogXrayV2 resource accepts the following input properties:

    ProjectId string
    The ID of the project.
    ServiceEndpointName string
    The Service Endpoint name.
    Url string

    URL of the Artifactory server to connect with.

    NOTE: URL should not end in a slash character.

    AuthenticationBasic Pulumi.AzureDevOps.Inputs.ServiceendpointJfrogXrayV2AuthenticationBasic
    A authentication_basic block as documented below.
    AuthenticationToken Pulumi.AzureDevOps.Inputs.ServiceendpointJfrogXrayV2AuthenticationToken
    A authentication_token block as documented below.
    Authorization Dictionary<string, string>
    Description string
    The Service Endpoint description.
    ProjectId string
    The ID of the project.
    ServiceEndpointName string
    The Service Endpoint name.
    Url string

    URL of the Artifactory server to connect with.

    NOTE: URL should not end in a slash character.

    AuthenticationBasic ServiceendpointJfrogXrayV2AuthenticationBasicArgs
    A authentication_basic block as documented below.
    AuthenticationToken ServiceendpointJfrogXrayV2AuthenticationTokenArgs
    A authentication_token block as documented below.
    Authorization map[string]string
    Description string
    The Service Endpoint description.
    projectId String
    The ID of the project.
    serviceEndpointName String
    The Service Endpoint name.
    url String

    URL of the Artifactory server to connect with.

    NOTE: URL should not end in a slash character.

    authenticationBasic ServiceendpointJfrogXrayV2AuthenticationBasic
    A authentication_basic block as documented below.
    authenticationToken ServiceendpointJfrogXrayV2AuthenticationToken
    A authentication_token block as documented below.
    authorization Map<String,String>
    description String
    The Service Endpoint description.
    projectId string
    The ID of the project.
    serviceEndpointName string
    The Service Endpoint name.
    url string

    URL of the Artifactory server to connect with.

    NOTE: URL should not end in a slash character.

    authenticationBasic ServiceendpointJfrogXrayV2AuthenticationBasic
    A authentication_basic block as documented below.
    authenticationToken ServiceendpointJfrogXrayV2AuthenticationToken
    A authentication_token block as documented below.
    authorization {[key: string]: string}
    description string
    The Service Endpoint description.
    project_id str
    The ID of the project.
    service_endpoint_name str
    The Service Endpoint name.
    url str

    URL of the Artifactory server to connect with.

    NOTE: URL should not end in a slash character.

    authentication_basic ServiceendpointJfrogXrayV2AuthenticationBasicArgs
    A authentication_basic block as documented below.
    authentication_token ServiceendpointJfrogXrayV2AuthenticationTokenArgs
    A authentication_token block as documented below.
    authorization Mapping[str, str]
    description str
    The Service Endpoint description.
    projectId String
    The ID of the project.
    serviceEndpointName String
    The Service Endpoint name.
    url String

    URL of the Artifactory server to connect with.

    NOTE: URL should not end in a slash character.

    authenticationBasic Property Map
    A authentication_basic block as documented below.
    authenticationToken Property Map
    A authentication_token block as documented below.
    authorization Map<String>
    description String
    The Service Endpoint description.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ServiceendpointJfrogXrayV2 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 ServiceendpointJfrogXrayV2 Resource

    Get an existing ServiceendpointJfrogXrayV2 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?: ServiceendpointJfrogXrayV2State, opts?: CustomResourceOptions): ServiceendpointJfrogXrayV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            authentication_basic: Optional[ServiceendpointJfrogXrayV2AuthenticationBasicArgs] = None,
            authentication_token: Optional[ServiceendpointJfrogXrayV2AuthenticationTokenArgs] = None,
            authorization: Optional[Mapping[str, str]] = None,
            description: Optional[str] = None,
            project_id: Optional[str] = None,
            service_endpoint_name: Optional[str] = None,
            url: Optional[str] = None) -> ServiceendpointJfrogXrayV2
    func GetServiceendpointJfrogXrayV2(ctx *Context, name string, id IDInput, state *ServiceendpointJfrogXrayV2State, opts ...ResourceOption) (*ServiceendpointJfrogXrayV2, error)
    public static ServiceendpointJfrogXrayV2 Get(string name, Input<string> id, ServiceendpointJfrogXrayV2State? state, CustomResourceOptions? opts = null)
    public static ServiceendpointJfrogXrayV2 get(String name, Output<String> id, ServiceendpointJfrogXrayV2State state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AuthenticationBasic Pulumi.AzureDevOps.Inputs.ServiceendpointJfrogXrayV2AuthenticationBasic
    A authentication_basic block as documented below.
    AuthenticationToken Pulumi.AzureDevOps.Inputs.ServiceendpointJfrogXrayV2AuthenticationToken
    A authentication_token block as documented below.
    Authorization Dictionary<string, string>
    Description string
    The Service Endpoint description.
    ProjectId string
    The ID of the project.
    ServiceEndpointName string
    The Service Endpoint name.
    Url string

    URL of the Artifactory server to connect with.

    NOTE: URL should not end in a slash character.

    AuthenticationBasic ServiceendpointJfrogXrayV2AuthenticationBasicArgs
    A authentication_basic block as documented below.
    AuthenticationToken ServiceendpointJfrogXrayV2AuthenticationTokenArgs
    A authentication_token block as documented below.
    Authorization map[string]string
    Description string
    The Service Endpoint description.
    ProjectId string
    The ID of the project.
    ServiceEndpointName string
    The Service Endpoint name.
    Url string

    URL of the Artifactory server to connect with.

    NOTE: URL should not end in a slash character.

    authenticationBasic ServiceendpointJfrogXrayV2AuthenticationBasic
    A authentication_basic block as documented below.
    authenticationToken ServiceendpointJfrogXrayV2AuthenticationToken
    A authentication_token block as documented below.
    authorization Map<String,String>
    description String
    The Service Endpoint description.
    projectId String
    The ID of the project.
    serviceEndpointName String
    The Service Endpoint name.
    url String

    URL of the Artifactory server to connect with.

    NOTE: URL should not end in a slash character.

    authenticationBasic ServiceendpointJfrogXrayV2AuthenticationBasic
    A authentication_basic block as documented below.
    authenticationToken ServiceendpointJfrogXrayV2AuthenticationToken
    A authentication_token block as documented below.
    authorization {[key: string]: string}
    description string
    The Service Endpoint description.
    projectId string
    The ID of the project.
    serviceEndpointName string
    The Service Endpoint name.
    url string

    URL of the Artifactory server to connect with.

    NOTE: URL should not end in a slash character.

    authentication_basic ServiceendpointJfrogXrayV2AuthenticationBasicArgs
    A authentication_basic block as documented below.
    authentication_token ServiceendpointJfrogXrayV2AuthenticationTokenArgs
    A authentication_token block as documented below.
    authorization Mapping[str, str]
    description str
    The Service Endpoint description.
    project_id str
    The ID of the project.
    service_endpoint_name str
    The Service Endpoint name.
    url str

    URL of the Artifactory server to connect with.

    NOTE: URL should not end in a slash character.

    authenticationBasic Property Map
    A authentication_basic block as documented below.
    authenticationToken Property Map
    A authentication_token block as documented below.
    authorization Map<String>
    description String
    The Service Endpoint description.
    projectId String
    The ID of the project.
    serviceEndpointName String
    The Service Endpoint name.
    url String

    URL of the Artifactory server to connect with.

    NOTE: URL should not end in a slash character.

    Supporting Types

    ServiceendpointJfrogXrayV2AuthenticationBasic, ServiceendpointJfrogXrayV2AuthenticationBasicArgs

    Password string
    Artifactory Password.
    Username string
    Artifactory Username.
    Password string
    Artifactory Password.
    Username string
    Artifactory Username.
    password String
    Artifactory Password.
    username String
    Artifactory Username.
    password string
    Artifactory Password.
    username string
    Artifactory Username.
    password str
    Artifactory Password.
    username str
    Artifactory Username.
    password String
    Artifactory Password.
    username String
    Artifactory Username.

    ServiceendpointJfrogXrayV2AuthenticationToken, ServiceendpointJfrogXrayV2AuthenticationTokenArgs

    Token string
    Authentication Token generated through Artifactory.
    Token string
    Authentication Token generated through Artifactory.
    token String
    Authentication Token generated through Artifactory.
    token string
    Authentication Token generated through Artifactory.
    token str
    Authentication Token generated through Artifactory.
    token String
    Authentication Token generated through Artifactory.

    Import

    Azure DevOps Service Endpoint JFrog XRay V2 can be imported using the projectID/serviceEndpointID, e.g.

    $ pulumi import azuredevops:index/serviceendpointJfrogXrayV2:ServiceendpointJfrogXrayV2 example 00000000-0000-0000-0000-000000000000/00000000-0000-0000-0000-000000000000
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Azure DevOps pulumi/pulumi-azuredevops
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the azuredevops Terraform Provider.
    azuredevops logo
    Azure DevOps v3.4.0 published on Wednesday, Oct 30, 2024 by Pulumi