ShareAccess
Create a ShareAccess Resource
new ShareAccess(name: string, args: ShareAccessArgs, opts?: CustomResourceOptions);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:
- Access
Level string The access level to the share. Can either be
rworro.- Access
To 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.
- Access
Type 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.
- 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 string The access level to the share. Can either be
rworro.- Access
To 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.
- Access
Type 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.
- 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 string The access level to the share. Can either be
rworro.- access
To 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.
- access
Type 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.
- 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
rworro.- 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.
- 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:
- 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): ShareAccessstatic 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:
- Access
Key string The access credential of the entity granted access.
- Access
Level string The access level to the share. Can either be
rworro.- Access
To 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.
- Access
Type 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.
- string
The UUID of the share to which you are granted access.
- Access
Key string The access credential of the entity granted access.
- Access
Level string The access level to the share. Can either be
rworro.- Access
To 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.
- Access
Type 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.
- string
The UUID of the share to which you are granted access.
- access
Key string The access credential of the entity granted access.
- access
Level string The access level to the share. Can either be
rworro.- access
To 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.
- access
Type 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.
- 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
rworro.- 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.
- 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
openstackTerraform Provider.