OVHCloud v0.50.0 published on Friday, Sep 20, 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 dictionary
The 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
- 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
- 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
- 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
- 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
- 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
- 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
ovh
Terraform Provider.