@pulumi/f5bigip
Version:
A Pulumi package for creating and managing F5 BigIP resources.
89 lines (88 loc) • 3.02 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* `f5bigip.sys.Ntp` resource is helpful when configuring NTP server on the BIG-IP.
*
* ## Example Usage
*
* ```typescript
* 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",
* });
* ```
*/
export declare class Ntp extends pulumi.CustomResource {
/**
* Get an existing Ntp resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NtpState, opts?: pulumi.CustomResourceOptions): Ntp;
/**
* Returns true if the given object is an instance of Ntp. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is Ntp;
/**
* User defined description.
*/
readonly description: pulumi.Output<string>;
/**
* Specifies the time servers that the system uses to update the system time.
*/
readonly servers: pulumi.Output<string[]>;
/**
* Specifies the time zone that you want to use for the system time.
*/
readonly timezone: pulumi.Output<string | undefined>;
/**
* Create a Ntp resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args: NtpArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering Ntp resources.
*/
export interface NtpState {
/**
* User defined description.
*/
description?: pulumi.Input<string>;
/**
* Specifies the time servers that the system uses to update the system time.
*/
servers?: pulumi.Input<pulumi.Input<string>[]>;
/**
* Specifies the time zone that you want to use for the system time.
*/
timezone?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a Ntp resource.
*/
export interface NtpArgs {
/**
* User defined description.
*/
description: pulumi.Input<string>;
/**
* Specifies the time servers that the system uses to update the system time.
*/
servers: pulumi.Input<pulumi.Input<string>[]>;
/**
* Specifies the time zone that you want to use for the system time.
*/
timezone?: pulumi.Input<string>;
}