ShareAccess

Create a ShareAccess Resource

def ShareAccess(resource_name, opts=None, access_level=None, access_to=None, access_type=None, region=None, share_id=None, __props__=None);
func NewShareAccess(ctx *Context, name string, args ShareAccessArgs, opts ...ResourceOption) (*ShareAccess, error)
public ShareAccess(string name, ShareAccessArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args ShareAccessArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ShareAccessArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ShareAccessArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

ShareAccess Resource Properties

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

Inputs

The ShareAccess resource accepts the following input properties:

AccessLevel string

The access level to the share. Can either be rw or ro.

AccessTo string

The value that defines the access. Can either be an IP address or a username verified by configured Security Service of the Share Network.

AccessType string

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.

ShareId string

The UUID of the share to which you are granted access.

Region string

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.

AccessLevel string

The access level to the share. Can either be rw or ro.

AccessTo string

The value that defines the access. Can either be an IP address or a username verified by configured Security Service of the Share Network.

AccessType string

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.

ShareId string

The UUID of the share to which you are granted access.

Region string

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.

accessLevel string

The access level to the share. Can either be rw or ro.

accessTo string

The value that defines the access. Can either be an IP address or a username verified by configured Security Service of the Share Network.

accessType string

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.

shareId string

The UUID of the share to which you are granted access.

region string

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.

access_level str

The access level to the share. Can either be rw or ro.

access_to str

The value that defines the access. Can either be an IP address or a username verified by configured Security Service of the Share Network.

access_type str

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.

share_id str

The UUID of the share to which you are granted access.

region str

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.

Outputs

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

AccessKey string

The access credential of the entity granted access.

Id string
The provider-assigned unique ID for this managed resource.
AccessKey string

The access credential of the entity granted access.

Id string
The provider-assigned unique ID for this managed resource.
accessKey string

The access credential of the entity granted access.

id string
The provider-assigned unique ID for this managed resource.
access_key str

The access credential of the entity granted access.

id str
The provider-assigned unique ID for this managed resource.

Look up an Existing ShareAccess Resource

Get an existing ShareAccess resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ShareAccessState, opts?: CustomResourceOptions): ShareAccess
static get(resource_name, id, opts=None, access_key=None, access_level=None, access_to=None, access_type=None, region=None, share_id=None, __props__=None);
func GetShareAccess(ctx *Context, name string, id IDInput, state *ShareAccessState, opts ...ResourceOption) (*ShareAccess, error)
public static ShareAccess Get(string name, Input<string> id, ShareAccessState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

AccessKey string

The access credential of the entity granted access.

AccessLevel string

The access level to the share. Can either be rw or ro.

AccessTo string

The value that defines the access. Can either be an IP address or a username verified by configured Security Service of the Share Network.

AccessType string

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.

Region string

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.

ShareId string

The UUID of the share to which you are granted access.

AccessKey string

The access credential of the entity granted access.

AccessLevel string

The access level to the share. Can either be rw or ro.

AccessTo string

The value that defines the access. Can either be an IP address or a username verified by configured Security Service of the Share Network.

AccessType string

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.

Region string

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.

ShareId string

The UUID of the share to which you are granted access.

accessKey string

The access credential of the entity granted access.

accessLevel string

The access level to the share. Can either be rw or ro.

accessTo string

The value that defines the access. Can either be an IP address or a username verified by configured Security Service of the Share Network.

accessType string

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.

region string

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.

shareId string

The UUID of the share to which you are granted access.

access_key str

The access credential of the entity granted access.

access_level str

The access level to the share. Can either be rw or ro.

access_to str

The value that defines the access. Can either be an IP address or a username verified by configured Security Service of the Share Network.

access_type str

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.

region str

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.

share_id str

The UUID of the share to which you are granted access.

Package Details

Repository
https://github.com/pulumi/pulumi-openstack
License
Apache-2.0
Notes
This Pulumi package is based on the openstack Terraform Provider.