ionoscloud 6.7.6 published on Monday, Apr 14, 2025 by ionos-cloud
ionoscloud.getNfsCluster
Explore with Pulumi AI
ionoscloud 6.7.6 published on Monday, Apr 14, 2025 by ionos-cloud
Returns information about clusters of Network File Storage (NFS) on IonosCloud.
By ID
import * as pulumi from "@pulumi/pulumi";
import * as ionoscloud from "@pulumi/ionoscloud";
const example = ionoscloud.getNfsCluster({
id: "cluster-id",
location: "location",
});
import pulumi
import pulumi_ionoscloud as ionoscloud
example = ionoscloud.get_nfs_cluster(id="cluster-id",
location="location")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ionoscloud/v6/ionoscloud"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ionoscloud.LookupNfsCluster(ctx, &ionoscloud.LookupNfsClusterArgs{
Id: pulumi.StringRef("cluster-id"),
Location: "location",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ionoscloud = Pulumi.Ionoscloud;
return await Deployment.RunAsync(() =>
{
var example = Ionoscloud.GetNfsCluster.Invoke(new()
{
Id = "cluster-id",
Location = "location",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ionoscloud.IonoscloudFunctions;
import com.pulumi.ionoscloud.inputs.GetNfsClusterArgs;
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 example = IonoscloudFunctions.getNfsCluster(GetNfsClusterArgs.builder()
.id("cluster-id")
.location("location")
.build());
}
}
variables:
example:
fn::invoke:
function: ionoscloud:getNfsCluster
arguments:
id: cluster-id
location: location
Using getNfsCluster
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 getNfsCluster(args: GetNfsClusterArgs, opts?: InvokeOptions): Promise<GetNfsClusterResult>
function getNfsClusterOutput(args: GetNfsClusterOutputArgs, opts?: InvokeOptions): Output<GetNfsClusterResult>def get_nfs_cluster(id: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
partial_match: Optional[bool] = None,
opts: Optional[InvokeOptions] = None) -> GetNfsClusterResult
def get_nfs_cluster_output(id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
partial_match: Optional[pulumi.Input[bool]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNfsClusterResult]func LookupNfsCluster(ctx *Context, args *LookupNfsClusterArgs, opts ...InvokeOption) (*LookupNfsClusterResult, error)
func LookupNfsClusterOutput(ctx *Context, args *LookupNfsClusterOutputArgs, opts ...InvokeOption) LookupNfsClusterResultOutput> Note: This function is named LookupNfsCluster in the Go SDK.
public static class GetNfsCluster
{
public static Task<GetNfsClusterResult> InvokeAsync(GetNfsClusterArgs args, InvokeOptions? opts = null)
public static Output<GetNfsClusterResult> Invoke(GetNfsClusterInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNfsClusterResult> getNfsCluster(GetNfsClusterArgs args, InvokeOptions options)
public static Output<GetNfsClusterResult> getNfsCluster(GetNfsClusterArgs args, InvokeOptions options)
fn::invoke:
function: ionoscloud:index/getNfsCluster:getNfsCluster
arguments:
# arguments dictionaryThe following arguments are supported:
- Location string
- The location where the Network File Storage cluster is located.
- Id string
- ID of the Network File Storage cluster.
- Name string
- Name of the Network File Storage cluster.
- Partial
Match bool - Whether partial matching is allowed or not when using the name filter. Defaults to
false.
- Location string
- The location where the Network File Storage cluster is located.
- Id string
- ID of the Network File Storage cluster.
- Name string
- Name of the Network File Storage cluster.
- Partial
Match bool - Whether partial matching is allowed or not when using the name filter. Defaults to
false.
- location String
- The location where the Network File Storage cluster is located.
- id String
- ID of the Network File Storage cluster.
- name String
- Name of the Network File Storage cluster.
- partial
Match Boolean - Whether partial matching is allowed or not when using the name filter. Defaults to
false.
- location string
- The location where the Network File Storage cluster is located.
- id string
- ID of the Network File Storage cluster.
- name string
- Name of the Network File Storage cluster.
- partial
Match boolean - Whether partial matching is allowed or not when using the name filter. Defaults to
false.
- location str
- The location where the Network File Storage cluster is located.
- id str
- ID of the Network File Storage cluster.
- name str
- Name of the Network File Storage cluster.
- partial_
match bool - Whether partial matching is allowed or not when using the name filter. Defaults to
false.
- location String
- The location where the Network File Storage cluster is located.
- id String
- ID of the Network File Storage cluster.
- name String
- Name of the Network File Storage cluster.
- partial
Match Boolean - Whether partial matching is allowed or not when using the name filter. Defaults to
false.
getNfsCluster Result
The following output properties are available:
- Connections
List<Get
Nfs Cluster Connection> - A list of connections for the Network File Storage cluster. You can specify only one connection. Each connection supports the following:
- Id string
- The ID of the Network File Storage cluster.
- Location string
- The location where the Network File Storage cluster is located.
- Name string
- The name of the Network File Storage cluster.
- Nfs
List<Get
Nfs Cluster Nf> - The NFS configuration for the Network File Storage cluster. Each NFS configuration supports the following:
- Size double
- The size of the Network File Storage cluster in TiB. Note that the cluster size cannot be reduced after provisioning. This value determines the billing fees. Default is
2. The minimum value is2and the maximum value is42. - Partial
Match bool
- Connections
[]Get
Nfs Cluster Connection - A list of connections for the Network File Storage cluster. You can specify only one connection. Each connection supports the following:
- Id string
- The ID of the Network File Storage cluster.
- Location string
- The location where the Network File Storage cluster is located.
- Name string
- The name of the Network File Storage cluster.
- Nfs
[]Get
Nfs Cluster Nf - The NFS configuration for the Network File Storage cluster. Each NFS configuration supports the following:
- Size float64
- The size of the Network File Storage cluster in TiB. Note that the cluster size cannot be reduced after provisioning. This value determines the billing fees. Default is
2. The minimum value is2and the maximum value is42. - Partial
Match bool
- connections
List<Get
Nfs Cluster Connection> - A list of connections for the Network File Storage cluster. You can specify only one connection. Each connection supports the following:
- id String
- The ID of the Network File Storage cluster.
- location String
- The location where the Network File Storage cluster is located.
- name String
- The name of the Network File Storage cluster.
- nfs
List<Get
Nfs Cluster Nf> - The NFS configuration for the Network File Storage cluster. Each NFS configuration supports the following:
- size Double
- The size of the Network File Storage cluster in TiB. Note that the cluster size cannot be reduced after provisioning. This value determines the billing fees. Default is
2. The minimum value is2and the maximum value is42. - partial
Match Boolean
- connections
Get
Nfs Cluster Connection[] - A list of connections for the Network File Storage cluster. You can specify only one connection. Each connection supports the following:
- id string
- The ID of the Network File Storage cluster.
- location string
- The location where the Network File Storage cluster is located.
- name string
- The name of the Network File Storage cluster.
- nfs
Get
Nfs Cluster Nf[] - The NFS configuration for the Network File Storage cluster. Each NFS configuration supports the following:
- size number
- The size of the Network File Storage cluster in TiB. Note that the cluster size cannot be reduced after provisioning. This value determines the billing fees. Default is
2. The minimum value is2and the maximum value is42. - partial
Match boolean
- connections
Sequence[Get
Nfs Cluster Connection] - A list of connections for the Network File Storage cluster. You can specify only one connection. Each connection supports the following:
- id str
- The ID of the Network File Storage cluster.
- location str
- The location where the Network File Storage cluster is located.
- name str
- The name of the Network File Storage cluster.
- nfs
Sequence[Get
Nfs Cluster Nf] - The NFS configuration for the Network File Storage cluster. Each NFS configuration supports the following:
- size float
- The size of the Network File Storage cluster in TiB. Note that the cluster size cannot be reduced after provisioning. This value determines the billing fees. Default is
2. The minimum value is2and the maximum value is42. - partial_
match bool
- connections List<Property Map>
- A list of connections for the Network File Storage cluster. You can specify only one connection. Each connection supports the following:
- id String
- The ID of the Network File Storage cluster.
- location String
- The location where the Network File Storage cluster is located.
- name String
- The name of the Network File Storage cluster.
- nfs List<Property Map>
- The NFS configuration for the Network File Storage cluster. Each NFS configuration supports the following:
- size Number
- The size of the Network File Storage cluster in TiB. Note that the cluster size cannot be reduced after provisioning. This value determines the billing fees. Default is
2. The minimum value is2and the maximum value is42. - partial
Match Boolean
Supporting Types
GetNfsClusterConnection
- Datacenter
Id string - The ID of the datacenter where the Network File Storage cluster is located.
- Ip
Address string - The IP address and prefix of the Network File Storage cluster. The IP address can be either IPv4 or IPv6. The IP address has to be given with CIDR notation.
- Lan string
- The Private LAN to which the Network File Storage cluster must be connected.
- Datacenter
Id string - The ID of the datacenter where the Network File Storage cluster is located.
- Ip
Address string - The IP address and prefix of the Network File Storage cluster. The IP address can be either IPv4 or IPv6. The IP address has to be given with CIDR notation.
- Lan string
- The Private LAN to which the Network File Storage cluster must be connected.
- datacenter
Id String - The ID of the datacenter where the Network File Storage cluster is located.
- ip
Address String - The IP address and prefix of the Network File Storage cluster. The IP address can be either IPv4 or IPv6. The IP address has to be given with CIDR notation.
- lan String
- The Private LAN to which the Network File Storage cluster must be connected.
- datacenter
Id string - The ID of the datacenter where the Network File Storage cluster is located.
- ip
Address string - The IP address and prefix of the Network File Storage cluster. The IP address can be either IPv4 or IPv6. The IP address has to be given with CIDR notation.
- lan string
- The Private LAN to which the Network File Storage cluster must be connected.
- datacenter_
id str - The ID of the datacenter where the Network File Storage cluster is located.
- ip_
address str - The IP address and prefix of the Network File Storage cluster. The IP address can be either IPv4 or IPv6. The IP address has to be given with CIDR notation.
- lan str
- The Private LAN to which the Network File Storage cluster must be connected.
- datacenter
Id String - The ID of the datacenter where the Network File Storage cluster is located.
- ip
Address String - The IP address and prefix of the Network File Storage cluster. The IP address can be either IPv4 or IPv6. The IP address has to be given with CIDR notation.
- lan String
- The Private LAN to which the Network File Storage cluster must be connected.
GetNfsClusterNf
- Min
Version string - The minimum supported version of the NFS cluster. Default is
4.2
- Min
Version string - The minimum supported version of the NFS cluster. Default is
4.2
- min
Version String - The minimum supported version of the NFS cluster. Default is
4.2
- min
Version string - The minimum supported version of the NFS cluster. Default is
4.2
- min_
version str - The minimum supported version of the NFS cluster. Default is
4.2
- min
Version String - The minimum supported version of the NFS cluster. Default is
4.2
Package Details
- Repository
- ionoscloud ionos-cloud/terraform-provider-ionoscloud
- License
- Notes
- This Pulumi package is based on the
ionoscloudTerraform Provider.
ionoscloud 6.7.6 published on Monday, Apr 14, 2025 by ionos-cloud