1. Packages
  2. Mso Provider
  3. API Docs
  4. getSchemaTemplateFilterEntry
mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet

mso.getSchemaTemplateFilterEntry

Explore with Pulumi AI

mso logo
mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet

    Data source for MSO Schema Template Filter Entry.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as mso from "@pulumi/mso";
    
    const example = mso.getSchemaTemplateFilterEntry({
        schemaId: data.mso_schema.schema1.id,
        templateName: "Template1",
        name: "Any",
        entryName: "Entry1",
    });
    
    import pulumi
    import pulumi_mso as mso
    
    example = mso.get_schema_template_filter_entry(schema_id=data["mso_schema"]["schema1"]["id"],
        template_name="Template1",
        name="Any",
        entry_name="Entry1")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/mso/mso"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := mso.LookupSchemaTemplateFilterEntry(ctx, &mso.LookupSchemaTemplateFilterEntryArgs{
    			SchemaId:     data.Mso_schema.Schema1.Id,
    			TemplateName: "Template1",
    			Name:         "Any",
    			EntryName:    "Entry1",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Mso = Pulumi.Mso;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Mso.GetSchemaTemplateFilterEntry.Invoke(new()
        {
            SchemaId = data.Mso_schema.Schema1.Id,
            TemplateName = "Template1",
            Name = "Any",
            EntryName = "Entry1",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.mso.MsoFunctions;
    import com.pulumi.mso.inputs.GetSchemaTemplateFilterEntryArgs;
    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 = MsoFunctions.getSchemaTemplateFilterEntry(GetSchemaTemplateFilterEntryArgs.builder()
                .schemaId(data.mso_schema().schema1().id())
                .templateName("Template1")
                .name("Any")
                .entryName("Entry1")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: mso:getSchemaTemplateFilterEntry
          arguments:
            schemaId: ${data.mso_schema.schema1.id}
            templateName: Template1
            name: Any
            entryName: Entry1
    

    Argument Reference

    • schema_id - (Required) The schema ID of the Filter.
    • template_name - (Required) The template name of the Filter.
    • name - (Required) The name of the Filter.
    • entry_name - (Required) The name of the Filter Entry.

    Attribute Reference

    • display_name - (Read-Only) The name of the filter as displayed on the MSO UI.
    • entry_display_name - (Read-Only) The name of the entry as displayed on the MSO UI.
    • entry_description - (Read-Only) The description of entry.
    • ether_type - (Read-Only) The ethernet type to use for the filter entry.
    • ip_protocol - (Read-Only) The IP protocol to use for the filter entry.
    • tcp_session_rules - (Read-Only) A list of TCP session rules.
    • source_from - (Read-Only) The source port range from.
    • source_to - (Read-Only) The source port range to.
    • destination_from - (Read-Only) The destination port range from.
    • destination_to - (Read-Only) The destination port range to.
    • arp_flag - (Read-Only) The ARP flag to use for the filter entry.
    • stateful - (Read-Only) Whether the filter entry is stateful.
    • match_only_fragments - (Read-Only) Whether the filter entry only matches fragments.

    Using getSchemaTemplateFilterEntry

    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 getSchemaTemplateFilterEntry(args: GetSchemaTemplateFilterEntryArgs, opts?: InvokeOptions): Promise<GetSchemaTemplateFilterEntryResult>
    function getSchemaTemplateFilterEntryOutput(args: GetSchemaTemplateFilterEntryOutputArgs, opts?: InvokeOptions): Output<GetSchemaTemplateFilterEntryResult>
    def get_schema_template_filter_entry(entry_name: Optional[str] = None,
                                         id: Optional[str] = None,
                                         name: Optional[str] = None,
                                         schema_id: Optional[str] = None,
                                         template_name: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetSchemaTemplateFilterEntryResult
    def get_schema_template_filter_entry_output(entry_name: Optional[pulumi.Input[str]] = None,
                                         id: Optional[pulumi.Input[str]] = None,
                                         name: Optional[pulumi.Input[str]] = None,
                                         schema_id: Optional[pulumi.Input[str]] = None,
                                         template_name: Optional[pulumi.Input[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetSchemaTemplateFilterEntryResult]
    func LookupSchemaTemplateFilterEntry(ctx *Context, args *LookupSchemaTemplateFilterEntryArgs, opts ...InvokeOption) (*LookupSchemaTemplateFilterEntryResult, error)
    func LookupSchemaTemplateFilterEntryOutput(ctx *Context, args *LookupSchemaTemplateFilterEntryOutputArgs, opts ...InvokeOption) LookupSchemaTemplateFilterEntryResultOutput

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

    public static class GetSchemaTemplateFilterEntry 
    {
        public static Task<GetSchemaTemplateFilterEntryResult> InvokeAsync(GetSchemaTemplateFilterEntryArgs args, InvokeOptions? opts = null)
        public static Output<GetSchemaTemplateFilterEntryResult> Invoke(GetSchemaTemplateFilterEntryInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSchemaTemplateFilterEntryResult> getSchemaTemplateFilterEntry(GetSchemaTemplateFilterEntryArgs args, InvokeOptions options)
    public static Output<GetSchemaTemplateFilterEntryResult> getSchemaTemplateFilterEntry(GetSchemaTemplateFilterEntryArgs args, InvokeOptions options)
    
    fn::invoke:
      function: mso:index/getSchemaTemplateFilterEntry:getSchemaTemplateFilterEntry
      arguments:
        # arguments dictionary

    The following arguments are supported:

    EntryName string
    Name string
    SchemaId string
    TemplateName string
    Id string
    EntryName string
    Name string
    SchemaId string
    TemplateName string
    Id string
    entryName String
    name String
    schemaId String
    templateName String
    id String
    entryName string
    name string
    schemaId string
    templateName string
    id string
    entryName String
    name String
    schemaId String
    templateName String
    id String

    getSchemaTemplateFilterEntry Result

    The following output properties are available:

    ArpFlag string
    DestinationFrom string
    DestinationTo string
    DisplayName string
    EntryDescription string
    EntryDisplayName string
    EntryName string
    EtherType string
    Id string
    IpProtocol string
    MatchOnlyFragments bool
    Name string
    SchemaId string
    SourceFrom string
    SourceTo string
    Stateful bool
    TcpSessionRules List<string>
    TemplateName string
    arpFlag String
    destinationFrom String
    destinationTo String
    displayName String
    entryDescription String
    entryDisplayName String
    entryName String
    etherType String
    id String
    ipProtocol String
    matchOnlyFragments Boolean
    name String
    schemaId String
    sourceFrom String
    sourceTo String
    stateful Boolean
    tcpSessionRules List<String>
    templateName String
    arpFlag string
    destinationFrom string
    destinationTo string
    displayName string
    entryDescription string
    entryDisplayName string
    entryName string
    etherType string
    id string
    ipProtocol string
    matchOnlyFragments boolean
    name string
    schemaId string
    sourceFrom string
    sourceTo string
    stateful boolean
    tcpSessionRules string[]
    templateName string
    arpFlag String
    destinationFrom String
    destinationTo String
    displayName String
    entryDescription String
    entryDisplayName String
    entryName String
    etherType String
    id String
    ipProtocol String
    matchOnlyFragments Boolean
    name String
    schemaId String
    sourceFrom String
    sourceTo String
    stateful Boolean
    tcpSessionRules List<String>
    templateName String

    Package Details

    Repository
    mso ciscodevnet/terraform-provider-mso
    License
    Notes
    This Pulumi package is based on the mso Terraform Provider.
    mso logo
    mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet