1. Packages
  2. Volcengine
  3. API Docs
  4. cloudfs
  5. Accesses
Volcengine v0.0.25 published on Tuesday, Jul 2, 2024 by Volcengine

volcengine.cloudfs.Accesses

Explore with Pulumi AI

volcengine logo
Volcengine v0.0.25 published on Tuesday, Jul 2, 2024 by Volcengine

    Use this data source to query detailed information of cloudfs accesses

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var @default = Volcengine.Cloudfs.Accesses.Invoke(new()
        {
            FsName = "tftest2",
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/cloudfs"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := cloudfs.Accesses(ctx, &cloudfs.AccessesArgs{
    			FsName: "tftest2",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.cloudfs.CloudfsFunctions;
    import com.pulumi.volcengine.cloudfs.inputs.AccessesArgs;
    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 default = CloudfsFunctions.Accesses(AccessesArgs.builder()
                .fsName("tftest2")
                .build());
    
        }
    }
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    default = volcengine.cloudfs.accesses(fs_name="tftest2")
    
    import * as pulumi from "@pulumi/pulumi";
    import * as volcengine from "@pulumi/volcengine";
    
    const default = volcengine.cloudfs.Accesses({
        fsName: "tftest2",
    });
    
    variables:
      default:
        fn::invoke:
          Function: volcengine:cloudfs:Accesses
          Arguments:
            fsName: tftest2
    

    Using Accesses

    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 accesses(args: AccessesArgs, opts?: InvokeOptions): Promise<AccessesResult>
    function accessesOutput(args: AccessesOutputArgs, opts?: InvokeOptions): Output<AccessesResult>
    def accesses(fs_name: Optional[str] = None,
                 output_file: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> AccessesResult
    def accesses_output(fs_name: Optional[pulumi.Input[str]] = None,
                 output_file: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[AccessesResult]
    func Accesses(ctx *Context, args *AccessesArgs, opts ...InvokeOption) (*AccessesResult, error)
    func AccessesOutput(ctx *Context, args *AccessesOutputArgs, opts ...InvokeOption) AccessesResultOutput
    public static class Accesses 
    {
        public static Task<AccessesResult> InvokeAsync(AccessesArgs args, InvokeOptions? opts = null)
        public static Output<AccessesResult> Invoke(AccessesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<AccessesResult> accesses(AccessesArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: volcengine:cloudfs:Accesses
      arguments:
        # arguments dictionary

    The following arguments are supported:

    FsName string
    The name of file system.
    OutputFile string
    File name where to save data source results.
    FsName string
    The name of file system.
    OutputFile string
    File name where to save data source results.
    fsName String
    The name of file system.
    outputFile String
    File name where to save data source results.
    fsName string
    The name of file system.
    outputFile string
    File name where to save data source results.
    fs_name str
    The name of file system.
    output_file str
    File name where to save data source results.
    fsName String
    The name of file system.
    outputFile String
    File name where to save data source results.

    Accesses Result

    The following output properties are available:

    Accesses List<AccessesAccess>
    The collection of query.
    FsName string
    The name of cloud fs.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of query.
    OutputFile string
    Accesses []AccessesAccess
    The collection of query.
    FsName string
    The name of cloud fs.
    Id string
    The provider-assigned unique ID for this managed resource.
    TotalCount int
    The total count of query.
    OutputFile string
    accesses List<AccessesAccess>
    The collection of query.
    fsName String
    The name of cloud fs.
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Integer
    The total count of query.
    outputFile String
    accesses AccessesAccess[]
    The collection of query.
    fsName string
    The name of cloud fs.
    id string
    The provider-assigned unique ID for this managed resource.
    totalCount number
    The total count of query.
    outputFile string
    accesses Sequence[AccessesAccess]
    The collection of query.
    fs_name str
    The name of cloud fs.
    id str
    The provider-assigned unique ID for this managed resource.
    total_count int
    The total count of query.
    output_file str
    accesses List<Property Map>
    The collection of query.
    fsName String
    The name of cloud fs.
    id String
    The provider-assigned unique ID for this managed resource.
    totalCount Number
    The total count of query.
    outputFile String

    Supporting Types

    AccessesAccess

    AccessAccountId int
    The account id of access.
    AccessId string
    The id of access.
    AccessServiceName string
    The service name of access.
    CreatedTime string
    The creation time.
    FsName string
    The name of file system.
    IsDefault bool
    Whether is default access.
    SecurityGroupId string
    The id of security group.
    Status string
    The status of access.
    SubnetId string
    The id of subnet.
    VpcId string
    The id of vpc.
    VpcRouteEnabled bool
    Whether to enable all vpc route.
    AccessAccountId int
    The account id of access.
    AccessId string
    The id of access.
    AccessServiceName string
    The service name of access.
    CreatedTime string
    The creation time.
    FsName string
    The name of file system.
    IsDefault bool
    Whether is default access.
    SecurityGroupId string
    The id of security group.
    Status string
    The status of access.
    SubnetId string
    The id of subnet.
    VpcId string
    The id of vpc.
    VpcRouteEnabled bool
    Whether to enable all vpc route.
    accessAccountId Integer
    The account id of access.
    accessId String
    The id of access.
    accessServiceName String
    The service name of access.
    createdTime String
    The creation time.
    fsName String
    The name of file system.
    isDefault Boolean
    Whether is default access.
    securityGroupId String
    The id of security group.
    status String
    The status of access.
    subnetId String
    The id of subnet.
    vpcId String
    The id of vpc.
    vpcRouteEnabled Boolean
    Whether to enable all vpc route.
    accessAccountId number
    The account id of access.
    accessId string
    The id of access.
    accessServiceName string
    The service name of access.
    createdTime string
    The creation time.
    fsName string
    The name of file system.
    isDefault boolean
    Whether is default access.
    securityGroupId string
    The id of security group.
    status string
    The status of access.
    subnetId string
    The id of subnet.
    vpcId string
    The id of vpc.
    vpcRouteEnabled boolean
    Whether to enable all vpc route.
    access_account_id int
    The account id of access.
    access_id str
    The id of access.
    access_service_name str
    The service name of access.
    created_time str
    The creation time.
    fs_name str
    The name of file system.
    is_default bool
    Whether is default access.
    security_group_id str
    The id of security group.
    status str
    The status of access.
    subnet_id str
    The id of subnet.
    vpc_id str
    The id of vpc.
    vpc_route_enabled bool
    Whether to enable all vpc route.
    accessAccountId Number
    The account id of access.
    accessId String
    The id of access.
    accessServiceName String
    The service name of access.
    createdTime String
    The creation time.
    fsName String
    The name of file system.
    isDefault Boolean
    Whether is default access.
    securityGroupId String
    The id of security group.
    status String
    The status of access.
    subnetId String
    The id of subnet.
    vpcId String
    The id of vpc.
    vpcRouteEnabled Boolean
    Whether to enable all vpc route.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.25 published on Tuesday, Jul 2, 2024 by Volcengine