OVHCloud v1.0.0 published on Wednesday, Oct 30, 2024 by OVHcloud
ovh.Dedicated.getNasHA
Explore with Pulumi AI
Use this data source to retrieve information about a dedicated HA-NAS.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@pulumi/ovh";
const my-nas-ha = 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/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 my_nas_ha = 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 my-nas-ha = DedicatedFunctions.getNasHA(GetNasHAArgs.builder()
            .serviceName("zpool-12345")
            .build());
    }
}
variables:
  my-nas-ha:
    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)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: ovh:Dedicated/getNasHA:getNasHA
  arguments:
    # arguments dictionaryThe 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:
- CanCreate boolPartition 
- 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
- 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
- CanCreate boolPartition 
- 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
- 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
- canCreate BooleanPartition 
- 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
- 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
- canCreate booleanPartition 
- 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
- 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_ 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
- 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
- canCreate BooleanPartition 
- 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
- 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 ovhTerraform Provider.