1. Packages
  2. OVH
  3. API Docs
  4. Dedicated
  5. getNasHA
OVHCloud v2.8.0 published on Wednesday, Sep 24, 2025 by OVHcloud

ovh.Dedicated.getNasHA

Start a Neo task
Explain and create an ovh.Dedicated.getNasHA resource
ovh logo
OVHCloud v2.8.0 published on Wednesday, Sep 24, 2025 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 dictionary

    The following arguments are supported:

    ServiceName string
    The service_name of your dedicated HA-NAS.
    ServiceName string
    The service_name of your dedicated HA-NAS.
    serviceName String
    The service_name of your dedicated HA-NAS.
    serviceName string
    The service_name of your dedicated HA-NAS.
    service_name str
    The service_name of your dedicated HA-NAS.
    serviceName String
    The service_name of your dedicated HA-NAS.

    getNasHA Result

    The following output properties are available:

    CanCreatePartition bool
    True, if partition creation is allowed on this HA-NAS
    CustomName string
    The name you give to the HA-NAS
    Datacenter string
    area of HA-NAS
    DiskType 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
    NasHAURN string
    the URN of the HA-NAS instance
    PartitionsLists List<string>
    the list of the HA-NAS partitions name
    ServiceName string
    The storage service name
    ZpoolCapacity double
    percentage of HA-NAS space used in %
    ZpoolSize double
    the size of the HA-NAS in GB
    CanCreatePartition bool
    True, if partition creation is allowed on this HA-NAS
    CustomName string
    The name you give to the HA-NAS
    Datacenter string
    area of HA-NAS
    DiskType 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
    NasHAURN string
    the URN of the HA-NAS instance
    PartitionsLists []string
    the list of the HA-NAS partitions name
    ServiceName string
    The storage service name
    ZpoolCapacity float64
    percentage of HA-NAS space used in %
    ZpoolSize float64
    the size of the HA-NAS in GB
    NasHAURN String
    the URN of the HA-NAS instance
    canCreatePartition Boolean
    True, if partition creation is allowed on this HA-NAS
    customName String
    The name you give to the HA-NAS
    datacenter String
    area of HA-NAS
    diskType 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
    partitionsLists List<String>
    the list of the HA-NAS partitions name
    serviceName String
    The storage service name
    zpoolCapacity Double
    percentage of HA-NAS space used in %
    zpoolSize Double
    the size of the HA-NAS in GB
    NasHAURN string
    the URN of the HA-NAS instance
    canCreatePartition boolean
    True, if partition creation is allowed on this HA-NAS
    customName string
    The name you give to the HA-NAS
    datacenter string
    area of HA-NAS
    diskType 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
    partitionsLists string[]
    the list of the HA-NAS partitions name
    serviceName string
    The storage service name
    zpoolCapacity number
    percentage of HA-NAS space used in %
    zpoolSize number
    the size of the HA-NAS in GB
    can_create_partition bool
    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
    NasHAURN String
    the URN of the HA-NAS instance
    canCreatePartition Boolean
    True, if partition creation is allowed on this HA-NAS
    customName String
    The name you give to the HA-NAS
    datacenter String
    area of HA-NAS
    diskType 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
    partitionsLists List<String>
    the list of the HA-NAS partitions name
    serviceName String
    The storage service name
    zpoolCapacity Number
    percentage of HA-NAS space used in %
    zpoolSize 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 ovh Terraform Provider.
    ovh logo
    OVHCloud v2.8.0 published on Wednesday, Sep 24, 2025 by OVHcloud
      Meet Neo: Your AI Platform Teammate