1. Packages
  2. Google Cloud Native
  3. API Docs
  4. file
  5. file/v1beta1
  6. Share

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.file/v1beta1.Share

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

    Creates a share. Auto-naming is currently not supported for this resource.

    Create Share Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Share(name: string, args: ShareArgs, opts?: CustomResourceOptions);
    @overload
    def Share(resource_name: str,
              args: ShareArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Share(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              instance_id: Optional[str] = None,
              share_id: Optional[str] = None,
              backup: Optional[str] = None,
              capacity_gb: Optional[str] = None,
              description: Optional[str] = None,
              labels: Optional[Mapping[str, str]] = None,
              location: Optional[str] = None,
              mount_name: Optional[str] = None,
              nfs_export_options: Optional[Sequence[NfsExportOptionsArgs]] = None,
              project: Optional[str] = None)
    func NewShare(ctx *Context, name string, args ShareArgs, opts ...ResourceOption) (*Share, error)
    public Share(string name, ShareArgs args, CustomResourceOptions? opts = null)
    public Share(String name, ShareArgs args)
    public Share(String name, ShareArgs args, CustomResourceOptions options)
    
    type: google-native:file/v1beta1:Share
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ShareArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ShareArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ShareArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ShareArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ShareArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var shareResource = new GoogleNative.File.V1Beta1.Share("shareResource", new()
    {
        InstanceId = "string",
        ShareId = "string",
        Backup = "string",
        CapacityGb = "string",
        Description = "string",
        Labels = 
        {
            { "string", "string" },
        },
        Location = "string",
        MountName = "string",
        NfsExportOptions = new[]
        {
            new GoogleNative.File.V1Beta1.Inputs.NfsExportOptionsArgs
            {
                AccessMode = GoogleNative.File.V1Beta1.NfsExportOptionsAccessMode.AccessModeUnspecified,
                AnonGid = "string",
                AnonUid = "string",
                IpRanges = new[]
                {
                    "string",
                },
                SecurityFlavors = new[]
                {
                    GoogleNative.File.V1Beta1.NfsExportOptionsSecurityFlavorsItem.SecurityFlavorUnspecified,
                },
                SquashMode = GoogleNative.File.V1Beta1.NfsExportOptionsSquashMode.SquashModeUnspecified,
            },
        },
        Project = "string",
    });
    
    example, err := filev1beta1.NewShare(ctx, "shareResource", &filev1beta1.ShareArgs{
    	InstanceId:  pulumi.String("string"),
    	ShareId:     pulumi.String("string"),
    	Backup:      pulumi.String("string"),
    	CapacityGb:  pulumi.String("string"),
    	Description: pulumi.String("string"),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Location:  pulumi.String("string"),
    	MountName: pulumi.String("string"),
    	NfsExportOptions: file.NfsExportOptionsArray{
    		&file.NfsExportOptionsArgs{
    			AccessMode: filev1beta1.NfsExportOptionsAccessModeAccessModeUnspecified,
    			AnonGid:    pulumi.String("string"),
    			AnonUid:    pulumi.String("string"),
    			IpRanges: pulumi.StringArray{
    				pulumi.String("string"),
    			},
    			SecurityFlavors: file.NfsExportOptionsSecurityFlavorsItemArray{
    				filev1beta1.NfsExportOptionsSecurityFlavorsItemSecurityFlavorUnspecified,
    			},
    			SquashMode: filev1beta1.NfsExportOptionsSquashModeSquashModeUnspecified,
    		},
    	},
    	Project: pulumi.String("string"),
    })
    
    var shareResource = new Share("shareResource", ShareArgs.builder()
        .instanceId("string")
        .shareId("string")
        .backup("string")
        .capacityGb("string")
        .description("string")
        .labels(Map.of("string", "string"))
        .location("string")
        .mountName("string")
        .nfsExportOptions(NfsExportOptionsArgs.builder()
            .accessMode("ACCESS_MODE_UNSPECIFIED")
            .anonGid("string")
            .anonUid("string")
            .ipRanges("string")
            .securityFlavors("SECURITY_FLAVOR_UNSPECIFIED")
            .squashMode("SQUASH_MODE_UNSPECIFIED")
            .build())
        .project("string")
        .build());
    
    share_resource = google_native.file.v1beta1.Share("shareResource",
        instance_id="string",
        share_id="string",
        backup="string",
        capacity_gb="string",
        description="string",
        labels={
            "string": "string",
        },
        location="string",
        mount_name="string",
        nfs_export_options=[{
            "access_mode": google_native.file.v1beta1.NfsExportOptionsAccessMode.ACCESS_MODE_UNSPECIFIED,
            "anon_gid": "string",
            "anon_uid": "string",
            "ip_ranges": ["string"],
            "security_flavors": [google_native.file.v1beta1.NfsExportOptionsSecurityFlavorsItem.SECURITY_FLAVOR_UNSPECIFIED],
            "squash_mode": google_native.file.v1beta1.NfsExportOptionsSquashMode.SQUASH_MODE_UNSPECIFIED,
        }],
        project="string")
    
    const shareResource = new google_native.file.v1beta1.Share("shareResource", {
        instanceId: "string",
        shareId: "string",
        backup: "string",
        capacityGb: "string",
        description: "string",
        labels: {
            string: "string",
        },
        location: "string",
        mountName: "string",
        nfsExportOptions: [{
            accessMode: google_native.file.v1beta1.NfsExportOptionsAccessMode.AccessModeUnspecified,
            anonGid: "string",
            anonUid: "string",
            ipRanges: ["string"],
            securityFlavors: [google_native.file.v1beta1.NfsExportOptionsSecurityFlavorsItem.SecurityFlavorUnspecified],
            squashMode: google_native.file.v1beta1.NfsExportOptionsSquashMode.SquashModeUnspecified,
        }],
        project: "string",
    });
    
    type: google-native:file/v1beta1:Share
    properties:
        backup: string
        capacityGb: string
        description: string
        instanceId: string
        labels:
            string: string
        location: string
        mountName: string
        nfsExportOptions:
            - accessMode: ACCESS_MODE_UNSPECIFIED
              anonGid: string
              anonUid: string
              ipRanges:
                - string
              securityFlavors:
                - SECURITY_FLAVOR_UNSPECIFIED
              squashMode: SQUASH_MODE_UNSPECIFIED
        project: string
        shareId: string
    

    Share Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The Share resource accepts the following input properties:

    InstanceId string
    ShareId string
    Required. The ID to use for the share. The ID must be unique within the specified instance. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
    Backup string
    Immutable. Full name of the Cloud Filestore Backup resource that this Share is restored from, in the format of projects/{project_id}/locations/{location_id}/backups/{backup_id}. Empty, if the Share is created from scratch and not restored from a backup.
    CapacityGb string
    File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes. Must be greater than 0.
    Description string
    A description of the share with 2048 characters or less. Requests with longer descriptions will be rejected.
    Labels Dictionary<string, string>
    Resource labels to represent user provided metadata.
    Location string
    MountName string
    The mount name of the share. Must be 63 characters or less and consist of uppercase or lowercase letters, numbers, and underscores.
    NfsExportOptions List<Pulumi.GoogleNative.File.V1Beta1.Inputs.NfsExportOptions>
    Nfs Export Options. There is a limit of 10 export options per file share.
    Project string
    InstanceId string
    ShareId string
    Required. The ID to use for the share. The ID must be unique within the specified instance. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
    Backup string
    Immutable. Full name of the Cloud Filestore Backup resource that this Share is restored from, in the format of projects/{project_id}/locations/{location_id}/backups/{backup_id}. Empty, if the Share is created from scratch and not restored from a backup.
    CapacityGb string
    File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes. Must be greater than 0.
    Description string
    A description of the share with 2048 characters or less. Requests with longer descriptions will be rejected.
    Labels map[string]string
    Resource labels to represent user provided metadata.
    Location string
    MountName string
    The mount name of the share. Must be 63 characters or less and consist of uppercase or lowercase letters, numbers, and underscores.
    NfsExportOptions []NfsExportOptionsArgs
    Nfs Export Options. There is a limit of 10 export options per file share.
    Project string
    instanceId String
    shareId String
    Required. The ID to use for the share. The ID must be unique within the specified instance. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
    backup String
    Immutable. Full name of the Cloud Filestore Backup resource that this Share is restored from, in the format of projects/{project_id}/locations/{location_id}/backups/{backup_id}. Empty, if the Share is created from scratch and not restored from a backup.
    capacityGb String
    File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes. Must be greater than 0.
    description String
    A description of the share with 2048 characters or less. Requests with longer descriptions will be rejected.
    labels Map<String,String>
    Resource labels to represent user provided metadata.
    location String
    mountName String
    The mount name of the share. Must be 63 characters or less and consist of uppercase or lowercase letters, numbers, and underscores.
    nfsExportOptions List<NfsExportOptions>
    Nfs Export Options. There is a limit of 10 export options per file share.
    project String
    instanceId string
    shareId string
    Required. The ID to use for the share. The ID must be unique within the specified instance. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
    backup string
    Immutable. Full name of the Cloud Filestore Backup resource that this Share is restored from, in the format of projects/{project_id}/locations/{location_id}/backups/{backup_id}. Empty, if the Share is created from scratch and not restored from a backup.
    capacityGb string
    File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes. Must be greater than 0.
    description string
    A description of the share with 2048 characters or less. Requests with longer descriptions will be rejected.
    labels {[key: string]: string}
    Resource labels to represent user provided metadata.
    location string
    mountName string
    The mount name of the share. Must be 63 characters or less and consist of uppercase or lowercase letters, numbers, and underscores.
    nfsExportOptions NfsExportOptions[]
    Nfs Export Options. There is a limit of 10 export options per file share.
    project string
    instance_id str
    share_id str
    Required. The ID to use for the share. The ID must be unique within the specified instance. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
    backup str
    Immutable. Full name of the Cloud Filestore Backup resource that this Share is restored from, in the format of projects/{project_id}/locations/{location_id}/backups/{backup_id}. Empty, if the Share is created from scratch and not restored from a backup.
    capacity_gb str
    File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes. Must be greater than 0.
    description str
    A description of the share with 2048 characters or less. Requests with longer descriptions will be rejected.
    labels Mapping[str, str]
    Resource labels to represent user provided metadata.
    location str
    mount_name str
    The mount name of the share. Must be 63 characters or less and consist of uppercase or lowercase letters, numbers, and underscores.
    nfs_export_options Sequence[NfsExportOptionsArgs]
    Nfs Export Options. There is a limit of 10 export options per file share.
    project str
    instanceId String
    shareId String
    Required. The ID to use for the share. The ID must be unique within the specified instance. This value must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens, and cannot end with a hyphen.
    backup String
    Immutable. Full name of the Cloud Filestore Backup resource that this Share is restored from, in the format of projects/{project_id}/locations/{location_id}/backups/{backup_id}. Empty, if the Share is created from scratch and not restored from a backup.
    capacityGb String
    File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes. Must be greater than 0.
    description String
    A description of the share with 2048 characters or less. Requests with longer descriptions will be rejected.
    labels Map<String>
    Resource labels to represent user provided metadata.
    location String
    mountName String
    The mount name of the share. Must be 63 characters or less and consist of uppercase or lowercase letters, numbers, and underscores.
    nfsExportOptions List<Property Map>
    Nfs Export Options. There is a limit of 10 export options per file share.
    project String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Share resource produces the following output properties:

    CreateTime string
    The time when the share was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The resource name of the share, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}/shares/{share_id}.
    State string
    The share state.
    CreateTime string
    The time when the share was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The resource name of the share, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}/shares/{share_id}.
    State string
    The share state.
    createTime String
    The time when the share was created.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The resource name of the share, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}/shares/{share_id}.
    state String
    The share state.
    createTime string
    The time when the share was created.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The resource name of the share, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}/shares/{share_id}.
    state string
    The share state.
    create_time str
    The time when the share was created.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The resource name of the share, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}/shares/{share_id}.
    state str
    The share state.
    createTime String
    The time when the share was created.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The resource name of the share, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}/shares/{share_id}.
    state String
    The share state.

    Supporting Types

    NfsExportOptions, NfsExportOptionsArgs

    AccessMode Pulumi.GoogleNative.File.V1Beta1.NfsExportOptionsAccessMode
    Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE.
    AnonGid string
    An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
    AnonUid string
    An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
    IpRanges List<string>
    List of either an IPv4 addresses in the format {octet1}.{octet2}.{octet3}.{octet4} or CIDR ranges in the format {octet1}.{octet2}.{octet3}.{octet4}/{mask size} which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.
    SecurityFlavors List<Pulumi.GoogleNative.File.V1Beta1.NfsExportOptionsSecurityFlavorsItem>
    The security flavors allowed for mount operations. The default is AUTH_SYS.
    SquashMode Pulumi.GoogleNative.File.V1Beta1.NfsExportOptionsSquashMode
    Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH.
    AccessMode NfsExportOptionsAccessMode
    Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE.
    AnonGid string
    An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
    AnonUid string
    An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
    IpRanges []string
    List of either an IPv4 addresses in the format {octet1}.{octet2}.{octet3}.{octet4} or CIDR ranges in the format {octet1}.{octet2}.{octet3}.{octet4}/{mask size} which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.
    SecurityFlavors []NfsExportOptionsSecurityFlavorsItem
    The security flavors allowed for mount operations. The default is AUTH_SYS.
    SquashMode NfsExportOptionsSquashMode
    Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH.
    accessMode NfsExportOptionsAccessMode
    Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE.
    anonGid String
    An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
    anonUid String
    An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
    ipRanges List<String>
    List of either an IPv4 addresses in the format {octet1}.{octet2}.{octet3}.{octet4} or CIDR ranges in the format {octet1}.{octet2}.{octet3}.{octet4}/{mask size} which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.
    securityFlavors List<NfsExportOptionsSecurityFlavorsItem>
    The security flavors allowed for mount operations. The default is AUTH_SYS.
    squashMode NfsExportOptionsSquashMode
    Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH.
    accessMode NfsExportOptionsAccessMode
    Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE.
    anonGid string
    An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
    anonUid string
    An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
    ipRanges string[]
    List of either an IPv4 addresses in the format {octet1}.{octet2}.{octet3}.{octet4} or CIDR ranges in the format {octet1}.{octet2}.{octet3}.{octet4}/{mask size} which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.
    securityFlavors NfsExportOptionsSecurityFlavorsItem[]
    The security flavors allowed for mount operations. The default is AUTH_SYS.
    squashMode NfsExportOptionsSquashMode
    Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH.
    access_mode NfsExportOptionsAccessMode
    Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE.
    anon_gid str
    An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
    anon_uid str
    An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
    ip_ranges Sequence[str]
    List of either an IPv4 addresses in the format {octet1}.{octet2}.{octet3}.{octet4} or CIDR ranges in the format {octet1}.{octet2}.{octet3}.{octet4}/{mask size} which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.
    security_flavors Sequence[NfsExportOptionsSecurityFlavorsItem]
    The security flavors allowed for mount operations. The default is AUTH_SYS.
    squash_mode NfsExportOptionsSquashMode
    Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH.
    accessMode "ACCESS_MODE_UNSPECIFIED" | "READ_ONLY" | "READ_WRITE"
    Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE.
    anonGid String
    An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
    anonUid String
    An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
    ipRanges List<String>
    List of either an IPv4 addresses in the format {octet1}.{octet2}.{octet3}.{octet4} or CIDR ranges in the format {octet1}.{octet2}.{octet3}.{octet4}/{mask size} which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.
    securityFlavors List<"SECURITY_FLAVOR_UNSPECIFIED" | "AUTH_SYS" | "KRB5" | "KRB5I" | "KRB5P">
    The security flavors allowed for mount operations. The default is AUTH_SYS.
    squashMode "SQUASH_MODE_UNSPECIFIED" | "NO_ROOT_SQUASH" | "ROOT_SQUASH"
    Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH.

    NfsExportOptionsAccessMode, NfsExportOptionsAccessModeArgs

    AccessModeUnspecified
    ACCESS_MODE_UNSPECIFIEDAccessMode not set.
    ReadOnly
    READ_ONLYThe client can only read the file share.
    ReadWrite
    READ_WRITEThe client can read and write the file share (default).
    NfsExportOptionsAccessModeAccessModeUnspecified
    ACCESS_MODE_UNSPECIFIEDAccessMode not set.
    NfsExportOptionsAccessModeReadOnly
    READ_ONLYThe client can only read the file share.
    NfsExportOptionsAccessModeReadWrite
    READ_WRITEThe client can read and write the file share (default).
    AccessModeUnspecified
    ACCESS_MODE_UNSPECIFIEDAccessMode not set.
    ReadOnly
    READ_ONLYThe client can only read the file share.
    ReadWrite
    READ_WRITEThe client can read and write the file share (default).
    AccessModeUnspecified
    ACCESS_MODE_UNSPECIFIEDAccessMode not set.
    ReadOnly
    READ_ONLYThe client can only read the file share.
    ReadWrite
    READ_WRITEThe client can read and write the file share (default).
    ACCESS_MODE_UNSPECIFIED
    ACCESS_MODE_UNSPECIFIEDAccessMode not set.
    READ_ONLY
    READ_ONLYThe client can only read the file share.
    READ_WRITE
    READ_WRITEThe client can read and write the file share (default).
    "ACCESS_MODE_UNSPECIFIED"
    ACCESS_MODE_UNSPECIFIEDAccessMode not set.
    "READ_ONLY"
    READ_ONLYThe client can only read the file share.
    "READ_WRITE"
    READ_WRITEThe client can read and write the file share (default).

    NfsExportOptionsResponse, NfsExportOptionsResponseArgs

    AccessMode string
    Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE.
    AnonGid string
    An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
    AnonUid string
    An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
    IpRanges List<string>
    List of either an IPv4 addresses in the format {octet1}.{octet2}.{octet3}.{octet4} or CIDR ranges in the format {octet1}.{octet2}.{octet3}.{octet4}/{mask size} which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.
    SecurityFlavors List<string>
    The security flavors allowed for mount operations. The default is AUTH_SYS.
    SquashMode string
    Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH.
    AccessMode string
    Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE.
    AnonGid string
    An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
    AnonUid string
    An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
    IpRanges []string
    List of either an IPv4 addresses in the format {octet1}.{octet2}.{octet3}.{octet4} or CIDR ranges in the format {octet1}.{octet2}.{octet3}.{octet4}/{mask size} which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.
    SecurityFlavors []string
    The security flavors allowed for mount operations. The default is AUTH_SYS.
    SquashMode string
    Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH.
    accessMode String
    Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE.
    anonGid String
    An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
    anonUid String
    An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
    ipRanges List<String>
    List of either an IPv4 addresses in the format {octet1}.{octet2}.{octet3}.{octet4} or CIDR ranges in the format {octet1}.{octet2}.{octet3}.{octet4}/{mask size} which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.
    securityFlavors List<String>
    The security flavors allowed for mount operations. The default is AUTH_SYS.
    squashMode String
    Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH.
    accessMode string
    Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE.
    anonGid string
    An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
    anonUid string
    An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
    ipRanges string[]
    List of either an IPv4 addresses in the format {octet1}.{octet2}.{octet3}.{octet4} or CIDR ranges in the format {octet1}.{octet2}.{octet3}.{octet4}/{mask size} which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.
    securityFlavors string[]
    The security flavors allowed for mount operations. The default is AUTH_SYS.
    squashMode string
    Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH.
    access_mode str
    Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE.
    anon_gid str
    An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
    anon_uid str
    An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
    ip_ranges Sequence[str]
    List of either an IPv4 addresses in the format {octet1}.{octet2}.{octet3}.{octet4} or CIDR ranges in the format {octet1}.{octet2}.{octet3}.{octet4}/{mask size} which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.
    security_flavors Sequence[str]
    The security flavors allowed for mount operations. The default is AUTH_SYS.
    squash_mode str
    Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH.
    accessMode String
    Either READ_ONLY, for allowing only read requests on the exported directory, or READ_WRITE, for allowing both read and write requests. The default is READ_WRITE.
    anonGid String
    An integer representing the anonymous group id with a default value of 65534. Anon_gid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
    anonUid String
    An integer representing the anonymous user id with a default value of 65534. Anon_uid may only be set with squash_mode of ROOT_SQUASH. An error will be returned if this field is specified for other squash_mode settings.
    ipRanges List<String>
    List of either an IPv4 addresses in the format {octet1}.{octet2}.{octet3}.{octet4} or CIDR ranges in the format {octet1}.{octet2}.{octet3}.{octet4}/{mask size} which may mount the file share. Overlapping IP ranges are not allowed, both within and across NfsExportOptions. An error will be returned. The limit is 64 IP ranges/addresses for each FileShareConfig among all NfsExportOptions.
    securityFlavors List<String>
    The security flavors allowed for mount operations. The default is AUTH_SYS.
    squashMode String
    Either NO_ROOT_SQUASH, for allowing root access on the exported directory, or ROOT_SQUASH, for not allowing root access. The default is NO_ROOT_SQUASH.

    NfsExportOptionsSecurityFlavorsItem, NfsExportOptionsSecurityFlavorsItemArgs

    SecurityFlavorUnspecified
    SECURITY_FLAVOR_UNSPECIFIEDSecurityFlavor not set.
    AuthSys
    AUTH_SYSThe user's UNIX user-id and group-ids are transferred "in the clear" (not encrypted) on the network, unauthenticated by the NFS server (default).
    Krb5
    KRB5End-user authentication through Kerberos V5.
    Krb5i
    KRB5Ikrb5 plus integrity protection (data packets are tamper proof).
    Krb5p
    KRB5Pkrb5i plus privacy protection (data packets are tamper proof and encrypted).
    NfsExportOptionsSecurityFlavorsItemSecurityFlavorUnspecified
    SECURITY_FLAVOR_UNSPECIFIEDSecurityFlavor not set.
    NfsExportOptionsSecurityFlavorsItemAuthSys
    AUTH_SYSThe user's UNIX user-id and group-ids are transferred "in the clear" (not encrypted) on the network, unauthenticated by the NFS server (default).
    NfsExportOptionsSecurityFlavorsItemKrb5
    KRB5End-user authentication through Kerberos V5.
    NfsExportOptionsSecurityFlavorsItemKrb5i
    KRB5Ikrb5 plus integrity protection (data packets are tamper proof).
    NfsExportOptionsSecurityFlavorsItemKrb5p
    KRB5Pkrb5i plus privacy protection (data packets are tamper proof and encrypted).
    SecurityFlavorUnspecified
    SECURITY_FLAVOR_UNSPECIFIEDSecurityFlavor not set.
    AuthSys
    AUTH_SYSThe user's UNIX user-id and group-ids are transferred "in the clear" (not encrypted) on the network, unauthenticated by the NFS server (default).
    Krb5
    KRB5End-user authentication through Kerberos V5.
    Krb5i
    KRB5Ikrb5 plus integrity protection (data packets are tamper proof).
    Krb5p
    KRB5Pkrb5i plus privacy protection (data packets are tamper proof and encrypted).
    SecurityFlavorUnspecified
    SECURITY_FLAVOR_UNSPECIFIEDSecurityFlavor not set.
    AuthSys
    AUTH_SYSThe user's UNIX user-id and group-ids are transferred "in the clear" (not encrypted) on the network, unauthenticated by the NFS server (default).
    Krb5
    KRB5End-user authentication through Kerberos V5.
    Krb5i
    KRB5Ikrb5 plus integrity protection (data packets are tamper proof).
    Krb5p
    KRB5Pkrb5i plus privacy protection (data packets are tamper proof and encrypted).
    SECURITY_FLAVOR_UNSPECIFIED
    SECURITY_FLAVOR_UNSPECIFIEDSecurityFlavor not set.
    AUTH_SYS
    AUTH_SYSThe user's UNIX user-id and group-ids are transferred "in the clear" (not encrypted) on the network, unauthenticated by the NFS server (default).
    KRB5
    KRB5End-user authentication through Kerberos V5.
    KRB5I
    KRB5Ikrb5 plus integrity protection (data packets are tamper proof).
    KRB5P
    KRB5Pkrb5i plus privacy protection (data packets are tamper proof and encrypted).
    "SECURITY_FLAVOR_UNSPECIFIED"
    SECURITY_FLAVOR_UNSPECIFIEDSecurityFlavor not set.
    "AUTH_SYS"
    AUTH_SYSThe user's UNIX user-id and group-ids are transferred "in the clear" (not encrypted) on the network, unauthenticated by the NFS server (default).
    "KRB5"
    KRB5End-user authentication through Kerberos V5.
    "KRB5I"
    KRB5Ikrb5 plus integrity protection (data packets are tamper proof).
    "KRB5P"
    KRB5Pkrb5i plus privacy protection (data packets are tamper proof and encrypted).

    NfsExportOptionsSquashMode, NfsExportOptionsSquashModeArgs

    SquashModeUnspecified
    SQUASH_MODE_UNSPECIFIEDSquashMode not set.
    NoRootSquash
    NO_ROOT_SQUASHThe Root user has root access to the file share (default).
    RootSquash
    ROOT_SQUASHThe Root user has squashed access to the anonymous uid/gid.
    NfsExportOptionsSquashModeSquashModeUnspecified
    SQUASH_MODE_UNSPECIFIEDSquashMode not set.
    NfsExportOptionsSquashModeNoRootSquash
    NO_ROOT_SQUASHThe Root user has root access to the file share (default).
    NfsExportOptionsSquashModeRootSquash
    ROOT_SQUASHThe Root user has squashed access to the anonymous uid/gid.
    SquashModeUnspecified
    SQUASH_MODE_UNSPECIFIEDSquashMode not set.
    NoRootSquash
    NO_ROOT_SQUASHThe Root user has root access to the file share (default).
    RootSquash
    ROOT_SQUASHThe Root user has squashed access to the anonymous uid/gid.
    SquashModeUnspecified
    SQUASH_MODE_UNSPECIFIEDSquashMode not set.
    NoRootSquash
    NO_ROOT_SQUASHThe Root user has root access to the file share (default).
    RootSquash
    ROOT_SQUASHThe Root user has squashed access to the anonymous uid/gid.
    SQUASH_MODE_UNSPECIFIED
    SQUASH_MODE_UNSPECIFIEDSquashMode not set.
    NO_ROOT_SQUASH
    NO_ROOT_SQUASHThe Root user has root access to the file share (default).
    ROOT_SQUASH
    ROOT_SQUASHThe Root user has squashed access to the anonymous uid/gid.
    "SQUASH_MODE_UNSPECIFIED"
    SQUASH_MODE_UNSPECIFIEDSquashMode not set.
    "NO_ROOT_SQUASH"
    NO_ROOT_SQUASHThe Root user has root access to the file share (default).
    "ROOT_SQUASH"
    ROOT_SQUASHThe Root user has squashed access to the anonymous uid/gid.

    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