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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:baremetalsolution/v2:getNfsShare
arguments:
# arguments dictionary
The following arguments are supported:
getNfsShare Result
The following output properties are available:
- Allowed
Clients 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
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.
- Requested
Size stringGib - The requested size, in GiB.
- State string
- The state of the NFS share.
- Storage
Type string - Immutable. The storage type of the underlying volume.
- Volume string
- The underlying volume of the share. Created automatically during provisioning.
- Allowed
Clients []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
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.
- Requested
Size stringGib - The requested size, in GiB.
- State string
- The state of the NFS share.
- Storage
Type string - Immutable. The storage type of the underlying volume.
- Volume string
- The underlying volume of the share. Created automatically during provisioning.
- allowed
Clients 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
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.
- requested
Size StringGib - The requested size, in GiB.
- state String
- The state of the NFS share.
- storage
Type String - Immutable. The storage type of the underlying volume.
- volume String
- The underlying volume of the share. Created automatically during provisioning.
- allowed
Clients 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
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.
- requested
Size stringGib - The requested size, in GiB.
- state string
- The state of the NFS share.
- storage
Type 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
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_ 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.
- allowed
Clients 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
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.
- requested
Size StringGib - The requested size, in GiB.
- state String
- The state of the NFS share.
- storage
Type String - Immutable. The storage type of the underlying volume.
- volume String
- The underlying volume of the share. Created automatically during provisioning.
Supporting Types
AllowedClientResponse
- Allow
Dev bool - Allow dev flag. Which controls whether to allow creation of devices.
- Allow
Suid bool - Allow the setuid flag.
- Allowed
Clients stringCidr - The subnet of IP addresses permitted to access the share.
- Mount
Permissions string - Mount permissions.
- Network string
- The network the access point sits on.
- Nfs
Path 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"
- 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.
- 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 stringCidr - The subnet of IP addresses permitted to access the share.
- Mount
Permissions string - Mount permissions.
- Network string
- The network the access point sits on.
- Nfs
Path 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"
- 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.
- string
- The IP address of the share on this network. Assigned automatically during provisioning based on the network's services_cidr.
- allow
Dev Boolean - Allow dev flag. Which controls whether to allow creation of devices.
- allow
Suid Boolean - Allow the setuid flag.
- allowed
Clients StringCidr - The subnet of IP addresses permitted to access the share.
- mount
Permissions String - Mount permissions.
- network String
- The network the access point sits on.
- nfs
Path 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"
- no
Root 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 boolean - Allow dev flag. Which controls whether to allow creation of devices.
- allow
Suid boolean - Allow the setuid flag.
- allowed
Clients stringCidr - The subnet of IP addresses permitted to access the share.
- mount
Permissions string - Mount permissions.
- network string
- The network the access point sits on.
- nfs
Path 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"
- no
Root 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.
- allow
Dev Boolean - Allow dev flag. Which controls whether to allow creation of devices.
- allow
Suid Boolean - Allow the setuid flag.
- allowed
Clients StringCidr - The subnet of IP addresses permitted to access the share.
- mount
Permissions String - Mount permissions.
- network String
- The network the access point sits on.
- nfs
Path 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"
- no
Root 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