1. Packages
  2. Cisco Catalyst SD-WAN
  3. API Docs
  4. getSystemNtpProfileParcel
Cisco Catalyst SD-WAN v0.1.1 published on Friday, May 31, 2024 by Pulumi

sdwan.getSystemNtpProfileParcel

Explore with Pulumi AI

sdwan logo
Cisco Catalyst SD-WAN v0.1.1 published on Friday, May 31, 2024 by Pulumi

    This data source can read the System NTP profile parcel.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as sdwan from "@pulumi/sdwan";
    
    const example = sdwan.getSystemNtpProfileParcel({
        id: "f6b2c44c-693c-4763-b010-895aa3d236bd",
        featureProfileId: "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac",
    });
    
    import pulumi
    import pulumi_sdwan as sdwan
    
    example = sdwan.get_system_ntp_profile_parcel(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.LookupSystemNtpProfileParcel(ctx, &sdwan.LookupSystemNtpProfileParcelArgs{
    			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.GetSystemNtpProfileParcel.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.GetSystemNtpProfileParcelArgs;
    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.getSystemNtpProfileParcel(GetSystemNtpProfileParcelArgs.builder()
                .id("f6b2c44c-693c-4763-b010-895aa3d236bd")
                .featureProfileId("f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: sdwan:getSystemNtpProfileParcel
          Arguments:
            id: f6b2c44c-693c-4763-b010-895aa3d236bd
            featureProfileId: f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac
    

    Using getSystemNtpProfileParcel

    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 getSystemNtpProfileParcel(args: GetSystemNtpProfileParcelArgs, opts?: InvokeOptions): Promise<GetSystemNtpProfileParcelResult>
    function getSystemNtpProfileParcelOutput(args: GetSystemNtpProfileParcelOutputArgs, opts?: InvokeOptions): Output<GetSystemNtpProfileParcelResult>
    def get_system_ntp_profile_parcel(feature_profile_id: Optional[str] = None,
                                      id: Optional[str] = None,
                                      opts: Optional[InvokeOptions] = None) -> GetSystemNtpProfileParcelResult
    def get_system_ntp_profile_parcel_output(feature_profile_id: Optional[pulumi.Input[str]] = None,
                                      id: Optional[pulumi.Input[str]] = None,
                                      opts: Optional[InvokeOptions] = None) -> Output[GetSystemNtpProfileParcelResult]
    func LookupSystemNtpProfileParcel(ctx *Context, args *LookupSystemNtpProfileParcelArgs, opts ...InvokeOption) (*LookupSystemNtpProfileParcelResult, error)
    func LookupSystemNtpProfileParcelOutput(ctx *Context, args *LookupSystemNtpProfileParcelOutputArgs, opts ...InvokeOption) LookupSystemNtpProfileParcelResultOutput

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

    public static class GetSystemNtpProfileParcel 
    {
        public static Task<GetSystemNtpProfileParcelResult> InvokeAsync(GetSystemNtpProfileParcelArgs args, InvokeOptions? opts = null)
        public static Output<GetSystemNtpProfileParcelResult> Invoke(GetSystemNtpProfileParcelInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSystemNtpProfileParcelResult> getSystemNtpProfileParcel(GetSystemNtpProfileParcelArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: sdwan:index/getSystemNtpProfileParcel:getSystemNtpProfileParcel
      arguments:
        # arguments dictionary

    The following arguments are supported:

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

    getSystemNtpProfileParcel Result

    The following output properties are available:

    AuthenticationKeys List<GetSystemNtpProfileParcelAuthenticationKey>
    Set MD5 authentication key
    AuthoritativeNtpServer bool
    Enable device as NTP Leader
    AuthoritativeNtpServerVariable string
    Variable name
    Description string
    The description of the profile parcel
    FeatureProfileId string
    Feature Profile ID
    Id string
    The id of the profile parcel
    Name string
    The name of the profile parcel
    Servers List<GetSystemNtpProfileParcelServer>
    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 profile parcel
    AuthenticationKeys []GetSystemNtpProfileParcelAuthenticationKey
    Set MD5 authentication key
    AuthoritativeNtpServer bool
    Enable device as NTP Leader
    AuthoritativeNtpServerVariable string
    Variable name
    Description string
    The description of the profile parcel
    FeatureProfileId string
    Feature Profile ID
    Id string
    The id of the profile parcel
    Name string
    The name of the profile parcel
    Servers []GetSystemNtpProfileParcelServer
    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 profile parcel
    authenticationKeys List<GetSystemNtpProfileParcelAuthenticationKey>
    Set MD5 authentication key
    authoritativeNtpServer Boolean
    Enable device as NTP Leader
    authoritativeNtpServerVariable String
    Variable name
    description String
    The description of the profile parcel
    featureProfileId String
    Feature Profile ID
    id String
    The id of the profile parcel
    name String
    The name of the profile parcel
    servers List<GetSystemNtpProfileParcelServer>
    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 profile parcel
    authenticationKeys GetSystemNtpProfileParcelAuthenticationKey[]
    Set MD5 authentication key
    authoritativeNtpServer boolean
    Enable device as NTP Leader
    authoritativeNtpServerVariable string
    Variable name
    description string
    The description of the profile parcel
    featureProfileId string
    Feature Profile ID
    id string
    The id of the profile parcel
    name string
    The name of the profile parcel
    servers GetSystemNtpProfileParcelServer[]
    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 profile parcel
    authentication_keys Sequence[GetSystemNtpProfileParcelAuthenticationKey]
    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 profile parcel
    feature_profile_id str
    Feature Profile ID
    id str
    The id of the profile parcel
    name str
    The name of the profile parcel
    servers Sequence[GetSystemNtpProfileParcelServer]
    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 profile parcel
    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 profile parcel
    featureProfileId String
    Feature Profile ID
    id String
    The id of the profile parcel
    name String
    The name of the profile parcel
    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 profile parcel

    Supporting Types

    GetSystemNtpProfileParcelAuthenticationKey

    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

    GetSystemNtpProfileParcelServer

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