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
Get an access rule (ACL) of a public cloud file storage share.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@ovhcloud/pulumi-ovh";
const acl = ovh.getCloudStorageFileShareAcl({
serviceName: "<public cloud project ID>",
shareId: "00000000-0000-0000-0000-000000000000",
id: "00000000-0000-0000-0000-000000000000",
});
import pulumi
import pulumi_ovh as ovh
acl = ovh.get_cloud_storage_file_share_acl(service_name="<public cloud project ID>",
share_id="00000000-0000-0000-0000-000000000000",
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.LookupCloudStorageFileShareAcl(ctx, &ovh.LookupCloudStorageFileShareAclArgs{
ServiceName: "<public cloud project ID>",
ShareId: "00000000-0000-0000-0000-000000000000",
Id: "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 acl = Ovh.GetCloudStorageFileShareAcl.Invoke(new()
{
ServiceName = "<public cloud project ID>",
ShareId = "00000000-0000-0000-0000-000000000000",
Id = "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.GetCloudStorageFileShareAclArgs;
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 acl = OvhFunctions.getCloudStorageFileShareAcl(GetCloudStorageFileShareAclArgs.builder()
.serviceName("<public cloud project ID>")
.shareId("00000000-0000-0000-0000-000000000000")
.id("00000000-0000-0000-0000-000000000000")
.build());
}
}
variables:
acl:
fn::invoke:
function: ovh:getCloudStorageFileShareAcl
arguments:
serviceName: <public cloud project ID>
shareId: 00000000-0000-0000-0000-000000000000
id: 00000000-0000-0000-0000-000000000000
Example coming soon!
Using getCloudStorageFileShareAcl
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 getCloudStorageFileShareAcl(args: GetCloudStorageFileShareAclArgs, opts?: InvokeOptions): Promise<GetCloudStorageFileShareAclResult>
function getCloudStorageFileShareAclOutput(args: GetCloudStorageFileShareAclOutputArgs, opts?: InvokeOutputOptions): Output<GetCloudStorageFileShareAclResult>def get_cloud_storage_file_share_acl(id: Optional[str] = None,
service_name: Optional[str] = None,
share_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCloudStorageFileShareAclResult
def get_cloud_storage_file_share_acl_output(id: pulumi.Input[Optional[str]] = None,
service_name: pulumi.Input[Optional[str]] = None,
share_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetCloudStorageFileShareAclResult]func LookupCloudStorageFileShareAcl(ctx *Context, args *LookupCloudStorageFileShareAclArgs, opts ...InvokeOption) (*LookupCloudStorageFileShareAclResult, error)
func LookupCloudStorageFileShareAclOutput(ctx *Context, args *LookupCloudStorageFileShareAclOutputArgs, opts ...InvokeOption) LookupCloudStorageFileShareAclResultOutput> Note: This function is named LookupCloudStorageFileShareAcl in the Go SDK.
public static class GetCloudStorageFileShareAcl
{
public static Task<GetCloudStorageFileShareAclResult> InvokeAsync(GetCloudStorageFileShareAclArgs args, InvokeOptions? opts = null)
public static Output<GetCloudStorageFileShareAclResult> Invoke(GetCloudStorageFileShareAclInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetCloudStorageFileShareAclResult> Invoke(GetCloudStorageFileShareAclInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetCloudStorageFileShareAclResult> getCloudStorageFileShareAcl(GetCloudStorageFileShareAclArgs args, InvokeOptions options)
public static Output<GetCloudStorageFileShareAclResult> getCloudStorageFileShareAcl(GetCloudStorageFileShareAclArgs args, InvokeOptions options)
public static Output<GetCloudStorageFileShareAclResult> getCloudStorageFileShareAcl(GetCloudStorageFileShareAclArgs args, InvokeOutputOptions options)
fn::invoke:
function: ovh:index/getCloudStorageFileShareAcl:getCloudStorageFileShareAcl
arguments:
# arguments dictionarydata "ovh_get_cloud_storage_file_share_acl" "name" {
# arguments
}The following arguments are supported:
- Id string
- The ID of the access rule.
- Service
Name string - The id of the public cloud project.
- string
- The ID of the file storage share the access rule applies to.
- Id string
- The ID of the access rule.
- Service
Name string - The id of the public cloud project.
- string
- The ID of the file storage share the access rule applies to.
- id string
- The ID of the access rule.
- service_
name string - The id of the public cloud project.
- string
- The ID of the file storage share the access rule applies to.
- id String
- The ID of the access rule.
- service
Name String - The id of the public cloud project.
- String
- The ID of the file storage share the access rule applies to.
- id string
- The ID of the access rule.
- service
Name string - The id of the public cloud project.
- string
- The ID of the file storage share the access rule applies to.
- id str
- The ID of the access rule.
- service_
name str - The id of the public cloud project.
- str
- The ID of the file storage share the access rule applies to.
- id String
- The ID of the access rule.
- service
Name String - The id of the public cloud project.
- String
- The ID of the file storage share the access rule applies to.
getCloudStorageFileShareAcl Result
The following output properties are available:
- 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 Acl Current State - Current observed state of the access rule from the infrastructure:
- Id string
- Resource
Status string - Access rule readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - Service
Name string - string
- 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 Acl Current State - Current observed state of the access rule from the infrastructure:
- Id string
- Resource
Status string - Access rule readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - Service
Name string - string
- 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
- resource_
status string - Access rule readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - service_
name string - string
- 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 Acl Current State - Current observed state of the access rule from the infrastructure:
- id String
- resource
Status String - Access rule readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - service
Name String - String
- 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 Acl Current State - Current observed state of the access rule from the infrastructure:
- id string
- resource
Status string - Access rule readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - service
Name string - string
- 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 Acl Current State - Current observed state of the access rule from the infrastructure:
- id str
- resource_
status str - Access rule readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - service_
name str - str
- 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
- resource
Status String - Access rule readiness in the system (
CREATING,DELETING,ERROR,OUT_OF_SYNC,READY,UPDATING). - service
Name String - String
- updated
At String - Last update date of the access rule.
Supporting Types
GetCloudStorageFileShareAclCurrentState
- 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