Civo
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 str
- max_
size_ intgb - name str
- region str
getObjectStore Result
The following output properties are available:
- Access
Key stringId - Endpoint string
- Generated
Name string - Secret
Access stringKey - Status string
- Id string
- Max
Size intGb - Name string
- Region string
- Access
Key stringId - Endpoint string
- Generated
Name string - Secret
Access stringKey - Status string
- Id string
- Max
Size intGb - Name string
- Region string
- access
Key StringId - endpoint String
- generated
Name String - secret
Access StringKey - status String
- id String
- max
Size IntegerGb - name String
- region String
- access
Key stringId - endpoint string
- generated
Name string - secret
Access stringKey - status string
- id string
- max
Size numberGb - name string
- region string
- access_
key_ strid - endpoint str
- generated_
name str - secret_
access_ strkey - status str
- id str
- max_
size_ intgb - name str
- region str
- access
Key StringId - endpoint String
- generated
Name String - secret
Access StringKey - status String
- id String
- max
Size NumberGb - 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.