Viewing docs for OVHCloud v2.19.1
published on Tuesday, Aug 18, 2026 by OVHcloud
published on Tuesday, Aug 18, 2026 by OVHcloud
Viewing docs for OVHCloud v2.19.1
published on Tuesday, Aug 18, 2026 by OVHcloud
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 dictionarydata "ovh_get_cloud_storage_file_share_acls" "name" {
# arguments
}The following arguments are supported:
- Service
Name string - The id of the public cloud project.
- string
- The ID of the file storage share the access rules apply to.
- Service
Name string - The id of the public cloud project.
- string
- The ID of the file storage share the access rules apply to.
- service_
name string - The id of the public cloud project.
- string
- The ID of the file storage share the access rules apply to.
- service
Name String - The id of the public cloud project.
- String
- The ID of the file storage share the access rules apply to.
- service
Name string - The id of the public cloud project.
- string
- The ID of the file storage share the access rules apply to.
- service_
name str - The id of the public cloud project.
- str
- The ID of the file storage share the access rules apply to.
- service
Name String - The id of the public cloud project.
- 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.
- Service
Name string -
List<Get
Cloud Storage File Share Acls Share Acl> - List of access rules:
- string
- Id string
- The provider-assigned unique ID for this managed resource.
- Service
Name string -
[]Get
Cloud Storage File Share Acls Share Acl - List of access rules:
- string
- id string
- The provider-assigned unique ID for this managed resource.
- service_
name string - list(object)
- List of access rules:
- string
- id String
- The provider-assigned unique ID for this managed resource.
- service
Name String -
List<Get
Cloud Storage File Share Acls Share Acl> - List of access rules:
- String
- id string
- The provider-assigned unique ID for this managed resource.
- service
Name string -
Get
Cloud Storage File Share Acls Share Acl[] - List of access rules:
- string
- id str
- The provider-assigned unique ID for this managed resource.
- service_
name str -
Sequence[Get
Cloud Storage File Share Acls Share Acl] - List of access rules:
- str
- id String
- The provider-assigned unique ID for this managed resource.
- service
Name String - List<Property Map>
- List of access rules:
- String
Supporting Types
GetCloudStorageFileShareAclsShareAcl
- 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 GetCloud Storage File Share Acls Share Acl Current State - 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.
- 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 GetCloud Storage File Share Acls Share Acl Current State - 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.
- 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.
- 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 GetCloud Storage File Share Acls Share Acl Current State - 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.
- 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 GetCloud Storage File Share Acls Share Acl Current State - 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.
- 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 GetCloud Storage File Share Acls Share Acl Current State - 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.
- 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 Property Map - 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.
GetCloudStorageFileShareAclsShareAclCurrentState
- 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).
- 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).
- 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).
- 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).
- 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).
- 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).
- 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).
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ovhTerraform Provider.
Viewing docs for OVHCloud v2.19.1
published on Tuesday, Aug 18, 2026 by OVHcloud
published on Tuesday, Aug 18, 2026 by OVHcloud