1. Packages
  2. Cisco Catalyst SD-WAN
  3. API Docs
  4. getSystemNtpFeature
Cisco Catalyst SD-WAN v0.1.3 published on Tuesday, Sep 24, 2024 by Pulumi

sdwan.getSystemNtpFeature

Explore with Pulumi AI

sdwan logo
Cisco Catalyst SD-WAN v0.1.3 published on Tuesday, Sep 24, 2024 by Pulumi

    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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: sdwan:index/getSystemNtpFeature:getSystemNtpFeature
      arguments:
        # arguments dictionary

    The following arguments are supported:

    FeatureProfileId string
    Feature Profile ID
    Id string
    The id of the Feature
    FeatureProfileId string
    Feature Profile ID
    Id string
    The id of the Feature
    featureProfileId String
    Feature Profile ID
    id String
    The id of the Feature
    featureProfileId string
    Feature Profile ID
    id string
    The id of the Feature
    feature_profile_id str
    Feature Profile ID
    id str
    The id of the Feature
    featureProfileId String
    Feature Profile ID
    id String
    The id of the Feature

    getSystemNtpFeature Result

    The following output properties are available:

    AuthenticationKeys List<GetSystemNtpFeatureAuthenticationKey>
    Set MD5 authentication key
    AuthoritativeNtpServer bool
    Enable device as NTP Leader
    AuthoritativeNtpServerVariable string
    Variable name
    Description string
    The description of the Feature
    FeatureProfileId string
    Feature Profile ID
    Id string
    The id of the Feature
    Name string
    The name of the Feature
    Servers List<GetSystemNtpFeatureServer>
    Configure NTP servers
    SourceInterface string
    Enable device as NTP Leader
    SourceInterfaceVariable string
    Variable name
    Stratum int
    Enable device as NTP Leader
    StratumVariable string
    Variable name
    TrustedKeys List<int>
    Designate authentication key as trustworthy
    TrustedKeysVariable string
    Variable name
    Version int
    The version of the Feature
    AuthenticationKeys []GetSystemNtpFeatureAuthenticationKey
    Set MD5 authentication key
    AuthoritativeNtpServer bool
    Enable device as NTP Leader
    AuthoritativeNtpServerVariable string
    Variable name
    Description string
    The description of the Feature
    FeatureProfileId string
    Feature Profile ID
    Id string
    The id of the Feature
    Name string
    The name of the Feature
    Servers []GetSystemNtpFeatureServer
    Configure NTP servers
    SourceInterface string
    Enable device as NTP Leader
    SourceInterfaceVariable string
    Variable name
    Stratum int
    Enable device as NTP Leader
    StratumVariable string
    Variable name
    TrustedKeys []int
    Designate authentication key as trustworthy
    TrustedKeysVariable string
    Variable name
    Version int
    The version of the Feature
    authenticationKeys List<GetSystemNtpFeatureAuthenticationKey>
    Set MD5 authentication key
    authoritativeNtpServer Boolean
    Enable device as NTP Leader
    authoritativeNtpServerVariable String
    Variable name
    description String
    The description of the Feature
    featureProfileId String
    Feature Profile ID
    id String
    The id of the Feature
    name String
    The name of the Feature
    servers List<GetSystemNtpFeatureServer>
    Configure NTP servers
    sourceInterface String
    Enable device as NTP Leader
    sourceInterfaceVariable String
    Variable name
    stratum Integer
    Enable device as NTP Leader
    stratumVariable String
    Variable name
    trustedKeys List<Integer>
    Designate authentication key as trustworthy
    trustedKeysVariable String
    Variable name
    version Integer
    The version of the Feature
    authenticationKeys GetSystemNtpFeatureAuthenticationKey[]
    Set MD5 authentication key
    authoritativeNtpServer boolean
    Enable device as NTP Leader
    authoritativeNtpServerVariable string
    Variable name
    description string
    The description of the Feature
    featureProfileId string
    Feature Profile ID
    id string
    The id of the Feature
    name string
    The name of the Feature
    servers GetSystemNtpFeatureServer[]
    Configure NTP servers
    sourceInterface string
    Enable device as NTP Leader
    sourceInterfaceVariable string
    Variable name
    stratum number
    Enable device as NTP Leader
    stratumVariable string
    Variable name
    trustedKeys number[]
    Designate authentication key as trustworthy
    trustedKeysVariable string
    Variable name
    version number
    The version of the Feature
    authentication_keys Sequence[GetSystemNtpFeatureAuthenticationKey]
    Set MD5 authentication key
    authoritative_ntp_server bool
    Enable device as NTP Leader
    authoritative_ntp_server_variable str
    Variable name
    description str
    The description of the Feature
    feature_profile_id str
    Feature Profile ID
    id str
    The id of the Feature
    name str
    The name of the Feature
    servers Sequence[GetSystemNtpFeatureServer]
    Configure NTP servers
    source_interface str
    Enable device as NTP Leader
    source_interface_variable str
    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_variable str
    Variable name
    version int
    The version of the Feature
    authenticationKeys List<Property Map>
    Set MD5 authentication key
    authoritativeNtpServer Boolean
    Enable device as NTP Leader
    authoritativeNtpServerVariable String
    Variable name
    description String
    The description of the Feature
    featureProfileId String
    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
    sourceInterfaceVariable String
    Variable name
    stratum Number
    Enable device as NTP Leader
    stratumVariable String
    Variable name
    trustedKeys List<Number>
    Designate authentication key as trustworthy
    trustedKeysVariable String
    Variable name
    version Number
    The version of the Feature

    Supporting Types

    GetSystemNtpFeatureAuthenticationKey

    KeyId int
    MD5 authentication key ID
    KeyIdVariable string
    Variable name
    Md5Value string
    Enter cleartext or AES-encrypted MD5 authentication key
    Md5ValueVariable string
    Variable name
    KeyId int
    MD5 authentication key ID
    KeyIdVariable string
    Variable name
    Md5Value string
    Enter cleartext or AES-encrypted MD5 authentication key
    Md5ValueVariable string
    Variable name
    keyId Integer
    MD5 authentication key ID
    keyIdVariable String
    Variable name
    md5Value String
    Enter cleartext or AES-encrypted MD5 authentication key
    md5ValueVariable String
    Variable name
    keyId number
    MD5 authentication key ID
    keyIdVariable string
    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_variable str
    Variable name
    md5_value str
    Enter cleartext or AES-encrypted MD5 authentication key
    md5_value_variable str
    Variable name
    keyId Number
    MD5 authentication key ID
    keyIdVariable String
    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
    AuthenticationKeyVariable string
    Variable name
    HostnameIpAddress string
    Set hostname or IP address of server
    HostnameIpAddressVariable string
    Variable name
    NtpVersion int
    Set NTP version
    NtpVersionVariable string
    Variable name
    PreferThisNtpServer bool
    Prefer this NTP server
    PreferThisNtpServerVariable string
    Variable name
    SourceInterface string
    Set interface to use to reach NTP server
    SourceInterfaceVariable string
    Variable name
    Vpn int
    Set VPN in which NTP server is located
    VpnVariable string
    Variable name
    AuthenticationKey int
    Set authentication key for the server
    AuthenticationKeyVariable string
    Variable name
    HostnameIpAddress string
    Set hostname or IP address of server
    HostnameIpAddressVariable string
    Variable name
    NtpVersion int
    Set NTP version
    NtpVersionVariable string
    Variable name
    PreferThisNtpServer bool
    Prefer this NTP server
    PreferThisNtpServerVariable string
    Variable name
    SourceInterface string
    Set interface to use to reach NTP server
    SourceInterfaceVariable string
    Variable name
    Vpn int
    Set VPN in which NTP server is located
    VpnVariable string
    Variable name
    authenticationKey Integer
    Set authentication key for the server
    authenticationKeyVariable String
    Variable name
    hostnameIpAddress String
    Set hostname or IP address of server
    hostnameIpAddressVariable String
    Variable name
    ntpVersion Integer
    Set NTP version
    ntpVersionVariable String
    Variable name
    preferThisNtpServer Boolean
    Prefer this NTP server
    preferThisNtpServerVariable String
    Variable name
    sourceInterface String
    Set interface to use to reach NTP server
    sourceInterfaceVariable String
    Variable name
    vpn Integer
    Set VPN in which NTP server is located
    vpnVariable String
    Variable name
    authenticationKey number
    Set authentication key for the server
    authenticationKeyVariable string
    Variable name
    hostnameIpAddress string
    Set hostname or IP address of server
    hostnameIpAddressVariable string
    Variable name
    ntpVersion number
    Set NTP version
    ntpVersionVariable string
    Variable name
    preferThisNtpServer boolean
    Prefer this NTP server
    preferThisNtpServerVariable string
    Variable name
    sourceInterface string
    Set interface to use to reach NTP server
    sourceInterfaceVariable string
    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_variable str
    Variable name
    hostname_ip_address str
    Set hostname or IP address of server
    hostname_ip_address_variable str
    Variable name
    ntp_version int
    Set NTP version
    ntp_version_variable str
    Variable name
    prefer_this_ntp_server bool
    Prefer this NTP server
    prefer_this_ntp_server_variable str
    Variable name
    source_interface str
    Set interface to use to reach NTP server
    source_interface_variable str
    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
    authenticationKeyVariable String
    Variable name
    hostnameIpAddress String
    Set hostname or IP address of server
    hostnameIpAddressVariable String
    Variable name
    ntpVersion Number
    Set NTP version
    ntpVersionVariable String
    Variable name
    preferThisNtpServer Boolean
    Prefer this NTP server
    preferThisNtpServerVariable String
    Variable name
    sourceInterface String
    Set interface to use to reach NTP server
    sourceInterfaceVariable String
    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 sdwan Terraform Provider.
    sdwan logo
    Cisco Catalyst SD-WAN v0.1.3 published on Tuesday, Sep 24, 2024 by Pulumi