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

edgecenter.StorageS3

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 = new edgecenter.StorageS3("exampleS3", {location: "s-ed1"});
    
    import pulumi
    import pulumi_edgecenter as edgecenter
    
    example_s3 = edgecenter.StorageS3("exampleS3", location="s-ed1")
    
    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.NewStorageS3(ctx, "exampleS3", &edgecenter.StorageS3Args{
    			Location: pulumi.String("s-ed1"),
    		})
    		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 = new Edgecenter.StorageS3("exampleS3", new()
        {
            Location = "s-ed1",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.edgecenter.StorageS3;
    import com.pulumi.edgecenter.StorageS3Args;
    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) {
            var exampleS3 = new StorageS3("exampleS3", StorageS3Args.builder()
                .location("s-ed1")
                .build());
    
        }
    }
    
    resources:
      exampleS3:
        type: edgecenter:StorageS3
        properties:
          location: s-ed1
    

    Create StorageS3 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new StorageS3(name: string, args: StorageS3Args, opts?: CustomResourceOptions);
    @overload
    def StorageS3(resource_name: str,
                  args: StorageS3Args,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def StorageS3(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  location: Optional[str] = None,
                  client_id: Optional[float] = None,
                  generated_access_key: Optional[str] = None,
                  generated_endpoint: Optional[str] = None,
                  generated_http_endpoint: Optional[str] = None,
                  generated_s3_endpoint: Optional[str] = None,
                  generated_secret_key: Optional[str] = None,
                  name: Optional[str] = None,
                  storage_id: Optional[float] = None,
                  storage_s3_id: Optional[str] = None)
    func NewStorageS3(ctx *Context, name string, args StorageS3Args, opts ...ResourceOption) (*StorageS3, error)
    public StorageS3(string name, StorageS3Args args, CustomResourceOptions? opts = null)
    public StorageS3(String name, StorageS3Args args)
    public StorageS3(String name, StorageS3Args args, CustomResourceOptions options)
    
    type: edgecenter:StorageS3
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args StorageS3Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args StorageS3Args
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args StorageS3Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args StorageS3Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args StorageS3Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var storageS3Resource = new Edgecenter.StorageS3("storageS3Resource", new()
    {
        Location = "string",
        ClientId = 0,
        GeneratedAccessKey = "string",
        GeneratedEndpoint = "string",
        GeneratedHttpEndpoint = "string",
        GeneratedS3Endpoint = "string",
        GeneratedSecretKey = "string",
        Name = "string",
        StorageId = 0,
        StorageS3Id = "string",
    });
    
    example, err := edgecenter.NewStorageS3(ctx, "storageS3Resource", &edgecenter.StorageS3Args{
    	Location:              pulumi.String("string"),
    	ClientId:              pulumi.Float64(0),
    	GeneratedAccessKey:    pulumi.String("string"),
    	GeneratedEndpoint:     pulumi.String("string"),
    	GeneratedHttpEndpoint: pulumi.String("string"),
    	GeneratedS3Endpoint:   pulumi.String("string"),
    	GeneratedSecretKey:    pulumi.String("string"),
    	Name:                  pulumi.String("string"),
    	StorageId:             pulumi.Float64(0),
    	StorageS3Id:           pulumi.String("string"),
    })
    
    var storageS3Resource = new StorageS3("storageS3Resource", StorageS3Args.builder()
        .location("string")
        .clientId(0)
        .generatedAccessKey("string")
        .generatedEndpoint("string")
        .generatedHttpEndpoint("string")
        .generatedS3Endpoint("string")
        .generatedSecretKey("string")
        .name("string")
        .storageId(0)
        .storageS3Id("string")
        .build());
    
    storage_s3_resource = edgecenter.StorageS3("storageS3Resource",
        location="string",
        client_id=0,
        generated_access_key="string",
        generated_endpoint="string",
        generated_http_endpoint="string",
        generated_s3_endpoint="string",
        generated_secret_key="string",
        name="string",
        storage_id=0,
        storage_s3_id="string")
    
    const storageS3Resource = new edgecenter.StorageS3("storageS3Resource", {
        location: "string",
        clientId: 0,
        generatedAccessKey: "string",
        generatedEndpoint: "string",
        generatedHttpEndpoint: "string",
        generatedS3Endpoint: "string",
        generatedSecretKey: "string",
        name: "string",
        storageId: 0,
        storageS3Id: "string",
    });
    
    type: edgecenter:StorageS3
    properties:
        clientId: 0
        generatedAccessKey: string
        generatedEndpoint: string
        generatedHttpEndpoint: string
        generatedS3Endpoint: string
        generatedSecretKey: string
        location: string
        name: string
        storageId: 0
        storageS3Id: string
    

    StorageS3 Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The StorageS3 resource accepts the following input properties:

    Location string
    A location of new storage resource. list of location allowed for you provided by https://apidocs.edgecenter.ru/storage#tag/Locations or https://storage.edgecenter.ru/storage/list
    ClientId double
    An client id of new storage resource.
    GeneratedAccessKey string
    A s3 access key for 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.
    GeneratedSecretKey string
    A s3 secret key for new storage resource.
    Name string
    A name of new storage resource.
    StorageId double
    An id of new storage resource.
    StorageS3Id string
    The ID of this resource.
    Location string
    A location of new storage resource. list of location allowed for you provided by https://apidocs.edgecenter.ru/storage#tag/Locations or https://storage.edgecenter.ru/storage/list
    ClientId float64
    An client id of new storage resource.
    GeneratedAccessKey string
    A s3 access key for 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.
    GeneratedSecretKey string
    A s3 secret key for new storage resource.
    Name string
    A name of new storage resource.
    StorageId float64
    An id of new storage resource.
    StorageS3Id string
    The ID of this resource.
    location String
    A location of new storage resource. list of location allowed for you provided by https://apidocs.edgecenter.ru/storage#tag/Locations or https://storage.edgecenter.ru/storage/list
    clientId Double
    An client id of new storage resource.
    generatedAccessKey String
    A s3 access key for 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.
    generatedSecretKey String
    A s3 secret key for new storage resource.
    name String
    A name of new storage resource.
    storageId Double
    An id of new storage resource.
    storageS3Id String
    The ID of this resource.
    location string
    A location of new storage resource. list of location allowed for you provided by https://apidocs.edgecenter.ru/storage#tag/Locations or https://storage.edgecenter.ru/storage/list
    clientId number
    An client id of new storage resource.
    generatedAccessKey string
    A s3 access key for 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.
    generatedSecretKey string
    A s3 secret key for new storage resource.
    name string
    A name of new storage resource.
    storageId number
    An id of new storage resource.
    storageS3Id string
    The ID of this resource.
    location str
    A location of new storage resource. list of location allowed for you provided by https://apidocs.edgecenter.ru/storage#tag/Locations or https://storage.edgecenter.ru/storage/list
    client_id float
    An client id of new storage resource.
    generated_access_key str
    A s3 access key for 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.
    generated_secret_key str
    A s3 secret key for new storage resource.
    name str
    A name of new storage resource.
    storage_id float
    An id of new storage resource.
    storage_s3_id str
    The ID of this resource.
    location String
    A location of new storage resource. list of location allowed for you provided by https://apidocs.edgecenter.ru/storage#tag/Locations or https://storage.edgecenter.ru/storage/list
    clientId Number
    An client id of new storage resource.
    generatedAccessKey String
    A s3 access key for 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.
    generatedSecretKey String
    A s3 secret key for new storage resource.
    name String
    A name of new storage resource.
    storageId Number
    An id of new storage resource.
    storageS3Id String
    The ID of this resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the StorageS3 resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing StorageS3 Resource

    Get an existing StorageS3 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: StorageS3State, opts?: CustomResourceOptions): StorageS3
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            client_id: Optional[float] = None,
            generated_access_key: Optional[str] = None,
            generated_endpoint: Optional[str] = None,
            generated_http_endpoint: Optional[str] = None,
            generated_s3_endpoint: Optional[str] = None,
            generated_secret_key: Optional[str] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            storage_id: Optional[float] = None,
            storage_s3_id: Optional[str] = None) -> StorageS3
    func GetStorageS3(ctx *Context, name string, id IDInput, state *StorageS3State, opts ...ResourceOption) (*StorageS3, error)
    public static StorageS3 Get(string name, Input<string> id, StorageS3State? state, CustomResourceOptions? opts = null)
    public static StorageS3 get(String name, Output<String> id, StorageS3State state, CustomResourceOptions options)
    resources:  _:    type: edgecenter:StorageS3    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    ClientId double
    An client id of new storage resource.
    GeneratedAccessKey string
    A s3 access key for 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.
    GeneratedSecretKey string
    A s3 secret key for new storage resource.
    Location string
    A location of new storage resource. list of location allowed for you provided by https://apidocs.edgecenter.ru/storage#tag/Locations or https://storage.edgecenter.ru/storage/list
    Name string
    A name of new storage resource.
    StorageId double
    An id of new storage resource.
    StorageS3Id string
    The ID of this resource.
    ClientId float64
    An client id of new storage resource.
    GeneratedAccessKey string
    A s3 access key for 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.
    GeneratedSecretKey string
    A s3 secret key for new storage resource.
    Location string
    A location of new storage resource. list of location allowed for you provided by https://apidocs.edgecenter.ru/storage#tag/Locations or https://storage.edgecenter.ru/storage/list
    Name string
    A name of new storage resource.
    StorageId float64
    An id of new storage resource.
    StorageS3Id string
    The ID of this resource.
    clientId Double
    An client id of new storage resource.
    generatedAccessKey String
    A s3 access key for 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.
    generatedSecretKey String
    A s3 secret key for new storage resource.
    location String
    A location of new storage resource. list of location allowed for you provided by https://apidocs.edgecenter.ru/storage#tag/Locations or https://storage.edgecenter.ru/storage/list
    name String
    A name of new storage resource.
    storageId Double
    An id of new storage resource.
    storageS3Id String
    The ID of this resource.
    clientId number
    An client id of new storage resource.
    generatedAccessKey string
    A s3 access key for 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.
    generatedSecretKey string
    A s3 secret key for new storage resource.
    location string
    A location of new storage resource. list of location allowed for you provided by https://apidocs.edgecenter.ru/storage#tag/Locations or https://storage.edgecenter.ru/storage/list
    name string
    A name of new storage resource.
    storageId number
    An id of new storage resource.
    storageS3Id string
    The ID of this resource.
    client_id float
    An client id of new storage resource.
    generated_access_key str
    A s3 access key for 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.
    generated_secret_key str
    A s3 secret key for new storage resource.
    location str
    A location of new storage resource. list of location allowed for you provided by https://apidocs.edgecenter.ru/storage#tag/Locations or https://storage.edgecenter.ru/storage/list
    name str
    A name of new storage resource.
    storage_id float
    An id of new storage resource.
    storage_s3_id str
    The ID of this resource.
    clientId Number
    An client id of new storage resource.
    generatedAccessKey String
    A s3 access key for 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.
    generatedSecretKey String
    A s3 secret key for new storage resource.
    location String
    A location of new storage resource. list of location allowed for you provided by https://apidocs.edgecenter.ru/storage#tag/Locations or https://storage.edgecenter.ru/storage/list
    name String
    A name of new storage resource.
    storageId Number
    An id of new storage resource.
    storageS3Id String
    The ID of this 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