Civo

Pulumi Official
Package maintained by Pulumi
v2.2.4 published on Friday, Jul 29, 2022 by Pulumi

getObjectStore

Get information of an Object Store for use in other resources. This data source provides all of the Object Store’s properties as configured on your Civo account.

Note: This data source returns a single Object Store. When specifying a name, an error will be raised if more than one Object Stores with the same name found.

Using getObjectStore

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 getObjectStore(args: GetObjectStoreArgs, opts?: InvokeOptions): Promise<GetObjectStoreResult>
function getObjectStoreOutput(args: GetObjectStoreOutputArgs, opts?: InvokeOptions): Output<GetObjectStoreResult>
def get_object_store(id: Optional[str] = None,
                     max_size_gb: Optional[int] = None,
                     name: Optional[str] = None,
                     region: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetObjectStoreResult
def get_object_store_output(id: Optional[pulumi.Input[str]] = None,
                     max_size_gb: Optional[pulumi.Input[int]] = None,
                     name: Optional[pulumi.Input[str]] = None,
                     region: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetObjectStoreResult]
func LookupObjectStore(ctx *Context, args *LookupObjectStoreArgs, opts ...InvokeOption) (*LookupObjectStoreResult, error)
func LookupObjectStoreOutput(ctx *Context, args *LookupObjectStoreOutputArgs, opts ...InvokeOption) LookupObjectStoreResultOutput

> Note: This function is named LookupObjectStore in the Go SDK.

public static class GetObjectStore 
{
    public static Task<GetObjectStoreResult> InvokeAsync(GetObjectStoreArgs args, InvokeOptions? opts = null)
    public static Output<GetObjectStoreResult> Invoke(GetObjectStoreInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetObjectStoreResult> getObjectStore(GetObjectStoreArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: civo:index/getObjectStore:getObjectStore
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Id string
MaxSizeGb int
Name string
Region string
Id string
MaxSizeGb int
Name string
Region string
id String
maxSizeGb Integer
name String
region String
id string
maxSizeGb number
name string
region string
id str
max_size_gb int
name str
region str
id String
maxSizeGb Number
name String
region String

getObjectStore Result

The following output properties are available:

AccessKeyId string
Endpoint string
GeneratedName string
SecretAccessKey string
Status string
Id string
MaxSizeGb int
Name string
Region string
AccessKeyId string
Endpoint string
GeneratedName string
SecretAccessKey string
Status string
Id string
MaxSizeGb int
Name string
Region string
accessKeyId String
endpoint String
generatedName String
secretAccessKey String
status String
id String
maxSizeGb Integer
name String
region String
accessKeyId string
endpoint string
generatedName string
secretAccessKey string
status string
id string
maxSizeGb number
name string
region string
accessKeyId String
endpoint String
generatedName String
secretAccessKey String
status String
id String
maxSizeGb Number
name String
region String

Package Details

Repository
https://github.com/pulumi/pulumi-civo
License
Apache-2.0
Notes

This Pulumi package is based on the civo Terraform Provider.