Show / Hide Table of Contents

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",
    });
}

}
Inheritance
System.Object
Resource
CustomResource
Ntp
Inherited Members
CustomResource.Id
Resource.GetResourceType()
Resource.GetResourceName()
Resource.Urn
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.F5BigIP.Sys
Assembly: Pulumi.F5BigIP.dll
Syntax
public class Ntp : CustomResource

Constructors

View Source

Ntp(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 Source

Description

Name of the ntp Servers

Declaration
public Output<string> Description { get; }
Property Value
Type Description
Output<System.String>
View Source

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>>
View Source

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 Source

Get(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
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.