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

nexus.getBlobstoreList

Explore with Pulumi AI

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

    Use this data source to get a list with all Blob Stores.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as nexus from "@pulumi/nexus";
    
    const all = nexus.getBlobstoreList({});
    
    import pulumi
    import pulumi_nexus as nexus
    
    all = nexus.get_blobstore_list()
    
    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.GetBlobstoreList(ctx, map[string]interface{}{}, 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 all = Nexus.GetBlobstoreList.Invoke();
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.nexus.NexusFunctions;
    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 all = NexusFunctions.getBlobstoreList();
    
        }
    }
    
    variables:
      all:
        fn::invoke:
          function: nexus:getBlobstoreList
          arguments: {}
    

    Using getBlobstoreList

    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 getBlobstoreList(opts?: InvokeOptions): Promise<GetBlobstoreListResult>
    function getBlobstoreListOutput(opts?: InvokeOptions): Output<GetBlobstoreListResult>
    def get_blobstore_list(opts: Optional[InvokeOptions] = None) -> GetBlobstoreListResult
    def get_blobstore_list_output(opts: Optional[InvokeOptions] = None) -> Output[GetBlobstoreListResult]
    func GetBlobstoreList(ctx *Context, opts ...InvokeOption) (*GetBlobstoreListResult, error)
    func GetBlobstoreListOutput(ctx *Context, opts ...InvokeOption) GetBlobstoreListResultOutput

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

    public static class GetBlobstoreList 
    {
        public static Task<GetBlobstoreListResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetBlobstoreListResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetBlobstoreListResult> getBlobstoreList(InvokeOptions options)
    public static Output<GetBlobstoreListResult> getBlobstoreList(InvokeOptions options)
    
    fn::invoke:
      function: nexus:index/getBlobstoreList:getBlobstoreList
      arguments:
        # arguments dictionary

    getBlobstoreList Result

    The following output properties are available:

    Id string
    Used to identify data source at nexus
    Items List<GetBlobstoreListItem>
    A List of all Blob Stores
    Id string
    Used to identify data source at nexus
    Items []GetBlobstoreListItem
    A List of all Blob Stores
    id String
    Used to identify data source at nexus
    items List<GetBlobstoreListItem>
    A List of all Blob Stores
    id string
    Used to identify data source at nexus
    items GetBlobstoreListItem[]
    A List of all Blob Stores
    id str
    Used to identify data source at nexus
    items Sequence[GetBlobstoreListItem]
    A List of all Blob Stores
    id String
    Used to identify data source at nexus
    items List<Property Map>
    A List of all Blob Stores

    Supporting Types

    GetBlobstoreListItem

    Name string
    Type string
    Name string
    Type string
    name String
    type String
    name string
    type string
    name str
    type str
    name String
    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