Cisco Catalyst SD-WAN v0.3.0 published on Friday, Mar 28, 2025 by Pulumi
sdwan.getCiscoNtpFeatureTemplate
Explore with Pulumi AI
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)
public static Output<GetCiscoNtpFeatureTemplateResult> getCiscoNtpFeatureTemplate(GetCiscoNtpFeatureTemplateArgs args, InvokeOptions options)
fn::invoke:
  function: sdwan:index/getCiscoNtpFeatureTemplate:getCiscoNtpFeatureTemplate
  arguments:
    # arguments dictionaryThe following arguments are supported:
getCiscoNtpFeatureTemplate Result
The following output properties are available:
- AuthenticationKeys List<GetCisco Ntp Feature Template Authentication Key> 
- 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
- MasterSource stringInterface 
- Set interface for NTP Master
- MasterSource stringInterface Variable 
- Variable name
- MasterStratum int
- Master Stratum \n\n
- MasterStratum stringVariable 
- Variable name
- MasterVariable string
- Variable name
- Name string
- The name of the feature template
- Servers
List<GetCisco Ntp Feature Template Server> 
- Configure NTP servers
- TemplateType string
- The template type
- TrustedKeys List<int>
- Designate authentication key as trustworthy
- TrustedKeys stringVariable 
- Variable name
- Version int
- The version of the feature template
- AuthenticationKeys []GetCisco Ntp Feature Template Authentication Key 
- 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
- MasterSource stringInterface 
- Set interface for NTP Master
- MasterSource stringInterface Variable 
- Variable name
- MasterStratum int
- Master Stratum \n\n
- MasterStratum stringVariable 
- Variable name
- MasterVariable string
- Variable name
- Name string
- The name of the feature template
- Servers
[]GetCisco Ntp Feature Template Server 
- Configure NTP servers
- TemplateType string
- The template type
- TrustedKeys []int
- Designate authentication key as trustworthy
- TrustedKeys stringVariable 
- Variable name
- Version int
- The version of the feature template
- authenticationKeys List<GetCisco Ntp Feature Template Authentication Key> 
- 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
- masterSource StringInterface 
- Set interface for NTP Master
- masterSource StringInterface Variable 
- Variable name
- masterStratum Integer
- Master Stratum \n\n
- masterStratum StringVariable 
- Variable name
- masterVariable String
- Variable name
- name String
- The name of the feature template
- servers
List<GetCisco Ntp Feature Template Server> 
- Configure NTP servers
- templateType String
- The template type
- trustedKeys List<Integer>
- Designate authentication key as trustworthy
- trustedKeys StringVariable 
- Variable name
- version Integer
- The version of the feature template
- authenticationKeys GetCisco Ntp Feature Template Authentication Key[] 
- 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
- masterSource stringInterface 
- Set interface for NTP Master
- masterSource stringInterface Variable 
- Variable name
- masterStratum number
- Master Stratum \n\n
- masterStratum stringVariable 
- Variable name
- masterVariable string
- Variable name
- name string
- The name of the feature template
- servers
GetCisco Ntp Feature Template Server[] 
- Configure NTP servers
- templateType string
- The template type
- trustedKeys number[]
- Designate authentication key as trustworthy
- trustedKeys stringVariable 
- Variable name
- version number
- The version of the feature template
- authentication_keys Sequence[GetCisco Ntp Feature Template Authentication Key] 
- 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_ strinterface 
- Set interface for NTP Master
- master_source_ strinterface_ variable 
- Variable name
- master_stratum int
- Master Stratum \n\n
- master_stratum_ strvariable 
- Variable name
- master_variable str
- Variable name
- name str
- The name of the feature template
- servers
Sequence[GetCisco Ntp Feature Template Server] 
- Configure NTP servers
- template_type str
- The template type
- trusted_keys Sequence[int]
- Designate authentication key as trustworthy
- trusted_keys_ strvariable 
- 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
- masterSource StringInterface 
- Set interface for NTP Master
- masterSource StringInterface Variable 
- Variable name
- masterStratum Number
- Master Stratum \n\n
- masterStratum StringVariable 
- 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
- trustedKeys StringVariable 
- 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     
- AuthenticationKey intId 
- Set authentication key for the server
- AuthenticationKey stringId Variable 
- Variable name
- HostnameIp string
- Set hostname or IP address of server
- HostnameIp stringVariable 
- 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
- SourceInterface stringVariable 
- Variable name
- Version int
- Set NTP version
- VersionVariable string
- Variable name
- VpnId int
- Set VPN in which NTP server is located
- VpnId stringVariable 
- Variable name
- AuthenticationKey intId 
- Set authentication key for the server
- AuthenticationKey stringId Variable 
- Variable name
- HostnameIp string
- Set hostname or IP address of server
- HostnameIp stringVariable 
- 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
- SourceInterface stringVariable 
- Variable name
- Version int
- Set NTP version
- VersionVariable string
- Variable name
- VpnId int
- Set VPN in which NTP server is located
- VpnId stringVariable 
- Variable name
- authenticationKey IntegerId 
- Set authentication key for the server
- authenticationKey StringId Variable 
- Variable name
- hostnameIp String
- Set hostname or IP address of server
- hostnameIp StringVariable 
- 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
- sourceInterface StringVariable 
- Variable name
- version Integer
- Set NTP version
- versionVariable String
- Variable name
- vpnId Integer
- Set VPN in which NTP server is located
- vpnId StringVariable 
- Variable name
- authenticationKey numberId 
- Set authentication key for the server
- authenticationKey stringId Variable 
- Variable name
- hostnameIp string
- Set hostname or IP address of server
- hostnameIp stringVariable 
- 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
- sourceInterface stringVariable 
- Variable name
- version number
- Set NTP version
- versionVariable string
- Variable name
- vpnId number
- Set VPN in which NTP server is located
- vpnId stringVariable 
- Variable name
- authentication_key_ intid 
- Set authentication key for the server
- authentication_key_ strid_ variable 
- Variable name
- hostname_ip str
- Set hostname or IP address of server
- hostname_ip_ strvariable 
- 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_ strvariable 
- 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_ strvariable 
- Variable name
- authenticationKey NumberId 
- Set authentication key for the server
- authenticationKey StringId Variable 
- Variable name
- hostnameIp String
- Set hostname or IP address of server
- hostnameIp StringVariable 
- 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
- sourceInterface StringVariable 
- Variable name
- version Number
- Set NTP version
- versionVariable String
- Variable name
- vpnId Number
- Set VPN in which NTP server is located
- vpnId StringVariable 
- Variable name
Package Details
- Repository
- sdwan pulumi/pulumi-sdwan
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the sdwanTerraform Provider.
