1. Packages
  2. Azure DevOps Provider
  3. API Docs
  4. getServiceendpointGenericV2
Azure DevOps v3.11.0 published on Saturday, Dec 20, 2025 by Pulumi
azuredevops logo
Azure DevOps v3.11.0 published on Saturday, Dec 20, 2025 by Pulumi

    Use this data source to access information about an existing Generic Service Endpoint (v2) within Azure DevOps.

    Using getServiceendpointGenericV2

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getServiceendpointGenericV2(args: GetServiceendpointGenericV2Args, opts?: InvokeOptions): Promise<GetServiceendpointGenericV2Result>
    function getServiceendpointGenericV2Output(args: GetServiceendpointGenericV2OutputArgs, opts?: InvokeOptions): Output<GetServiceendpointGenericV2Result>
    def get_serviceendpoint_generic_v2(id: Optional[str] = None,
                                       name: Optional[str] = None,
                                       project_id: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetServiceendpointGenericV2Result
    def get_serviceendpoint_generic_v2_output(id: Optional[pulumi.Input[str]] = None,
                                       name: Optional[pulumi.Input[str]] = None,
                                       project_id: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetServiceendpointGenericV2Result]
    func LookupServiceendpointGenericV2(ctx *Context, args *LookupServiceendpointGenericV2Args, opts ...InvokeOption) (*LookupServiceendpointGenericV2Result, error)
    func LookupServiceendpointGenericV2Output(ctx *Context, args *LookupServiceendpointGenericV2OutputArgs, opts ...InvokeOption) LookupServiceendpointGenericV2ResultOutput

    > Note: This function is named LookupServiceendpointGenericV2 in the Go SDK.

    public static class GetServiceendpointGenericV2 
    {
        public static Task<GetServiceendpointGenericV2Result> InvokeAsync(GetServiceendpointGenericV2Args args, InvokeOptions? opts = null)
        public static Output<GetServiceendpointGenericV2Result> Invoke(GetServiceendpointGenericV2InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetServiceendpointGenericV2Result> getServiceendpointGenericV2(GetServiceendpointGenericV2Args args, InvokeOptions options)
    public static Output<GetServiceendpointGenericV2Result> getServiceendpointGenericV2(GetServiceendpointGenericV2Args args, InvokeOptions options)
    
    fn::invoke:
      function: azuredevops:index/getServiceendpointGenericV2:getServiceendpointGenericV2
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ProjectId string
    The ID of the project to which the service endpoint belongs.
    Id string
    The ID of the service endpoint to retrieve. One of service_endpoint_id or service_endpoint_name must be specified.
    Name string
    The name of the service endpoint to retrieve. One of service_endpoint_id or service_endpoint_name must be specified.
    ProjectId string
    The ID of the project to which the service endpoint belongs.
    Id string
    The ID of the service endpoint to retrieve. One of service_endpoint_id or service_endpoint_name must be specified.
    Name string
    The name of the service endpoint to retrieve. One of service_endpoint_id or service_endpoint_name must be specified.
    projectId String
    The ID of the project to which the service endpoint belongs.
    id String
    The ID of the service endpoint to retrieve. One of service_endpoint_id or service_endpoint_name must be specified.
    name String
    The name of the service endpoint to retrieve. One of service_endpoint_id or service_endpoint_name must be specified.
    projectId string
    The ID of the project to which the service endpoint belongs.
    id string
    The ID of the service endpoint to retrieve. One of service_endpoint_id or service_endpoint_name must be specified.
    name string
    The name of the service endpoint to retrieve. One of service_endpoint_id or service_endpoint_name must be specified.
    project_id str
    The ID of the project to which the service endpoint belongs.
    id str
    The ID of the service endpoint to retrieve. One of service_endpoint_id or service_endpoint_name must be specified.
    name str
    The name of the service endpoint to retrieve. One of service_endpoint_id or service_endpoint_name must be specified.
    projectId String
    The ID of the project to which the service endpoint belongs.
    id String
    The ID of the service endpoint to retrieve. One of service_endpoint_id or service_endpoint_name must be specified.
    name String
    The name of the service endpoint to retrieve. One of service_endpoint_id or service_endpoint_name must be specified.

    getServiceendpointGenericV2 Result

    The following output properties are available:

    AuthorizationParameters Dictionary<string, string>
    The authorization parameters of the service endpoint.
    AuthorizationScheme string
    The authorization type of the service endpoint.
    Data Dictionary<string, string>
    Additional data of the service endpoint.
    Description string
    The description of the service endpoint.
    Id string
    The ID of the service endpoint.
    Name string
    ProjectId string
    ServerUrl string
    The URL of the server associated with the service endpoint.
    SharedProjectIds List<string>
    The list of project IDs where the service endpoint is shared.
    Type string
    The type of the service endpoint.
    AuthorizationParameters map[string]string
    The authorization parameters of the service endpoint.
    AuthorizationScheme string
    The authorization type of the service endpoint.
    Data map[string]string
    Additional data of the service endpoint.
    Description string
    The description of the service endpoint.
    Id string
    The ID of the service endpoint.
    Name string
    ProjectId string
    ServerUrl string
    The URL of the server associated with the service endpoint.
    SharedProjectIds []string
    The list of project IDs where the service endpoint is shared.
    Type string
    The type of the service endpoint.
    authorizationParameters Map<String,String>
    The authorization parameters of the service endpoint.
    authorizationScheme String
    The authorization type of the service endpoint.
    data Map<String,String>
    Additional data of the service endpoint.
    description String
    The description of the service endpoint.
    id String
    The ID of the service endpoint.
    name String
    projectId String
    serverUrl String
    The URL of the server associated with the service endpoint.
    sharedProjectIds List<String>
    The list of project IDs where the service endpoint is shared.
    type String
    The type of the service endpoint.
    authorizationParameters {[key: string]: string}
    The authorization parameters of the service endpoint.
    authorizationScheme string
    The authorization type of the service endpoint.
    data {[key: string]: string}
    Additional data of the service endpoint.
    description string
    The description of the service endpoint.
    id string
    The ID of the service endpoint.
    name string
    projectId string
    serverUrl string
    The URL of the server associated with the service endpoint.
    sharedProjectIds string[]
    The list of project IDs where the service endpoint is shared.
    type string
    The type of the service endpoint.
    authorization_parameters Mapping[str, str]
    The authorization parameters of the service endpoint.
    authorization_scheme str
    The authorization type of the service endpoint.
    data Mapping[str, str]
    Additional data of the service endpoint.
    description str
    The description of the service endpoint.
    id str
    The ID of the service endpoint.
    name str
    project_id str
    server_url str
    The URL of the server associated with the service endpoint.
    shared_project_ids Sequence[str]
    The list of project IDs where the service endpoint is shared.
    type str
    The type of the service endpoint.
    authorizationParameters Map<String>
    The authorization parameters of the service endpoint.
    authorizationScheme String
    The authorization type of the service endpoint.
    data Map<String>
    Additional data of the service endpoint.
    description String
    The description of the service endpoint.
    id String
    The ID of the service endpoint.
    name String
    projectId String
    serverUrl String
    The URL of the server associated with the service endpoint.
    sharedProjectIds List<String>
    The list of project IDs where the service endpoint is shared.
    type String
    The type of the service endpoint.

    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.11.0 published on Saturday, Dec 20, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate