Class ShareState
Inherited Members
Namespace: Pulumi.OpenStack.SharedFileSystem
Assembly: Pulumi.OpenStack.dll
Syntax
public sealed class ShareState : ResourceArgs
Constructors
View SourceShareState()
Declaration
public ShareState()
Properties
View SourceAllMetadata
The map of metadata, assigned on the share, which has been explicitly and implicitly added.
Declaration
public InputMap<object> AllMetadata { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
AvailabilityZone
The share availability zone. Changing this creates a new share.
Declaration
public Input<string> AvailabilityZone { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Description
The human-readable description for the share. Changing this updates the description of the existing share.
Declaration
public Input<string> Description { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ExportLocations
A list of export locations. For example, when a share server has more than one network interface, it can have multiple export locations.
Declaration
public InputList<ShareExportLocationGetArgs> ExportLocations { get; set; }
Property Value
| Type | Description |
|---|---|
| InputList<ShareExportLocationGetArgs> |
HasReplicas
Indicates whether a share has replicas or not.
Declaration
public Input<bool> HasReplicas { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Host
The share host name.
Declaration
public Input<string> Host { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
IsPublic
The level of visibility for the share. Set to true to make share public. Set to false to make it private. Default value is false. Changing this updates the existing share.
Declaration
public Input<bool> IsPublic { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Boolean> |
Metadata
One or more metadata key and value pairs as a dictionary of strings.
Declaration
public InputMap<object> Metadata { get; set; }
Property Value
| Type | Description |
|---|---|
| InputMap<System.Object> |
Name
The name of the share. Changing this updates the name of the existing share.
Declaration
public Input<string> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ProjectId
The owner of the Share.
Declaration
public Input<string> ProjectId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Region
The region in which to obtain the V2 Shared File System client. A Shared File System client is needed to create a share. Changing this creates a new share.
Declaration
public Input<string> Region { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ReplicationType
The share replication type.
Declaration
public Input<string> ReplicationType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ShareNetworkId
The UUID of a share network where the share server exists
or will be created. If share_network_id is not set and you provide a snapshot_id,
the share_network_id value from the snapshot is used. Changing this creates a new share.
Declaration
public Input<string> ShareNetworkId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ShareProto
The share protocol - can either be NFS, CIFS, CEPHFS, GLUSTERFS, HDFS or MAPRFS. Changing this creates a new share.
Declaration
public Input<string> ShareProto { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ShareServerId
The UUID of the share server.
Declaration
public Input<string> ShareServerId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
ShareType
The share type name. If you omit this parameter, the default share type is used.
Declaration
public Input<string> ShareType { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
Size
The share size, in GBs. The requested share size cannot be greater than the allowed GB quota. Changing this resizes the existing share.
Declaration
public Input<int> Size { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Int32> |
SnapshotId
The UUID of the share's base snapshot. Changing this creates a new share.
Declaration
public Input<string> SnapshotId { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |