This resource represents a File Storage Share ACL entry.
Create FileStorageShareAcl Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FileStorageShareAcl(name: string, args: FileStorageShareAclArgs, opts?: CustomResourceOptions);@overload
def FileStorageShareAcl(resource_name: str,
args: FileStorageShareAclArgs,
opts: Optional[ResourceOptions] = None)
@overload
def FileStorageShareAcl(resource_name: str,
opts: Optional[ResourceOptions] = None,
file_storage: Optional[str] = None,
permission: Optional[str] = None,
share_name: Optional[str] = None,
target: Optional[str] = None,
name: Optional[str] = None)func NewFileStorageShareAcl(ctx *Context, name string, args FileStorageShareAclArgs, opts ...ResourceOption) (*FileStorageShareAcl, error)public FileStorageShareAcl(string name, FileStorageShareAclArgs args, CustomResourceOptions? opts = null)
public FileStorageShareAcl(String name, FileStorageShareAclArgs args)
public FileStorageShareAcl(String name, FileStorageShareAclArgs args, CustomResourceOptions options)
type: upcloud:FileStorageShareAcl
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args FileStorageShareAclArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args FileStorageShareAclArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args FileStorageShareAclArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FileStorageShareAclArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FileStorageShareAclArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var fileStorageShareAclResource = new UpCloud.FileStorageShareAcl("fileStorageShareAclResource", new()
{
FileStorage = "string",
Permission = "string",
ShareName = "string",
Target = "string",
Name = "string",
});
example, err := upcloud.NewFileStorageShareAcl(ctx, "fileStorageShareAclResource", &upcloud.FileStorageShareAclArgs{
FileStorage: pulumi.String("string"),
Permission: pulumi.String("string"),
ShareName: pulumi.String("string"),
Target: pulumi.String("string"),
Name: pulumi.String("string"),
})
var fileStorageShareAclResource = new FileStorageShareAcl("fileStorageShareAclResource", FileStorageShareAclArgs.builder()
.fileStorage("string")
.permission("string")
.shareName("string")
.target("string")
.name("string")
.build());
file_storage_share_acl_resource = upcloud.FileStorageShareAcl("fileStorageShareAclResource",
file_storage="string",
permission="string",
share_name="string",
target="string",
name="string")
const fileStorageShareAclResource = new upcloud.FileStorageShareAcl("fileStorageShareAclResource", {
fileStorage: "string",
permission: "string",
shareName: "string",
target: "string",
name: "string",
});
type: upcloud:FileStorageShareAcl
properties:
fileStorage: string
name: string
permission: string
shareName: string
target: string
FileStorageShareAcl Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The FileStorageShareAcl resource accepts the following input properties:
- File
Storage string - UUID of the file storage service.
- Permission string
- Access level: 'ro' or 'rw'.
- string
- Name of the share.
- Target string
- Target IP/CIDR or '*'.
- Name string
- Unique name of the ACL entry (1–64 chars).
- File
Storage string - UUID of the file storage service.
- Permission string
- Access level: 'ro' or 'rw'.
- string
- Name of the share.
- Target string
- Target IP/CIDR or '*'.
- Name string
- Unique name of the ACL entry (1–64 chars).
- file
Storage String - UUID of the file storage service.
- permission String
- Access level: 'ro' or 'rw'.
- String
- Name of the share.
- target String
- Target IP/CIDR or '*'.
- name String
- Unique name of the ACL entry (1–64 chars).
- file
Storage string - UUID of the file storage service.
- permission string
- Access level: 'ro' or 'rw'.
- string
- Name of the share.
- target string
- Target IP/CIDR or '*'.
- name string
- Unique name of the ACL entry (1–64 chars).
- file_
storage str - UUID of the file storage service.
- permission str
- Access level: 'ro' or 'rw'.
- str
- Name of the share.
- target str
- Target IP/CIDR or '*'.
- name str
- Unique name of the ACL entry (1–64 chars).
- file
Storage String - UUID of the file storage service.
- permission String
- Access level: 'ro' or 'rw'.
- String
- Name of the share.
- target String
- Target IP/CIDR or '*'.
- name String
- Unique name of the ACL entry (1–64 chars).
Outputs
All input properties are implicitly available as output properties. Additionally, the FileStorageShareAcl resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing FileStorageShareAcl Resource
Get an existing FileStorageShareAcl 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?: FileStorageShareAclState, opts?: CustomResourceOptions): FileStorageShareAcl@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
file_storage: Optional[str] = None,
name: Optional[str] = None,
permission: Optional[str] = None,
share_name: Optional[str] = None,
target: Optional[str] = None) -> FileStorageShareAclfunc GetFileStorageShareAcl(ctx *Context, name string, id IDInput, state *FileStorageShareAclState, opts ...ResourceOption) (*FileStorageShareAcl, error)public static FileStorageShareAcl Get(string name, Input<string> id, FileStorageShareAclState? state, CustomResourceOptions? opts = null)public static FileStorageShareAcl get(String name, Output<String> id, FileStorageShareAclState state, CustomResourceOptions options)resources: _: type: upcloud:FileStorageShareAcl get: id: ${id}- 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.
- 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.
- File
Storage string - UUID of the file storage service.
- Name string
- Unique name of the ACL entry (1–64 chars).
- Permission string
- Access level: 'ro' or 'rw'.
- string
- Name of the share.
- Target string
- Target IP/CIDR or '*'.
- File
Storage string - UUID of the file storage service.
- Name string
- Unique name of the ACL entry (1–64 chars).
- Permission string
- Access level: 'ro' or 'rw'.
- string
- Name of the share.
- Target string
- Target IP/CIDR or '*'.
- file
Storage String - UUID of the file storage service.
- name String
- Unique name of the ACL entry (1–64 chars).
- permission String
- Access level: 'ro' or 'rw'.
- String
- Name of the share.
- target String
- Target IP/CIDR or '*'.
- file
Storage string - UUID of the file storage service.
- name string
- Unique name of the ACL entry (1–64 chars).
- permission string
- Access level: 'ro' or 'rw'.
- string
- Name of the share.
- target string
- Target IP/CIDR or '*'.
- file_
storage str - UUID of the file storage service.
- name str
- Unique name of the ACL entry (1–64 chars).
- permission str
- Access level: 'ro' or 'rw'.
- str
- Name of the share.
- target str
- Target IP/CIDR or '*'.
- file
Storage String - UUID of the file storage service.
- name String
- Unique name of the ACL entry (1–64 chars).
- permission String
- Access level: 'ro' or 'rw'.
- String
- Name of the share.
- target String
- Target IP/CIDR or '*'.
Package Details
- Repository
- upcloud UpCloudLtd/pulumi-upcloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
upcloudTerraform Provider.
