1. Packages
  2. Powerscale Provider
  3. API Docs
  4. getNtpserver
powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell

powerscale.getNtpserver

Explore with Pulumi AI

powerscale logo
powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell

    This datasource is used to query the existing NTP Servers from PowerScale array. The information fetched from this datasource can be used for getting the details or for further processing in resource block. You can use NTP Servers to synchronize the system time

    Using getNtpserver

    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 getNtpserver(args: GetNtpserverArgs, opts?: InvokeOptions): Promise<GetNtpserverResult>
    function getNtpserverOutput(args: GetNtpserverOutputArgs, opts?: InvokeOptions): Output<GetNtpserverResult>
    def get_ntpserver(filter: Optional[GetNtpserverFilter] = None,
                      opts: Optional[InvokeOptions] = None) -> GetNtpserverResult
    def get_ntpserver_output(filter: Optional[pulumi.Input[GetNtpserverFilterArgs]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetNtpserverResult]
    func LookupNtpserver(ctx *Context, args *LookupNtpserverArgs, opts ...InvokeOption) (*LookupNtpserverResult, error)
    func LookupNtpserverOutput(ctx *Context, args *LookupNtpserverOutputArgs, opts ...InvokeOption) LookupNtpserverResultOutput

    > Note: This function is named LookupNtpserver in the Go SDK.

    public static class GetNtpserver 
    {
        public static Task<GetNtpserverResult> InvokeAsync(GetNtpserverArgs args, InvokeOptions? opts = null)
        public static Output<GetNtpserverResult> Invoke(GetNtpserverInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNtpserverResult> getNtpserver(GetNtpserverArgs args, InvokeOptions options)
    public static Output<GetNtpserverResult> getNtpserver(GetNtpserverArgs args, InvokeOptions options)
    
    fn::invoke:
      function: powerscale:index/getNtpserver:getNtpserver
      arguments:
        # arguments dictionary

    The following arguments are supported:

    getNtpserver Result

    The following output properties are available:

    Id string
    Unique identifier of the NTP Server instance.
    NtpServersDetails List<GetNtpserverNtpServersDetail>
    List of NTP Servers.
    Filter GetNtpserverFilter
    Id string
    Unique identifier of the NTP Server instance.
    NtpServersDetails []GetNtpserverNtpServersDetail
    List of NTP Servers.
    Filter GetNtpserverFilter
    id String
    Unique identifier of the NTP Server instance.
    ntpServersDetails List<GetNtpserverNtpServersDetail>
    List of NTP Servers.
    filter GetNtpserverFilter
    id string
    Unique identifier of the NTP Server instance.
    ntpServersDetails GetNtpserverNtpServersDetail[]
    List of NTP Servers.
    filter GetNtpserverFilter
    id str
    Unique identifier of the NTP Server instance.
    ntp_servers_details Sequence[GetNtpserverNtpServersDetail]
    List of NTP Servers.
    filter GetNtpserverFilter
    id String
    Unique identifier of the NTP Server instance.
    ntpServersDetails List<Property Map>
    List of NTP Servers.
    filter Property Map

    Supporting Types

    GetNtpserverFilter

    Names List<string>
    Filter NTP Servers by names.
    Names []string
    Filter NTP Servers by names.
    names List<String>
    Filter NTP Servers by names.
    names string[]
    Filter NTP Servers by names.
    names Sequence[str]
    Filter NTP Servers by names.
    names List<String>
    Filter NTP Servers by names.

    GetNtpserverNtpServersDetail

    Id string
    Field ID.
    Key string
    Key value from key_file that maps to this server.
    Name string
    NTP server name.
    Id string
    Field ID.
    Key string
    Key value from key_file that maps to this server.
    Name string
    NTP server name.
    id String
    Field ID.
    key String
    Key value from key_file that maps to this server.
    name String
    NTP server name.
    id string
    Field ID.
    key string
    Key value from key_file that maps to this server.
    name string
    NTP server name.
    id str
    Field ID.
    key str
    Key value from key_file that maps to this server.
    name str
    NTP server name.
    id String
    Field ID.
    key String
    Key value from key_file that maps to this server.
    name String
    NTP server name.

    Package Details

    Repository
    powerscale dell/terraform-provider-powerscale
    License
    Notes
    This Pulumi package is based on the powerscale Terraform Provider.
    powerscale logo
    powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell