ibm 1.78.0 published on Wednesday, Apr 30, 2025 by ibm-cloud
ibm.getSatelliteStorageConfiguration
Explore with Pulumi AI
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:
- Config
Name 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 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 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 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.
- config
Name 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:
- Config
Name string - Config
Version string - (String) The current version of the storage configuration.
- Id string
- (String) The ID of the storage configuration data source.
- Location string
- Storage
Class List<ImmutableParameters Dictionary<string, string>> - (List(Map)) A list of the different storage classes available to the storage configuration, each in the form of a map.
- Storage
Template stringName - (String) The storage template name used by the storage configuration.
- Storage
Template stringVersion - (String) The version of the storage template.
- User
Config Dictionary<string, string>Parameters - (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 string - Config
Version string - (String) The current version of the storage configuration.
- Id string
- (String) The ID of the storage configuration data source.
- Location string
- Storage
Class []map[string]stringParameters - (List(Map)) A list of the different storage classes available to the storage configuration, each in the form of a map.
- Storage
Template stringName - (String) The storage template name used by the storage configuration.
- Storage
Template stringVersion - (String) The version of the storage template.
- User
Config map[string]stringParameters - (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 String - config
Version String - (String) The current version of the storage configuration.
- id String
- (String) The ID of the storage configuration data source.
- location String
- storage
Class List<Map<String,String>>Parameters - (List(Map)) A list of the different storage classes available to the storage configuration, each in the form of a map.
- storage
Template StringName - (String) The storage template name used by the storage configuration.
- storage
Template StringVersion - (String) The version of the storage template.
- user
Config Map<String,String>Parameters - (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 string - config
Version string - (String) The current version of the storage configuration.
- id string
- (String) The ID of the storage configuration data source.
- location string
- storage
Class {[key: string]: string}[]Parameters - (List(Map)) A list of the different storage classes available to the storage configuration, each in the form of a map.
- storage
Template stringName - (String) The storage template name used by the storage configuration.
- storage
Template stringVersion - (String) The version of the storage template.
- user
Config {[key: string]: string}Parameters - (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_ Sequence[Mapping[str, str]]parameters - (List(Map)) A list of the different storage classes available to the storage configuration, each in the form of a map.
- storage_
template_ strname - (String) The storage template name used by the storage configuration.
- storage_
template_ strversion - (String) The version of the storage template.
- user_
config_ Mapping[str, str]parameters - (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.
- config
Name String - config
Version String - (String) The current version of the storage configuration.
- id String
- (String) The ID of the storage configuration data source.
- location String
- storage
Class List<Map<String>>Parameters - (List(Map)) A list of the different storage classes available to the storage configuration, each in the form of a map.
- storage
Template StringName - (String) The storage template name used by the storage configuration.
- storage
Template StringVersion - (String) The version of the storage template.
- user
Config Map<String>Parameters - (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.