Cisco Catalyst SD-WAN v0.2.3 published on Wednesday, Dec 4, 2024 by Pulumi
sdwan.getCiscoSnmpFeatureTemplate
Explore with Pulumi AI
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:
getCiscoSnmpFeatureTemplate Result
The following output properties are available:
- Communities
List<Get
Cisco Snmp Feature Template Community> - Configure SNMP community
- Contact string
- Set the contact for this managed node
- Contact
Variable string - Variable name
- Description string
- The description of the feature template
- Device
Types List<string> - List of supported device types
- Groups
List<Get
Cisco Snmp Feature Template Group> - Configure an SNMP group
- Id string
- The id of the feature template
- Location string
- Set the physical location of this managed node
- Location
Variable string - Variable name
- Name string
- The name of the feature template
- Shutdown bool
- Enable or disable SNMP
- Shutdown
Variable string - Variable name
- Template
Type string - The template type
- Trap
Targets List<GetCisco Snmp Feature Template Trap Target> - Configure SNMP server to receive SNMP traps
- Users
List<Get
Cisco Snmp Feature Template User> - Configure an SNMP user
- Version int
- The version of the feature template
- Views
List<Get
Cisco Snmp Feature Template View> - Configure a view record
- Communities
[]Get
Cisco Snmp Feature Template Community - Configure SNMP community
- Contact string
- Set the contact for this managed node
- Contact
Variable string - Variable name
- Description string
- The description of the feature template
- Device
Types []string - List of supported device types
- Groups
[]Get
Cisco Snmp Feature Template Group - Configure an SNMP group
- Id string
- The id of the feature template
- Location string
- Set the physical location of this managed node
- Location
Variable string - Variable name
- Name string
- The name of the feature template
- Shutdown bool
- Enable or disable SNMP
- Shutdown
Variable string - Variable name
- Template
Type string - The template type
- Trap
Targets []GetCisco Snmp Feature Template Trap Target - Configure SNMP server to receive SNMP traps
- Users
[]Get
Cisco Snmp Feature Template User - Configure an SNMP user
- Version int
- The version of the feature template
- Views
[]Get
Cisco Snmp Feature Template View - Configure a view record
- communities
List<Get
Cisco Snmp Feature Template Community> - Configure SNMP community
- contact String
- Set the contact for this managed node
- contact
Variable String - Variable name
- description String
- The description of the feature template
- device
Types List<String> - List of supported device types
- groups
List<Get
Cisco Snmp Feature Template Group> - Configure an SNMP group
- id String
- The id of the feature template
- location String
- Set the physical location of this managed node
- location
Variable String - Variable name
- name String
- The name of the feature template
- shutdown Boolean
- Enable or disable SNMP
- shutdown
Variable String - Variable name
- template
Type String - The template type
- trap
Targets List<GetCisco Snmp Feature Template Trap Target> - Configure SNMP server to receive SNMP traps
- users
List<Get
Cisco Snmp Feature Template User> - Configure an SNMP user
- version Integer
- The version of the feature template
- views
List<Get
Cisco Snmp Feature Template View> - Configure a view record
- communities
Get
Cisco Snmp Feature Template Community[] - Configure SNMP community
- contact string
- Set the contact for this managed node
- contact
Variable string - Variable name
- description string
- The description of the feature template
- device
Types string[] - List of supported device types
- groups
Get
Cisco Snmp Feature Template Group[] - Configure an SNMP group
- id string
- The id of the feature template
- location string
- Set the physical location of this managed node
- location
Variable string - Variable name
- name string
- The name of the feature template
- shutdown boolean
- Enable or disable SNMP
- shutdown
Variable string - Variable name
- template
Type string - The template type
- trap
Targets GetCisco Snmp Feature Template Trap Target[] - Configure SNMP server to receive SNMP traps
- users
Get
Cisco Snmp Feature Template User[] - Configure an SNMP user
- version number
- The version of the feature template
- views
Get
Cisco Snmp Feature Template View[] - Configure a view record
- communities
Sequence[Get
Cisco Snmp Feature Template Community] - 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[Get
Cisco Snmp Feature Template Group] - 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[GetCisco Snmp Feature Template Trap Target] - Configure SNMP server to receive SNMP traps
- users
Sequence[Get
Cisco Snmp Feature Template User] - Configure an SNMP user
- version int
- The version of the feature template
- views
Sequence[Get
Cisco Snmp Feature Template View] - Configure a view record
- communities List<Property Map>
- Configure SNMP community
- contact String
- Set the contact for this managed node
- contact
Variable String - Variable name
- description String
- The description of the feature template
- device
Types 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
- location
Variable String - Variable name
- name String
- The name of the feature template
- shutdown Boolean
- Enable or disable SNMP
- shutdown
Variable String - Variable name
- template
Type String - The template type
- trap
Targets 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
- string
- Configure access permissions
- 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
- View
Variable string - Variable name
- string
- Configure access permissions
- 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
- View
Variable string - Variable name
- String
- Configure access permissions
- 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
- view
Variable String - Variable name
- string
- Configure access permissions
- 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
- view
Variable string - Variable name
- str
- Configure access permissions
- 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
- String
- Configure access permissions
- 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
- view
Variable String - Variable name
GetCiscoSnmpFeatureTemplateGroup
- Name string
- Name of the SNMP group
- Optional bool
- Indicates if list item is considered optional.
- Security
Level string - Configure security level
- View string
- Name of the SNMP view
- View
Variable string - Variable name
- Name string
- Name of the SNMP group
- Optional bool
- Indicates if list item is considered optional.
- Security
Level string - Configure security level
- View string
- Name of the SNMP view
- View
Variable string - Variable name
- name String
- Name of the SNMP group
- optional Boolean
- Indicates if list item is considered optional.
- security
Level String - Configure security level
- view String
- Name of the SNMP view
- view
Variable String - Variable name
- name string
- Name of the SNMP group
- optional boolean
- Indicates if list item is considered optional.
- security
Level string - Configure security level
- view string
- Name of the SNMP view
- view
Variable 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.
- security
Level String - Configure security level
- view String
- Name of the SNMP view
- view
Variable String - Variable name
GetCiscoSnmpFeatureTemplateTrapTarget
- Community
Name string - Set name of the SNMP community
- Community
Name stringVariable - Variable name
- Ip string
- Set IPv4/IPv6 address of SNMP server
- Ip
Variable string - Variable name
- Optional bool
- Indicates if list item is considered optional.
- Source
Interface string - Source interface for outgoing SNMP traps
- Source
Interface stringVariable - Variable name
- Udp
Port int - Set UDP port number to connect to SNMP server
- Udp
Port stringVariable - Variable name
- User string
- Set name of the SNMP user
- User
Variable string - Variable name
- Vpn
Id int - Set VPN in which SNMP server is located
- Vpn
Id stringVariable - Variable name
- Community
Name string - Set name of the SNMP community
- Community
Name stringVariable - Variable name
- Ip string
- Set IPv4/IPv6 address of SNMP server
- Ip
Variable string - Variable name
- Optional bool
- Indicates if list item is considered optional.
- Source
Interface string - Source interface for outgoing SNMP traps
- Source
Interface stringVariable - Variable name
- Udp
Port int - Set UDP port number to connect to SNMP server
- Udp
Port stringVariable - Variable name
- User string
- Set name of the SNMP user
- User
Variable string - Variable name
- Vpn
Id int - Set VPN in which SNMP server is located
- Vpn
Id stringVariable - Variable name
- community
Name String - Set name of the SNMP community
- community
Name StringVariable - Variable name
- ip String
- Set IPv4/IPv6 address of SNMP server
- ip
Variable String - Variable name
- optional Boolean
- Indicates if list item is considered optional.
- source
Interface String - Source interface for outgoing SNMP traps
- source
Interface StringVariable - Variable name
- udp
Port Integer - Set UDP port number to connect to SNMP server
- udp
Port StringVariable - Variable name
- user String
- Set name of the SNMP user
- user
Variable String - Variable name
- vpn
Id Integer - Set VPN in which SNMP server is located
- vpn
Id StringVariable - Variable name
- community
Name string - Set name of the SNMP community
- community
Name stringVariable - Variable name
- ip string
- Set IPv4/IPv6 address of SNMP server
- ip
Variable string - Variable name
- optional boolean
- Indicates if list item is considered optional.
- source
Interface string - Source interface for outgoing SNMP traps
- source
Interface stringVariable - Variable name
- udp
Port number - Set UDP port number to connect to SNMP server
- udp
Port stringVariable - Variable name
- user string
- Set name of the SNMP user
- user
Variable string - Variable name
- vpn
Id number - Set VPN in which SNMP server is located
- vpn
Id stringVariable - Variable name
- community_
name str - Set name of the SNMP community
- community_
name_ strvariable - 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_ strvariable - Variable name
- udp_
port int - Set UDP port number to connect to SNMP server
- udp_
port_ strvariable - 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_ strvariable - Variable name
- community
Name String - Set name of the SNMP community
- community
Name StringVariable - Variable name
- ip String
- Set IPv4/IPv6 address of SNMP server
- ip
Variable String - Variable name
- optional Boolean
- Indicates if list item is considered optional.
- source
Interface String - Source interface for outgoing SNMP traps
- source
Interface StringVariable - Variable name
- udp
Port Number - Set UDP port number to connect to SNMP server
- udp
Port StringVariable - Variable name
- user String
- Set name of the SNMP user
- user
Variable String - Variable name
- vpn
Id Number - Set VPN in which SNMP server is located
- vpn
Id StringVariable - Variable name
GetCiscoSnmpFeatureTemplateUser
- Authentication
Password string - Specify authentication protocol password
- Authentication
Password stringVariable - Variable name
- Authentication
Protocol string - Configure authentication protocol
- Authentication
Protocol stringVariable - Variable name
- Group string
- Name of the SNMP group
- Group
Variable string - Variable name
- Name string
- Name of the SNMP user
- Optional bool
- Indicates if list item is considered optional.
- Privacy
Password string - Specify privacy protocol password
- Privacy
Password stringVariable - Variable name
- Privacy
Protocol string - Configure privacy protocol
- Privacy
Protocol stringVariable - Variable name
- Authentication
Password string - Specify authentication protocol password
- Authentication
Password stringVariable - Variable name
- Authentication
Protocol string - Configure authentication protocol
- Authentication
Protocol stringVariable - Variable name
- Group string
- Name of the SNMP group
- Group
Variable string - Variable name
- Name string
- Name of the SNMP user
- Optional bool
- Indicates if list item is considered optional.
- Privacy
Password string - Specify privacy protocol password
- Privacy
Password stringVariable - Variable name
- Privacy
Protocol string - Configure privacy protocol
- Privacy
Protocol stringVariable - Variable name
- authentication
Password String - Specify authentication protocol password
- authentication
Password StringVariable - Variable name
- authentication
Protocol String - Configure authentication protocol
- authentication
Protocol StringVariable - Variable name
- group String
- Name of the SNMP group
- group
Variable String - Variable name
- name String
- Name of the SNMP user
- optional Boolean
- Indicates if list item is considered optional.
- privacy
Password String - Specify privacy protocol password
- privacy
Password StringVariable - Variable name
- privacy
Protocol String - Configure privacy protocol
- privacy
Protocol StringVariable - Variable name
- authentication
Password string - Specify authentication protocol password
- authentication
Password stringVariable - Variable name
- authentication
Protocol string - Configure authentication protocol
- authentication
Protocol stringVariable - Variable name
- group string
- Name of the SNMP group
- group
Variable string - Variable name
- name string
- Name of the SNMP user
- optional boolean
- Indicates if list item is considered optional.
- privacy
Password string - Specify privacy protocol password
- privacy
Password stringVariable - Variable name
- privacy
Protocol string - Configure privacy protocol
- privacy
Protocol stringVariable - Variable name
- authentication_
password str - Specify authentication protocol password
- authentication_
password_ strvariable - Variable name
- authentication_
protocol str - Configure authentication protocol
- authentication_
protocol_ strvariable - 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_ strvariable - Variable name
- privacy_
protocol str - Configure privacy protocol
- privacy_
protocol_ strvariable - Variable name
- authentication
Password String - Specify authentication protocol password
- authentication
Password StringVariable - Variable name
- authentication
Protocol String - Configure authentication protocol
- authentication
Protocol StringVariable - Variable name
- group String
- Name of the SNMP group
- group
Variable String - Variable name
- name String
- Name of the SNMP user
- optional Boolean
- Indicates if list item is considered optional.
- privacy
Password String - Specify privacy protocol password
- privacy
Password StringVariable - Variable name
- privacy
Protocol String - Configure privacy protocol
- privacy
Protocol StringVariable - Variable name
GetCiscoSnmpFeatureTemplateView
- Name string
- Set the name of the SNMP view
- Object
Identifiers List<GetCisco Snmp Feature Template View Object Identifier> - Configure SNMP object identifier
- Optional bool
- Indicates if list item is considered optional.
- Name string
- Set the name of the SNMP view
- Object
Identifiers []GetCisco Snmp Feature Template View Object Identifier - Configure SNMP object identifier
- Optional bool
- Indicates if list item is considered optional.
- name String
- Set the name of the SNMP view
- object
Identifiers List<GetCisco Snmp Feature Template View Object Identifier> - Configure SNMP object identifier
- optional Boolean
- Indicates if list item is considered optional.
- name string
- Set the name of the SNMP view
- object
Identifiers GetCisco Snmp Feature Template View Object Identifier[] - 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[GetCisco Snmp Feature Template View Object Identifier] - Configure SNMP object identifier
- optional bool
- Indicates if list item is considered optional.
- name String
- Set the name of the SNMP view
- object
Identifiers List<Property Map> - Configure SNMP object identifier
- optional Boolean
- Indicates if list item is considered optional.
GetCiscoSnmpFeatureTemplateViewObjectIdentifier
- Exclude bool
- Exclude the OID
- Exclude
Variable string - Variable name
- Id string
- Configure identifier of subtree of MIB objects
- Id
Variable string - Variable name
- Optional bool
- Indicates if list item is considered optional.
- Exclude bool
- Exclude the OID
- Exclude
Variable string - Variable name
- Id string
- Configure identifier of subtree of MIB objects
- Id
Variable string - Variable name
- Optional bool
- Indicates if list item is considered optional.
- exclude Boolean
- Exclude the OID
- exclude
Variable String - Variable name
- id String
- Configure identifier of subtree of MIB objects
- id
Variable String - Variable name
- optional Boolean
- Indicates if list item is considered optional.
- exclude boolean
- Exclude the OID
- exclude
Variable string - Variable name
- id string
- Configure identifier of subtree of MIB objects
- id
Variable 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
- exclude
Variable String - Variable name
- id String
- Configure identifier of subtree of MIB objects
- id
Variable 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.