1. Packages
  2. Cisco Catalyst SD-WAN
  3. API Docs
  4. getCiscoNtpFeatureTemplate
Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi

sdwan.getCiscoNtpFeatureTemplate

Explore with Pulumi AI

sdwan logo
Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 by Pulumi

    This data source can read the Cisco NTP feature template.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sdwan from "@pulumi/sdwan";
    
    const example = sdwan.getCiscoNtpFeatureTemplate({
        id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
    });
    
    import pulumi
    import pulumi_sdwan as sdwan
    
    example = sdwan.get_cisco_ntp_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.LookupCiscoNtpFeatureTemplate(ctx, &sdwan.LookupCiscoNtpFeatureTemplateArgs{
    			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.GetCiscoNtpFeatureTemplate.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.GetCiscoNtpFeatureTemplateArgs;
    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.getCiscoNtpFeatureTemplate(GetCiscoNtpFeatureTemplateArgs.builder()
                .id("f6b2c44c-693c-4763-b010-895aa3d236bd")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: sdwan:getCiscoNtpFeatureTemplate
          Arguments:
            id: f6b2c44c-693c-4763-b010-895aa3d236bd
    

    Using getCiscoNtpFeatureTemplate

    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 getCiscoNtpFeatureTemplate(args: GetCiscoNtpFeatureTemplateArgs, opts?: InvokeOptions): Promise<GetCiscoNtpFeatureTemplateResult>
    function getCiscoNtpFeatureTemplateOutput(args: GetCiscoNtpFeatureTemplateOutputArgs, opts?: InvokeOptions): Output<GetCiscoNtpFeatureTemplateResult>
    def get_cisco_ntp_feature_template(id: Optional[str] = None,
                                       name: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetCiscoNtpFeatureTemplateResult
    def get_cisco_ntp_feature_template_output(id: Optional[pulumi.Input[str]] = None,
                                       name: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetCiscoNtpFeatureTemplateResult]
    func LookupCiscoNtpFeatureTemplate(ctx *Context, args *LookupCiscoNtpFeatureTemplateArgs, opts ...InvokeOption) (*LookupCiscoNtpFeatureTemplateResult, error)
    func LookupCiscoNtpFeatureTemplateOutput(ctx *Context, args *LookupCiscoNtpFeatureTemplateOutputArgs, opts ...InvokeOption) LookupCiscoNtpFeatureTemplateResultOutput

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

    public static class GetCiscoNtpFeatureTemplate 
    {
        public static Task<GetCiscoNtpFeatureTemplateResult> InvokeAsync(GetCiscoNtpFeatureTemplateArgs args, InvokeOptions? opts = null)
        public static Output<GetCiscoNtpFeatureTemplateResult> Invoke(GetCiscoNtpFeatureTemplateInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCiscoNtpFeatureTemplateResult> getCiscoNtpFeatureTemplate(GetCiscoNtpFeatureTemplateArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: sdwan:index/getCiscoNtpFeatureTemplate:getCiscoNtpFeatureTemplate
      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

    getCiscoNtpFeatureTemplate Result

    The following output properties are available:

    AuthenticationKeys List<GetCiscoNtpFeatureTemplateAuthenticationKey>
    Set MD5 authentication key
    Description string
    The description of the feature template
    DeviceTypes List<string>
    List of supported device types
    Id string
    The id of the feature template
    Master bool
    Configure device as NTP master
    MasterSourceInterface string
    Set interface for NTP Master
    MasterSourceInterfaceVariable string
    Variable name
    MasterStratum int
    Master Stratum \n\n
    MasterStratumVariable string
    Variable name
    MasterVariable string
    Variable name
    Name string
    The name of the feature template
    Servers List<GetCiscoNtpFeatureTemplateServer>
    Configure NTP servers
    TemplateType string
    The template type
    TrustedKeys List<int>
    Designate authentication key as trustworthy
    TrustedKeysVariable string
    Variable name
    Version int
    The version of the feature template
    AuthenticationKeys []GetCiscoNtpFeatureTemplateAuthenticationKey
    Set MD5 authentication key
    Description string
    The description of the feature template
    DeviceTypes []string
    List of supported device types
    Id string
    The id of the feature template
    Master bool
    Configure device as NTP master
    MasterSourceInterface string
    Set interface for NTP Master
    MasterSourceInterfaceVariable string
    Variable name
    MasterStratum int
    Master Stratum \n\n
    MasterStratumVariable string
    Variable name
    MasterVariable string
    Variable name
    Name string
    The name of the feature template
    Servers []GetCiscoNtpFeatureTemplateServer
    Configure NTP servers
    TemplateType string
    The template type
    TrustedKeys []int
    Designate authentication key as trustworthy
    TrustedKeysVariable string
    Variable name
    Version int
    The version of the feature template
    authenticationKeys List<GetCiscoNtpFeatureTemplateAuthenticationKey>
    Set MD5 authentication key
    description String
    The description of the feature template
    deviceTypes List<String>
    List of supported device types
    id String
    The id of the feature template
    master Boolean
    Configure device as NTP master
    masterSourceInterface String
    Set interface for NTP Master
    masterSourceInterfaceVariable String
    Variable name
    masterStratum Integer
    Master Stratum \n\n
    masterStratumVariable String
    Variable name
    masterVariable String
    Variable name
    name String
    The name of the feature template
    servers List<GetCiscoNtpFeatureTemplateServer>
    Configure NTP servers
    templateType String
    The template type
    trustedKeys List<Integer>
    Designate authentication key as trustworthy
    trustedKeysVariable String
    Variable name
    version Integer
    The version of the feature template
    authenticationKeys GetCiscoNtpFeatureTemplateAuthenticationKey[]
    Set MD5 authentication key
    description string
    The description of the feature template
    deviceTypes string[]
    List of supported device types
    id string
    The id of the feature template
    master boolean
    Configure device as NTP master
    masterSourceInterface string
    Set interface for NTP Master
    masterSourceInterfaceVariable string
    Variable name
    masterStratum number
    Master Stratum \n\n
    masterStratumVariable string
    Variable name
    masterVariable string
    Variable name
    name string
    The name of the feature template
    servers GetCiscoNtpFeatureTemplateServer[]
    Configure NTP servers
    templateType string
    The template type
    trustedKeys number[]
    Designate authentication key as trustworthy
    trustedKeysVariable string
    Variable name
    version number
    The version of the feature template
    authentication_keys Sequence[GetCiscoNtpFeatureTemplateAuthenticationKey]
    Set MD5 authentication key
    description str
    The description of the feature template
    device_types Sequence[str]
    List of supported device types
    id str
    The id of the feature template
    master bool
    Configure device as NTP master
    master_source_interface str
    Set interface for NTP Master
    master_source_interface_variable str
    Variable name
    master_stratum int
    Master Stratum \n\n
    master_stratum_variable str
    Variable name
    master_variable str
    Variable name
    name str
    The name of the feature template
    servers Sequence[GetCiscoNtpFeatureTemplateServer]
    Configure NTP servers
    template_type str
    The template type
    trusted_keys Sequence[int]
    Designate authentication key as trustworthy
    trusted_keys_variable str
    Variable name
    version int
    The version of the feature template
    authenticationKeys List<Property Map>
    Set MD5 authentication key
    description String
    The description of the feature template
    deviceTypes List<String>
    List of supported device types
    id String
    The id of the feature template
    master Boolean
    Configure device as NTP master
    masterSourceInterface String
    Set interface for NTP Master
    masterSourceInterfaceVariable String
    Variable name
    masterStratum Number
    Master Stratum \n\n
    masterStratumVariable String
    Variable name
    masterVariable String
    Variable name
    name String
    The name of the feature template
    servers List<Property Map>
    Configure NTP servers
    templateType String
    The template type
    trustedKeys List<Number>
    Designate authentication key as trustworthy
    trustedKeysVariable String
    Variable name
    version Number
    The version of the feature template

    Supporting Types

    GetCiscoNtpFeatureTemplateAuthenticationKey

    Id int
    MD5 authentication key ID
    IdVariable string
    Variable name
    Optional bool
    Indicates if list item is considered optional.
    Value string
    Enter cleartext or AES-encrypted MD5 authentication key
    ValueVariable string
    Variable name
    Id int
    MD5 authentication key ID
    IdVariable string
    Variable name
    Optional bool
    Indicates if list item is considered optional.
    Value string
    Enter cleartext or AES-encrypted MD5 authentication key
    ValueVariable string
    Variable name
    id Integer
    MD5 authentication key ID
    idVariable String
    Variable name
    optional Boolean
    Indicates if list item is considered optional.
    value String
    Enter cleartext or AES-encrypted MD5 authentication key
    valueVariable String
    Variable name
    id number
    MD5 authentication key ID
    idVariable string
    Variable name
    optional boolean
    Indicates if list item is considered optional.
    value string
    Enter cleartext or AES-encrypted MD5 authentication key
    valueVariable string
    Variable name
    id int
    MD5 authentication key ID
    id_variable str
    Variable name
    optional bool
    Indicates if list item is considered optional.
    value str
    Enter cleartext or AES-encrypted MD5 authentication key
    value_variable str
    Variable name
    id Number
    MD5 authentication key ID
    idVariable String
    Variable name
    optional Boolean
    Indicates if list item is considered optional.
    value String
    Enter cleartext or AES-encrypted MD5 authentication key
    valueVariable String
    Variable name

    GetCiscoNtpFeatureTemplateServer

    AuthenticationKeyId int
    Set authentication key for the server
    AuthenticationKeyIdVariable string
    Variable name
    HostnameIp string
    Set hostname or IP address of server
    HostnameIpVariable string
    Variable name
    Optional bool
    Indicates if list item is considered optional.
    Prefer bool
    Prefer this NTP server
    PreferVariable string
    Variable name
    SourceInterface string
    Set interface to use to reach NTP server
    SourceInterfaceVariable string
    Variable name
    Version int
    Set NTP version
    VersionVariable string
    Variable name
    VpnId int
    Set VPN in which NTP server is located
    VpnIdVariable string
    Variable name
    AuthenticationKeyId int
    Set authentication key for the server
    AuthenticationKeyIdVariable string
    Variable name
    HostnameIp string
    Set hostname or IP address of server
    HostnameIpVariable string
    Variable name
    Optional bool
    Indicates if list item is considered optional.
    Prefer bool
    Prefer this NTP server
    PreferVariable string
    Variable name
    SourceInterface string
    Set interface to use to reach NTP server
    SourceInterfaceVariable string
    Variable name
    Version int
    Set NTP version
    VersionVariable string
    Variable name
    VpnId int
    Set VPN in which NTP server is located
    VpnIdVariable string
    Variable name
    authenticationKeyId Integer
    Set authentication key for the server
    authenticationKeyIdVariable String
    Variable name
    hostnameIp String
    Set hostname or IP address of server
    hostnameIpVariable String
    Variable name
    optional Boolean
    Indicates if list item is considered optional.
    prefer Boolean
    Prefer this NTP server
    preferVariable String
    Variable name
    sourceInterface String
    Set interface to use to reach NTP server
    sourceInterfaceVariable String
    Variable name
    version Integer
    Set NTP version
    versionVariable String
    Variable name
    vpnId Integer
    Set VPN in which NTP server is located
    vpnIdVariable String
    Variable name
    authenticationKeyId number
    Set authentication key for the server
    authenticationKeyIdVariable string
    Variable name
    hostnameIp string
    Set hostname or IP address of server
    hostnameIpVariable string
    Variable name
    optional boolean
    Indicates if list item is considered optional.
    prefer boolean
    Prefer this NTP server
    preferVariable string
    Variable name
    sourceInterface string
    Set interface to use to reach NTP server
    sourceInterfaceVariable string
    Variable name
    version number
    Set NTP version
    versionVariable string
    Variable name
    vpnId number
    Set VPN in which NTP server is located
    vpnIdVariable string
    Variable name
    authentication_key_id int
    Set authentication key for the server
    authentication_key_id_variable str
    Variable name
    hostname_ip str
    Set hostname or IP address of server
    hostname_ip_variable str
    Variable name
    optional bool
    Indicates if list item is considered optional.
    prefer bool
    Prefer this NTP server
    prefer_variable str
    Variable name
    source_interface str
    Set interface to use to reach NTP server
    source_interface_variable str
    Variable name
    version int
    Set NTP version
    version_variable str
    Variable name
    vpn_id int
    Set VPN in which NTP server is located
    vpn_id_variable str
    Variable name
    authenticationKeyId Number
    Set authentication key for the server
    authenticationKeyIdVariable String
    Variable name
    hostnameIp String
    Set hostname or IP address of server
    hostnameIpVariable String
    Variable name
    optional Boolean
    Indicates if list item is considered optional.
    prefer Boolean
    Prefer this NTP server
    preferVariable String
    Variable name
    sourceInterface String
    Set interface to use to reach NTP server
    sourceInterfaceVariable String
    Variable name
    version Number
    Set NTP version
    versionVariable String
    Variable name
    vpnId Number
    Set VPN in which NTP server is located
    vpnIdVariable String
    Variable name

    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.0 published on Friday, Nov 1, 2024 by Pulumi