published on Wednesday, May 20, 2026 by g-core
published on Wednesday, May 20, 2026 by g-core
Create StorageObjectStorage Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new StorageObjectStorage(name: string, args: StorageObjectStorageArgs, opts?: CustomResourceOptions);@overload
def StorageObjectStorage(resource_name: str,
args: StorageObjectStorageArgs,
opts: Optional[ResourceOptions] = None)
@overload
def StorageObjectStorage(resource_name: str,
opts: Optional[ResourceOptions] = None,
location_name: Optional[str] = None,
name: Optional[str] = None)func NewStorageObjectStorage(ctx *Context, name string, args StorageObjectStorageArgs, opts ...ResourceOption) (*StorageObjectStorage, error)public StorageObjectStorage(string name, StorageObjectStorageArgs args, CustomResourceOptions? opts = null)
public StorageObjectStorage(String name, StorageObjectStorageArgs args)
public StorageObjectStorage(String name, StorageObjectStorageArgs args, CustomResourceOptions options)
type: gcore:StorageObjectStorage
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "gcore_storageobjectstorage" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args StorageObjectStorageArgs
- 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 StorageObjectStorageArgs
- 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 StorageObjectStorageArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args StorageObjectStorageArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args StorageObjectStorageArgs
- 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 storageObjectStorageResource = new Gcore.StorageObjectStorage("storageObjectStorageResource", new()
{
LocationName = "string",
Name = "string",
});
example, err := gcore.NewStorageObjectStorage(ctx, "storageObjectStorageResource", &gcore.StorageObjectStorageArgs{
LocationName: pulumi.String("string"),
Name: pulumi.String("string"),
})
resource "gcore_storageobjectstorage" "storageObjectStorageResource" {
location_name = "string"
name = "string"
}
var storageObjectStorageResource = new StorageObjectStorage("storageObjectStorageResource", StorageObjectStorageArgs.builder()
.locationName("string")
.name("string")
.build());
storage_object_storage_resource = gcore.StorageObjectStorage("storageObjectStorageResource",
location_name="string",
name="string")
const storageObjectStorageResource = new gcore.StorageObjectStorage("storageObjectStorageResource", {
locationName: "string",
name: "string",
});
type: gcore:StorageObjectStorage
properties:
locationName: string
name: string
StorageObjectStorage 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 StorageObjectStorage resource accepts the following input properties:
- Location
Name string - Location code where the storage should be created
- Name string
- User-defined name for the storage instance
- Location
Name string - Location code where the storage should be created
- Name string
- User-defined name for the storage instance
- location_
name string - Location code where the storage should be created
- name string
- User-defined name for the storage instance
- location
Name String - Location code where the storage should be created
- name String
- User-defined name for the storage instance
- location
Name string - Location code where the storage should be created
- name string
- User-defined name for the storage instance
- location_
name str - Location code where the storage should be created
- name str
- User-defined name for the storage instance
- location
Name String - Location code where the storage should be created
- name String
- User-defined name for the storage instance
Outputs
All input properties are implicitly available as output properties. Additionally, the StorageObjectStorage resource produces the following output properties:
- Access
Keys List<StorageObject Storage Access Key> - S3 access keys
- Address string
- Full hostname/address for accessing the storage endpoint
- Created
At string - ISO 8601 timestamp when the storage was created
- Full
Name string - Read-only internal full name of the storage, composed as "{
client_id}-{name}". Used internally by the backend. Clients should continue to identify the storage byname. - Id string
- The provider-assigned unique ID for this managed resource.
- Provisioning
Status string - Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
- Storage
Object doubleStorage Id - Unique identifier for the storage instance
- Access
Keys []StorageObject Storage Access Key - S3 access keys
- Address string
- Full hostname/address for accessing the storage endpoint
- Created
At string - ISO 8601 timestamp when the storage was created
- Full
Name string - Read-only internal full name of the storage, composed as "{
client_id}-{name}". Used internally by the backend. Clients should continue to identify the storage byname. - Id string
- The provider-assigned unique ID for this managed resource.
- Provisioning
Status string - Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
- Storage
Object float64Storage Id - Unique identifier for the storage instance
- access_
keys list(object) - S3 access keys
- address string
- Full hostname/address for accessing the storage endpoint
- created_
at string - ISO 8601 timestamp when the storage was created
- full_
name string - Read-only internal full name of the storage, composed as "{
client_id}-{name}". Used internally by the backend. Clients should continue to identify the storage byname. - id string
- The provider-assigned unique ID for this managed resource.
- provisioning_
status string - Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
- storage_
object_ numberstorage_ id - Unique identifier for the storage instance
- access
Keys List<StorageObject Storage Access Key> - S3 access keys
- address String
- Full hostname/address for accessing the storage endpoint
- created
At String - ISO 8601 timestamp when the storage was created
- full
Name String - Read-only internal full name of the storage, composed as "{
client_id}-{name}". Used internally by the backend. Clients should continue to identify the storage byname. - id String
- The provider-assigned unique ID for this managed resource.
- provisioning
Status String - Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
- storage
Object DoubleStorage Id - Unique identifier for the storage instance
- access
Keys StorageObject Storage Access Key[] - S3 access keys
- address string
- Full hostname/address for accessing the storage endpoint
- created
At string - ISO 8601 timestamp when the storage was created
- full
Name string - Read-only internal full name of the storage, composed as "{
client_id}-{name}". Used internally by the backend. Clients should continue to identify the storage byname. - id string
- The provider-assigned unique ID for this managed resource.
- provisioning
Status string - Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
- storage
Object numberStorage Id - Unique identifier for the storage instance
- access_
keys Sequence[StorageObject Storage Access Key] - S3 access keys
- address str
- Full hostname/address for accessing the storage endpoint
- created_
at str - ISO 8601 timestamp when the storage was created
- full_
name str - Read-only internal full name of the storage, composed as "{
client_id}-{name}". Used internally by the backend. Clients should continue to identify the storage byname. - id str
- The provider-assigned unique ID for this managed resource.
- provisioning_
status str - Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
- storage_
object_ floatstorage_ id - Unique identifier for the storage instance
- access
Keys List<Property Map> - S3 access keys
- address String
- Full hostname/address for accessing the storage endpoint
- created
At String - ISO 8601 timestamp when the storage was created
- full
Name String - Read-only internal full name of the storage, composed as "{
client_id}-{name}". Used internally by the backend. Clients should continue to identify the storage byname. - id String
- The provider-assigned unique ID for this managed resource.
- provisioning
Status String - Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
- storage
Object NumberStorage Id - Unique identifier for the storage instance
Look up Existing StorageObjectStorage Resource
Get an existing StorageObjectStorage 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?: StorageObjectStorageState, opts?: CustomResourceOptions): StorageObjectStorage@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
access_keys: Optional[Sequence[StorageObjectStorageAccessKeyArgs]] = None,
address: Optional[str] = None,
created_at: Optional[str] = None,
full_name: Optional[str] = None,
location_name: Optional[str] = None,
name: Optional[str] = None,
provisioning_status: Optional[str] = None,
storage_object_storage_id: Optional[float] = None) -> StorageObjectStoragefunc GetStorageObjectStorage(ctx *Context, name string, id IDInput, state *StorageObjectStorageState, opts ...ResourceOption) (*StorageObjectStorage, error)public static StorageObjectStorage Get(string name, Input<string> id, StorageObjectStorageState? state, CustomResourceOptions? opts = null)public static StorageObjectStorage get(String name, Output<String> id, StorageObjectStorageState state, CustomResourceOptions options)resources: _: type: gcore:StorageObjectStorage get: id: ${id}import {
to = gcore_storageobjectstorage.example
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.
- Access
Keys List<StorageObject Storage Access Key> - S3 access keys
- Address string
- Full hostname/address for accessing the storage endpoint
- Created
At string - ISO 8601 timestamp when the storage was created
- Full
Name string - Read-only internal full name of the storage, composed as "{
client_id}-{name}". Used internally by the backend. Clients should continue to identify the storage byname. - Location
Name string - Location code where the storage should be created
- Name string
- User-defined name for the storage instance
- Provisioning
Status string - Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
- Storage
Object doubleStorage Id - Unique identifier for the storage instance
- Access
Keys []StorageObject Storage Access Key Args - S3 access keys
- Address string
- Full hostname/address for accessing the storage endpoint
- Created
At string - ISO 8601 timestamp when the storage was created
- Full
Name string - Read-only internal full name of the storage, composed as "{
client_id}-{name}". Used internally by the backend. Clients should continue to identify the storage byname. - Location
Name string - Location code where the storage should be created
- Name string
- User-defined name for the storage instance
- Provisioning
Status string - Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
- Storage
Object float64Storage Id - Unique identifier for the storage instance
- access_
keys list(object) - S3 access keys
- address string
- Full hostname/address for accessing the storage endpoint
- created_
at string - ISO 8601 timestamp when the storage was created
- full_
name string - Read-only internal full name of the storage, composed as "{
client_id}-{name}". Used internally by the backend. Clients should continue to identify the storage byname. - location_
name string - Location code where the storage should be created
- name string
- User-defined name for the storage instance
- provisioning_
status string - Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
- storage_
object_ numberstorage_ id - Unique identifier for the storage instance
- access
Keys List<StorageObject Storage Access Key> - S3 access keys
- address String
- Full hostname/address for accessing the storage endpoint
- created
At String - ISO 8601 timestamp when the storage was created
- full
Name String - Read-only internal full name of the storage, composed as "{
client_id}-{name}". Used internally by the backend. Clients should continue to identify the storage byname. - location
Name String - Location code where the storage should be created
- name String
- User-defined name for the storage instance
- provisioning
Status String - Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
- storage
Object DoubleStorage Id - Unique identifier for the storage instance
- access
Keys StorageObject Storage Access Key[] - S3 access keys
- address string
- Full hostname/address for accessing the storage endpoint
- created
At string - ISO 8601 timestamp when the storage was created
- full
Name string - Read-only internal full name of the storage, composed as "{
client_id}-{name}". Used internally by the backend. Clients should continue to identify the storage byname. - location
Name string - Location code where the storage should be created
- name string
- User-defined name for the storage instance
- provisioning
Status string - Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
- storage
Object numberStorage Id - Unique identifier for the storage instance
- access_
keys Sequence[StorageObject Storage Access Key Args] - S3 access keys
- address str
- Full hostname/address for accessing the storage endpoint
- created_
at str - ISO 8601 timestamp when the storage was created
- full_
name str - Read-only internal full name of the storage, composed as "{
client_id}-{name}". Used internally by the backend. Clients should continue to identify the storage byname. - location_
name str - Location code where the storage should be created
- name str
- User-defined name for the storage instance
- provisioning_
status str - Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
- storage_
object_ floatstorage_ id - Unique identifier for the storage instance
- access
Keys List<Property Map> - S3 access keys
- address String
- Full hostname/address for accessing the storage endpoint
- created
At String - ISO 8601 timestamp when the storage was created
- full
Name String - Read-only internal full name of the storage, composed as "{
client_id}-{name}". Used internally by the backend. Clients should continue to identify the storage byname. - location
Name String - Location code where the storage should be created
- name String
- User-defined name for the storage instance
- provisioning
Status String - Lifecycle status of the storage. Use this to check readiness before operations. Available values: "creating", "active", "updating", "deleting", "deleted".
- storage
Object NumberStorage Id - Unique identifier for the storage instance
Supporting Types
StorageObjectStorageAccessKey, StorageObjectStorageAccessKeyArgs
- access_
key string - Access key ID used as the username in S3 authentication. Pass this in the
AWS_ACCESS_KEY_IDfield of your S3 client. - secret_
key string - Secret key used as the password in S3 authentication. Save this now — it cannot be retrieved again.
- access_
key str - Access key ID used as the username in S3 authentication. Pass this in the
AWS_ACCESS_KEY_IDfield of your S3 client. - secret_
key str - Secret key used as the password in S3 authentication. Save this now — it cannot be retrieved again.
Package Details
- Repository
- gcore g-core/terraform-provider-gcore
- License
- Notes
- This Pulumi package is based on the
gcoreTerraform Provider.
published on Wednesday, May 20, 2026 by g-core