Class ShareAccess
Inherited Members
Namespace: Pulumi.OpenStack.SharedFileSystem
Assembly: Pulumi.OpenStack.dll
Syntax
public class ShareAccess : CustomResource
Constructors
View SourceShareAccess(String, ShareAccessArgs, CustomResourceOptions)
Create a ShareAccess resource with the given unique name, arguments, and options.
Declaration
public ShareAccess(string name, ShareAccessArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| ShareAccessArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceAccessKey
The access credential of the entity granted access.
Declaration
public Output<string> AccessKey { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
AccessLevel
The access level to the share. Can either be rw or ro.
Declaration
public Output<string> AccessLevel { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
AccessTo
The value that defines the access. Can either be an IP address or a username verified by configured Security Service of the Share Network.
Declaration
public Output<string> AccessTo { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
AccessType
The access rule type. Can either be an ip, user, cert, or cephx. cephx support requires an OpenStack environment that supports Shared Filesystem microversion 2.13 (Mitaka) or later.
Declaration
public Output<string> AccessType { get; }
Property Value
| Type | Description |
|---|---|
| Output<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 access. Changing this creates a new share access.
Declaration
public Output<string> Region { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ShareId
The UUID of the share to which you are granted access.
Declaration
public Output<string> ShareId { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, ShareAccessState, CustomResourceOptions)
Get an existing ShareAccess resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static ShareAccess Get(string name, Input<string> id, ShareAccessState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| ShareAccessState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| ShareAccess |