1. Packages
  2. Cisco IOS XE Resource Provider
  3. API Docs
  4. getClassMap
Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs

iosxe.getClassMap

Explore with Pulumi AI

iosxe logo
Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs

    This data source can read the Class Map configuration.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Iosxe = Pulumi.Iosxe;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Iosxe.GetClassMap.Invoke(new()
        {
            Name = "CM1",
        });
    
    });
    
    package main
    
    import (
    	"github.com/lbrlabs/pulumi-iosxe/sdk/go/iosxe"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := iosxe.LookupClassMap(ctx, &iosxe.LookupClassMapArgs{
    			Name: "CM1",
    		}, nil)
    		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.iosxe.IosxeFunctions;
    import com.pulumi.iosxe.inputs.GetClassMapArgs;
    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 = IosxeFunctions.getClassMap(GetClassMapArgs.builder()
                .name("CM1")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_iosxe as iosxe
    
    example = iosxe.get_class_map(name="CM1")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as iosxe from "@pulumi/iosxe";
    
    const example = iosxe.getClassMap({
        name: "CM1",
    });
    
    variables:
      example:
        fn::invoke:
          Function: iosxe:getClassMap
          Arguments:
            name: CM1
    

    Using getClassMap

    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 getClassMap(args: GetClassMapArgs, opts?: InvokeOptions): Promise<GetClassMapResult>
    function getClassMapOutput(args: GetClassMapOutputArgs, opts?: InvokeOptions): Output<GetClassMapResult>
    def get_class_map(device: Optional[str] = None,
                      name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetClassMapResult
    def get_class_map_output(device: Optional[pulumi.Input[str]] = None,
                      name: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetClassMapResult]
    func LookupClassMap(ctx *Context, args *LookupClassMapArgs, opts ...InvokeOption) (*LookupClassMapResult, error)
    func LookupClassMapOutput(ctx *Context, args *LookupClassMapOutputArgs, opts ...InvokeOption) LookupClassMapResultOutput

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

    public static class GetClassMap 
    {
        public static Task<GetClassMapResult> InvokeAsync(GetClassMapArgs args, InvokeOptions? opts = null)
        public static Output<GetClassMapResult> Invoke(GetClassMapInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetClassMapResult> getClassMap(GetClassMapArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: iosxe:index/getClassMap:getClassMap
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    name of the class map
    Device string
    A device name from the provider configuration.
    Name string
    name of the class map
    Device string
    A device name from the provider configuration.
    name String
    name of the class map
    device String
    A device name from the provider configuration.
    name string
    name of the class map
    device string
    A device name from the provider configuration.
    name str
    name of the class map
    device str
    A device name from the provider configuration.
    name String
    name of the class map
    device String
    A device name from the provider configuration.

    getClassMap Result

    The following output properties are available:

    Description string
    Class-Map description
    Id string
    The path of the retrieved object.
    MatchActivatedServiceTemplates List<Lbrlabs.PulumiPackage.Iosxe.Outputs.GetClassMapMatchActivatedServiceTemplate>
    match name of service template activated on session
    MatchAuthorizationStatusAuthorized bool
    authorized
    MatchAuthorizationStatusUnauthorized bool
    unauthorized
    MatchAuthorizingMethodPriorityGreaterThans List<int>
    greater than
    MatchMethodDot1x bool
    dot1x
    MatchMethodMab bool
    mab
    MatchResultTypeAaaTimeout bool
    aaa timeout type
    MatchResultTypeMethodDot1xAgentNotFound bool
    agent not found type
    MatchResultTypeMethodDot1xAuthoritative bool
    failure type
    MatchResultTypeMethodDot1xMethodTimeout bool
    method_timeout type
    MatchResultTypeMethodMabAuthoritative bool
    failure type
    Name string
    name of the class map
    Prematch string
    Logical-AND/Logical-OR of all matching statements under this class map
    Subscriber bool
    Domain name of the class map
    Type string
    type of the class-map
    Device string
    A device name from the provider configuration.
    Description string
    Class-Map description
    Id string
    The path of the retrieved object.
    MatchActivatedServiceTemplates []GetClassMapMatchActivatedServiceTemplate
    match name of service template activated on session
    MatchAuthorizationStatusAuthorized bool
    authorized
    MatchAuthorizationStatusUnauthorized bool
    unauthorized
    MatchAuthorizingMethodPriorityGreaterThans []int
    greater than
    MatchMethodDot1x bool
    dot1x
    MatchMethodMab bool
    mab
    MatchResultTypeAaaTimeout bool
    aaa timeout type
    MatchResultTypeMethodDot1xAgentNotFound bool
    agent not found type
    MatchResultTypeMethodDot1xAuthoritative bool
    failure type
    MatchResultTypeMethodDot1xMethodTimeout bool
    method_timeout type
    MatchResultTypeMethodMabAuthoritative bool
    failure type
    Name string
    name of the class map
    Prematch string
    Logical-AND/Logical-OR of all matching statements under this class map
    Subscriber bool
    Domain name of the class map
    Type string
    type of the class-map
    Device string
    A device name from the provider configuration.
    description String
    Class-Map description
    id String
    The path of the retrieved object.
    matchActivatedServiceTemplates List<GetClassMapMatchActivatedServiceTemplate>
    match name of service template activated on session
    matchAuthorizationStatusAuthorized Boolean
    authorized
    matchAuthorizationStatusUnauthorized Boolean
    unauthorized
    matchAuthorizingMethodPriorityGreaterThans List<Integer>
    greater than
    matchMethodDot1x Boolean
    dot1x
    matchMethodMab Boolean
    mab
    matchResultTypeAaaTimeout Boolean
    aaa timeout type
    matchResultTypeMethodDot1xAgentNotFound Boolean
    agent not found type
    matchResultTypeMethodDot1xAuthoritative Boolean
    failure type
    matchResultTypeMethodDot1xMethodTimeout Boolean
    method_timeout type
    matchResultTypeMethodMabAuthoritative Boolean
    failure type
    name String
    name of the class map
    prematch String
    Logical-AND/Logical-OR of all matching statements under this class map
    subscriber Boolean
    Domain name of the class map
    type String
    type of the class-map
    device String
    A device name from the provider configuration.
    description string
    Class-Map description
    id string
    The path of the retrieved object.
    matchActivatedServiceTemplates GetClassMapMatchActivatedServiceTemplate[]
    match name of service template activated on session
    matchAuthorizationStatusAuthorized boolean
    authorized
    matchAuthorizationStatusUnauthorized boolean
    unauthorized
    matchAuthorizingMethodPriorityGreaterThans number[]
    greater than
    matchMethodDot1x boolean
    dot1x
    matchMethodMab boolean
    mab
    matchResultTypeAaaTimeout boolean
    aaa timeout type
    matchResultTypeMethodDot1xAgentNotFound boolean
    agent not found type
    matchResultTypeMethodDot1xAuthoritative boolean
    failure type
    matchResultTypeMethodDot1xMethodTimeout boolean
    method_timeout type
    matchResultTypeMethodMabAuthoritative boolean
    failure type
    name string
    name of the class map
    prematch string
    Logical-AND/Logical-OR of all matching statements under this class map
    subscriber boolean
    Domain name of the class map
    type string
    type of the class-map
    device string
    A device name from the provider configuration.
    description str
    Class-Map description
    id str
    The path of the retrieved object.
    match_activated_service_templates Sequence[GetClassMapMatchActivatedServiceTemplate]
    match name of service template activated on session
    match_authorization_status_authorized bool
    authorized
    match_authorization_status_unauthorized bool
    unauthorized
    match_authorizing_method_priority_greater_thans Sequence[int]
    greater than
    match_method_dot1x bool
    dot1x
    match_method_mab bool
    mab
    match_result_type_aaa_timeout bool
    aaa timeout type
    match_result_type_method_dot1x_agent_not_found bool
    agent not found type
    match_result_type_method_dot1x_authoritative bool
    failure type
    match_result_type_method_dot1x_method_timeout bool
    method_timeout type
    match_result_type_method_mab_authoritative bool
    failure type
    name str
    name of the class map
    prematch str
    Logical-AND/Logical-OR of all matching statements under this class map
    subscriber bool
    Domain name of the class map
    type str
    type of the class-map
    device str
    A device name from the provider configuration.
    description String
    Class-Map description
    id String
    The path of the retrieved object.
    matchActivatedServiceTemplates List<Property Map>
    match name of service template activated on session
    matchAuthorizationStatusAuthorized Boolean
    authorized
    matchAuthorizationStatusUnauthorized Boolean
    unauthorized
    matchAuthorizingMethodPriorityGreaterThans List<Number>
    greater than
    matchMethodDot1x Boolean
    dot1x
    matchMethodMab Boolean
    mab
    matchResultTypeAaaTimeout Boolean
    aaa timeout type
    matchResultTypeMethodDot1xAgentNotFound Boolean
    agent not found type
    matchResultTypeMethodDot1xAuthoritative Boolean
    failure type
    matchResultTypeMethodDot1xMethodTimeout Boolean
    method_timeout type
    matchResultTypeMethodMabAuthoritative Boolean
    failure type
    name String
    name of the class map
    prematch String
    Logical-AND/Logical-OR of all matching statements under this class map
    subscriber Boolean
    Domain name of the class map
    type String
    type of the class-map
    device String
    A device name from the provider configuration.

    Supporting Types

    GetClassMapMatchActivatedServiceTemplate

    ServiceName string
    Enter service name
    ServiceName string
    Enter service name
    serviceName String
    Enter service name
    serviceName string
    Enter service name
    service_name str
    Enter service name
    serviceName String
    Enter service name

    Package Details

    Repository
    iosxe lbrlabs/pulumi-iosxe
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the iosxe Terraform Provider.
    iosxe logo
    Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs