1. Packages
  2. Cisco Catalyst SD-WAN Provider
  3. API Docs
  4. getCiscoSnmpFeatureTemplate
Cisco Catalyst SD-WAN v0.2.3 published on Wednesday, Dec 4, 2024 by Pulumi

sdwan.getCiscoSnmpFeatureTemplate

Explore with Pulumi AI

sdwan logo
Cisco Catalyst SD-WAN v0.2.3 published on Wednesday, Dec 4, 2024 by Pulumi

    This data source can read the Cisco SNMP feature template.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sdwan from "@pulumi/sdwan";
    
    const example = sdwan.getCiscoSnmpFeatureTemplate({
        id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
    });
    
    import pulumi
    import pulumi_sdwan as sdwan
    
    example = sdwan.get_cisco_snmp_feature_template(id="f6b2c44c-693c-4763-b010-895aa3d236bd")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-sdwan/sdk/go/sdwan"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := sdwan.LookupCiscoSnmpFeatureTemplate(ctx, &sdwan.LookupCiscoSnmpFeatureTemplateArgs{
    			Id: pulumi.StringRef("f6b2c44c-693c-4763-b010-895aa3d236bd"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Sdwan = Pulumi.Sdwan;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Sdwan.GetCiscoSnmpFeatureTemplate.Invoke(new()
        {
            Id = "f6b2c44c-693c-4763-b010-895aa3d236bd",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.sdwan.SdwanFunctions;
    import com.pulumi.sdwan.inputs.GetCiscoSnmpFeatureTemplateArgs;
    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 = SdwanFunctions.getCiscoSnmpFeatureTemplate(GetCiscoSnmpFeatureTemplateArgs.builder()
                .id("f6b2c44c-693c-4763-b010-895aa3d236bd")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: sdwan:getCiscoSnmpFeatureTemplate
          Arguments:
            id: f6b2c44c-693c-4763-b010-895aa3d236bd
    

    Using getCiscoSnmpFeatureTemplate

    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 getCiscoSnmpFeatureTemplate(args: GetCiscoSnmpFeatureTemplateArgs, opts?: InvokeOptions): Promise<GetCiscoSnmpFeatureTemplateResult>
    function getCiscoSnmpFeatureTemplateOutput(args: GetCiscoSnmpFeatureTemplateOutputArgs, opts?: InvokeOptions): Output<GetCiscoSnmpFeatureTemplateResult>
    def get_cisco_snmp_feature_template(id: Optional[str] = None,
                                        name: Optional[str] = None,
                                        opts: Optional[InvokeOptions] = None) -> GetCiscoSnmpFeatureTemplateResult
    def get_cisco_snmp_feature_template_output(id: Optional[pulumi.Input[str]] = None,
                                        name: Optional[pulumi.Input[str]] = None,
                                        opts: Optional[InvokeOptions] = None) -> Output[GetCiscoSnmpFeatureTemplateResult]
    func LookupCiscoSnmpFeatureTemplate(ctx *Context, args *LookupCiscoSnmpFeatureTemplateArgs, opts ...InvokeOption) (*LookupCiscoSnmpFeatureTemplateResult, error)
    func LookupCiscoSnmpFeatureTemplateOutput(ctx *Context, args *LookupCiscoSnmpFeatureTemplateOutputArgs, opts ...InvokeOption) LookupCiscoSnmpFeatureTemplateResultOutput

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

    public static class GetCiscoSnmpFeatureTemplate 
    {
        public static Task<GetCiscoSnmpFeatureTemplateResult> InvokeAsync(GetCiscoSnmpFeatureTemplateArgs args, InvokeOptions? opts = null)
        public static Output<GetCiscoSnmpFeatureTemplateResult> Invoke(GetCiscoSnmpFeatureTemplateInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCiscoSnmpFeatureTemplateResult> getCiscoSnmpFeatureTemplate(GetCiscoSnmpFeatureTemplateArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: sdwan:index/getCiscoSnmpFeatureTemplate:getCiscoSnmpFeatureTemplate
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The id of the feature template
    Name string
    The name of the feature template
    Id string
    The id of the feature template
    Name string
    The name of the feature template
    id String
    The id of the feature template
    name String
    The name of the feature template
    id string
    The id of the feature template
    name string
    The name of the feature template
    id str
    The id of the feature template
    name str
    The name of the feature template
    id String
    The id of the feature template
    name String
    The name of the feature template

    getCiscoSnmpFeatureTemplate Result

    The following output properties are available:

    Communities List<GetCiscoSnmpFeatureTemplateCommunity>
    Configure SNMP community
    Contact string
    Set the contact for this managed node
    ContactVariable string
    Variable name
    Description string
    The description of the feature template
    DeviceTypes List<string>
    List of supported device types
    Groups List<GetCiscoSnmpFeatureTemplateGroup>
    Configure an SNMP group
    Id string
    The id of the feature template
    Location string
    Set the physical location of this managed node
    LocationVariable string
    Variable name
    Name string
    The name of the feature template
    Shutdown bool
    Enable or disable SNMP
    ShutdownVariable string
    Variable name
    TemplateType string
    The template type
    TrapTargets List<GetCiscoSnmpFeatureTemplateTrapTarget>
    Configure SNMP server to receive SNMP traps
    Users List<GetCiscoSnmpFeatureTemplateUser>
    Configure an SNMP user
    Version int
    The version of the feature template
    Views List<GetCiscoSnmpFeatureTemplateView>
    Configure a view record
    Communities []GetCiscoSnmpFeatureTemplateCommunity
    Configure SNMP community
    Contact string
    Set the contact for this managed node
    ContactVariable string
    Variable name
    Description string
    The description of the feature template
    DeviceTypes []string
    List of supported device types
    Groups []GetCiscoSnmpFeatureTemplateGroup
    Configure an SNMP group
    Id string
    The id of the feature template
    Location string
    Set the physical location of this managed node
    LocationVariable string
    Variable name
    Name string
    The name of the feature template
    Shutdown bool
    Enable or disable SNMP
    ShutdownVariable string
    Variable name
    TemplateType string
    The template type
    TrapTargets []GetCiscoSnmpFeatureTemplateTrapTarget
    Configure SNMP server to receive SNMP traps
    Users []GetCiscoSnmpFeatureTemplateUser
    Configure an SNMP user
    Version int
    The version of the feature template
    Views []GetCiscoSnmpFeatureTemplateView
    Configure a view record
    communities List<GetCiscoSnmpFeatureTemplateCommunity>
    Configure SNMP community
    contact String
    Set the contact for this managed node
    contactVariable String
    Variable name
    description String
    The description of the feature template
    deviceTypes List<String>
    List of supported device types
    groups List<GetCiscoSnmpFeatureTemplateGroup>
    Configure an SNMP group
    id String
    The id of the feature template
    location String
    Set the physical location of this managed node
    locationVariable String
    Variable name
    name String
    The name of the feature template
    shutdown Boolean
    Enable or disable SNMP
    shutdownVariable String
    Variable name
    templateType String
    The template type
    trapTargets List<GetCiscoSnmpFeatureTemplateTrapTarget>
    Configure SNMP server to receive SNMP traps
    users List<GetCiscoSnmpFeatureTemplateUser>
    Configure an SNMP user
    version Integer
    The version of the feature template
    views List<GetCiscoSnmpFeatureTemplateView>
    Configure a view record
    communities GetCiscoSnmpFeatureTemplateCommunity[]
    Configure SNMP community
    contact string
    Set the contact for this managed node
    contactVariable string
    Variable name
    description string
    The description of the feature template
    deviceTypes string[]
    List of supported device types
    groups GetCiscoSnmpFeatureTemplateGroup[]
    Configure an SNMP group
    id string
    The id of the feature template
    location string
    Set the physical location of this managed node
    locationVariable string
    Variable name
    name string
    The name of the feature template
    shutdown boolean
    Enable or disable SNMP
    shutdownVariable string
    Variable name
    templateType string
    The template type
    trapTargets GetCiscoSnmpFeatureTemplateTrapTarget[]
    Configure SNMP server to receive SNMP traps
    users GetCiscoSnmpFeatureTemplateUser[]
    Configure an SNMP user
    version number
    The version of the feature template
    views GetCiscoSnmpFeatureTemplateView[]
    Configure a view record
    communities Sequence[GetCiscoSnmpFeatureTemplateCommunity]
    Configure SNMP community
    contact str
    Set the contact for this managed node
    contact_variable str
    Variable name
    description str
    The description of the feature template
    device_types Sequence[str]
    List of supported device types
    groups Sequence[GetCiscoSnmpFeatureTemplateGroup]
    Configure an SNMP group
    id str
    The id of the feature template
    location str
    Set the physical location of this managed node
    location_variable str
    Variable name
    name str
    The name of the feature template
    shutdown bool
    Enable or disable SNMP
    shutdown_variable str
    Variable name
    template_type str
    The template type
    trap_targets Sequence[GetCiscoSnmpFeatureTemplateTrapTarget]
    Configure SNMP server to receive SNMP traps
    users Sequence[GetCiscoSnmpFeatureTemplateUser]
    Configure an SNMP user
    version int
    The version of the feature template
    views Sequence[GetCiscoSnmpFeatureTemplateView]
    Configure a view record
    communities List<Property Map>
    Configure SNMP community
    contact String
    Set the contact for this managed node
    contactVariable String
    Variable name
    description String
    The description of the feature template
    deviceTypes List<String>
    List of supported device types
    groups List<Property Map>
    Configure an SNMP group
    id String
    The id of the feature template
    location String
    Set the physical location of this managed node
    locationVariable String
    Variable name
    name String
    The name of the feature template
    shutdown Boolean
    Enable or disable SNMP
    shutdownVariable String
    Variable name
    templateType String
    The template type
    trapTargets List<Property Map>
    Configure SNMP server to receive SNMP traps
    users List<Property Map>
    Configure an SNMP user
    version Number
    The version of the feature template
    views List<Property Map>
    Configure a view record

    Supporting Types

    GetCiscoSnmpFeatureTemplateCommunity

    Authorization string
    Configure access permissions
    AuthorizationVariable string
    Variable name
    Name string
    Set name of the SNMP community
    Optional bool
    Indicates if list item is considered optional.
    View string
    Set name of the SNMP view
    ViewVariable string
    Variable name
    Authorization string
    Configure access permissions
    AuthorizationVariable string
    Variable name
    Name string
    Set name of the SNMP community
    Optional bool
    Indicates if list item is considered optional.
    View string
    Set name of the SNMP view
    ViewVariable string
    Variable name
    authorization String
    Configure access permissions
    authorizationVariable String
    Variable name
    name String
    Set name of the SNMP community
    optional Boolean
    Indicates if list item is considered optional.
    view String
    Set name of the SNMP view
    viewVariable String
    Variable name
    authorization string
    Configure access permissions
    authorizationVariable string
    Variable name
    name string
    Set name of the SNMP community
    optional boolean
    Indicates if list item is considered optional.
    view string
    Set name of the SNMP view
    viewVariable string
    Variable name
    authorization str
    Configure access permissions
    authorization_variable str
    Variable name
    name str
    Set name of the SNMP community
    optional bool
    Indicates if list item is considered optional.
    view str
    Set name of the SNMP view
    view_variable str
    Variable name
    authorization String
    Configure access permissions
    authorizationVariable String
    Variable name
    name String
    Set name of the SNMP community
    optional Boolean
    Indicates if list item is considered optional.
    view String
    Set name of the SNMP view
    viewVariable String
    Variable name

    GetCiscoSnmpFeatureTemplateGroup

    Name string
    Name of the SNMP group
    Optional bool
    Indicates if list item is considered optional.
    SecurityLevel string
    Configure security level
    View string
    Name of the SNMP view
    ViewVariable string
    Variable name
    Name string
    Name of the SNMP group
    Optional bool
    Indicates if list item is considered optional.
    SecurityLevel string
    Configure security level
    View string
    Name of the SNMP view
    ViewVariable string
    Variable name
    name String
    Name of the SNMP group
    optional Boolean
    Indicates if list item is considered optional.
    securityLevel String
    Configure security level
    view String
    Name of the SNMP view
    viewVariable String
    Variable name
    name string
    Name of the SNMP group
    optional boolean
    Indicates if list item is considered optional.
    securityLevel string
    Configure security level
    view string
    Name of the SNMP view
    viewVariable string
    Variable name
    name str
    Name of the SNMP group
    optional bool
    Indicates if list item is considered optional.
    security_level str
    Configure security level
    view str
    Name of the SNMP view
    view_variable str
    Variable name
    name String
    Name of the SNMP group
    optional Boolean
    Indicates if list item is considered optional.
    securityLevel String
    Configure security level
    view String
    Name of the SNMP view
    viewVariable String
    Variable name

    GetCiscoSnmpFeatureTemplateTrapTarget

    CommunityName string
    Set name of the SNMP community
    CommunityNameVariable string
    Variable name
    Ip string
    Set IPv4/IPv6 address of SNMP server
    IpVariable string
    Variable name
    Optional bool
    Indicates if list item is considered optional.
    SourceInterface string
    Source interface for outgoing SNMP traps
    SourceInterfaceVariable string
    Variable name
    UdpPort int
    Set UDP port number to connect to SNMP server
    UdpPortVariable string
    Variable name
    User string
    Set name of the SNMP user
    UserVariable string
    Variable name
    VpnId int
    Set VPN in which SNMP server is located
    VpnIdVariable string
    Variable name
    CommunityName string
    Set name of the SNMP community
    CommunityNameVariable string
    Variable name
    Ip string
    Set IPv4/IPv6 address of SNMP server
    IpVariable string
    Variable name
    Optional bool
    Indicates if list item is considered optional.
    SourceInterface string
    Source interface for outgoing SNMP traps
    SourceInterfaceVariable string
    Variable name
    UdpPort int
    Set UDP port number to connect to SNMP server
    UdpPortVariable string
    Variable name
    User string
    Set name of the SNMP user
    UserVariable string
    Variable name
    VpnId int
    Set VPN in which SNMP server is located
    VpnIdVariable string
    Variable name
    communityName String
    Set name of the SNMP community
    communityNameVariable String
    Variable name
    ip String
    Set IPv4/IPv6 address of SNMP server
    ipVariable String
    Variable name
    optional Boolean
    Indicates if list item is considered optional.
    sourceInterface String
    Source interface for outgoing SNMP traps
    sourceInterfaceVariable String
    Variable name
    udpPort Integer
    Set UDP port number to connect to SNMP server
    udpPortVariable String
    Variable name
    user String
    Set name of the SNMP user
    userVariable String
    Variable name
    vpnId Integer
    Set VPN in which SNMP server is located
    vpnIdVariable String
    Variable name
    communityName string
    Set name of the SNMP community
    communityNameVariable string
    Variable name
    ip string
    Set IPv4/IPv6 address of SNMP server
    ipVariable string
    Variable name
    optional boolean
    Indicates if list item is considered optional.
    sourceInterface string
    Source interface for outgoing SNMP traps
    sourceInterfaceVariable string
    Variable name
    udpPort number
    Set UDP port number to connect to SNMP server
    udpPortVariable string
    Variable name
    user string
    Set name of the SNMP user
    userVariable string
    Variable name
    vpnId number
    Set VPN in which SNMP server is located
    vpnIdVariable string
    Variable name
    community_name str
    Set name of the SNMP community
    community_name_variable str
    Variable name
    ip str
    Set IPv4/IPv6 address of SNMP server
    ip_variable str
    Variable name
    optional bool
    Indicates if list item is considered optional.
    source_interface str
    Source interface for outgoing SNMP traps
    source_interface_variable str
    Variable name
    udp_port int
    Set UDP port number to connect to SNMP server
    udp_port_variable str
    Variable name
    user str
    Set name of the SNMP user
    user_variable str
    Variable name
    vpn_id int
    Set VPN in which SNMP server is located
    vpn_id_variable str
    Variable name
    communityName String
    Set name of the SNMP community
    communityNameVariable String
    Variable name
    ip String
    Set IPv4/IPv6 address of SNMP server
    ipVariable String
    Variable name
    optional Boolean
    Indicates if list item is considered optional.
    sourceInterface String
    Source interface for outgoing SNMP traps
    sourceInterfaceVariable String
    Variable name
    udpPort Number
    Set UDP port number to connect to SNMP server
    udpPortVariable String
    Variable name
    user String
    Set name of the SNMP user
    userVariable String
    Variable name
    vpnId Number
    Set VPN in which SNMP server is located
    vpnIdVariable String
    Variable name

    GetCiscoSnmpFeatureTemplateUser

    AuthenticationPassword string
    Specify authentication protocol password
    AuthenticationPasswordVariable string
    Variable name
    AuthenticationProtocol string
    Configure authentication protocol
    AuthenticationProtocolVariable string
    Variable name
    Group string
    Name of the SNMP group
    GroupVariable string
    Variable name
    Name string
    Name of the SNMP user
    Optional bool
    Indicates if list item is considered optional.
    PrivacyPassword string
    Specify privacy protocol password
    PrivacyPasswordVariable string
    Variable name
    PrivacyProtocol string
    Configure privacy protocol
    PrivacyProtocolVariable string
    Variable name
    AuthenticationPassword string
    Specify authentication protocol password
    AuthenticationPasswordVariable string
    Variable name
    AuthenticationProtocol string
    Configure authentication protocol
    AuthenticationProtocolVariable string
    Variable name
    Group string
    Name of the SNMP group
    GroupVariable string
    Variable name
    Name string
    Name of the SNMP user
    Optional bool
    Indicates if list item is considered optional.
    PrivacyPassword string
    Specify privacy protocol password
    PrivacyPasswordVariable string
    Variable name
    PrivacyProtocol string
    Configure privacy protocol
    PrivacyProtocolVariable string
    Variable name
    authenticationPassword String
    Specify authentication protocol password
    authenticationPasswordVariable String
    Variable name
    authenticationProtocol String
    Configure authentication protocol
    authenticationProtocolVariable String
    Variable name
    group String
    Name of the SNMP group
    groupVariable String
    Variable name
    name String
    Name of the SNMP user
    optional Boolean
    Indicates if list item is considered optional.
    privacyPassword String
    Specify privacy protocol password
    privacyPasswordVariable String
    Variable name
    privacyProtocol String
    Configure privacy protocol
    privacyProtocolVariable String
    Variable name
    authenticationPassword string
    Specify authentication protocol password
    authenticationPasswordVariable string
    Variable name
    authenticationProtocol string
    Configure authentication protocol
    authenticationProtocolVariable string
    Variable name
    group string
    Name of the SNMP group
    groupVariable string
    Variable name
    name string
    Name of the SNMP user
    optional boolean
    Indicates if list item is considered optional.
    privacyPassword string
    Specify privacy protocol password
    privacyPasswordVariable string
    Variable name
    privacyProtocol string
    Configure privacy protocol
    privacyProtocolVariable string
    Variable name
    authentication_password str
    Specify authentication protocol password
    authentication_password_variable str
    Variable name
    authentication_protocol str
    Configure authentication protocol
    authentication_protocol_variable str
    Variable name
    group str
    Name of the SNMP group
    group_variable str
    Variable name
    name str
    Name of the SNMP user
    optional bool
    Indicates if list item is considered optional.
    privacy_password str
    Specify privacy protocol password
    privacy_password_variable str
    Variable name
    privacy_protocol str
    Configure privacy protocol
    privacy_protocol_variable str
    Variable name
    authenticationPassword String
    Specify authentication protocol password
    authenticationPasswordVariable String
    Variable name
    authenticationProtocol String
    Configure authentication protocol
    authenticationProtocolVariable String
    Variable name
    group String
    Name of the SNMP group
    groupVariable String
    Variable name
    name String
    Name of the SNMP user
    optional Boolean
    Indicates if list item is considered optional.
    privacyPassword String
    Specify privacy protocol password
    privacyPasswordVariable String
    Variable name
    privacyProtocol String
    Configure privacy protocol
    privacyProtocolVariable String
    Variable name

    GetCiscoSnmpFeatureTemplateView

    Name string
    Set the name of the SNMP view
    ObjectIdentifiers List<GetCiscoSnmpFeatureTemplateViewObjectIdentifier>
    Configure SNMP object identifier
    Optional bool
    Indicates if list item is considered optional.
    Name string
    Set the name of the SNMP view
    ObjectIdentifiers []GetCiscoSnmpFeatureTemplateViewObjectIdentifier
    Configure SNMP object identifier
    Optional bool
    Indicates if list item is considered optional.
    name String
    Set the name of the SNMP view
    objectIdentifiers List<GetCiscoSnmpFeatureTemplateViewObjectIdentifier>
    Configure SNMP object identifier
    optional Boolean
    Indicates if list item is considered optional.
    name string
    Set the name of the SNMP view
    objectIdentifiers GetCiscoSnmpFeatureTemplateViewObjectIdentifier[]
    Configure SNMP object identifier
    optional boolean
    Indicates if list item is considered optional.
    name str
    Set the name of the SNMP view
    object_identifiers Sequence[GetCiscoSnmpFeatureTemplateViewObjectIdentifier]
    Configure SNMP object identifier
    optional bool
    Indicates if list item is considered optional.
    name String
    Set the name of the SNMP view
    objectIdentifiers List<Property Map>
    Configure SNMP object identifier
    optional Boolean
    Indicates if list item is considered optional.

    GetCiscoSnmpFeatureTemplateViewObjectIdentifier

    Exclude bool
    Exclude the OID
    ExcludeVariable string
    Variable name
    Id string
    Configure identifier of subtree of MIB objects
    IdVariable string
    Variable name
    Optional bool
    Indicates if list item is considered optional.
    Exclude bool
    Exclude the OID
    ExcludeVariable string
    Variable name
    Id string
    Configure identifier of subtree of MIB objects
    IdVariable string
    Variable name
    Optional bool
    Indicates if list item is considered optional.
    exclude Boolean
    Exclude the OID
    excludeVariable String
    Variable name
    id String
    Configure identifier of subtree of MIB objects
    idVariable String
    Variable name
    optional Boolean
    Indicates if list item is considered optional.
    exclude boolean
    Exclude the OID
    excludeVariable string
    Variable name
    id string
    Configure identifier of subtree of MIB objects
    idVariable string
    Variable name
    optional boolean
    Indicates if list item is considered optional.
    exclude bool
    Exclude the OID
    exclude_variable str
    Variable name
    id str
    Configure identifier of subtree of MIB objects
    id_variable str
    Variable name
    optional bool
    Indicates if list item is considered optional.
    exclude Boolean
    Exclude the OID
    excludeVariable String
    Variable name
    id String
    Configure identifier of subtree of MIB objects
    idVariable String
    Variable name
    optional Boolean
    Indicates if list item is considered optional.

    Package Details

    Repository
    sdwan pulumi/pulumi-sdwan
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the sdwan Terraform Provider.
    sdwan logo
    Cisco Catalyst SD-WAN v0.2.3 published on Wednesday, Dec 4, 2024 by Pulumi