edgecenter 0.8.0 published on Wednesday, Apr 30, 2025 by edge-center
edgecenter.getStorageS3
Explore with Pulumi AI
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 str
- The ID of this resource.
- name str
- A name of new storage resource.
- storage_
id float - An id of new storage resource.
getStorageS3 Result
The following output properties are available:
- Client
Id double - An client id of new storage resource.
- Generated
Endpoint string - A s3 entry point for new storage resource.
- Generated
Http stringEndpoint - A http s3 entry point for new storage resource.
- Generated
S3Endpoint 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.
- Storage
Id double - An id of new storage resource.
- Client
Id float64 - An client id of new storage resource.
- Generated
Endpoint string - A s3 entry point for new storage resource.
- Generated
Http stringEndpoint - A http s3 entry point for new storage resource.
- Generated
S3Endpoint 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.
- Storage
Id float64 - An id of new storage resource.
- client
Id Double - An client id of new storage resource.
- generated
Endpoint String - A s3 entry point for new storage resource.
- generated
Http StringEndpoint - A http s3 entry point for new storage resource.
- generated
S3Endpoint 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.
- storage
Id Double - An id of new storage resource.
- client
Id number - An client id of new storage resource.
- generated
Endpoint string - A s3 entry point for new storage resource.
- generated
Http stringEndpoint - A http s3 entry point for new storage resource.
- generated
S3Endpoint 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.
- storage
Id 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_ strendpoint - A http s3 entry point for new storage resource.
- generated_
s3_ strendpoint - 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.
- client
Id Number - An client id of new storage resource.
- generated
Endpoint String - A s3 entry point for new storage resource.
- generated
Http StringEndpoint - A http s3 entry point for new storage resource.
- generated
S3Endpoint 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.
- storage
Id 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 0.8.0 published on Wednesday, Apr 30, 2025 by edge-center