1. Packages
  2. Cisco Catalyst SD-WAN Provider
  3. API Docs
  4. getCiscoNtpFeatureTemplate
Cisco Catalyst SD-WAN v0.3.0 published on Friday, Mar 28, 2025 by Pulumi

sdwan.getCiscoNtpFeatureTemplate

Explore with Pulumi AI

Cisco Catalyst SD-WAN v0.3.0 published on Friday, Mar 28, 2025 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",
});
Copy
import pulumi
import pulumi_sdwan as sdwan

example = sdwan.get_cisco_ntp_feature_template(id="f6b2c44c-693c-4763-b010-895aa3d236bd")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: sdwan:getCiscoNtpFeatureTemplate
      arguments:
        id: f6b2c44c-693c-4763-b010-895aa3d236bd
Copy

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>
Copy
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]
Copy
func LookupCiscoNtpFeatureTemplate(ctx *Context, args *LookupCiscoNtpFeatureTemplateArgs, opts ...InvokeOption) (*LookupCiscoNtpFeatureTemplateResult, error)
func LookupCiscoNtpFeatureTemplateOutput(ctx *Context, args *LookupCiscoNtpFeatureTemplateOutputArgs, opts ...InvokeOption) LookupCiscoNtpFeatureTemplateResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetCiscoNtpFeatureTemplateResult> getCiscoNtpFeatureTemplate(GetCiscoNtpFeatureTemplateArgs args, InvokeOptions options)
public static Output<GetCiscoNtpFeatureTemplateResult> getCiscoNtpFeatureTemplate(GetCiscoNtpFeatureTemplateArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: sdwan:index/getCiscoNtpFeatureTemplate:getCiscoNtpFeatureTemplate
  arguments:
    # arguments dictionary
Copy

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

GetCiscoNtpFeatureTemplateServer

AuthenticationKeyId This property is required. int
Set authentication key for the server
AuthenticationKeyIdVariable This property is required. string
Variable name
HostnameIp This property is required. string
Set hostname or IP address of server
HostnameIpVariable This property is required. string
Variable name
Optional This property is required. bool
Indicates if list item is considered optional.
Prefer This property is required. bool
Prefer this NTP server
PreferVariable This property is required. string
Variable name
SourceInterface This property is required. string
Set interface to use to reach NTP server
SourceInterfaceVariable This property is required. string
Variable name
Version This property is required. int
Set NTP version
VersionVariable This property is required. string
Variable name
VpnId This property is required. int
Set VPN in which NTP server is located
VpnIdVariable This property is required. string
Variable name
AuthenticationKeyId This property is required. int
Set authentication key for the server
AuthenticationKeyIdVariable This property is required. string
Variable name
HostnameIp This property is required. string
Set hostname or IP address of server
HostnameIpVariable This property is required. string
Variable name
Optional This property is required. bool
Indicates if list item is considered optional.
Prefer This property is required. bool
Prefer this NTP server
PreferVariable This property is required. string
Variable name
SourceInterface This property is required. string
Set interface to use to reach NTP server
SourceInterfaceVariable This property is required. string
Variable name
Version This property is required. int
Set NTP version
VersionVariable This property is required. string
Variable name
VpnId This property is required. int
Set VPN in which NTP server is located
VpnIdVariable This property is required. string
Variable name
authenticationKeyId This property is required. Integer
Set authentication key for the server
authenticationKeyIdVariable This property is required. String
Variable name
hostnameIp This property is required. String
Set hostname or IP address of server
hostnameIpVariable This property is required. String
Variable name
optional This property is required. Boolean
Indicates if list item is considered optional.
prefer This property is required. Boolean
Prefer this NTP server
preferVariable This property is required. String
Variable name
sourceInterface This property is required. String
Set interface to use to reach NTP server
sourceInterfaceVariable This property is required. String
Variable name
version This property is required. Integer
Set NTP version
versionVariable This property is required. String
Variable name
vpnId This property is required. Integer
Set VPN in which NTP server is located
vpnIdVariable This property is required. String
Variable name
authenticationKeyId This property is required. number
Set authentication key for the server
authenticationKeyIdVariable This property is required. string
Variable name
hostnameIp This property is required. string
Set hostname or IP address of server
hostnameIpVariable This property is required. string
Variable name
optional This property is required. boolean
Indicates if list item is considered optional.
prefer This property is required. boolean
Prefer this NTP server
preferVariable This property is required. string
Variable name
sourceInterface This property is required. string
Set interface to use to reach NTP server
sourceInterfaceVariable This property is required. string
Variable name
version This property is required. number
Set NTP version
versionVariable This property is required. string
Variable name
vpnId This property is required. number
Set VPN in which NTP server is located
vpnIdVariable This property is required. string
Variable name
authentication_key_id This property is required. int
Set authentication key for the server
authentication_key_id_variable This property is required. str
Variable name
hostname_ip This property is required. str
Set hostname or IP address of server
hostname_ip_variable This property is required. str
Variable name
optional This property is required. bool
Indicates if list item is considered optional.
prefer This property is required. bool
Prefer this NTP server
prefer_variable This property is required. str
Variable name
source_interface This property is required. str
Set interface to use to reach NTP server
source_interface_variable This property is required. str
Variable name
version This property is required. int
Set NTP version
version_variable This property is required. str
Variable name
vpn_id This property is required. int
Set VPN in which NTP server is located
vpn_id_variable This property is required. str
Variable name
authenticationKeyId This property is required. Number
Set authentication key for the server
authenticationKeyIdVariable This property is required. String
Variable name
hostnameIp This property is required. String
Set hostname or IP address of server
hostnameIpVariable This property is required. String
Variable name
optional This property is required. Boolean
Indicates if list item is considered optional.
prefer This property is required. Boolean
Prefer this NTP server
preferVariable This property is required. String
Variable name
sourceInterface This property is required. String
Set interface to use to reach NTP server
sourceInterfaceVariable This property is required. String
Variable name
version This property is required. Number
Set NTP version
versionVariable This property is required. String
Variable name
vpnId This property is required. Number
Set VPN in which NTP server is located
vpnIdVariable This property is required. 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.
Cisco Catalyst SD-WAN v0.3.0 published on Friday, Mar 28, 2025 by Pulumi