Scaleway
getObjectBucket
Using getObjectBucket
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 getObjectBucket(args: GetObjectBucketArgs, opts?: InvokeOptions): Promise<GetObjectBucketResult>
function getObjectBucketOutput(args: GetObjectBucketOutputArgs, opts?: InvokeOptions): Output<GetObjectBucketResult>
def get_object_bucket(name: Optional[str] = None,
region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetObjectBucketResult
def get_object_bucket_output(name: Optional[pulumi.Input[str]] = None,
region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetObjectBucketResult]
func LookupObjectBucket(ctx *Context, args *LookupObjectBucketArgs, opts ...InvokeOption) (*LookupObjectBucketResult, error)
func LookupObjectBucketOutput(ctx *Context, args *LookupObjectBucketOutputArgs, opts ...InvokeOption) LookupObjectBucketResultOutput
> Note: This function is named LookupObjectBucket
in the Go SDK.
public static class GetObjectBucket
{
public static Task<GetObjectBucketResult> InvokeAsync(GetObjectBucketArgs args, InvokeOptions? opts = null)
public static Output<GetObjectBucketResult> Invoke(GetObjectBucketInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetObjectBucketResult> getObjectBucket(GetObjectBucketArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: scaleway:index/getObjectBucket:getObjectBucket
Arguments:
# Arguments dictionary
The following arguments are supported:
getObjectBucket Result
The following output properties are available:
- Acl string
- Cors
Rules List<GetObject Bucket Cors Rule> - Endpoint string
- Force
Destroy bool - Id string
The provider-assigned unique ID for this managed resource.
- Lifecycle
Rules List<GetObject Bucket Lifecycle Rule> - Dictionary<string, string>
- Versionings
List<Get
Object Bucket Versioning> - Name string
- Region string
- Acl string
- Cors
Rules []GetObject Bucket Cors Rule - Endpoint string
- Force
Destroy bool - Id string
The provider-assigned unique ID for this managed resource.
- Lifecycle
Rules []GetObject Bucket Lifecycle Rule - map[string]string
- Versionings
[]Get
Object Bucket Versioning - Name string
- Region string
- acl String
- cors
Rules List<GetObject Bucket Cors Rule> - endpoint String
- force
Destroy Boolean - id String
The provider-assigned unique ID for this managed resource.
- lifecycle
Rules List<GetObject Bucket Lifecycle Rule> - Map<String,String>
- versionings
List<Get
Object Bucket Versioning> - name String
- region String
- acl string
- cors
Rules GetObject Bucket Cors Rule[] - endpoint string
- force
Destroy boolean - id string
The provider-assigned unique ID for this managed resource.
- lifecycle
Rules GetObject Bucket Lifecycle Rule[] - {[key: string]: string}
- versionings
Get
Object Bucket Versioning[] - name string
- region string
- acl str
- cors_
rules Sequence[GetObject Bucket Cors Rule] - endpoint str
- force_
destroy bool - id str
The provider-assigned unique ID for this managed resource.
- lifecycle_
rules Sequence[GetObject Bucket Lifecycle Rule] - Mapping[str, str]
- versionings
Sequence[Get
Object Bucket Versioning] - name str
- region str
- acl String
- cors
Rules List<Property Map> - endpoint String
- force
Destroy Boolean - id String
The provider-assigned unique ID for this managed resource.
- lifecycle
Rules List<Property Map> - Map<String>
- versionings List<Property Map>
- name String
- region String
Supporting Types
GetObjectBucketCorsRule
- Allowed
Headers List<string> - Allowed
Methods List<string> - Allowed
Origins List<string> - Expose
Headers List<string> - Max
Age intSeconds
- Allowed
Headers []string - Allowed
Methods []string - Allowed
Origins []string - Expose
Headers []string - Max
Age intSeconds
- allowed
Headers List<String> - allowed
Methods List<String> - allowed
Origins List<String> - expose
Headers List<String> - max
Age IntegerSeconds
- allowed
Headers string[] - allowed
Methods string[] - allowed
Origins string[] - expose
Headers string[] - max
Age numberSeconds
- allowed_
headers Sequence[str] - allowed_
methods Sequence[str] - allowed_
origins Sequence[str] - expose_
headers Sequence[str] - max_
age_ intseconds
- allowed
Headers List<String> - allowed
Methods List<String> - allowed
Origins List<String> - expose
Headers List<String> - max
Age NumberSeconds
GetObjectBucketLifecycleRule
- Abort
Incomplete intMultipart Upload Days - Enabled bool
- Expirations
List<Get
Object Bucket Lifecycle Rule Expiration> - Id string
- Prefix string
- Dictionary<string, string>
- Transitions
List<Get
Object Bucket Lifecycle Rule Transition>
- Abort
Incomplete intMultipart Upload Days - Enabled bool
- Expirations
[]Get
Object Bucket Lifecycle Rule Expiration - Id string
- Prefix string
- map[string]string
- Transitions
[]Get
Object Bucket Lifecycle Rule Transition
- abort
Incomplete IntegerMultipart Upload Days - enabled Boolean
- expirations
List<Get
Object Bucket Lifecycle Rule Expiration> - id String
- prefix String
- Map<String,String>
- transitions
List<Get
Object Bucket Lifecycle Rule Transition>
- abort
Incomplete numberMultipart Upload Days - enabled boolean
- expirations
Get
Object Bucket Lifecycle Rule Expiration[] - id string
- prefix string
- {[key: string]: string}
- transitions
Get
Object Bucket Lifecycle Rule Transition[]
- abort
Incomplete NumberMultipart Upload Days - enabled Boolean
- expirations List<Property Map>
- id String
- prefix String
- Map<String>
- transitions List<Property Map>
GetObjectBucketLifecycleRuleExpiration
- Days int
- Days int
- days Integer
- days number
- days int
- days Number
GetObjectBucketLifecycleRuleTransition
- Days int
- Storage
Class string
- Days int
- Storage
Class string
- days Integer
- storage
Class String
- days number
- storage
Class string
- days int
- storage_
class str
- days Number
- storage
Class String
GetObjectBucketVersioning
- Enabled bool
- Enabled bool
- enabled Boolean
- enabled boolean
- enabled bool
- enabled Boolean
Package Details
- Repository
- https://github.com/jaxxstorm/pulumi-scaleway
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
scaleway
Terraform Provider.