Cisco Catalyst SD-WAN v0.1.1 published on Friday, May 31, 2024 by Pulumi
sdwan.getSystemNtpProfileParcel
Explore with Pulumi AI
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:
- Feature
Profile stringId - Feature Profile ID
- Id string
- The id of the profile parcel
- Feature
Profile stringId - Feature Profile ID
- Id string
- The id of the profile parcel
- feature
Profile StringId - Feature Profile ID
- id String
- The id of the profile parcel
- feature
Profile stringId - Feature Profile ID
- id string
- The id of the profile parcel
- feature_
profile_ strid - Feature Profile ID
- id str
- The id of the profile parcel
- feature
Profile StringId - Feature Profile ID
- id String
- The id of the profile parcel
getSystemNtpProfileParcel Result
The following output properties are available:
- Authentication
Keys List<GetSystem Ntp Profile Parcel Authentication Key> - Set MD5 authentication key
- bool
- Enable device as NTP Leader
- string
- Variable name
- Description string
- The description of the profile parcel
- Feature
Profile stringId - Feature Profile ID
- Id string
- The id of the profile parcel
- Name string
- The name of the profile parcel
- Servers
List<Get
System Ntp Profile Parcel 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 profile parcel
- Authentication
Keys []GetSystem Ntp Profile Parcel Authentication Key - Set MD5 authentication key
- bool
- Enable device as NTP Leader
- string
- Variable name
- Description string
- The description of the profile parcel
- Feature
Profile stringId - Feature Profile ID
- Id string
- The id of the profile parcel
- Name string
- The name of the profile parcel
- Servers
[]Get
System Ntp Profile Parcel 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 profile parcel
- authentication
Keys List<GetSystem Ntp Profile Parcel Authentication Key> - Set MD5 authentication key
- Boolean
- Enable device as NTP Leader
- String
- Variable name
- description String
- The description of the profile parcel
- feature
Profile StringId - Feature Profile ID
- id String
- The id of the profile parcel
- name String
- The name of the profile parcel
- servers
List<Get
System Ntp Profile Parcel 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 profile parcel
- authentication
Keys GetSystem Ntp Profile Parcel Authentication Key[] - Set MD5 authentication key
- boolean
- Enable device as NTP Leader
- string
- Variable name
- description string
- The description of the profile parcel
- feature
Profile stringId - Feature Profile ID
- id string
- The id of the profile parcel
- name string
- The name of the profile parcel
- servers
Get
System Ntp Profile Parcel 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 profile parcel
- authentication_
keys Sequence[GetSystem Ntp Profile Parcel Authentication Key] - Set MD5 authentication key
- bool
- Enable device as NTP Leader
- str
- Variable name
- description str
- The description of the profile parcel
- feature_
profile_ strid - Feature Profile ID
- id str
- The id of the profile parcel
- name str
- The name of the profile parcel
- servers
Sequence[Get
System Ntp Profile Parcel 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 profile parcel
- authentication
Keys List<Property Map> - Set MD5 authentication key
- Boolean
- Enable device as NTP Leader
- String
- Variable name
- description String
- The description of the profile parcel
- feature
Profile StringId - 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
- 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 profile parcel
Supporting Types
GetSystemNtpProfileParcelAuthenticationKey
- 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
GetSystemNtpProfileParcelServer
- 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.