1. Packages
  2. Edgecenter Provider
  3. API Docs
  4. getStorageS3
edgecenter 0.8.0 published on Wednesday, Apr 30, 2025 by edge-center

edgecenter.getStorageS3

Explore with Pulumi AI

edgecenter logo
edgecenter 0.8.0 published on Wednesday, Apr 30, 2025 by edge-center

    Represent s3 storage resource. https://storage.edgecenter.ru/storage/list

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as edgecenter from "@pulumi/edgecenter";
    
    const exampleS3 = edgecenter.getStorageS3({
        name: "example",
    });
    
    import pulumi
    import pulumi_edgecenter as edgecenter
    
    example_s3 = edgecenter.get_storage_s3(name="example")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/edgecenter/edgecenter"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := edgecenter.LookupStorageS3(ctx, &edgecenter.LookupStorageS3Args{
    			Name: pulumi.StringRef("example"),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Edgecenter = Pulumi.Edgecenter;
    
    return await Deployment.RunAsync(() => 
    {
        var exampleS3 = Edgecenter.GetStorageS3.Invoke(new()
        {
            Name = "example",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.edgecenter.EdgecenterFunctions;
    import com.pulumi.edgecenter.inputs.GetStorageS3Args;
    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 exampleS3 = EdgecenterFunctions.getStorageS3(GetStorageS3Args.builder()
                .name("example")
                .build());
    
        }
    }
    
    variables:
      exampleS3:
        fn::invoke:
          function: edgecenter:getStorageS3
          arguments:
            name: example
    

    Using getStorageS3

    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 getStorageS3(args: GetStorageS3Args, opts?: InvokeOptions): Promise<GetStorageS3Result>
    function getStorageS3Output(args: GetStorageS3OutputArgs, opts?: InvokeOptions): Output<GetStorageS3Result>
    def get_storage_s3(id: Optional[str] = None,
                       name: Optional[str] = None,
                       storage_id: Optional[float] = None,
                       opts: Optional[InvokeOptions] = None) -> GetStorageS3Result
    def get_storage_s3_output(id: Optional[pulumi.Input[str]] = None,
                       name: Optional[pulumi.Input[str]] = None,
                       storage_id: Optional[pulumi.Input[float]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetStorageS3Result]
    func LookupStorageS3(ctx *Context, args *LookupStorageS3Args, opts ...InvokeOption) (*LookupStorageS3Result, error)
    func LookupStorageS3Output(ctx *Context, args *LookupStorageS3OutputArgs, opts ...InvokeOption) LookupStorageS3ResultOutput

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

    public static class GetStorageS3 
    {
        public static Task<GetStorageS3Result> InvokeAsync(GetStorageS3Args args, InvokeOptions? opts = null)
        public static Output<GetStorageS3Result> Invoke(GetStorageS3InvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetStorageS3Result> getStorageS3(GetStorageS3Args args, InvokeOptions options)
    public static Output<GetStorageS3Result> getStorageS3(GetStorageS3Args args, InvokeOptions options)
    
    fn::invoke:
      function: edgecenter:index/getStorageS3:getStorageS3
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The ID of this resource.
    Name string
    A name of new storage resource.
    StorageId double
    An id of new storage resource.
    Id string
    The ID of this resource.
    Name string
    A name of new storage resource.
    StorageId float64
    An id of new storage resource.
    id String
    The ID of this resource.
    name String
    A name of new storage resource.
    storageId Double
    An id of new storage resource.
    id string
    The ID of this resource.
    name string
    A name of new storage resource.
    storageId number
    An id of new storage resource.
    id str
    The ID of this resource.
    name str
    A name of new storage resource.
    storage_id float
    An id of new storage resource.
    id String
    The ID of this resource.
    name String
    A name of new storage resource.
    storageId Number
    An id of new storage resource.

    getStorageS3 Result

    The following output properties are available:

    ClientId double
    An client id of new storage resource.
    GeneratedEndpoint string
    A s3 entry point for new storage resource.
    GeneratedHttpEndpoint string
    A http s3 entry point for new storage resource.
    GeneratedS3Endpoint string
    A s3 endpoint for new storage resource.
    Id string
    The ID of this resource.
    Location string
    A location of new storage resource. One of (s-dt2)
    Name string
    A name of new storage resource.
    StorageId double
    An id of new storage resource.
    ClientId float64
    An client id of new storage resource.
    GeneratedEndpoint string
    A s3 entry point for new storage resource.
    GeneratedHttpEndpoint string
    A http s3 entry point for new storage resource.
    GeneratedS3Endpoint string
    A s3 endpoint for new storage resource.
    Id string
    The ID of this resource.
    Location string
    A location of new storage resource. One of (s-dt2)
    Name string
    A name of new storage resource.
    StorageId float64
    An id of new storage resource.
    clientId Double
    An client id of new storage resource.
    generatedEndpoint String
    A s3 entry point for new storage resource.
    generatedHttpEndpoint String
    A http s3 entry point for new storage resource.
    generatedS3Endpoint String
    A s3 endpoint for new storage resource.
    id String
    The ID of this resource.
    location String
    A location of new storage resource. One of (s-dt2)
    name String
    A name of new storage resource.
    storageId Double
    An id of new storage resource.
    clientId number
    An client id of new storage resource.
    generatedEndpoint string
    A s3 entry point for new storage resource.
    generatedHttpEndpoint string
    A http s3 entry point for new storage resource.
    generatedS3Endpoint string
    A s3 endpoint for new storage resource.
    id string
    The ID of this resource.
    location string
    A location of new storage resource. One of (s-dt2)
    name string
    A name of new storage resource.
    storageId number
    An id of new storage resource.
    client_id float
    An client id of new storage resource.
    generated_endpoint str
    A s3 entry point for new storage resource.
    generated_http_endpoint str
    A http s3 entry point for new storage resource.
    generated_s3_endpoint str
    A s3 endpoint for new storage resource.
    id str
    The ID of this resource.
    location str
    A location of new storage resource. One of (s-dt2)
    name str
    A name of new storage resource.
    storage_id float
    An id of new storage resource.
    clientId Number
    An client id of new storage resource.
    generatedEndpoint String
    A s3 entry point for new storage resource.
    generatedHttpEndpoint String
    A http s3 entry point for new storage resource.
    generatedS3Endpoint String
    A s3 endpoint for new storage resource.
    id String
    The ID of this resource.
    location String
    A location of new storage resource. One of (s-dt2)
    name String
    A name of new storage resource.
    storageId Number
    An id of new storage resource.

    Package Details

    Repository
    edgecenter edge-center/terraform-provider-edgecenter
    License
    Notes
    This Pulumi package is based on the edgecenter Terraform Provider.
    edgecenter logo
    edgecenter 0.8.0 published on Wednesday, Apr 30, 2025 by edge-center