Cisco Catalyst SD-WAN v0.2.0 published on Friday, Nov 1, 2024 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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: sdwan:index/getSystemNtpFeature:getSystemNtpFeature
arguments:
# arguments dictionary
The following arguments are supported:
- Feature
Profile stringId - Feature Profile ID
- Id string
- The id of the Feature
- Feature
Profile stringId - Feature Profile ID
- Id string
- The id of the Feature
- feature
Profile StringId - Feature Profile ID
- id String
- The id of the Feature
- feature
Profile stringId - Feature Profile ID
- id string
- The id of the Feature
- feature_
profile_ strid - Feature Profile ID
- id str
- The id of the Feature
- feature
Profile StringId - Feature Profile ID
- id String
- The id of the Feature
getSystemNtpFeature Result
The following output properties are available:
- Authentication
Keys 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
- Feature
Profile stringId - Feature Profile ID
- Id string
- The id of the Feature
- Name string
- The name of the Feature
- Servers
List<Get
System Ntp Feature Server> - Configure NTP servers
- Source
Interface string - Enable device as NTP Leader
- Source
Interface stringVariable - Variable name
- Stratum int
- Enable device as NTP Leader
- Stratum
Variable string - Variable name
- Trusted
Keys List<int> - Designate authentication key as trustworthy
- Trusted
Keys stringVariable - Variable name
- Version int
- The version of the Feature
- Authentication
Keys []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
- Feature
Profile stringId - Feature Profile ID
- Id string
- The id of the Feature
- Name string
- The name of the Feature
- Servers
[]Get
System Ntp Feature Server - Configure NTP servers
- Source
Interface string - Enable device as NTP Leader
- Source
Interface stringVariable - Variable name
- Stratum int
- Enable device as NTP Leader
- Stratum
Variable string - Variable name
- Trusted
Keys []int - Designate authentication key as trustworthy
- Trusted
Keys stringVariable - Variable name
- Version int
- The version of the Feature
- authentication
Keys 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
- feature
Profile StringId - Feature Profile ID
- id String
- The id of the Feature
- name String
- The name of the Feature
- servers
List<Get
System Ntp Feature Server> - Configure NTP servers
- source
Interface String - Enable device as NTP Leader
- source
Interface StringVariable - Variable name
- stratum Integer
- Enable device as NTP Leader
- stratum
Variable String - Variable name
- trusted
Keys List<Integer> - Designate authentication key as trustworthy
- trusted
Keys StringVariable - Variable name
- version Integer
- The version of the Feature
- authentication
Keys 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
- feature
Profile stringId - Feature Profile ID
- id string
- The id of the Feature
- name string
- The name of the Feature
- servers
Get
System Ntp Feature Server[] - Configure NTP servers
- source
Interface string - Enable device as NTP Leader
- source
Interface stringVariable - Variable name
- stratum number
- Enable device as NTP Leader
- stratum
Variable string - Variable name
- trusted
Keys number[] - Designate authentication key as trustworthy
- trusted
Keys 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[Get
System 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
- authentication
Keys List<Property Map> - Set MD5 authentication key
- Boolean
- Enable device as NTP Leader
- String
- Variable name
- description String
- The description of the Feature
- feature
Profile 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
- source
Interface String - Enable device as NTP Leader
- source
Interface StringVariable - Variable name
- stratum Number
- Enable device as NTP Leader
- stratum
Variable String - Variable name
- trusted
Keys List<Number> - Designate authentication key as trustworthy
- trusted
Keys StringVariable - Variable name
- version Number
- The version of the Feature
Supporting Types
GetSystemNtpFeatureAuthenticationKey
- Key
Id int - MD5 authentication key ID
- Key
Id stringVariable - Variable name
- Md5Value string
- Enter cleartext or AES-encrypted MD5 authentication key
- Md5Value
Variable string - Variable name
- Key
Id int - MD5 authentication key ID
- Key
Id stringVariable - Variable name
- Md5Value string
- Enter cleartext or AES-encrypted MD5 authentication key
- Md5Value
Variable string - Variable name
- key
Id Integer - MD5 authentication key ID
- key
Id StringVariable - Variable name
- md5Value String
- Enter cleartext or AES-encrypted MD5 authentication key
- md5Value
Variable String - Variable name
- key
Id number - MD5 authentication key ID
- key
Id stringVariable - Variable name
- md5Value string
- Enter cleartext or AES-encrypted MD5 authentication key
- md5Value
Variable 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
- key
Id Number - MD5 authentication key ID
- key
Id StringVariable - Variable name
- md5Value String
- Enter cleartext or AES-encrypted MD5 authentication key
- md5Value
Variable String - Variable name
GetSystemNtpFeatureServer
- Authentication
Key int - Set authentication key for the server
- Authentication
Key stringVariable - Variable name
- Hostname
Ip stringAddress - Set hostname or IP address of server
- Hostname
Ip stringAddress Variable - Variable name
- Ntp
Version int - Set NTP version
- Ntp
Version stringVariable - Variable name
- Prefer
This boolNtp Server - Prefer this NTP server
- Prefer
This stringNtp Server Variable - Variable name
- Source
Interface string - Set interface to use to reach NTP server
- Source
Interface stringVariable - Variable name
- Vpn int
- Set VPN in which NTP server is located
- Vpn
Variable string - Variable name
- Authentication
Key int - Set authentication key for the server
- Authentication
Key stringVariable - Variable name
- Hostname
Ip stringAddress - Set hostname or IP address of server
- Hostname
Ip stringAddress Variable - Variable name
- Ntp
Version int - Set NTP version
- Ntp
Version stringVariable - Variable name
- Prefer
This boolNtp Server - Prefer this NTP server
- Prefer
This stringNtp Server Variable - Variable name
- Source
Interface string - Set interface to use to reach NTP server
- Source
Interface stringVariable - Variable name
- Vpn int
- Set VPN in which NTP server is located
- Vpn
Variable string - Variable name
- authentication
Key Integer - Set authentication key for the server
- authentication
Key StringVariable - Variable name
- hostname
Ip StringAddress - Set hostname or IP address of server
- hostname
Ip StringAddress Variable - Variable name
- ntp
Version Integer - Set NTP version
- ntp
Version StringVariable - Variable name
- prefer
This BooleanNtp Server - Prefer this NTP server
- prefer
This StringNtp Server Variable - Variable name
- source
Interface String - Set interface to use to reach NTP server
- source
Interface StringVariable - Variable name
- vpn Integer
- Set VPN in which NTP server is located
- vpn
Variable String - Variable name
- authentication
Key number - Set authentication key for the server
- authentication
Key stringVariable - Variable name
- hostname
Ip stringAddress - Set hostname or IP address of server
- hostname
Ip stringAddress Variable - Variable name
- ntp
Version number - Set NTP version
- ntp
Version stringVariable - Variable name
- prefer
This booleanNtp Server - Prefer this NTP server
- prefer
This stringNtp Server Variable - Variable name
- source
Interface string - Set interface to use to reach NTP server
- source
Interface stringVariable - Variable name
- vpn number
- Set VPN in which NTP server is located
- vpn
Variable 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
- authentication
Key Number - Set authentication key for the server
- authentication
Key StringVariable - Variable name
- hostname
Ip StringAddress - Set hostname or IP address of server
- hostname
Ip StringAddress Variable - Variable name
- ntp
Version Number - Set NTP version
- ntp
Version StringVariable - Variable name
- prefer
This BooleanNtp Server - Prefer this NTP server
- prefer
This StringNtp Server Variable - Variable name
- source
Interface String - Set interface to use to reach NTP server
- source
Interface StringVariable - Variable name
- vpn Number
- Set VPN in which NTP server is located
- vpn
Variable 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.