Viewing docs for powerscale 1.8.1
published on Wednesday, Apr 1, 2026 by dell
published on Wednesday, Apr 1, 2026 by dell
Viewing docs for powerscale 1.8.1
published on Wednesday, Apr 1, 2026 by dell
published on Wednesday, Apr 1, 2026 by dell
This datasource is used to query the NTP Settings 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 Settings to change the settings of NTP Servers
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as powerscale from "@pulumi/powerscale";
//Copyright (c) 2023-2024 Dell Inc., or its subsidiaries. All Rights Reserved.
//
//Licensed under the Mozilla Public License Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
// http://mozilla.org/MPL/2.0/
//
//
//Unless required by applicable law or agreed to in writing, software
//distributed under the License is distributed on an "AS IS" BASIS,
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//See the License for the specific language governing permissions and
//limitations under the License.
// This Terraform DataSource is used to query the details of the NTP settings from PowerScale array.
// Returns the PowerScale NTP settings on PowerScale array
const all = powerscale.getNtpsettings({});
export const powerscaleNtpsettingsDataAll = all;
import pulumi
import pulumi_powerscale as powerscale
#Copyright (c) 2023-2024 Dell Inc., or its subsidiaries. All Rights Reserved.
#
#Licensed under the Mozilla Public License Version 2.0 (the "License");
#you may not use this file except in compliance with the License.
#You may obtain a copy of the License at
#
# http://mozilla.org/MPL/2.0/
#
#
#Unless required by applicable law or agreed to in writing, software
#distributed under the License is distributed on an "AS IS" BASIS,
#WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#See the License for the specific language governing permissions and
#limitations under the License.
# This Terraform DataSource is used to query the details of the NTP settings from PowerScale array.
# Returns the PowerScale NTP settings on PowerScale array
all = powerscale.get_ntpsettings()
pulumi.export("powerscaleNtpsettingsDataAll", all)
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/powerscale/powerscale"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
// Copyright (c) 2023-2024 Dell Inc., or its subsidiaries. All Rights Reserved.
//
// Licensed under the Mozilla Public License Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://mozilla.org/MPL/2.0/
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// This Terraform DataSource is used to query the details of the NTP settings from PowerScale array.
// Returns the PowerScale NTP settings on PowerScale array
all, err := powerscale.LookupNtpsettings(ctx, map[string]interface{}{}, nil)
if err != nil {
return err
}
ctx.Export("powerscaleNtpsettingsDataAll", all)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Powerscale = Pulumi.Powerscale;
return await Deployment.RunAsync(() =>
{
//Copyright (c) 2023-2024 Dell Inc., or its subsidiaries. All Rights Reserved.
//
//Licensed under the Mozilla Public License Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
// http://mozilla.org/MPL/2.0/
//
//
//Unless required by applicable law or agreed to in writing, software
//distributed under the License is distributed on an "AS IS" BASIS,
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//See the License for the specific language governing permissions and
//limitations under the License.
// This Terraform DataSource is used to query the details of the NTP settings from PowerScale array.
// Returns the PowerScale NTP settings on PowerScale array
var all = Powerscale.GetNtpsettings.Invoke();
return new Dictionary<string, object?>
{
["powerscaleNtpsettingsDataAll"] = all,
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.powerscale.PowerscaleFunctions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
//Copyright (c) 2023-2024 Dell Inc., or its subsidiaries. All Rights Reserved.
//
//Licensed under the Mozilla Public License Version 2.0 (the "License");
//you may not use this file except in compliance with the License.
//You may obtain a copy of the License at
//
// http://mozilla.org/MPL/2.0/
//
//
//Unless required by applicable law or agreed to in writing, software
//distributed under the License is distributed on an "AS IS" BASIS,
//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
//See the License for the specific language governing permissions and
//limitations under the License.
// This Terraform DataSource is used to query the details of the NTP settings from PowerScale array.
// Returns the PowerScale NTP settings on PowerScale array
final var all = PowerscaleFunctions.getNtpsettings(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);
ctx.export("powerscaleNtpsettingsDataAll", all);
}
}
variables:
# /*
# Copyright (c) 2023-2024 Dell Inc., or its subsidiaries. All Rights Reserved.
# Licensed under the Mozilla Public License Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://mozilla.org/MPL/2.0/
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# */
# This Terraform DataSource is used to query the details of the NTP settings from PowerScale array.
# Returns the PowerScale NTP settings on PowerScale array
all:
fn::invoke:
function: powerscale:getNtpsettings
arguments: {}
outputs:
# Output value of above block by executing 'terraform output' command
# You can use the the fetched information by the variable data.powerscale_ntpsettings.all
powerscaleNtpsettingsDataAll: ${all}
Using getNtpsettings
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 getNtpsettings(opts?: InvokeOptions): Promise<GetNtpsettingsResult>
function getNtpsettingsOutput(opts?: InvokeOptions): Output<GetNtpsettingsResult>def get_ntpsettings(opts: Optional[InvokeOptions] = None) -> GetNtpsettingsResult
def get_ntpsettings_output(opts: Optional[InvokeOptions] = None) -> Output[GetNtpsettingsResult]func LookupNtpsettings(ctx *Context, opts ...InvokeOption) (*LookupNtpsettingsResult, error)
func LookupNtpsettingsOutput(ctx *Context, opts ...InvokeOption) LookupNtpsettingsResultOutput> Note: This function is named LookupNtpsettings in the Go SDK.
public static class GetNtpsettings
{
public static Task<GetNtpsettingsResult> InvokeAsync(InvokeOptions? opts = null)
public static Output<GetNtpsettingsResult> Invoke(InvokeOptions? opts = null)
}public static CompletableFuture<GetNtpsettingsResult> getNtpsettings(InvokeOptions options)
public static Output<GetNtpsettingsResult> getNtpsettings(InvokeOptions options)
fn::invoke:
function: powerscale:index/getNtpsettings:getNtpsettings
arguments:
# arguments dictionarygetNtpsettings Result
The following output properties are available:
Package Details
- Repository
- powerscale dell/terraform-provider-powerscale
- License
- Notes
- This Pulumi package is based on the
powerscaleTerraform Provider.
Viewing docs for powerscale 1.8.1
published on Wednesday, Apr 1, 2026 by dell
published on Wednesday, Apr 1, 2026 by dell
