1. Packages
  2. Ibm Provider
  3. API Docs
  4. getSatelliteStorageConfiguration
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

ibm.getSatelliteStorageConfiguration

Explore with Pulumi AI

ibm logo
ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud

    Retrieve information of an existing Satellite Storage Configuration. You can then reference the fields of the data source in other resources within the same configuration by using interpolation syntax. For more information, about IBM Cloud Satellite Storage Configurations see Satellite Storage.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const storageConfiguration = ibm.getSatelliteStorageConfiguration({
        configName: _var.config_name,
        location: _var.location,
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    storage_configuration = ibm.get_satellite_storage_configuration(config_name=var["config_name"],
        location=var["location"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/ibm"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := ibm.LookupSatelliteStorageConfiguration(ctx, &ibm.LookupSatelliteStorageConfigurationArgs{
    			ConfigName: _var.Config_name,
    			Location:   _var.Location,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Ibm = Pulumi.Ibm;
    
    return await Deployment.RunAsync(() => 
    {
        var storageConfiguration = Ibm.GetSatelliteStorageConfiguration.Invoke(new()
        {
            ConfigName = @var.Config_name,
            Location = @var.Location,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.ibm.IbmFunctions;
    import com.pulumi.ibm.inputs.GetSatelliteStorageConfigurationArgs;
    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 storageConfiguration = IbmFunctions.getSatelliteStorageConfiguration(GetSatelliteStorageConfigurationArgs.builder()
                .configName(var_.config_name())
                .location(var_.location())
                .build());
    
        }
    }
    
    variables:
      storageConfiguration:
        fn::invoke:
          function: ibm:getSatelliteStorageConfiguration
          arguments:
            configName: ${var.config_name}
            location: ${var.location}
    

    Using getSatelliteStorageConfiguration

    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 getSatelliteStorageConfiguration(args: GetSatelliteStorageConfigurationArgs, opts?: InvokeOptions): Promise<GetSatelliteStorageConfigurationResult>
    function getSatelliteStorageConfigurationOutput(args: GetSatelliteStorageConfigurationOutputArgs, opts?: InvokeOptions): Output<GetSatelliteStorageConfigurationResult>
    def get_satellite_storage_configuration(config_name: Optional[str] = None,
                                            id: Optional[str] = None,
                                            location: Optional[str] = None,
                                            opts: Optional[InvokeOptions] = None) -> GetSatelliteStorageConfigurationResult
    def get_satellite_storage_configuration_output(config_name: Optional[pulumi.Input[str]] = None,
                                            id: Optional[pulumi.Input[str]] = None,
                                            location: Optional[pulumi.Input[str]] = None,
                                            opts: Optional[InvokeOptions] = None) -> Output[GetSatelliteStorageConfigurationResult]
    func LookupSatelliteStorageConfiguration(ctx *Context, args *LookupSatelliteStorageConfigurationArgs, opts ...InvokeOption) (*LookupSatelliteStorageConfigurationResult, error)
    func LookupSatelliteStorageConfigurationOutput(ctx *Context, args *LookupSatelliteStorageConfigurationOutputArgs, opts ...InvokeOption) LookupSatelliteStorageConfigurationResultOutput

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

    public static class GetSatelliteStorageConfiguration 
    {
        public static Task<GetSatelliteStorageConfigurationResult> InvokeAsync(GetSatelliteStorageConfigurationArgs args, InvokeOptions? opts = null)
        public static Output<GetSatelliteStorageConfigurationResult> Invoke(GetSatelliteStorageConfigurationInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSatelliteStorageConfigurationResult> getSatelliteStorageConfiguration(GetSatelliteStorageConfigurationArgs args, InvokeOptions options)
    public static Output<GetSatelliteStorageConfigurationResult> getSatelliteStorageConfiguration(GetSatelliteStorageConfigurationArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getSatelliteStorageConfiguration:getSatelliteStorageConfiguration
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ConfigName string
    The name of the storage configuration.
    Location string
    The name of the location where the storage configuration is created.
    Id string
    (String) The ID of the storage configuration data source.
    ConfigName string
    The name of the storage configuration.
    Location string
    The name of the location where the storage configuration is created.
    Id string
    (String) The ID of the storage configuration data source.
    configName String
    The name of the storage configuration.
    location String
    The name of the location where the storage configuration is created.
    id String
    (String) The ID of the storage configuration data source.
    configName string
    The name of the storage configuration.
    location string
    The name of the location where the storage configuration is created.
    id string
    (String) The ID of the storage configuration data source.
    config_name str
    The name of the storage configuration.
    location str
    The name of the location where the storage configuration is created.
    id str
    (String) The ID of the storage configuration data source.
    configName String
    The name of the storage configuration.
    location String
    The name of the location where the storage configuration is created.
    id String
    (String) The ID of the storage configuration data source.

    getSatelliteStorageConfiguration Result

    The following output properties are available:

    ConfigName string
    ConfigVersion string
    (String) The current version of the storage configuration.
    Id string
    (String) The ID of the storage configuration data source.
    Location string
    StorageClassParameters List<ImmutableDictionary<string, string>>
    (List(Map)) A list of the different storage classes available to the storage configuration, each in the form of a map.
    StorageTemplateName string
    (String) The storage template name used by the storage configuration.
    StorageTemplateVersion string
    (String) The version of the storage template.
    UserConfigParameters Dictionary<string, string>
    (Map) The Storage Configuration parameters of a particular storage template in the form of a Map.
    Uuid string
    (String) The Universally Unique IDentifier (UUID) of the Storage Configuration.
    ConfigName string
    ConfigVersion string
    (String) The current version of the storage configuration.
    Id string
    (String) The ID of the storage configuration data source.
    Location string
    StorageClassParameters []map[string]string
    (List(Map)) A list of the different storage classes available to the storage configuration, each in the form of a map.
    StorageTemplateName string
    (String) The storage template name used by the storage configuration.
    StorageTemplateVersion string
    (String) The version of the storage template.
    UserConfigParameters map[string]string
    (Map) The Storage Configuration parameters of a particular storage template in the form of a Map.
    Uuid string
    (String) The Universally Unique IDentifier (UUID) of the Storage Configuration.
    configName String
    configVersion String
    (String) The current version of the storage configuration.
    id String
    (String) The ID of the storage configuration data source.
    location String
    storageClassParameters List<Map<String,String>>
    (List(Map)) A list of the different storage classes available to the storage configuration, each in the form of a map.
    storageTemplateName String
    (String) The storage template name used by the storage configuration.
    storageTemplateVersion String
    (String) The version of the storage template.
    userConfigParameters Map<String,String>
    (Map) The Storage Configuration parameters of a particular storage template in the form of a Map.
    uuid String
    (String) The Universally Unique IDentifier (UUID) of the Storage Configuration.
    configName string
    configVersion string
    (String) The current version of the storage configuration.
    id string
    (String) The ID of the storage configuration data source.
    location string
    storageClassParameters {[key: string]: string}[]
    (List(Map)) A list of the different storage classes available to the storage configuration, each in the form of a map.
    storageTemplateName string
    (String) The storage template name used by the storage configuration.
    storageTemplateVersion string
    (String) The version of the storage template.
    userConfigParameters {[key: string]: string}
    (Map) The Storage Configuration parameters of a particular storage template in the form of a Map.
    uuid string
    (String) The Universally Unique IDentifier (UUID) of the Storage Configuration.
    config_name str
    config_version str
    (String) The current version of the storage configuration.
    id str
    (String) The ID of the storage configuration data source.
    location str
    storage_class_parameters Sequence[Mapping[str, str]]
    (List(Map)) A list of the different storage classes available to the storage configuration, each in the form of a map.
    storage_template_name str
    (String) The storage template name used by the storage configuration.
    storage_template_version str
    (String) The version of the storage template.
    user_config_parameters Mapping[str, str]
    (Map) The Storage Configuration parameters of a particular storage template in the form of a Map.
    uuid str
    (String) The Universally Unique IDentifier (UUID) of the Storage Configuration.
    configName String
    configVersion String
    (String) The current version of the storage configuration.
    id String
    (String) The ID of the storage configuration data source.
    location String
    storageClassParameters List<Map<String>>
    (List(Map)) A list of the different storage classes available to the storage configuration, each in the form of a map.
    storageTemplateName String
    (String) The storage template name used by the storage configuration.
    storageTemplateVersion String
    (String) The version of the storage template.
    userConfigParameters Map<String>
    (Map) The Storage Configuration parameters of a particular storage template in the form of a Map.
    uuid String
    (String) The Universally Unique IDentifier (UUID) of the Storage Configuration.

    Package Details

    Repository
    ibm ibm-cloud/terraform-provider-ibm
    License
    Notes
    This Pulumi package is based on the ibm Terraform Provider.
    ibm logo
    ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud