Cisco IOS XE v0.0.1 published on Friday, Sep 22, 2023 by lbrlabs
iosxe.getClassMap
Explore with Pulumi AI
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 * as pulumi from "@pulumi/pulumi";
import * as iosxe from "@pulumi/iosxe";
const example = iosxe.getClassMap({
    name: "CM1",
});
import pulumi
import pulumi_iosxe as iosxe
example = iosxe.get_class_map(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)
public static Output<GetClassMapResult> getClassMap(GetClassMapArgs args, InvokeOptions options)
fn::invoke:
  function: iosxe:index/getClassMap:getClassMap
  arguments:
    # arguments dictionaryThe following arguments are supported:
getClassMap Result
The following output properties are available:
- Description string
- Class-Map description
- Id string
- The path of the retrieved object.
- MatchActivated List<Lbrlabs.Service Templates Pulumi Package. Iosxe. Outputs. Get Class Map Match Activated Service Template> 
- match name of service template activated on session
- bool
- authorized
- bool
- unauthorized
- List<int>
- greater than
- MatchMethod boolDot1x 
- dot1x
- MatchMethod boolMab 
- mab
- MatchResult boolType Aaa Timeout 
- aaa timeout type
- MatchResult boolType Method Dot1x Agent Not Found 
- agent not found type
- bool
- failure type
- MatchResult boolType Method Dot1x Method Timeout 
- method_timeout type
- 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.
- MatchActivated []GetService Templates Class Map Match Activated Service Template 
- match name of service template activated on session
- bool
- authorized
- bool
- unauthorized
- []int
- greater than
- MatchMethod boolDot1x 
- dot1x
- MatchMethod boolMab 
- mab
- MatchResult boolType Aaa Timeout 
- aaa timeout type
- MatchResult boolType Method Dot1x Agent Not Found 
- agent not found type
- bool
- failure type
- MatchResult boolType Method Dot1x Method Timeout 
- method_timeout type
- 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.
- matchActivated List<GetService Templates Class Map Match Activated Service Template> 
- match name of service template activated on session
- Boolean
- authorized
- Boolean
- unauthorized
- List<Integer>
- greater than
- matchMethod BooleanDot1x 
- dot1x
- matchMethod BooleanMab 
- mab
- matchResult BooleanType Aaa Timeout 
- aaa timeout type
- matchResult BooleanType Method Dot1x Agent Not Found 
- agent not found type
- Boolean
- failure type
- matchResult BooleanType Method Dot1x Method Timeout 
- method_timeout type
- 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.
- matchActivated GetService Templates Class Map Match Activated Service Template[] 
- match name of service template activated on session
- boolean
- authorized
- boolean
- unauthorized
- number[]
- greater than
- matchMethod booleanDot1x 
- dot1x
- matchMethod booleanMab 
- mab
- matchResult booleanType Aaa Timeout 
- aaa timeout type
- matchResult booleanType Method Dot1x Agent Not Found 
- agent not found type
- boolean
- failure type
- matchResult booleanType Method Dot1x Method Timeout 
- method_timeout type
- 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_ Sequence[Getservice_ templates Class Map Match Activated Service Template] 
- match name of service template activated on session
- bool
- authorized
- bool
- unauthorized
- Sequence[int]
- greater than
- match_method_ booldot1x 
- dot1x
- match_method_ boolmab 
- mab
- match_result_ booltype_ aaa_ timeout 
- aaa timeout type
- match_result_ booltype_ method_ dot1x_ agent_ not_ found 
- agent not found type
- bool
- failure type
- match_result_ booltype_ method_ dot1x_ method_ timeout 
- method_timeout type
- 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.
- matchActivated List<Property Map>Service Templates 
- match name of service template activated on session
- Boolean
- authorized
- Boolean
- unauthorized
- List<Number>
- greater than
- matchMethod BooleanDot1x 
- dot1x
- matchMethod BooleanMab 
- mab
- matchResult BooleanType Aaa Timeout 
- aaa timeout type
- matchResult BooleanType Method Dot1x Agent Not Found 
- agent not found type
- Boolean
- failure type
- matchResult BooleanType Method Dot1x Method Timeout 
- method_timeout type
- 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 iosxeTerraform Provider.