Viewing docs for OVHCloud v2.12.0
published on Thursday, Mar 12, 2026 by OVHcloud
published on Thursday, Mar 12, 2026 by OVHcloud
Viewing docs for OVHCloud v2.12.0
published on Thursday, Mar 12, 2026 by OVHcloud
published on Thursday, Mar 12, 2026 by OVHcloud
Use this data source to retrieve information about a dedicated HA-NAS.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@ovhcloud/pulumi-ovh";
const myNasHa = ovh.Dedicated.getNasHA({
serviceName: "zpool-12345",
});
import pulumi
import pulumi_ovh as ovh
my_nas_ha = ovh.Dedicated.get_nas_ha(service_name="zpool-12345")
package main
import (
"github.com/ovh/pulumi-ovh/sdk/v2/go/ovh/dedicated"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dedicated.GetNasHA(ctx, &dedicated.GetNasHAArgs{
ServiceName: "zpool-12345",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ovh = Pulumi.Ovh;
return await Deployment.RunAsync(() =>
{
var myNasHa = Ovh.Dedicated.GetNasHA.Invoke(new()
{
ServiceName = "zpool-12345",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ovh.Dedicated.DedicatedFunctions;
import com.pulumi.ovh.Dedicated.inputs.GetNasHAArgs;
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) {
final var myNasHa = DedicatedFunctions.getNasHA(GetNasHAArgs.builder()
.serviceName("zpool-12345")
.build());
}
}
variables:
myNasHa:
fn::invoke:
function: ovh:Dedicated:getNasHA
arguments:
serviceName: zpool-12345
Using getNasHA
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 getNasHA(args: GetNasHAArgs, opts?: InvokeOptions): Promise<GetNasHAResult>
function getNasHAOutput(args: GetNasHAOutputArgs, opts?: InvokeOptions): Output<GetNasHAResult>def get_nas_ha(service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNasHAResult
def get_nas_ha_output(service_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNasHAResult]func GetNasHA(ctx *Context, args *GetNasHAArgs, opts ...InvokeOption) (*GetNasHAResult, error)
func GetNasHAOutput(ctx *Context, args *GetNasHAOutputArgs, opts ...InvokeOption) GetNasHAResultOutput> Note: This function is named GetNasHA in the Go SDK.
public static class GetNasHA
{
public static Task<GetNasHAResult> InvokeAsync(GetNasHAArgs args, InvokeOptions? opts = null)
public static Output<GetNasHAResult> Invoke(GetNasHAInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNasHAResult> getNasHA(GetNasHAArgs args, InvokeOptions options)
public static Output<GetNasHAResult> getNasHA(GetNasHAArgs args, InvokeOptions options)
fn::invoke:
function: ovh:Dedicated/getNasHA:getNasHA
arguments:
# arguments dictionaryThe following arguments are supported:
- Service
Name string - The service_name of your dedicated HA-NAS.
- Service
Name string - The service_name of your dedicated HA-NAS.
- service
Name String - The service_name of your dedicated HA-NAS.
- service
Name string - The service_name of your dedicated HA-NAS.
- service_
name str - The service_name of your dedicated HA-NAS.
- service
Name String - The service_name of your dedicated HA-NAS.
getNasHA Result
The following output properties are available:
- Can
Create boolPartition - True, if partition creation is allowed on this HA-NAS
- Custom
Name string - The name you give to the HA-NAS
- Datacenter string
- area of HA-NAS
- Disk
Type string - the disk type of the HA-NAS. Possible values are:
hdd,ssd,nvme - Id string
- The provider-assigned unique ID for this managed resource.
- Ip string
- Access IP of HA-NAS
- Monitored bool
- Send an email to customer if any issue is detected
- Nas
HAURN string - the URN of the HA-NAS instance
- Partitions
Lists List<string> - the list of the HA-NAS partitions name
- Service
Name string - The storage service name
- Zpool
Capacity double - percentage of HA-NAS space used in %
- Zpool
Size double - the size of the HA-NAS in GB
- Can
Create boolPartition - True, if partition creation is allowed on this HA-NAS
- Custom
Name string - The name you give to the HA-NAS
- Datacenter string
- area of HA-NAS
- Disk
Type string - the disk type of the HA-NAS. Possible values are:
hdd,ssd,nvme - Id string
- The provider-assigned unique ID for this managed resource.
- Ip string
- Access IP of HA-NAS
- Monitored bool
- Send an email to customer if any issue is detected
- Nas
HAURN string - the URN of the HA-NAS instance
- Partitions
Lists []string - the list of the HA-NAS partitions name
- Service
Name string - The storage service name
- Zpool
Capacity float64 - percentage of HA-NAS space used in %
- Zpool
Size float64 - the size of the HA-NAS in GB
- Nas
HAURN String - the URN of the HA-NAS instance
- can
Create BooleanPartition - True, if partition creation is allowed on this HA-NAS
- custom
Name String - The name you give to the HA-NAS
- datacenter String
- area of HA-NAS
- disk
Type String - the disk type of the HA-NAS. Possible values are:
hdd,ssd,nvme - id String
- The provider-assigned unique ID for this managed resource.
- ip String
- Access IP of HA-NAS
- monitored Boolean
- Send an email to customer if any issue is detected
- partitions
Lists List<String> - the list of the HA-NAS partitions name
- service
Name String - The storage service name
- zpool
Capacity Double - percentage of HA-NAS space used in %
- zpool
Size Double - the size of the HA-NAS in GB
- Nas
HAURN string - the URN of the HA-NAS instance
- can
Create booleanPartition - True, if partition creation is allowed on this HA-NAS
- custom
Name string - The name you give to the HA-NAS
- datacenter string
- area of HA-NAS
- disk
Type string - the disk type of the HA-NAS. Possible values are:
hdd,ssd,nvme - id string
- The provider-assigned unique ID for this managed resource.
- ip string
- Access IP of HA-NAS
- monitored boolean
- Send an email to customer if any issue is detected
- partitions
Lists string[] - the list of the HA-NAS partitions name
- service
Name string - The storage service name
- zpool
Capacity number - percentage of HA-NAS space used in %
- zpool
Size number - the size of the HA-NAS in GB
- can_
create_ boolpartition - True, if partition creation is allowed on this HA-NAS
- custom_
name str - The name you give to the HA-NAS
- datacenter str
- area of HA-NAS
- disk_
type str - the disk type of the HA-NAS. Possible values are:
hdd,ssd,nvme - id str
- The provider-assigned unique ID for this managed resource.
- ip str
- Access IP of HA-NAS
- monitored bool
- Send an email to customer if any issue is detected
- nas_
haurn str - the URN of the HA-NAS instance
- partitions_
lists Sequence[str] - the list of the HA-NAS partitions name
- service_
name str - The storage service name
- zpool_
capacity float - percentage of HA-NAS space used in %
- zpool_
size float - the size of the HA-NAS in GB
- Nas
HAURN String - the URN of the HA-NAS instance
- can
Create BooleanPartition - True, if partition creation is allowed on this HA-NAS
- custom
Name String - The name you give to the HA-NAS
- datacenter String
- area of HA-NAS
- disk
Type String - the disk type of the HA-NAS. Possible values are:
hdd,ssd,nvme - id String
- The provider-assigned unique ID for this managed resource.
- ip String
- Access IP of HA-NAS
- monitored Boolean
- Send an email to customer if any issue is detected
- partitions
Lists List<String> - the list of the HA-NAS partitions name
- service
Name String - The storage service name
- zpool
Capacity Number - percentage of HA-NAS space used in %
- zpool
Size Number - the size of the HA-NAS in GB
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ovhTerraform Provider.
Viewing docs for OVHCloud v2.12.0
published on Thursday, Mar 12, 2026 by OVHcloud
published on Thursday, Mar 12, 2026 by OVHcloud
