Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.file/v1beta1.Share
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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)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
- 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.
- NfsExport List<Pulumi.Options Google Native. File. V1Beta1. Inputs. Nfs Export Options> 
- Nfs Export Options. There is a limit of 10 export options per file share.
- Project string
- InstanceId string
- 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.
- NfsExport []NfsOptions Export Options Args 
- Nfs Export Options. There is a limit of 10 export options per file share.
- Project string
- instanceId String
- 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.
- nfsExport List<NfsOptions Export Options> 
- Nfs Export Options. There is a limit of 10 export options per file share.
- project String
- instanceId string
- 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.
- nfsExport NfsOptions Export Options[] 
- Nfs Export Options. There is a limit of 10 export options per file share.
- project string
- instance_id str
- 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_ Sequence[Nfsoptions Export Options Args] 
- Nfs Export Options. There is a limit of 10 export options per file share.
- project str
- instanceId String
- 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.
- nfsExport List<Property Map>Options 
- 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.Google Native. File. V1Beta1. Nfs Export Options Access Mode 
- 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.Google Native. File. V1Beta1. Nfs Export Options Security Flavors Item> 
- The security flavors allowed for mount operations. The default is AUTH_SYS.
- SquashMode Pulumi.Google Native. File. V1Beta1. Nfs Export Options Squash Mode 
- 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 NfsExport Options Access Mode 
- 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 []NfsExport Options Security Flavors Item 
- The security flavors allowed for mount operations. The default is AUTH_SYS.
- SquashMode NfsExport Options Squash Mode 
- 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 NfsExport Options Access Mode 
- 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<NfsExport Options Security Flavors Item> 
- The security flavors allowed for mount operations. The default is AUTH_SYS.
- squashMode NfsExport Options Squash Mode 
- 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 NfsExport Options Access Mode 
- 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 NfsExport Options Security Flavors Item[] 
- The security flavors allowed for mount operations. The default is AUTH_SYS.
- squashMode NfsExport Options Squash Mode 
- 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 NfsExport Options Access Mode 
- 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[NfsExport Options Security Flavors Item] 
- The security flavors allowed for mount operations. The default is AUTH_SYS.
- squash_mode NfsExport Options Squash Mode 
- 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          
- AccessMode Unspecified 
- 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).
- NfsExport Options Access Mode Access Mode Unspecified 
- ACCESS_MODE_UNSPECIFIEDAccessMode not set.
- NfsExport Options Access Mode Read Only 
- READ_ONLYThe client can only read the file share.
- NfsExport Options Access Mode Read Write 
- READ_WRITEThe client can read and write the file share (default).
- AccessMode Unspecified 
- 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).
- AccessMode Unspecified 
- 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            
- SecurityFlavor Unspecified 
- 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).
- NfsExport Options Security Flavors Item Security Flavor Unspecified 
- SECURITY_FLAVOR_UNSPECIFIEDSecurityFlavor not set.
- NfsExport Options Security Flavors Item 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).
- NfsExport Options Security Flavors Item Krb5 
- KRB5End-user authentication through Kerberos V5.
- NfsExport Options Security Flavors Item Krb5i 
- KRB5Ikrb5 plus integrity protection (data packets are tamper proof).
- NfsExport Options Security Flavors Item Krb5p 
- KRB5Pkrb5i plus privacy protection (data packets are tamper proof and encrypted).
- SecurityFlavor Unspecified 
- 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).
- SecurityFlavor Unspecified 
- 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          
- SquashMode Unspecified 
- SQUASH_MODE_UNSPECIFIEDSquashMode not set.
- NoRoot Squash 
- 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.
- NfsExport Options Squash Mode Squash Mode Unspecified 
- SQUASH_MODE_UNSPECIFIEDSquashMode not set.
- NfsExport Options Squash Mode No Root Squash 
- NO_ROOT_SQUASHThe Root user has root access to the file share (default).
- NfsExport Options Squash Mode Root Squash 
- ROOT_SQUASHThe Root user has squashed access to the anonymous uid/gid.
- SquashMode Unspecified 
- SQUASH_MODE_UNSPECIFIEDSquashMode not set.
- NoRoot Squash 
- 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.
- SquashMode Unspecified 
- SQUASH_MODE_UNSPECIFIEDSquashMode not set.
- NoRoot Squash 
- 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 Cloud Native is in preview. Google Cloud Classic is fully supported.