Ntp
f5bigip.sys.Ntp provides details about a specific bigip
This resource is helpful when configuring NTP server on the BIG-IP.
Example Usage
using Pulumi;
using F5BigIP = Pulumi.F5BigIP;
class MyStack : Stack
{
public MyStack()
{
var ntp1 = new F5BigIP.Sys.Ntp("ntp1", new F5BigIP.Sys.NtpArgs
{
Description = "/Common/NTP1",
Servers =
{
"time.facebook.com",
},
Timezone = "America/Los_Angeles",
});
}
}
Coming soon!
import pulumi
import pulumi_f5bigip as f5bigip
ntp1 = f5bigip.sys.Ntp("ntp1",
description="/Common/NTP1",
servers=["time.facebook.com"],
timezone="America/Los_Angeles")import * as pulumi from "@pulumi/pulumi";
import * as f5bigip from "@pulumi/f5bigip";
const ntp1 = new f5bigip.sys.Ntp("ntp1", {
description: "/Common/NTP1",
servers: ["time.facebook.com"],
timezone: "America/Los_Angeles",
});Create a Ntp Resource
new Ntp(name: string, args: NtpArgs, opts?: CustomResourceOptions);def Ntp(resource_name, opts=None, description=None, servers=None, timezone=None, __props__=None);public Ntp(string name, NtpArgs args, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args NtpArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args NtpArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NtpArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
Ntp Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The Ntp resource accepts the following input properties:
- Description string
Name of the ntp Servers
- Servers List<string>
Adds NTP servers to or deletes NTP servers from the BIG-IP system.
- Timezone string
Specifies the time zone that you want to use for the system time.
Outputs
All input properties are implicitly available as output properties. Additionally, the Ntp resource produces the following output properties:
Look up an Existing Ntp Resource
Get an existing Ntp resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: NtpState, opts?: CustomResourceOptions): Ntpstatic get(resource_name, id, opts=None, description=None, servers=None, timezone=None, __props__=None);public static Ntp Get(string name, Input<string> id, NtpState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Description string
Name of the ntp Servers
- Servers List<string>
Adds NTP servers to or deletes NTP servers from the BIG-IP system.
- Timezone string
Specifies the time zone that you want to use for the system time.
Package Details
- Repository
- https://github.com/pulumi/pulumi-f5bigip
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
bigipTerraform Provider.