1. Registry
  2. Packages
  3. OVH
  4. API Docs
  5. getCloudStorageFileShareAcls
Viewing docs for OVHCloud v2.19.1
published on Tuesday, Aug 18, 2026 by OVHcloud
ovh logo
Viewing docs for OVHCloud v2.19.1
published on Tuesday, Aug 18, 2026 by OVHcloud

    List the access rules (ACLs) of a public cloud file storage share.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ovh from "@ovhcloud/pulumi-ovh";
    
    const acls = ovh.getCloudStorageFileShareAcls({
        serviceName: "<public cloud project ID>",
        shareId: "00000000-0000-0000-0000-000000000000",
    });
    
    import pulumi
    import pulumi_ovh as ovh
    
    acls = ovh.get_cloud_storage_file_share_acls(service_name="<public cloud project ID>",
        share_id="00000000-0000-0000-0000-000000000000")
    
    package main
    
    import (
    	"github.com/ovh/pulumi-ovh/sdk/v2/go/ovh"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ovh.GetCloudStorageFileShareAcls(ctx, &ovh.GetCloudStorageFileShareAclsArgs{
    			ServiceName: "<public cloud project ID>",
    			ShareId:     "00000000-0000-0000-0000-000000000000",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ovh = Pulumi.Ovh;
    
    return await Deployment.RunAsync(() => 
    {
        var acls = Ovh.GetCloudStorageFileShareAcls.Invoke(new()
        {
            ServiceName = "<public cloud project ID>",
            ShareId = "00000000-0000-0000-0000-000000000000",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ovh.OvhFunctions;
    import com.pulumi.ovh.inputs.GetCloudStorageFileShareAclsArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var acls = OvhFunctions.getCloudStorageFileShareAcls(GetCloudStorageFileShareAclsArgs.builder()
                .serviceName("<public cloud project ID>")
                .shareId("00000000-0000-0000-0000-000000000000")
                .build());
    
        }
    }
    
    variables:
      acls:
        fn::invoke:
          function: ovh:getCloudStorageFileShareAcls
          arguments:
            serviceName: <public cloud project ID>
            shareId: 00000000-0000-0000-0000-000000000000
    
    Example coming soon!
    

    Using getCloudStorageFileShareAcls

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getCloudStorageFileShareAcls(args: GetCloudStorageFileShareAclsArgs, opts?: InvokeOptions): Promise<GetCloudStorageFileShareAclsResult>
    function getCloudStorageFileShareAclsOutput(args: GetCloudStorageFileShareAclsOutputArgs, opts?: InvokeOutputOptions): Output<GetCloudStorageFileShareAclsResult>
    def get_cloud_storage_file_share_acls(service_name: Optional[str] = None,
                                          share_id: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetCloudStorageFileShareAclsResult
    def get_cloud_storage_file_share_acls_output(service_name: pulumi.Input[Optional[str]] = None,
                                          share_id: pulumi.Input[Optional[str]] = None,
                                          opts: Optional[InvokeOutputOptions] = None) -> Output[GetCloudStorageFileShareAclsResult]
    func GetCloudStorageFileShareAcls(ctx *Context, args *GetCloudStorageFileShareAclsArgs, opts ...InvokeOption) (*GetCloudStorageFileShareAclsResult, error)
    func GetCloudStorageFileShareAclsOutput(ctx *Context, args *GetCloudStorageFileShareAclsOutputArgs, opts ...InvokeOption) GetCloudStorageFileShareAclsResultOutput

    > Note: This function is named GetCloudStorageFileShareAcls in the Go SDK.

    public static class GetCloudStorageFileShareAcls 
    {
        public static Task<GetCloudStorageFileShareAclsResult> InvokeAsync(GetCloudStorageFileShareAclsArgs args, InvokeOptions? opts = null)
        public static Output<GetCloudStorageFileShareAclsResult> Invoke(GetCloudStorageFileShareAclsInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetCloudStorageFileShareAclsResult> Invoke(GetCloudStorageFileShareAclsInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetCloudStorageFileShareAclsResult> getCloudStorageFileShareAcls(GetCloudStorageFileShareAclsArgs args, InvokeOptions options)
    public static Output<GetCloudStorageFileShareAclsResult> getCloudStorageFileShareAcls(GetCloudStorageFileShareAclsArgs args, InvokeOptions options)
    public static Output<GetCloudStorageFileShareAclsResult> getCloudStorageFileShareAcls(GetCloudStorageFileShareAclsArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: ovh:index/getCloudStorageFileShareAcls:getCloudStorageFileShareAcls
      arguments:
        # arguments dictionary
    data "ovh_get_cloud_storage_file_share_acls" "name" {
        # arguments
    }

    The following arguments are supported:

    ServiceName string
    The id of the public cloud project.
    ShareId string
    The ID of the file storage share the access rules apply to.
    ServiceName string
    The id of the public cloud project.
    ShareId string
    The ID of the file storage share the access rules apply to.
    service_name string
    The id of the public cloud project.
    share_id string
    The ID of the file storage share the access rules apply to.
    serviceName String
    The id of the public cloud project.
    shareId String
    The ID of the file storage share the access rules apply to.
    serviceName string
    The id of the public cloud project.
    shareId string
    The ID of the file storage share the access rules apply to.
    service_name str
    The id of the public cloud project.
    share_id str
    The ID of the file storage share the access rules apply to.
    serviceName String
    The id of the public cloud project.
    shareId String
    The ID of the file storage share the access rules apply to.

    getCloudStorageFileShareAcls Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    ServiceName string
    ShareAcls List<GetCloudStorageFileShareAclsShareAcl>
    List of access rules:
    ShareId string
    Id string
    The provider-assigned unique ID for this managed resource.
    ServiceName string
    ShareAcls []GetCloudStorageFileShareAclsShareAcl
    List of access rules:
    ShareId string
    id string
    The provider-assigned unique ID for this managed resource.
    service_name string
    share_acls list(object)
    List of access rules:
    share_id string
    id String
    The provider-assigned unique ID for this managed resource.
    serviceName String
    shareAcls List<GetCloudStorageFileShareAclsShareAcl>
    List of access rules:
    shareId String
    id string
    The provider-assigned unique ID for this managed resource.
    serviceName string
    shareAcls GetCloudStorageFileShareAclsShareAcl[]
    List of access rules:
    shareId string
    id str
    The provider-assigned unique ID for this managed resource.
    service_name str
    share_acls Sequence[GetCloudStorageFileShareAclsShareAcl]
    List of access rules:
    share_id str
    id String
    The provider-assigned unique ID for this managed resource.
    serviceName String
    shareAcls List<Property Map>
    List of access rules:
    shareId String

    Supporting Types

    GetCloudStorageFileShareAclsShareAcl

    AccessLevel string
    Access level granted.
    AccessTo string
    IP address or CIDR allowed to access the file storage share.
    Checksum string
    Computed hash representing the current target specification value.
    CreatedAt string
    Creation date of the access rule.
    CurrentState GetCloudStorageFileShareAclsShareAclCurrentState
    Current observed state of the access rule from the infrastructure:
    Id string
    Access rule ID.
    ResourceStatus string
    Access rule readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    UpdatedAt string
    Last update date of the access rule.
    AccessLevel string
    Access level granted.
    AccessTo string
    IP address or CIDR allowed to access the file storage share.
    Checksum string
    Computed hash representing the current target specification value.
    CreatedAt string
    Creation date of the access rule.
    CurrentState GetCloudStorageFileShareAclsShareAclCurrentState
    Current observed state of the access rule from the infrastructure:
    Id string
    Access rule ID.
    ResourceStatus string
    Access rule readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    UpdatedAt string
    Last update date of the access rule.
    access_level string
    Access level granted.
    access_to string
    IP address or CIDR allowed to access the file storage share.
    checksum string
    Computed hash representing the current target specification value.
    created_at string
    Creation date of the access rule.
    current_state object
    Current observed state of the access rule from the infrastructure:
    id string
    Access rule ID.
    resource_status string
    Access rule readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    updated_at string
    Last update date of the access rule.
    accessLevel String
    Access level granted.
    accessTo String
    IP address or CIDR allowed to access the file storage share.
    checksum String
    Computed hash representing the current target specification value.
    createdAt String
    Creation date of the access rule.
    currentState GetCloudStorageFileShareAclsShareAclCurrentState
    Current observed state of the access rule from the infrastructure:
    id String
    Access rule ID.
    resourceStatus String
    Access rule readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    updatedAt String
    Last update date of the access rule.
    accessLevel string
    Access level granted.
    accessTo string
    IP address or CIDR allowed to access the file storage share.
    checksum string
    Computed hash representing the current target specification value.
    createdAt string
    Creation date of the access rule.
    currentState GetCloudStorageFileShareAclsShareAclCurrentState
    Current observed state of the access rule from the infrastructure:
    id string
    Access rule ID.
    resourceStatus string
    Access rule readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    updatedAt string
    Last update date of the access rule.
    access_level str
    Access level granted.
    access_to str
    IP address or CIDR allowed to access the file storage share.
    checksum str
    Computed hash representing the current target specification value.
    created_at str
    Creation date of the access rule.
    current_state GetCloudStorageFileShareAclsShareAclCurrentState
    Current observed state of the access rule from the infrastructure:
    id str
    Access rule ID.
    resource_status str
    Access rule readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    updated_at str
    Last update date of the access rule.
    accessLevel String
    Access level granted.
    accessTo String
    IP address or CIDR allowed to access the file storage share.
    checksum String
    Computed hash representing the current target specification value.
    createdAt String
    Creation date of the access rule.
    currentState Property Map
    Current observed state of the access rule from the infrastructure:
    id String
    Access rule ID.
    resourceStatus String
    Access rule readiness in the system (CREATING, DELETING, ERROR, OUT_OF_SYNC, READY, UPDATING).
    updatedAt String
    Last update date of the access rule.

    GetCloudStorageFileShareAclsShareAclCurrentState

    AccessLevel string
    Access level granted.
    AccessTo string
    IP address or CIDR allowed to access the file storage share.
    CreatedAt string
    Creation date of the access rule.
    State string
    Current state of the access rule (ACTIVE, APPLYING, DENYING, ERROR).
    AccessLevel string
    Access level granted.
    AccessTo string
    IP address or CIDR allowed to access the file storage share.
    CreatedAt string
    Creation date of the access rule.
    State string
    Current state of the access rule (ACTIVE, APPLYING, DENYING, ERROR).
    access_level string
    Access level granted.
    access_to string
    IP address or CIDR allowed to access the file storage share.
    created_at string
    Creation date of the access rule.
    state string
    Current state of the access rule (ACTIVE, APPLYING, DENYING, ERROR).
    accessLevel String
    Access level granted.
    accessTo String
    IP address or CIDR allowed to access the file storage share.
    createdAt String
    Creation date of the access rule.
    state String
    Current state of the access rule (ACTIVE, APPLYING, DENYING, ERROR).
    accessLevel string
    Access level granted.
    accessTo string
    IP address or CIDR allowed to access the file storage share.
    createdAt string
    Creation date of the access rule.
    state string
    Current state of the access rule (ACTIVE, APPLYING, DENYING, ERROR).
    access_level str
    Access level granted.
    access_to str
    IP address or CIDR allowed to access the file storage share.
    created_at str
    Creation date of the access rule.
    state str
    Current state of the access rule (ACTIVE, APPLYING, DENYING, ERROR).
    accessLevel String
    Access level granted.
    accessTo String
    IP address or CIDR allowed to access the file storage share.
    createdAt String
    Creation date of the access rule.
    state String
    Current state of the access rule (ACTIVE, APPLYING, DENYING, ERROR).

    Package Details

    Repository
    ovh ovh/pulumi-ovh
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the ovh Terraform Provider.
    ovh logo
    Viewing docs for OVHCloud v2.19.1
    published on Tuesday, Aug 18, 2026 by OVHcloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial