1. Packages
  2. Nexus Provider
  3. API Docs
  4. getBlobstoreGroup
nexus 2.5.0 published on Monday, Apr 14, 2025 by datadrivers

nexus.getBlobstoreGroup

Explore with Pulumi AI

nexus logo
nexus 2.5.0 published on Monday, Apr 14, 2025 by datadrivers

    PRO Feature

    Use this data source to get details of an existing Nexus Group blobstore.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as nexus from "@pulumi/nexus";
    
    const example = nexus.getBlobstoreGroup({
        name: "group-example",
    });
    
    import pulumi
    import pulumi_nexus as nexus
    
    example = nexus.get_blobstore_group(name="group-example")
    
    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.LookupBlobstoreGroup(ctx, &nexus.LookupBlobstoreGroupArgs{
    			Name: "group-example",
    		}, 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 example = Nexus.GetBlobstoreGroup.Invoke(new()
        {
            Name = "group-example",
        });
    
    });
    
    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.GetBlobstoreGroupArgs;
    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 example = NexusFunctions.getBlobstoreGroup(GetBlobstoreGroupArgs.builder()
                .name("group-example")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: nexus:getBlobstoreGroup
          arguments:
            name: group-example
    

    Using getBlobstoreGroup

    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 getBlobstoreGroup(args: GetBlobstoreGroupArgs, opts?: InvokeOptions): Promise<GetBlobstoreGroupResult>
    function getBlobstoreGroupOutput(args: GetBlobstoreGroupOutputArgs, opts?: InvokeOptions): Output<GetBlobstoreGroupResult>
    def get_blobstore_group(name: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetBlobstoreGroupResult
    def get_blobstore_group_output(name: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetBlobstoreGroupResult]
    func LookupBlobstoreGroup(ctx *Context, args *LookupBlobstoreGroupArgs, opts ...InvokeOption) (*LookupBlobstoreGroupResult, error)
    func LookupBlobstoreGroupOutput(ctx *Context, args *LookupBlobstoreGroupOutputArgs, opts ...InvokeOption) LookupBlobstoreGroupResultOutput

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

    public static class GetBlobstoreGroup 
    {
        public static Task<GetBlobstoreGroupResult> InvokeAsync(GetBlobstoreGroupArgs args, InvokeOptions? opts = null)
        public static Output<GetBlobstoreGroupResult> Invoke(GetBlobstoreGroupInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetBlobstoreGroupResult> getBlobstoreGroup(GetBlobstoreGroupArgs args, InvokeOptions options)
    public static Output<GetBlobstoreGroupResult> getBlobstoreGroup(GetBlobstoreGroupArgs args, InvokeOptions options)
    
    fn::invoke:
      function: nexus:index/getBlobstoreGroup:getBlobstoreGroup
      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

    getBlobstoreGroup Result

    The following output properties are available:

    AvailableSpaceInBytes double
    Available space in Bytes
    BlobCount double
    Count of blobs
    FillPolicy string
    The policy how to fill the members. Possible values: roundRobin or writeToFirst
    Id string
    Used to identify data source at nexus
    Members List<string>
    List of the names of blob stores that are members of this group
    Name string
    Blobstore name
    SoftQuotas List<GetBlobstoreGroupSoftQuota>
    Soft quota of the blobstore
    TotalSizeInBytes double
    The total size of the blobstore in Bytes
    AvailableSpaceInBytes float64
    Available space in Bytes
    BlobCount float64
    Count of blobs
    FillPolicy string
    The policy how to fill the members. Possible values: roundRobin or writeToFirst
    Id string
    Used to identify data source at nexus
    Members []string
    List of the names of blob stores that are members of this group
    Name string
    Blobstore name
    SoftQuotas []GetBlobstoreGroupSoftQuota
    Soft quota of the blobstore
    TotalSizeInBytes float64
    The total size of the blobstore in Bytes
    availableSpaceInBytes Double
    Available space in Bytes
    blobCount Double
    Count of blobs
    fillPolicy String
    The policy how to fill the members. Possible values: roundRobin or writeToFirst
    id String
    Used to identify data source at nexus
    members List<String>
    List of the names of blob stores that are members of this group
    name String
    Blobstore name
    softQuotas List<GetBlobstoreGroupSoftQuota>
    Soft quota of the blobstore
    totalSizeInBytes Double
    The total size of the blobstore in Bytes
    availableSpaceInBytes number
    Available space in Bytes
    blobCount number
    Count of blobs
    fillPolicy string
    The policy how to fill the members. Possible values: roundRobin or writeToFirst
    id string
    Used to identify data source at nexus
    members string[]
    List of the names of blob stores that are members of this group
    name string
    Blobstore name
    softQuotas GetBlobstoreGroupSoftQuota[]
    Soft quota of the blobstore
    totalSizeInBytes number
    The total size of the blobstore in Bytes
    available_space_in_bytes float
    Available space in Bytes
    blob_count float
    Count of blobs
    fill_policy str
    The policy how to fill the members. Possible values: roundRobin or writeToFirst
    id str
    Used to identify data source at nexus
    members Sequence[str]
    List of the names of blob stores that are members of this group
    name str
    Blobstore name
    soft_quotas Sequence[GetBlobstoreGroupSoftQuota]
    Soft quota of the blobstore
    total_size_in_bytes float
    The total size of the blobstore in Bytes
    availableSpaceInBytes Number
    Available space in Bytes
    blobCount Number
    Count of blobs
    fillPolicy String
    The policy how to fill the members. Possible values: roundRobin or writeToFirst
    id String
    Used to identify data source at nexus
    members List<String>
    List of the names of blob stores that are members of this group
    name String
    Blobstore name
    softQuotas List<Property Map>
    Soft quota of the blobstore
    totalSizeInBytes Number
    The total size of the blobstore in Bytes

    Supporting Types

    GetBlobstoreGroupSoftQuota

    Limit double
    Type string
    Limit float64
    Type string
    limit Double
    type String
    limit number
    type string
    limit float
    type str
    limit Number
    type String

    Package Details

    Repository
    nexus datadrivers/terraform-provider-nexus
    License
    Notes
    This Pulumi package is based on the nexus Terraform Provider.
    nexus logo
    nexus 2.5.0 published on Monday, Apr 14, 2025 by datadrivers