1. Packages
  2. Cisco ISE Provider
  3. API Docs
  4. identitymanagement
  5. getEndpointCustomAttribute
Cisco ISE v0.2.3 published on Friday, May 30, 2025 by Pulumi

ise.identitymanagement.getEndpointCustomAttribute

Explore with Pulumi AI

ise logo
Cisco ISE v0.2.3 published on Friday, May 30, 2025 by Pulumi

    This data source can read the Endpoint Custom Attribute.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ise from "@pulumi/ise";
    
    const example = ise.identitymanagement.getEndpointCustomAttribute({
        id: "isMobile",
    });
    
    import pulumi
    import pulumi_ise as ise
    
    example = ise.identitymanagement.get_endpoint_custom_attribute(id="isMobile")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-ise/sdk/go/ise/identitymanagement"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := identitymanagement.LookupEndpointCustomAttribute(ctx, &identitymanagement.LookupEndpointCustomAttributeArgs{
    			Id: "isMobile",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ise = Pulumi.Ise;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Ise.IdentityManagement.GetEndpointCustomAttribute.Invoke(new()
        {
            Id = "isMobile",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ise.identitymanagement.IdentitymanagementFunctions;
    import com.pulumi.ise.identitymanagement.inputs.GetEndpointCustomAttributeArgs;
    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 example = IdentitymanagementFunctions.getEndpointCustomAttribute(GetEndpointCustomAttributeArgs.builder()
                .id("isMobile")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: ise:identitymanagement:getEndpointCustomAttribute
          arguments:
            id: isMobile
    

    Using getEndpointCustomAttribute

    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 getEndpointCustomAttribute(args: GetEndpointCustomAttributeArgs, opts?: InvokeOptions): Promise<GetEndpointCustomAttributeResult>
    function getEndpointCustomAttributeOutput(args: GetEndpointCustomAttributeOutputArgs, opts?: InvokeOptions): Output<GetEndpointCustomAttributeResult>
    def get_endpoint_custom_attribute(id: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetEndpointCustomAttributeResult
    def get_endpoint_custom_attribute_output(id: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetEndpointCustomAttributeResult]
    func LookupEndpointCustomAttribute(ctx *Context, args *LookupEndpointCustomAttributeArgs, opts ...InvokeOption) (*LookupEndpointCustomAttributeResult, error)
    func LookupEndpointCustomAttributeOutput(ctx *Context, args *LookupEndpointCustomAttributeOutputArgs, opts ...InvokeOption) LookupEndpointCustomAttributeResultOutput

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

    public static class GetEndpointCustomAttribute 
    {
        public static Task<GetEndpointCustomAttributeResult> InvokeAsync(GetEndpointCustomAttributeArgs args, InvokeOptions? opts = null)
        public static Output<GetEndpointCustomAttributeResult> Invoke(GetEndpointCustomAttributeInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetEndpointCustomAttributeResult> getEndpointCustomAttribute(GetEndpointCustomAttributeArgs args, InvokeOptions options)
    public static Output<GetEndpointCustomAttributeResult> getEndpointCustomAttribute(GetEndpointCustomAttributeArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ise:identitymanagement/getEndpointCustomAttribute:getEndpointCustomAttribute
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The id of the object
    Id string
    The id of the object
    id String
    The id of the object
    id string
    The id of the object
    id str
    The id of the object
    id String
    The id of the object

    getEndpointCustomAttribute Result

    The following output properties are available:

    AttributeName string
    The name of the attribute
    AttributeType string
    Attribute type
    Id string
    The id of the object
    AttributeName string
    The name of the attribute
    AttributeType string
    Attribute type
    Id string
    The id of the object
    attributeName String
    The name of the attribute
    attributeType String
    Attribute type
    id String
    The id of the object
    attributeName string
    The name of the attribute
    attributeType string
    Attribute type
    id string
    The id of the object
    attribute_name str
    The name of the attribute
    attribute_type str
    Attribute type
    id str
    The id of the object
    attributeName String
    The name of the attribute
    attributeType String
    Attribute type
    id String
    The id of the object

    Package Details

    Repository
    ise pulumi/pulumi-ise
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the ise Terraform Provider.
    ise logo
    Cisco ISE v0.2.3 published on Friday, May 30, 2025 by Pulumi