mso 1.4.0 published on Monday, Apr 14, 2025 by ciscodevnet
mso.getSchemaTemplateFilterEntry
Explore with Pulumi AI
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:
- Entry
Name string - Name string
- Schema
Id string - Template
Name string - Id string
- Entry
Name string - Name string
- Schema
Id string - Template
Name string - Id string
- entry
Name String - name String
- schema
Id String - template
Name String - id String
- entry
Name string - name string
- schema
Id string - template
Name string - id string
- entry_
name str - name str
- schema_
id str - template_
name str - id str
- entry
Name String - name String
- schema
Id String - template
Name String - id String
getSchemaTemplateFilterEntry Result
The following output properties are available:
- Arp
Flag string - Destination
From string - Destination
To string - Display
Name string - Entry
Description string - Entry
Display stringName - Entry
Name string - Ether
Type string - Id string
- Ip
Protocol string - Match
Only boolFragments - Name string
- Schema
Id string - Source
From string - Source
To string - Stateful bool
- Tcp
Session List<string>Rules - Template
Name string
- Arp
Flag string - Destination
From string - Destination
To string - Display
Name string - Entry
Description string - Entry
Display stringName - Entry
Name string - Ether
Type string - Id string
- Ip
Protocol string - Match
Only boolFragments - Name string
- Schema
Id string - Source
From string - Source
To string - Stateful bool
- Tcp
Session []stringRules - Template
Name string
- arp
Flag String - destination
From String - destination
To String - display
Name String - entry
Description String - entry
Display StringName - entry
Name String - ether
Type String - id String
- ip
Protocol String - match
Only BooleanFragments - name String
- schema
Id String - source
From String - source
To String - stateful Boolean
- tcp
Session List<String>Rules - template
Name String
- arp
Flag string - destination
From string - destination
To string - display
Name string - entry
Description string - entry
Display stringName - entry
Name string - ether
Type string - id string
- ip
Protocol string - match
Only booleanFragments - name string
- schema
Id string - source
From string - source
To string - stateful boolean
- tcp
Session string[]Rules - template
Name string
- arp_
flag str - destination_
from str - destination_
to str - display_
name str - entry_
description str - entry_
display_ strname - entry_
name str - ether_
type str - id str
- ip_
protocol str - match_
only_ boolfragments - name str
- schema_
id str - source_
from str - source_
to str - stateful bool
- tcp_
session_ Sequence[str]rules - template_
name str
- arp
Flag String - destination
From String - destination
To String - display
Name String - entry
Description String - entry
Display StringName - entry
Name String - ether
Type String - id String
- ip
Protocol String - match
Only BooleanFragments - name String
- schema
Id String - source
From String - source
To String - stateful Boolean
- tcp
Session List<String>Rules - template
Name String
Package Details
- Repository
- mso ciscodevnet/terraform-provider-mso
- License
- Notes
- This Pulumi package is based on the
mso
Terraform Provider.