Viewing docs for gcore 2.0.0-alpha.8
published on Wednesday, May 20, 2026 by g-core
published on Wednesday, May 20, 2026 by g-core
Viewing docs for gcore 2.0.0-alpha.8
published on Wednesday, May 20, 2026 by g-core
published on Wednesday, May 20, 2026 by g-core
Using getStorageObjectStorageBucket
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 getStorageObjectStorageBucket(args: GetStorageObjectStorageBucketArgs, opts?: InvokeOptions): Promise<GetStorageObjectStorageBucketResult>
function getStorageObjectStorageBucketOutput(args: GetStorageObjectStorageBucketOutputArgs, opts?: InvokeOptions): Output<GetStorageObjectStorageBucketResult>def get_storage_object_storage_bucket(name: Optional[str] = None,
storage_id: Optional[float] = None,
opts: Optional[InvokeOptions] = None) -> GetStorageObjectStorageBucketResult
def get_storage_object_storage_bucket_output(name: pulumi.Input[Optional[str]] = None,
storage_id: pulumi.Input[Optional[float]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetStorageObjectStorageBucketResult]func LookupStorageObjectStorageBucket(ctx *Context, args *LookupStorageObjectStorageBucketArgs, opts ...InvokeOption) (*LookupStorageObjectStorageBucketResult, error)
func LookupStorageObjectStorageBucketOutput(ctx *Context, args *LookupStorageObjectStorageBucketOutputArgs, opts ...InvokeOption) LookupStorageObjectStorageBucketResultOutput> Note: This function is named LookupStorageObjectStorageBucket in the Go SDK.
public static class GetStorageObjectStorageBucket
{
public static Task<GetStorageObjectStorageBucketResult> InvokeAsync(GetStorageObjectStorageBucketArgs args, InvokeOptions? opts = null)
public static Output<GetStorageObjectStorageBucketResult> Invoke(GetStorageObjectStorageBucketInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetStorageObjectStorageBucketResult> getStorageObjectStorageBucket(GetStorageObjectStorageBucketArgs args, InvokeOptions options)
public static Output<GetStorageObjectStorageBucketResult> getStorageObjectStorageBucket(GetStorageObjectStorageBucketArgs args, InvokeOptions options)
fn::invoke:
function: gcore:index/getStorageObjectStorageBucket:getStorageObjectStorageBucket
arguments:
# arguments dictionarydata "gcore_getstorageobjectstoragebucket" "name" {
# arguments
}The following arguments are supported:
- name string
- storage_
id number
- name str
- storage_
id float
getStorageObjectStorageBucket Result
The following output properties are available:
- Cors
Get
Storage Object Storage Bucket Cors - Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Policy
Get
Storage Object Storage Bucket Policy - Storage
Id double - Storage
Object GetStorage Bucket Lifecycle Storage Object Storage Bucket Storage Object Storage Bucket Lifecycle
- Cors
Get
Storage Object Storage Bucket Cors - Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Policy
Get
Storage Object Storage Bucket Policy - Storage
Id float64 - Storage
Object GetStorage Bucket Lifecycle Storage Object Storage Bucket Storage Object Storage Bucket Lifecycle
- cors object
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- policy object
- storage_
id number - storage_
object_ objectstorage_ bucket_ lifecycle
- cors
Get
Storage Object Storage Bucket Cors - id String
- The provider-assigned unique ID for this managed resource.
- name String
- policy
Get
Storage Object Storage Bucket Policy - storage
Id Double - storage
Object GetStorage Bucket Lifecycle Storage Object Storage Bucket Storage Object Storage Bucket Lifecycle
- cors
Get
Storage Object Storage Bucket Cors - id string
- The provider-assigned unique ID for this managed resource.
- name string
- policy
Get
Storage Object Storage Bucket Policy - storage
Id number - storage
Object GetStorage Bucket Lifecycle Storage Object Storage Bucket Storage Object Storage Bucket Lifecycle
- cors
Get
Storage Object Storage Bucket Cors - id str
- The provider-assigned unique ID for this managed resource.
- name str
- policy
Get
Storage Object Storage Bucket Policy - storage_
id float - storage_
object_ Getstorage_ bucket_ lifecycle Storage Object Storage Bucket Storage Object Storage Bucket Lifecycle
- cors Property Map
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- policy Property Map
- storage
Id Number - storage
Object Property MapStorage Bucket Lifecycle
Supporting Types
GetStorageObjectStorageBucketCors
- Allowed
Origins List<string> - Web domains allowed to make direct browser requests to this bucket (e.g., "https://myapp.com"). Use "*" to allow any origin.
- Allowed
Origins []string - Web domains allowed to make direct browser requests to this bucket (e.g., "https://myapp.com"). Use "*" to allow any origin.
- allowed_
origins list(string) - Web domains allowed to make direct browser requests to this bucket (e.g., "https://myapp.com"). Use "*" to allow any origin.
- allowed
Origins List<String> - Web domains allowed to make direct browser requests to this bucket (e.g., "https://myapp.com"). Use "*" to allow any origin.
- allowed
Origins string[] - Web domains allowed to make direct browser requests to this bucket (e.g., "https://myapp.com"). Use "*" to allow any origin.
- allowed_
origins Sequence[str] - Web domains allowed to make direct browser requests to this bucket (e.g., "https://myapp.com"). Use "*" to allow any origin.
- allowed
Origins List<String> - Web domains allowed to make direct browser requests to this bucket (e.g., "https://myapp.com"). Use "*" to allow any origin.
GetStorageObjectStorageBucketPolicy
- Is
Public bool - When true, anyone can download objects without credentials. When false, all requests require valid S3 authentication.
- Is
Public bool - When true, anyone can download objects without credentials. When false, all requests require valid S3 authentication.
- is_
public bool - When true, anyone can download objects without credentials. When false, all requests require valid S3 authentication.
- is
Public Boolean - When true, anyone can download objects without credentials. When false, all requests require valid S3 authentication.
- is
Public boolean - When true, anyone can download objects without credentials. When false, all requests require valid S3 authentication.
- is_
public bool - When true, anyone can download objects without credentials. When false, all requests require valid S3 authentication.
- is
Public Boolean - When true, anyone can download objects without credentials. When false, all requests require valid S3 authentication.
GetStorageObjectStorageBucketStorageObjectStorageBucketLifecycle
- Expiration
Days double - Days after upload before objects are automatically deleted. For example, 30 means files are removed 30 days after creation.
- Expiration
Days float64 - Days after upload before objects are automatically deleted. For example, 30 means files are removed 30 days after creation.
- expiration_
days number - Days after upload before objects are automatically deleted. For example, 30 means files are removed 30 days after creation.
- expiration
Days Double - Days after upload before objects are automatically deleted. For example, 30 means files are removed 30 days after creation.
- expiration
Days number - Days after upload before objects are automatically deleted. For example, 30 means files are removed 30 days after creation.
- expiration_
days float - Days after upload before objects are automatically deleted. For example, 30 means files are removed 30 days after creation.
- expiration
Days Number - Days after upload before objects are automatically deleted. For example, 30 means files are removed 30 days after creation.
Package Details
- Repository
- gcore g-core/terraform-provider-gcore
- License
- Notes
- This Pulumi package is based on the
gcoreTerraform Provider.
Viewing docs for gcore 2.0.0-alpha.8
published on Wednesday, May 20, 2026 by g-core
published on Wednesday, May 20, 2026 by g-core