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-native logo

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:

    Location string
    NfsShareId string
    Project string
    Location string
    NfsShareId string
    Project string
    location String
    nfsShareId String
    project String
    location string
    nfsShareId string
    project string
    location String
    nfsShareId 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 bool
    Allow dev flag. Which controls whether to allow creation of devices.
    AllowSuid bool
    Allow the setuid flag.
    AllowedClientsCidr string
    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"
    NoRootSquash 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 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.
    AllowedClientsCidr string
    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"
    NoRootSquash 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 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.
    allowedClientsCidr String
    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"
    noRootSquash 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 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.
    allowedClientsCidr string
    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"
    noRootSquash 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 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_cidr str
    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_squash 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 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.
    allowedClientsCidr String
    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"
    noRootSquash 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 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-native logo

    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