Cisco Catalyst SD-WAN v0.3.0 published on Friday, Mar 28, 2025 by Pulumi
sdwan.getSystemNtpFeature
Explore with Pulumi AI
This data source can read the System NTP Feature.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as sdwan from "@pulumi/sdwan";
const example = sdwan.getSystemNtpFeature({
    id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
    featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
});
import pulumi
import pulumi_sdwan as sdwan
example = sdwan.get_system_ntp_feature(id="f6b2c44c-693c-4763-b010-895aa3d236bd",
    feature_profile_id="f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac")
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.LookupSystemNtpFeature(ctx, &sdwan.LookupSystemNtpFeatureArgs{
			Id:               "f6b2c44c-693c-4763-b010-895aa3d236bd",
			FeatureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
		}, 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.GetSystemNtpFeature.Invoke(new()
    {
        Id = "f6b2c44c-693c-4763-b010-895aa3d236bd",
        FeatureProfileId = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
    });
});
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.GetSystemNtpFeatureArgs;
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.getSystemNtpFeature(GetSystemNtpFeatureArgs.builder()
            .id("f6b2c44c-693c-4763-b010-895aa3d236bd")
            .featureProfileId("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac")
            .build());
    }
}
variables:
  example:
    fn::invoke:
      function: sdwan:getSystemNtpFeature
      arguments:
        id: f6b2c44c-693c-4763-b010-895aa3d236bd
        featureProfileId: f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac
Using getSystemNtpFeature
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 getSystemNtpFeature(args: GetSystemNtpFeatureArgs, opts?: InvokeOptions): Promise<GetSystemNtpFeatureResult>
function getSystemNtpFeatureOutput(args: GetSystemNtpFeatureOutputArgs, opts?: InvokeOptions): Output<GetSystemNtpFeatureResult>def get_system_ntp_feature(feature_profile_id: Optional[str] = None,
                           id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetSystemNtpFeatureResult
def get_system_ntp_feature_output(feature_profile_id: Optional[pulumi.Input[str]] = None,
                           id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetSystemNtpFeatureResult]func LookupSystemNtpFeature(ctx *Context, args *LookupSystemNtpFeatureArgs, opts ...InvokeOption) (*LookupSystemNtpFeatureResult, error)
func LookupSystemNtpFeatureOutput(ctx *Context, args *LookupSystemNtpFeatureOutputArgs, opts ...InvokeOption) LookupSystemNtpFeatureResultOutput> Note: This function is named LookupSystemNtpFeature in the Go SDK.
public static class GetSystemNtpFeature 
{
    public static Task<GetSystemNtpFeatureResult> InvokeAsync(GetSystemNtpFeatureArgs args, InvokeOptions? opts = null)
    public static Output<GetSystemNtpFeatureResult> Invoke(GetSystemNtpFeatureInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSystemNtpFeatureResult> getSystemNtpFeature(GetSystemNtpFeatureArgs args, InvokeOptions options)
public static Output<GetSystemNtpFeatureResult> getSystemNtpFeature(GetSystemNtpFeatureArgs args, InvokeOptions options)
fn::invoke:
  function: sdwan:index/getSystemNtpFeature:getSystemNtpFeature
  arguments:
    # arguments dictionaryThe following arguments are supported:
- FeatureProfile stringId 
- Feature Profile ID
- Id string
- The id of the Feature
- FeatureProfile stringId 
- Feature Profile ID
- Id string
- The id of the Feature
- featureProfile StringId 
- Feature Profile ID
- id String
- The id of the Feature
- featureProfile stringId 
- Feature Profile ID
- id string
- The id of the Feature
- feature_profile_ strid 
- Feature Profile ID
- id str
- The id of the Feature
- featureProfile StringId 
- Feature Profile ID
- id String
- The id of the Feature
getSystemNtpFeature Result
The following output properties are available:
- AuthenticationKeys List<GetSystem Ntp Feature Authentication Key> 
- Set MD5 authentication key
- bool
- Enable device as NTP Leader
- string
- Variable name
- Description string
- The description of the Feature
- FeatureProfile stringId 
- Feature Profile ID
- Id string
- The id of the Feature
- Name string
- The name of the Feature
- Servers
List<GetSystem Ntp Feature Server> 
- Configure NTP servers
- SourceInterface string
- Enable device as NTP Leader
- SourceInterface stringVariable 
- Variable name
- Stratum int
- Enable device as NTP Leader
- StratumVariable string
- Variable name
- TrustedKeys List<int>
- Designate authentication key as trustworthy
- TrustedKeys stringVariable 
- Variable name
- Version int
- The version of the Feature
- AuthenticationKeys []GetSystem Ntp Feature Authentication Key 
- Set MD5 authentication key
- bool
- Enable device as NTP Leader
- string
- Variable name
- Description string
- The description of the Feature
- FeatureProfile stringId 
- Feature Profile ID
- Id string
- The id of the Feature
- Name string
- The name of the Feature
- Servers
[]GetSystem Ntp Feature Server 
- Configure NTP servers
- SourceInterface string
- Enable device as NTP Leader
- SourceInterface stringVariable 
- Variable name
- Stratum int
- Enable device as NTP Leader
- StratumVariable string
- Variable name
- TrustedKeys []int
- Designate authentication key as trustworthy
- TrustedKeys stringVariable 
- Variable name
- Version int
- The version of the Feature
- authenticationKeys List<GetSystem Ntp Feature Authentication Key> 
- Set MD5 authentication key
- Boolean
- Enable device as NTP Leader
- String
- Variable name
- description String
- The description of the Feature
- featureProfile StringId 
- Feature Profile ID
- id String
- The id of the Feature
- name String
- The name of the Feature
- servers
List<GetSystem Ntp Feature Server> 
- Configure NTP servers
- sourceInterface String
- Enable device as NTP Leader
- sourceInterface StringVariable 
- Variable name
- stratum Integer
- Enable device as NTP Leader
- stratumVariable String
- Variable name
- trustedKeys List<Integer>
- Designate authentication key as trustworthy
- trustedKeys StringVariable 
- Variable name
- version Integer
- The version of the Feature
- authenticationKeys GetSystem Ntp Feature Authentication Key[] 
- Set MD5 authentication key
- boolean
- Enable device as NTP Leader
- string
- Variable name
- description string
- The description of the Feature
- featureProfile stringId 
- Feature Profile ID
- id string
- The id of the Feature
- name string
- The name of the Feature
- servers
GetSystem Ntp Feature Server[] 
- Configure NTP servers
- sourceInterface string
- Enable device as NTP Leader
- sourceInterface stringVariable 
- Variable name
- stratum number
- Enable device as NTP Leader
- stratumVariable string
- Variable name
- trustedKeys number[]
- Designate authentication key as trustworthy
- trustedKeys stringVariable 
- Variable name
- version number
- The version of the Feature
- authentication_keys Sequence[GetSystem Ntp Feature Authentication Key] 
- Set MD5 authentication key
- bool
- Enable device as NTP Leader
- str
- Variable name
- description str
- The description of the Feature
- feature_profile_ strid 
- Feature Profile ID
- id str
- The id of the Feature
- name str
- The name of the Feature
- servers
Sequence[GetSystem Ntp Feature Server] 
- Configure NTP servers
- source_interface str
- Enable device as NTP Leader
- source_interface_ strvariable 
- Variable name
- stratum int
- Enable device as NTP Leader
- stratum_variable str
- Variable name
- trusted_keys Sequence[int]
- Designate authentication key as trustworthy
- trusted_keys_ strvariable 
- Variable name
- version int
- The version of the Feature
- authenticationKeys List<Property Map>
- Set MD5 authentication key
- Boolean
- Enable device as NTP Leader
- String
- Variable name
- description String
- The description of the Feature
- featureProfile StringId 
- Feature Profile ID
- id String
- The id of the Feature
- name String
- The name of the Feature
- servers List<Property Map>
- Configure NTP servers
- sourceInterface String
- Enable device as NTP Leader
- sourceInterface StringVariable 
- Variable name
- stratum Number
- Enable device as NTP Leader
- stratumVariable String
- Variable name
- trustedKeys List<Number>
- Designate authentication key as trustworthy
- trustedKeys StringVariable 
- Variable name
- version Number
- The version of the Feature
Supporting Types
GetSystemNtpFeatureAuthenticationKey     
- KeyId int
- MD5 authentication key ID
- KeyId stringVariable 
- Variable name
- Md5Value string
- Enter cleartext or AES-encrypted MD5 authentication key
- Md5ValueVariable string
- Variable name
- KeyId int
- MD5 authentication key ID
- KeyId stringVariable 
- Variable name
- Md5Value string
- Enter cleartext or AES-encrypted MD5 authentication key
- Md5ValueVariable string
- Variable name
- keyId Integer
- MD5 authentication key ID
- keyId StringVariable 
- Variable name
- md5Value String
- Enter cleartext or AES-encrypted MD5 authentication key
- md5ValueVariable String
- Variable name
- keyId number
- MD5 authentication key ID
- keyId stringVariable 
- Variable name
- md5Value string
- Enter cleartext or AES-encrypted MD5 authentication key
- md5ValueVariable string
- Variable name
- key_id int
- MD5 authentication key ID
- key_id_ strvariable 
- Variable name
- md5_value str
- Enter cleartext or AES-encrypted MD5 authentication key
- md5_value_ strvariable 
- Variable name
- keyId Number
- MD5 authentication key ID
- keyId StringVariable 
- Variable name
- md5Value String
- Enter cleartext or AES-encrypted MD5 authentication key
- md5ValueVariable String
- Variable name
GetSystemNtpFeatureServer    
- AuthenticationKey int
- Set authentication key for the server
- AuthenticationKey stringVariable 
- Variable name
- HostnameIp stringAddress 
- Set hostname or IP address of server
- HostnameIp stringAddress Variable 
- Variable name
- NtpVersion int
- Set NTP version
- NtpVersion stringVariable 
- Variable name
- PreferThis boolNtp Server 
- Prefer this NTP server
- PreferThis stringNtp Server Variable 
- Variable name
- SourceInterface string
- Set interface to use to reach NTP server
- SourceInterface stringVariable 
- Variable name
- Vpn int
- Set VPN in which NTP server is located
- VpnVariable string
- Variable name
- AuthenticationKey int
- Set authentication key for the server
- AuthenticationKey stringVariable 
- Variable name
- HostnameIp stringAddress 
- Set hostname or IP address of server
- HostnameIp stringAddress Variable 
- Variable name
- NtpVersion int
- Set NTP version
- NtpVersion stringVariable 
- Variable name
- PreferThis boolNtp Server 
- Prefer this NTP server
- PreferThis stringNtp Server Variable 
- Variable name
- SourceInterface string
- Set interface to use to reach NTP server
- SourceInterface stringVariable 
- Variable name
- Vpn int
- Set VPN in which NTP server is located
- VpnVariable string
- Variable name
- authenticationKey Integer
- Set authentication key for the server
- authenticationKey StringVariable 
- Variable name
- hostnameIp StringAddress 
- Set hostname or IP address of server
- hostnameIp StringAddress Variable 
- Variable name
- ntpVersion Integer
- Set NTP version
- ntpVersion StringVariable 
- Variable name
- preferThis BooleanNtp Server 
- Prefer this NTP server
- preferThis StringNtp Server Variable 
- Variable name
- sourceInterface String
- Set interface to use to reach NTP server
- sourceInterface StringVariable 
- Variable name
- vpn Integer
- Set VPN in which NTP server is located
- vpnVariable String
- Variable name
- authenticationKey number
- Set authentication key for the server
- authenticationKey stringVariable 
- Variable name
- hostnameIp stringAddress 
- Set hostname or IP address of server
- hostnameIp stringAddress Variable 
- Variable name
- ntpVersion number
- Set NTP version
- ntpVersion stringVariable 
- Variable name
- preferThis booleanNtp Server 
- Prefer this NTP server
- preferThis stringNtp Server Variable 
- Variable name
- sourceInterface string
- Set interface to use to reach NTP server
- sourceInterface stringVariable 
- Variable name
- vpn number
- Set VPN in which NTP server is located
- vpnVariable string
- Variable name
- authentication_key int
- Set authentication key for the server
- authentication_key_ strvariable 
- Variable name
- hostname_ip_ straddress 
- Set hostname or IP address of server
- hostname_ip_ straddress_ variable 
- Variable name
- ntp_version int
- Set NTP version
- ntp_version_ strvariable 
- Variable name
- prefer_this_ boolntp_ server 
- Prefer this NTP server
- prefer_this_ strntp_ server_ variable 
- Variable name
- source_interface str
- Set interface to use to reach NTP server
- source_interface_ strvariable 
- Variable name
- vpn int
- Set VPN in which NTP server is located
- vpn_variable str
- Variable name
- authenticationKey Number
- Set authentication key for the server
- authenticationKey StringVariable 
- Variable name
- hostnameIp StringAddress 
- Set hostname or IP address of server
- hostnameIp StringAddress Variable 
- Variable name
- ntpVersion Number
- Set NTP version
- ntpVersion StringVariable 
- Variable name
- preferThis BooleanNtp Server 
- Prefer this NTP server
- preferThis StringNtp Server Variable 
- Variable name
- sourceInterface String
- Set interface to use to reach NTP server
- sourceInterface StringVariable 
- Variable name
- vpn Number
- Set VPN in which NTP server is located
- vpnVariable String
- Variable name
Package Details
- Repository
- sdwan pulumi/pulumi-sdwan
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the sdwanTerraform Provider.
