Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: sdwan:index/getCiscoNtpFeatureTemplate:getCiscoNtpFeatureTemplate
arguments:
# arguments dictionary
The following arguments are supported:
getCiscoNtpFeatureTemplate Result
The following output properties are available:
- Authentication
Keys List<GetCisco Ntp Feature Template Authentication Key> - Set MD5 authentication key
- Description string
- The description of the feature template
- Device
Types List<string> - List of supported device types
- Id string
- The id of the feature template
- Master bool
- Configure device as NTP master
- Master
Source stringInterface - Set interface for NTP Master
- Master
Source stringInterface Variable - Variable name
- Master
Stratum int - Master Stratum \n\n
- Master
Stratum stringVariable - Variable name
- Master
Variable string - Variable name
- Name string
- The name of the feature template
- Servers
List<Get
Cisco Ntp Feature Template Server> - Configure NTP servers
- Template
Type string - The template type
- Trusted
Keys List<int> - Designate authentication key as trustworthy
- Trusted
Keys stringVariable - Variable name
- Version int
- The version of the feature template
- Authentication
Keys []GetCisco Ntp Feature Template Authentication Key - Set MD5 authentication key
- Description string
- The description of the feature template
- Device
Types []string - List of supported device types
- Id string
- The id of the feature template
- Master bool
- Configure device as NTP master
- Master
Source stringInterface - Set interface for NTP Master
- Master
Source stringInterface Variable - Variable name
- Master
Stratum int - Master Stratum \n\n
- Master
Stratum stringVariable - Variable name
- Master
Variable string - Variable name
- Name string
- The name of the feature template
- Servers
[]Get
Cisco Ntp Feature Template Server - Configure NTP servers
- Template
Type string - The template type
- Trusted
Keys []int - Designate authentication key as trustworthy
- Trusted
Keys stringVariable - Variable name
- Version int
- The version of the feature template
- authentication
Keys List<GetCisco Ntp Feature Template Authentication Key> - Set MD5 authentication key
- description String
- The description of the feature template
- device
Types List<String> - List of supported device types
- id String
- The id of the feature template
- master Boolean
- Configure device as NTP master
- master
Source StringInterface - Set interface for NTP Master
- master
Source StringInterface Variable - Variable name
- master
Stratum Integer - Master Stratum \n\n
- master
Stratum StringVariable - Variable name
- master
Variable String - Variable name
- name String
- The name of the feature template
- servers
List<Get
Cisco Ntp Feature Template Server> - Configure NTP servers
- template
Type String - The template type
- trusted
Keys List<Integer> - Designate authentication key as trustworthy
- trusted
Keys StringVariable - Variable name
- version Integer
- The version of the feature template
- authentication
Keys GetCisco Ntp Feature Template Authentication Key[] - Set MD5 authentication key
- description string
- The description of the feature template
- device
Types string[] - List of supported device types
- id string
- The id of the feature template
- master boolean
- Configure device as NTP master
- master
Source stringInterface - Set interface for NTP Master
- master
Source stringInterface Variable - Variable name
- master
Stratum number - Master Stratum \n\n
- master
Stratum stringVariable - Variable name
- master
Variable string - Variable name
- name string
- The name of the feature template
- servers
Get
Cisco Ntp Feature Template Server[] - Configure NTP servers
- template
Type string - The template type
- trusted
Keys number[] - Designate authentication key as trustworthy
- trusted
Keys 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[Get
Cisco 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
- authentication
Keys List<Property Map> - Set MD5 authentication key
- description String
- The description of the feature template
- device
Types List<String> - List of supported device types
- id String
- The id of the feature template
- master Boolean
- Configure device as NTP master
- master
Source StringInterface - Set interface for NTP Master
- master
Source StringInterface Variable - Variable name
- master
Stratum Number - Master Stratum \n\n
- master
Stratum StringVariable - Variable name
- master
Variable String - Variable name
- name String
- The name of the feature template
- servers List<Property Map>
- Configure NTP servers
- template
Type String - The template type
- trusted
Keys List<Number> - Designate authentication key as trustworthy
- trusted
Keys StringVariable - Variable name
- version Number
- The version of the feature template
Supporting Types
GetCiscoNtpFeatureTemplateAuthenticationKey
- Id int
- MD5 authentication key ID
- Id
Variable string - Variable name
- Optional bool
- Indicates if list item is considered optional.
- Value string
- Enter cleartext or AES-encrypted MD5 authentication key
- Value
Variable string - Variable name
- Id int
- MD5 authentication key ID
- Id
Variable string - Variable name
- Optional bool
- Indicates if list item is considered optional.
- Value string
- Enter cleartext or AES-encrypted MD5 authentication key
- Value
Variable string - Variable name
- id Integer
- MD5 authentication key ID
- id
Variable String - Variable name
- optional Boolean
- Indicates if list item is considered optional.
- value String
- Enter cleartext or AES-encrypted MD5 authentication key
- value
Variable String - Variable name
- id number
- MD5 authentication key ID
- id
Variable string - Variable name
- optional boolean
- Indicates if list item is considered optional.
- value string
- Enter cleartext or AES-encrypted MD5 authentication key
- value
Variable 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
- id
Variable String - Variable name
- optional Boolean
- Indicates if list item is considered optional.
- value String
- Enter cleartext or AES-encrypted MD5 authentication key
- value
Variable String - Variable name
GetCiscoNtpFeatureTemplateServer
- Authentication
Key intId - Set authentication key for the server
- Authentication
Key stringId Variable - Variable name
- Hostname
Ip string - Set hostname or IP address of server
- Hostname
Ip stringVariable - Variable name
- Optional bool
- Indicates if list item is considered optional.
- Prefer bool
- Prefer this NTP server
- Prefer
Variable string - Variable name
- Source
Interface string - Set interface to use to reach NTP server
- Source
Interface stringVariable - Variable name
- Version int
- Set NTP version
- Version
Variable string - Variable name
- Vpn
Id int - Set VPN in which NTP server is located
- Vpn
Id stringVariable - Variable name
- Authentication
Key intId - Set authentication key for the server
- Authentication
Key stringId Variable - Variable name
- Hostname
Ip string - Set hostname or IP address of server
- Hostname
Ip stringVariable - Variable name
- Optional bool
- Indicates if list item is considered optional.
- Prefer bool
- Prefer this NTP server
- Prefer
Variable string - Variable name
- Source
Interface string - Set interface to use to reach NTP server
- Source
Interface stringVariable - Variable name
- Version int
- Set NTP version
- Version
Variable string - Variable name
- Vpn
Id int - Set VPN in which NTP server is located
- Vpn
Id stringVariable - Variable name
- authentication
Key IntegerId - Set authentication key for the server
- authentication
Key StringId Variable - Variable name
- hostname
Ip String - Set hostname or IP address of server
- hostname
Ip StringVariable - Variable name
- optional Boolean
- Indicates if list item is considered optional.
- prefer Boolean
- Prefer this NTP server
- prefer
Variable String - Variable name
- source
Interface String - Set interface to use to reach NTP server
- source
Interface StringVariable - Variable name
- version Integer
- Set NTP version
- version
Variable String - Variable name
- vpn
Id Integer - Set VPN in which NTP server is located
- vpn
Id StringVariable - Variable name
- authentication
Key numberId - Set authentication key for the server
- authentication
Key stringId Variable - Variable name
- hostname
Ip string - Set hostname or IP address of server
- hostname
Ip stringVariable - Variable name
- optional boolean
- Indicates if list item is considered optional.
- prefer boolean
- Prefer this NTP server
- prefer
Variable string - Variable name
- source
Interface string - Set interface to use to reach NTP server
- source
Interface stringVariable - Variable name
- version number
- Set NTP version
- version
Variable string - Variable name
- vpn
Id number - Set VPN in which NTP server is located
- vpn
Id 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
- authentication
Key NumberId - Set authentication key for the server
- authentication
Key StringId Variable - Variable name
- hostname
Ip String - Set hostname or IP address of server
- hostname
Ip StringVariable - Variable name
- optional Boolean
- Indicates if list item is considered optional.
- prefer Boolean
- Prefer this NTP server
- prefer
Variable String - Variable name
- source
Interface String - Set interface to use to reach NTP server
- source
Interface StringVariable - Variable name
- version Number
- Set NTP version
- version
Variable String - Variable name
- vpn
Id Number - Set VPN in which NTP server is located
- vpn
Id StringVariable - Variable name
Package Details
- Repository
- sdwan pulumi/pulumi-sdwan
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
sdwan
Terraform Provider.