nexus 2.6.0 published on Thursday, May 8, 2025 by datadrivers
nexus.getBlobstoreFile
Use this data source to get details of an existing Nexus File blobstore.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as nexus from "@pulumi/nexus";
const _default = nexus.getBlobstoreFile({
name: "default",
});
import pulumi
import pulumi_nexus as nexus
default = nexus.get_blobstore_file(name="default")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/nexus/v2/nexus"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := nexus.LookupBlobstoreFile(ctx, &nexus.LookupBlobstoreFileArgs{
Name: "default",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Nexus = Pulumi.Nexus;
return await Deployment.RunAsync(() =>
{
var @default = Nexus.GetBlobstoreFile.Invoke(new()
{
Name = "default",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.nexus.NexusFunctions;
import com.pulumi.nexus.inputs.GetBlobstoreFileArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var default = NexusFunctions.getBlobstoreFile(GetBlobstoreFileArgs.builder()
.name("default")
.build());
}
}
variables:
default:
fn::invoke:
function: nexus:getBlobstoreFile
arguments:
name: default
Using getBlobstoreFile
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 getBlobstoreFile(args: GetBlobstoreFileArgs, opts?: InvokeOptions): Promise<GetBlobstoreFileResult>
function getBlobstoreFileOutput(args: GetBlobstoreFileOutputArgs, opts?: InvokeOptions): Output<GetBlobstoreFileResult>def get_blobstore_file(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBlobstoreFileResult
def get_blobstore_file_output(name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBlobstoreFileResult]func LookupBlobstoreFile(ctx *Context, args *LookupBlobstoreFileArgs, opts ...InvokeOption) (*LookupBlobstoreFileResult, error)
func LookupBlobstoreFileOutput(ctx *Context, args *LookupBlobstoreFileOutputArgs, opts ...InvokeOption) LookupBlobstoreFileResultOutput> Note: This function is named LookupBlobstoreFile in the Go SDK.
public static class GetBlobstoreFile
{
public static Task<GetBlobstoreFileResult> InvokeAsync(GetBlobstoreFileArgs args, InvokeOptions? opts = null)
public static Output<GetBlobstoreFileResult> Invoke(GetBlobstoreFileInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetBlobstoreFileResult> getBlobstoreFile(GetBlobstoreFileArgs args, InvokeOptions options)
public static Output<GetBlobstoreFileResult> getBlobstoreFile(GetBlobstoreFileArgs args, InvokeOptions options)
fn::invoke:
function: nexus:index/getBlobstoreFile:getBlobstoreFile
arguments:
# arguments dictionaryThe following arguments are supported:
- Name string
- Blobstore name
- Name string
- Blobstore name
- name String
- Blobstore name
- name string
- Blobstore name
- name str
- Blobstore name
- name String
- Blobstore name
getBlobstoreFile Result
The following output properties are available:
- Available
Space doubleIn Bytes - Available space in Bytes
- Blob
Count double - Count of blobs
- Id string
- Used to identify data source at nexus
- Name string
- Blobstore name
- Path string
- The path to the blobstore contents
- Soft
Quotas List<GetBlobstore File Soft Quota> - Soft quota of the blobstore
- Total
Size doubleIn Bytes - The total size of the blobstore in Bytes
- Available
Space float64In Bytes - Available space in Bytes
- Blob
Count float64 - Count of blobs
- Id string
- Used to identify data source at nexus
- Name string
- Blobstore name
- Path string
- The path to the blobstore contents
- Soft
Quotas []GetBlobstore File Soft Quota - Soft quota of the blobstore
- Total
Size float64In Bytes - The total size of the blobstore in Bytes
- available
Space DoubleIn Bytes - Available space in Bytes
- blob
Count Double - Count of blobs
- id String
- Used to identify data source at nexus
- name String
- Blobstore name
- path String
- The path to the blobstore contents
- soft
Quotas List<GetBlobstore File Soft Quota> - Soft quota of the blobstore
- total
Size DoubleIn Bytes - The total size of the blobstore in Bytes
- available
Space numberIn Bytes - Available space in Bytes
- blob
Count number - Count of blobs
- id string
- Used to identify data source at nexus
- name string
- Blobstore name
- path string
- The path to the blobstore contents
- soft
Quotas GetBlobstore File Soft Quota[] - Soft quota of the blobstore
- total
Size numberIn Bytes - The total size of the blobstore in Bytes
- available_
space_ floatin_ bytes - Available space in Bytes
- blob_
count float - Count of blobs
- id str
- Used to identify data source at nexus
- name str
- Blobstore name
- path str
- The path to the blobstore contents
- soft_
quotas Sequence[GetBlobstore File Soft Quota] - Soft quota of the blobstore
- total_
size_ floatin_ bytes - The total size of the blobstore in Bytes
- available
Space NumberIn Bytes - Available space in Bytes
- blob
Count Number - Count of blobs
- id String
- Used to identify data source at nexus
- name String
- Blobstore name
- path String
- The path to the blobstore contents
- soft
Quotas List<Property Map> - Soft quota of the blobstore
- total
Size NumberIn Bytes - The total size of the blobstore in Bytes
Supporting Types
GetBlobstoreFileSoftQuota
Package Details
- Repository
- nexus datadrivers/terraform-provider-nexus
- License
- Notes
- This Pulumi package is based on the
nexusTerraform Provider.
