Class 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",
});
}
}
Inherited Members
Namespace: Pulumi.F5BigIP.Sys
Assembly: Pulumi.F5BigIP.dll
Syntax
public class Ntp : CustomResource
Constructors
View SourceNtp(String, NtpArgs, CustomResourceOptions)
Create a Ntp resource with the given unique name, arguments, and options.
Declaration
public Ntp(string name, NtpArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| NtpArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceDescription
Name of the ntp Servers
Declaration
public Output<string> Description { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Servers
Adds NTP servers to or deletes NTP servers from the BIG-IP system.
Declaration
public Output<ImmutableArray<string>> Servers { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
Timezone
Specifies the time zone that you want to use for the system time.
Declaration
public Output<string> Timezone { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, NtpState, CustomResourceOptions)
Get an existing Ntp resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Ntp Get(string name, Input<string> id, NtpState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| NtpState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Ntp |