1. Packages
  2. Google Cloud Native
  3. API Docs
  4. baremetalsolution
  5. baremetalsolution/v2
  6. getNfsShare

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.baremetalsolution/v2.getNfsShare

Explore with Pulumi AI

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

Get details of a single NFS share.

Using getNfsShare

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 getNfsShare(args: GetNfsShareArgs, opts?: InvokeOptions): Promise<GetNfsShareResult>
function getNfsShareOutput(args: GetNfsShareOutputArgs, opts?: InvokeOptions): Output<GetNfsShareResult>
Copy
def get_nfs_share(location: Optional[str] = None,
                  nfs_share_id: Optional[str] = None,
                  project: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetNfsShareResult
def get_nfs_share_output(location: Optional[pulumi.Input[str]] = None,
                  nfs_share_id: Optional[pulumi.Input[str]] = None,
                  project: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetNfsShareResult]
Copy
func LookupNfsShare(ctx *Context, args *LookupNfsShareArgs, opts ...InvokeOption) (*LookupNfsShareResult, error)
func LookupNfsShareOutput(ctx *Context, args *LookupNfsShareOutputArgs, opts ...InvokeOption) LookupNfsShareResultOutput
Copy

> Note: This function is named LookupNfsShare in the Go SDK.

public static class GetNfsShare 
{
    public static Task<GetNfsShareResult> InvokeAsync(GetNfsShareArgs args, InvokeOptions? opts = null)
    public static Output<GetNfsShareResult> Invoke(GetNfsShareInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetNfsShareResult> getNfsShare(GetNfsShareArgs args, InvokeOptions options)
public static Output<GetNfsShareResult> getNfsShare(GetNfsShareArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: google-native:baremetalsolution/v2:getNfsShare
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Location This property is required. string
NfsShareId This property is required. string
Project string
Location This property is required. string
NfsShareId This property is required. string
Project string
location This property is required. String
nfsShareId This property is required. String
project String
location This property is required. string
nfsShareId This property is required. string
project string
location This property is required. str
nfs_share_id This property is required. str
project str
location This property is required. String
nfsShareId This property is required. String
project String

getNfsShare Result

The following output properties are available:

AllowedClients List<Pulumi.GoogleNative.BareMetalSolution.V2.Outputs.AllowedClientResponse>
List of allowed access points.
Labels Dictionary<string, string>
Labels as key value pairs.
Name string
Immutable. The name of the NFS share.
NfsShareId string
An identifier for the NFS share, generated by the backend. This field will be deprecated in the future, use id instead.
Pod string
Immutable. Pod name. Pod is an independent part of infrastructure. NFSShare can only be connected to the assets (networks, instances) allocated in the same pod.
RequestedSizeGib string
The requested size, in GiB.
State string
The state of the NFS share.
StorageType string
Immutable. The storage type of the underlying volume.
Volume string
The underlying volume of the share. Created automatically during provisioning.
AllowedClients []AllowedClientResponse
List of allowed access points.
Labels map[string]string
Labels as key value pairs.
Name string
Immutable. The name of the NFS share.
NfsShareId string
An identifier for the NFS share, generated by the backend. This field will be deprecated in the future, use id instead.
Pod string
Immutable. Pod name. Pod is an independent part of infrastructure. NFSShare can only be connected to the assets (networks, instances) allocated in the same pod.
RequestedSizeGib string
The requested size, in GiB.
State string
The state of the NFS share.
StorageType string
Immutable. The storage type of the underlying volume.
Volume string
The underlying volume of the share. Created automatically during provisioning.
allowedClients List<AllowedClientResponse>
List of allowed access points.
labels Map<String,String>
Labels as key value pairs.
name String
Immutable. The name of the NFS share.
nfsShareId String
An identifier for the NFS share, generated by the backend. This field will be deprecated in the future, use id instead.
pod String
Immutable. Pod name. Pod is an independent part of infrastructure. NFSShare can only be connected to the assets (networks, instances) allocated in the same pod.
requestedSizeGib String
The requested size, in GiB.
state String
The state of the NFS share.
storageType String
Immutable. The storage type of the underlying volume.
volume String
The underlying volume of the share. Created automatically during provisioning.
allowedClients AllowedClientResponse[]
List of allowed access points.
labels {[key: string]: string}
Labels as key value pairs.
name string
Immutable. The name of the NFS share.
nfsShareId string
An identifier for the NFS share, generated by the backend. This field will be deprecated in the future, use id instead.
pod string
Immutable. Pod name. Pod is an independent part of infrastructure. NFSShare can only be connected to the assets (networks, instances) allocated in the same pod.
requestedSizeGib string
The requested size, in GiB.
state string
The state of the NFS share.
storageType string
Immutable. The storage type of the underlying volume.
volume string
The underlying volume of the share. Created automatically during provisioning.
allowed_clients Sequence[AllowedClientResponse]
List of allowed access points.
labels Mapping[str, str]
Labels as key value pairs.
name str
Immutable. The name of the NFS share.
nfs_share_id str
An identifier for the NFS share, generated by the backend. This field will be deprecated in the future, use id instead.
pod str
Immutable. Pod name. Pod is an independent part of infrastructure. NFSShare can only be connected to the assets (networks, instances) allocated in the same pod.
requested_size_gib str
The requested size, in GiB.
state str
The state of the NFS share.
storage_type str
Immutable. The storage type of the underlying volume.
volume str
The underlying volume of the share. Created automatically during provisioning.
allowedClients List<Property Map>
List of allowed access points.
labels Map<String>
Labels as key value pairs.
name String
Immutable. The name of the NFS share.
nfsShareId String
An identifier for the NFS share, generated by the backend. This field will be deprecated in the future, use id instead.
pod String
Immutable. Pod name. Pod is an independent part of infrastructure. NFSShare can only be connected to the assets (networks, instances) allocated in the same pod.
requestedSizeGib String
The requested size, in GiB.
state String
The state of the NFS share.
storageType String
Immutable. The storage type of the underlying volume.
volume String
The underlying volume of the share. Created automatically during provisioning.

Supporting Types

AllowedClientResponse

AllowDev This property is required. bool
Allow dev flag. Which controls whether to allow creation of devices.
AllowSuid This property is required. bool
Allow the setuid flag.
AllowedClientsCidr This property is required. string
The subnet of IP addresses permitted to access the share.
MountPermissions This property is required. string
Mount permissions.
Network This property is required. string
The network the access point sits on.
NfsPath This property is required. string
The path to access NFS, in format shareIP:/InstanceID InstanceID is the generated ID instead of customer provided name. example like "10.0.0.0:/g123456789-nfs001"
NoRootSquash This property is required. bool
Disable root squashing, which is a feature of NFS. Root squash is a special mapping of the remote superuser (root) identity when using identity authentication.
ShareIp This property is required. string
The IP address of the share on this network. Assigned automatically during provisioning based on the network's services_cidr.
AllowDev This property is required. bool
Allow dev flag. Which controls whether to allow creation of devices.
AllowSuid This property is required. bool
Allow the setuid flag.
AllowedClientsCidr This property is required. string
The subnet of IP addresses permitted to access the share.
MountPermissions This property is required. string
Mount permissions.
Network This property is required. string
The network the access point sits on.
NfsPath This property is required. string
The path to access NFS, in format shareIP:/InstanceID InstanceID is the generated ID instead of customer provided name. example like "10.0.0.0:/g123456789-nfs001"
NoRootSquash This property is required. bool
Disable root squashing, which is a feature of NFS. Root squash is a special mapping of the remote superuser (root) identity when using identity authentication.
ShareIp This property is required. string
The IP address of the share on this network. Assigned automatically during provisioning based on the network's services_cidr.
allowDev This property is required. Boolean
Allow dev flag. Which controls whether to allow creation of devices.
allowSuid This property is required. Boolean
Allow the setuid flag.
allowedClientsCidr This property is required. String
The subnet of IP addresses permitted to access the share.
mountPermissions This property is required. String
Mount permissions.
network This property is required. String
The network the access point sits on.
nfsPath This property is required. String
The path to access NFS, in format shareIP:/InstanceID InstanceID is the generated ID instead of customer provided name. example like "10.0.0.0:/g123456789-nfs001"
noRootSquash This property is required. Boolean
Disable root squashing, which is a feature of NFS. Root squash is a special mapping of the remote superuser (root) identity when using identity authentication.
shareIp This property is required. String
The IP address of the share on this network. Assigned automatically during provisioning based on the network's services_cidr.
allowDev This property is required. boolean
Allow dev flag. Which controls whether to allow creation of devices.
allowSuid This property is required. boolean
Allow the setuid flag.
allowedClientsCidr This property is required. string
The subnet of IP addresses permitted to access the share.
mountPermissions This property is required. string
Mount permissions.
network This property is required. string
The network the access point sits on.
nfsPath This property is required. string
The path to access NFS, in format shareIP:/InstanceID InstanceID is the generated ID instead of customer provided name. example like "10.0.0.0:/g123456789-nfs001"
noRootSquash This property is required. boolean
Disable root squashing, which is a feature of NFS. Root squash is a special mapping of the remote superuser (root) identity when using identity authentication.
shareIp This property is required. string
The IP address of the share on this network. Assigned automatically during provisioning based on the network's services_cidr.
allow_dev This property is required. bool
Allow dev flag. Which controls whether to allow creation of devices.
allow_suid This property is required. bool
Allow the setuid flag.
allowed_clients_cidr This property is required. str
The subnet of IP addresses permitted to access the share.
mount_permissions This property is required. str
Mount permissions.
network This property is required. str
The network the access point sits on.
nfs_path This property is required. str
The path to access NFS, in format shareIP:/InstanceID InstanceID is the generated ID instead of customer provided name. example like "10.0.0.0:/g123456789-nfs001"
no_root_squash This property is required. bool
Disable root squashing, which is a feature of NFS. Root squash is a special mapping of the remote superuser (root) identity when using identity authentication.
share_ip This property is required. str
The IP address of the share on this network. Assigned automatically during provisioning based on the network's services_cidr.
allowDev This property is required. Boolean
Allow dev flag. Which controls whether to allow creation of devices.
allowSuid This property is required. Boolean
Allow the setuid flag.
allowedClientsCidr This property is required. String
The subnet of IP addresses permitted to access the share.
mountPermissions This property is required. String
Mount permissions.
network This property is required. String
The network the access point sits on.
nfsPath This property is required. String
The path to access NFS, in format shareIP:/InstanceID InstanceID is the generated ID instead of customer provided name. example like "10.0.0.0:/g123456789-nfs001"
noRootSquash This property is required. Boolean
Disable root squashing, which is a feature of NFS. Root squash is a special mapping of the remote superuser (root) identity when using identity authentication.
shareIp This property is required. String
The IP address of the share on this network. Assigned automatically during provisioning based on the network's services_cidr.

Package Details

Repository
Google Cloud Native pulumi/pulumi-google-native
License
Apache-2.0

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi