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>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]func LookupNfsShare(ctx *Context, args *LookupNfsShareArgs, opts ...InvokeOption) (*LookupNfsShareResult, error)
func LookupNfsShareOutput(ctx *Context, args *LookupNfsShareOutputArgs, opts ...InvokeOption) LookupNfsShareResultOutput> 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)
}public static CompletableFuture<GetNfsShareResult> getNfsShare(GetNfsShareArgs args, InvokeOptions options)
public static Output<GetNfsShareResult> getNfsShare(GetNfsShareArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:baremetalsolution/v2:getNfsShare
  arguments:
    # arguments dictionaryThe following arguments are supported:
getNfsShare Result
The following output properties are available:
- AllowedClients List<Pulumi.Google Native. Bare Metal Solution. V2. Outputs. Allowed Client Response> 
- List of allowed access points.
- Labels Dictionary<string, string>
- Labels as key value pairs.
- Name string
- Immutable. The name of the NFS share.
- string
- An identifier for the NFS share, generated by the backend. This field will be deprecated in the future, use idinstead.
- 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.
- RequestedSize stringGib 
- 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 []AllowedClient Response 
- List of allowed access points.
- Labels map[string]string
- Labels as key value pairs.
- Name string
- Immutable. The name of the NFS share.
- string
- An identifier for the NFS share, generated by the backend. This field will be deprecated in the future, use idinstead.
- 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.
- RequestedSize stringGib 
- 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<AllowedClient Response> 
- List of allowed access points.
- labels Map<String,String>
- Labels as key value pairs.
- name String
- Immutable. The name of the NFS share.
- String
- An identifier for the NFS share, generated by the backend. This field will be deprecated in the future, use idinstead.
- 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.
- requestedSize StringGib 
- 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 AllowedClient Response[] 
- List of allowed access points.
- labels {[key: string]: string}
- Labels as key value pairs.
- name string
- Immutable. The name of the NFS share.
- string
- An identifier for the NFS share, generated by the backend. This field will be deprecated in the future, use idinstead.
- 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.
- requestedSize stringGib 
- 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[AllowedClient Response] 
- List of allowed access points.
- labels Mapping[str, str]
- Labels as key value pairs.
- name str
- Immutable. The name of the NFS share.
- str
- An identifier for the NFS share, generated by the backend. This field will be deprecated in the future, use idinstead.
- 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_ strgib 
- 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.
- String
- An identifier for the NFS share, generated by the backend. This field will be deprecated in the future, use idinstead.
- 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.
- requestedSize StringGib 
- 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 bool
- Allow dev flag. Which controls whether to allow creation of devices.
- AllowSuid bool
- Allow the setuid flag.
- AllowedClients stringCidr 
- The subnet of IP addresses permitted to access the share.
- MountPermissions string
- Mount permissions.
- Network string
- The network the access point sits on.
- NfsPath 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"
- NoRoot boolSquash 
- 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.
- string
- The IP address of the share on this network. Assigned automatically during provisioning based on the network's services_cidr.
- AllowDev bool
- Allow dev flag. Which controls whether to allow creation of devices.
- AllowSuid bool
- Allow the setuid flag.
- AllowedClients stringCidr 
- The subnet of IP addresses permitted to access the share.
- MountPermissions string
- Mount permissions.
- Network string
- The network the access point sits on.
- NfsPath 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"
- NoRoot boolSquash 
- 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.
- string
- The IP address of the share on this network. Assigned automatically during provisioning based on the network's services_cidr.
- allowDev Boolean
- Allow dev flag. Which controls whether to allow creation of devices.
- allowSuid Boolean
- Allow the setuid flag.
- allowedClients StringCidr 
- The subnet of IP addresses permitted to access the share.
- mountPermissions String
- Mount permissions.
- network String
- The network the access point sits on.
- nfsPath 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"
- noRoot BooleanSquash 
- 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.
- String
- The IP address of the share on this network. Assigned automatically during provisioning based on the network's services_cidr.
- allowDev boolean
- Allow dev flag. Which controls whether to allow creation of devices.
- allowSuid boolean
- Allow the setuid flag.
- allowedClients stringCidr 
- The subnet of IP addresses permitted to access the share.
- mountPermissions string
- Mount permissions.
- network string
- The network the access point sits on.
- nfsPath 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"
- noRoot booleanSquash 
- 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.
- string
- The IP address of the share on this network. Assigned automatically during provisioning based on the network's services_cidr.
- allow_dev bool
- Allow dev flag. Which controls whether to allow creation of devices.
- allow_suid bool
- Allow the setuid flag.
- allowed_clients_ strcidr 
- The subnet of IP addresses permitted to access the share.
- mount_permissions str
- Mount permissions.
- network str
- The network the access point sits on.
- nfs_path 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_ boolsquash 
- 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.
- str
- The IP address of the share on this network. Assigned automatically during provisioning based on the network's services_cidr.
- allowDev Boolean
- Allow dev flag. Which controls whether to allow creation of devices.
- allowSuid Boolean
- Allow the setuid flag.
- allowedClients StringCidr 
- The subnet of IP addresses permitted to access the share.
- mountPermissions String
- Mount permissions.
- network String
- The network the access point sits on.
- nfsPath 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"
- noRoot BooleanSquash 
- 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.
- 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