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 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 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.
 - Match
Activated 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
 - 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 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.
 - Match
Activated []GetService Templates Class Map Match Activated Service Template  - match name of service template activated on session
 - bool
 - authorized
 - bool
 - unauthorized
 - []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 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.
 - match
Activated 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
 - match
Method BooleanDot1x  - dot1x
 - match
Method BooleanMab  - mab
 - match
Result BooleanType Aaa Timeout  - aaa timeout type
 - match
Result BooleanType Method Dot1x Agent Not Found  - agent not found type
 - Boolean
 - failure type
 - match
Result 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.
 - match
Activated GetService Templates Class Map Match Activated Service Template[]  - match name of service template activated on session
 - boolean
 - authorized
 - boolean
 - unauthorized
 - number[]
 - greater than
 - match
Method booleanDot1x  - dot1x
 - match
Method booleanMab  - mab
 - match
Result booleanType Aaa Timeout  - aaa timeout type
 - match
Result booleanType Method Dot1x Agent Not Found  - agent not found type
 - boolean
 - failure type
 - match
Result 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.
 - match
Activated List<Property Map>Service Templates  - match name of service template activated on session
 - Boolean
 - authorized
 - Boolean
 - unauthorized
 - List<Number>
 - greater than
 - match
Method BooleanDot1x  - dot1x
 - match
Method BooleanMab  - mab
 - match
Result BooleanType Aaa Timeout  - aaa timeout type
 - match
Result BooleanType Method Dot1x Agent Not Found  - agent not found type
 - Boolean
 - failure type
 - match
Result 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      
- Service
Name string - Enter service name
 
- Service
Name string - Enter service name
 
- service
Name String - Enter service name
 
- service
Name string - Enter service name
 
- service_
name str - Enter service name
 
- service
Name 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.