nexus 2.5.0 published on Monday, Apr 14, 2025 by datadrivers
nexus.getBlobstoreS3
Explore with Pulumi AI
Use this data source to get details of an existing Nexus S3 blobstore.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as nexus from "@pulumi/nexus";
const aws = nexus.getBlobstoreS3({
name: "blobstore-s3",
});
import pulumi
import pulumi_nexus as nexus
aws = nexus.get_blobstore_s3(name="blobstore-s3")
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.LookupBlobstoreS3(ctx, &nexus.LookupBlobstoreS3Args{
Name: "blobstore-s3",
}, 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 aws = Nexus.GetBlobstoreS3.Invoke(new()
{
Name = "blobstore-s3",
});
});
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.GetBlobstoreS3Args;
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 aws = NexusFunctions.getBlobstoreS3(GetBlobstoreS3Args.builder()
.name("blobstore-s3")
.build());
}
}
variables:
aws:
fn::invoke:
function: nexus:getBlobstoreS3
arguments:
name: blobstore-s3
Using getBlobstoreS3
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 getBlobstoreS3(args: GetBlobstoreS3Args, opts?: InvokeOptions): Promise<GetBlobstoreS3Result>
function getBlobstoreS3Output(args: GetBlobstoreS3OutputArgs, opts?: InvokeOptions): Output<GetBlobstoreS3Result>
def get_blobstore_s3(name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBlobstoreS3Result
def get_blobstore_s3_output(name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBlobstoreS3Result]
func LookupBlobstoreS3(ctx *Context, args *LookupBlobstoreS3Args, opts ...InvokeOption) (*LookupBlobstoreS3Result, error)
func LookupBlobstoreS3Output(ctx *Context, args *LookupBlobstoreS3OutputArgs, opts ...InvokeOption) LookupBlobstoreS3ResultOutput
> Note: This function is named LookupBlobstoreS3
in the Go SDK.
public static class GetBlobstoreS3
{
public static Task<GetBlobstoreS3Result> InvokeAsync(GetBlobstoreS3Args args, InvokeOptions? opts = null)
public static Output<GetBlobstoreS3Result> Invoke(GetBlobstoreS3InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBlobstoreS3Result> getBlobstoreS3(GetBlobstoreS3Args args, InvokeOptions options)
public static Output<GetBlobstoreS3Result> getBlobstoreS3(GetBlobstoreS3Args args, InvokeOptions options)
fn::invoke:
function: nexus:index/getBlobstoreS3:getBlobstoreS3
arguments:
# arguments dictionary
The 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
getBlobstoreS3 Result
The following output properties are available:
- Blob
Count double - Count of blobs
- Bucket
Configurations List<GetBlobstore S3Bucket Configuration> - The S3 bucket configuration.
- Id string
- Used to identify data source at nexus
- Name string
- Blobstore name
- Soft
Quotas List<GetBlobstore S3Soft Quota> - Soft quota of the blobstore
- Total
Size doubleIn Bytes - The total size of the blobstore in Bytes
- Blob
Count float64 - Count of blobs
- Bucket
Configurations []GetBlobstore S3Bucket Configuration - The S3 bucket configuration.
- Id string
- Used to identify data source at nexus
- Name string
- Blobstore name
- Soft
Quotas []GetBlobstore S3Soft Quota - Soft quota of the blobstore
- Total
Size float64In Bytes - The total size of the blobstore in Bytes
- blob
Count Double - Count of blobs
- bucket
Configurations List<GetBlobstore S3Bucket Configuration> - The S3 bucket configuration.
- id String
- Used to identify data source at nexus
- name String
- Blobstore name
- soft
Quotas List<GetBlobstore S3Soft Quota> - Soft quota of the blobstore
- total
Size DoubleIn Bytes - The total size of the blobstore in Bytes
- blob
Count number - Count of blobs
- bucket
Configurations GetBlobstore S3Bucket Configuration[] - The S3 bucket configuration.
- id string
- Used to identify data source at nexus
- name string
- Blobstore name
- soft
Quotas GetBlobstore S3Soft Quota[] - Soft quota of the blobstore
- total
Size numberIn Bytes - The total size of the blobstore in Bytes
- blob_
count float - Count of blobs
- bucket_
configurations Sequence[GetBlobstore S3Bucket Configuration] - The S3 bucket configuration.
- id str
- Used to identify data source at nexus
- name str
- Blobstore name
- soft_
quotas Sequence[GetBlobstore S3Soft Quota] - Soft quota of the blobstore
- total_
size_ floatin_ bytes - The total size of the blobstore in Bytes
- blob
Count Number - Count of blobs
- bucket
Configurations List<Property Map> - The S3 bucket configuration.
- id String
- Used to identify data source at nexus
- name String
- Blobstore name
- soft
Quotas List<Property Map> - Soft quota of the blobstore
- total
Size NumberIn Bytes - The total size of the blobstore in Bytes
Supporting Types
GetBlobstoreS3BucketConfiguration
GetBlobstoreS3BucketConfigurationAdvancedBucketConnection
- Endpoint string
- Force
Path boolStyle - Signer
Type string
- Endpoint string
- Force
Path boolStyle - Signer
Type string
- endpoint String
- force
Path BooleanStyle - signer
Type String
- endpoint string
- force
Path booleanStyle - signer
Type string
- endpoint str
- force_
path_ boolstyle - signer_
type str
- endpoint String
- force
Path BooleanStyle - signer
Type String
GetBlobstoreS3BucketConfigurationBucket
- Expiration double
- Name string
- Prefix string
- Region string
- Expiration float64
- Name string
- Prefix string
- Region string
- expiration Double
- name String
- prefix String
- region String
- expiration number
- name string
- prefix string
- region string
- expiration float
- name str
- prefix str
- region str
- expiration Number
- name String
- prefix String
- region String
GetBlobstoreS3BucketConfigurationBucketSecurity
- Access
Key stringId - Role string
- Secret
Access stringKey - Session
Token string
- Access
Key stringId - Role string
- Secret
Access stringKey - Session
Token string
- access
Key StringId - role String
- secret
Access StringKey - session
Token String
- access
Key stringId - role string
- secret
Access stringKey - session
Token string
- access_
key_ strid - role str
- secret_
access_ strkey - session_
token str
- access
Key StringId - role String
- secret
Access StringKey - session
Token String
GetBlobstoreS3BucketConfigurationEncryption
- Encryption
Key string - Encryption
Type string
- Encryption
Key string - Encryption
Type string
- encryption
Key String - encryption
Type String
- encryption
Key string - encryption
Type string
- encryption_
key str - encryption_
type str
- encryption
Key String - encryption
Type String
GetBlobstoreS3SoftQuota
Package Details
- Repository
- nexus datadrivers/terraform-provider-nexus
- License
- Notes
- This Pulumi package is based on the
nexus
Terraform Provider.