ShareArgs

data class ShareArgs(val backup: Output<String>? = null, val capacityGb: Output<String>? = null, val description: Output<String>? = null, val instanceId: Output<String>? = null, val labels: Output<Map<String, String>>? = null, val location: Output<String>? = null, val mountName: Output<String>? = null, val nfsExportOptions: Output<List<NfsExportOptionsArgs>>? = null, val project: Output<String>? = null, val shareId: Output<String>? = null) : ConvertibleToJava<ShareArgs>

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

Constructors

Link copied to clipboard
fun ShareArgs(backup: Output<String>? = null, capacityGb: Output<String>? = null, description: Output<String>? = null, instanceId: Output<String>? = null, labels: Output<Map<String, String>>? = null, location: Output<String>? = null, mountName: Output<String>? = null, nfsExportOptions: Output<List<NfsExportOptionsArgs>>? = null, project: Output<String>? = null, shareId: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): ShareArgs

Properties

Link copied to clipboard
val backup: Output<String>? = null

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.

Link copied to clipboard
val capacityGb: Output<String>? = null

File share capacity in gigabytes (GB). Filestore defines 1 GB as 1024^3 bytes. Must be greater than 0.

Link copied to clipboard
val description: Output<String>? = null

A description of the share with 2048 characters or less. Requests with longer descriptions will be rejected.

Link copied to clipboard
val instanceId: Output<String>? = null
Link copied to clipboard
val labels: Output<Map<String, String>>? = null

Resource labels to represent user provided metadata.

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard
val mountName: Output<String>? = null

The mount name of the share. Must be 63 characters or less and consist of uppercase or lowercase letters, numbers, and underscores.

Link copied to clipboard

Nfs Export Options. There is a limit of 10 export options per file share.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val shareId: Output<String>? = null

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.