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

ibm.getSatelliteStorageAssignment

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 Assignment. 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 assignment = ibm.getSatelliteStorageAssignment({
        uuid: _var.uuid,
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    assignment = ibm.get_satellite_storage_assignment(uuid=var["uuid"])
    
    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.LookupSatelliteStorageAssignment(ctx, &ibm.LookupSatelliteStorageAssignmentArgs{
    			Uuid: _var.Uuid,
    		}, 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 assignment = Ibm.GetSatelliteStorageAssignment.Invoke(new()
        {
            Uuid = @var.Uuid,
        });
    
    });
    
    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.GetSatelliteStorageAssignmentArgs;
    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 assignment = IbmFunctions.getSatelliteStorageAssignment(GetSatelliteStorageAssignmentArgs.builder()
                .uuid(var_.uuid())
                .build());
    
        }
    }
    
    variables:
      assignment:
        fn::invoke:
          function: ibm:getSatelliteStorageAssignment
          arguments:
            uuid: ${var.uuid}
    

    Using getSatelliteStorageAssignment

    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 getSatelliteStorageAssignment(args: GetSatelliteStorageAssignmentArgs, opts?: InvokeOptions): Promise<GetSatelliteStorageAssignmentResult>
    function getSatelliteStorageAssignmentOutput(args: GetSatelliteStorageAssignmentOutputArgs, opts?: InvokeOptions): Output<GetSatelliteStorageAssignmentResult>
    def get_satellite_storage_assignment(id: Optional[str] = None,
                                         uuid: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetSatelliteStorageAssignmentResult
    def get_satellite_storage_assignment_output(id: Optional[pulumi.Input[str]] = None,
                                         uuid: Optional[pulumi.Input[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetSatelliteStorageAssignmentResult]
    func LookupSatelliteStorageAssignment(ctx *Context, args *LookupSatelliteStorageAssignmentArgs, opts ...InvokeOption) (*LookupSatelliteStorageAssignmentResult, error)
    func LookupSatelliteStorageAssignmentOutput(ctx *Context, args *LookupSatelliteStorageAssignmentOutputArgs, opts ...InvokeOption) LookupSatelliteStorageAssignmentResultOutput

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

    public static class GetSatelliteStorageAssignment 
    {
        public static Task<GetSatelliteStorageAssignmentResult> InvokeAsync(GetSatelliteStorageAssignmentArgs args, InvokeOptions? opts = null)
        public static Output<GetSatelliteStorageAssignmentResult> Invoke(GetSatelliteStorageAssignmentInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetSatelliteStorageAssignmentResult> getSatelliteStorageAssignment(GetSatelliteStorageAssignmentArgs args, InvokeOptions options)
    public static Output<GetSatelliteStorageAssignmentResult> getSatelliteStorageAssignment(GetSatelliteStorageAssignmentArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getSatelliteStorageAssignment:getSatelliteStorageAssignment
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Uuid string
    The Universally Unique IDentifier (UUID) of the Assignment.
    Id string
    (String) ID of the Storage Assignment Resource
    Uuid string
    The Universally Unique IDentifier (UUID) of the Assignment.
    Id string
    (String) ID of the Storage Assignment Resource
    uuid String
    The Universally Unique IDentifier (UUID) of the Assignment.
    id String
    (String) ID of the Storage Assignment Resource
    uuid string
    The Universally Unique IDentifier (UUID) of the Assignment.
    id string
    (String) ID of the Storage Assignment Resource
    uuid str
    The Universally Unique IDentifier (UUID) of the Assignment.
    id str
    (String) ID of the Storage Assignment Resource
    uuid String
    The Universally Unique IDentifier (UUID) of the Assignment.
    id String
    (String) ID of the Storage Assignment Resource

    getSatelliteStorageAssignment Result

    The following output properties are available:

    AssignmentName string
    (String) The name of the assignment
    AssignmentType string
    (String) The Type of Assignment.
    Cluster string
    (Required, String) The id of the cluster assigned to the defined configuration.

    • Constraints: Required with controller and Conflicts with groups
    Config string
    (String) The name of the storage configuration assigned.
    ConfigUuid string
    (String) The Universally Unique IDentifier (UUID) of the Storage Configuration.
    ConfigVersion string
    (String) The Current Storage Configuration Version.
    ConfigVersionUuid string
    (String) The Universally Unique IDentifier (UUID) of the Storage Configuration Version.
    Created string
    (String) The Time of Creation of the Assignment.
    Groups List<string>
    (List(String)) A list of strings of cluster groups assigned to the defined configuration.
    Id string
    (String) ID of the Storage Assignment Resource
    IsAssignmentUpgradeAvailable bool
    (Bool) Whether a Configuration Revision Update is Available for the Assignment.
    Owner string
    (String) The Owner of the Assignment.
    RolloutErrorCount double
    (String) The Rollout Error Count of the Assignment.
    RolloutSuccessCount double
    (String) The Rollout Success Count of the Assignment.
    SatCluster string
    (String) ID of the Satellite cluster that you have assigned the configuration to.
    SvcCluster string
    (String) ID of the Service Cluster that you have assigned the configuration to.
    Uuid string
    AssignmentName string
    (String) The name of the assignment
    AssignmentType string
    (String) The Type of Assignment.
    Cluster string
    (Required, String) The id of the cluster assigned to the defined configuration.

    • Constraints: Required with controller and Conflicts with groups
    Config string
    (String) The name of the storage configuration assigned.
    ConfigUuid string
    (String) The Universally Unique IDentifier (UUID) of the Storage Configuration.
    ConfigVersion string
    (String) The Current Storage Configuration Version.
    ConfigVersionUuid string
    (String) The Universally Unique IDentifier (UUID) of the Storage Configuration Version.
    Created string
    (String) The Time of Creation of the Assignment.
    Groups []string
    (List(String)) A list of strings of cluster groups assigned to the defined configuration.
    Id string
    (String) ID of the Storage Assignment Resource
    IsAssignmentUpgradeAvailable bool
    (Bool) Whether a Configuration Revision Update is Available for the Assignment.
    Owner string
    (String) The Owner of the Assignment.
    RolloutErrorCount float64
    (String) The Rollout Error Count of the Assignment.
    RolloutSuccessCount float64
    (String) The Rollout Success Count of the Assignment.
    SatCluster string
    (String) ID of the Satellite cluster that you have assigned the configuration to.
    SvcCluster string
    (String) ID of the Service Cluster that you have assigned the configuration to.
    Uuid string
    assignmentName String
    (String) The name of the assignment
    assignmentType String
    (String) The Type of Assignment.
    cluster String
    (Required, String) The id of the cluster assigned to the defined configuration.

    • Constraints: Required with controller and Conflicts with groups
    config String
    (String) The name of the storage configuration assigned.
    configUuid String
    (String) The Universally Unique IDentifier (UUID) of the Storage Configuration.
    configVersion String
    (String) The Current Storage Configuration Version.
    configVersionUuid String
    (String) The Universally Unique IDentifier (UUID) of the Storage Configuration Version.
    created String
    (String) The Time of Creation of the Assignment.
    groups List<String>
    (List(String)) A list of strings of cluster groups assigned to the defined configuration.
    id String
    (String) ID of the Storage Assignment Resource
    isAssignmentUpgradeAvailable Boolean
    (Bool) Whether a Configuration Revision Update is Available for the Assignment.
    owner String
    (String) The Owner of the Assignment.
    rolloutErrorCount Double
    (String) The Rollout Error Count of the Assignment.
    rolloutSuccessCount Double
    (String) The Rollout Success Count of the Assignment.
    satCluster String
    (String) ID of the Satellite cluster that you have assigned the configuration to.
    svcCluster String
    (String) ID of the Service Cluster that you have assigned the configuration to.
    uuid String
    assignmentName string
    (String) The name of the assignment
    assignmentType string
    (String) The Type of Assignment.
    cluster string
    (Required, String) The id of the cluster assigned to the defined configuration.

    • Constraints: Required with controller and Conflicts with groups
    config string
    (String) The name of the storage configuration assigned.
    configUuid string
    (String) The Universally Unique IDentifier (UUID) of the Storage Configuration.
    configVersion string
    (String) The Current Storage Configuration Version.
    configVersionUuid string
    (String) The Universally Unique IDentifier (UUID) of the Storage Configuration Version.
    created string
    (String) The Time of Creation of the Assignment.
    groups string[]
    (List(String)) A list of strings of cluster groups assigned to the defined configuration.
    id string
    (String) ID of the Storage Assignment Resource
    isAssignmentUpgradeAvailable boolean
    (Bool) Whether a Configuration Revision Update is Available for the Assignment.
    owner string
    (String) The Owner of the Assignment.
    rolloutErrorCount number
    (String) The Rollout Error Count of the Assignment.
    rolloutSuccessCount number
    (String) The Rollout Success Count of the Assignment.
    satCluster string
    (String) ID of the Satellite cluster that you have assigned the configuration to.
    svcCluster string
    (String) ID of the Service Cluster that you have assigned the configuration to.
    uuid string
    assignment_name str
    (String) The name of the assignment
    assignment_type str
    (String) The Type of Assignment.
    cluster str
    (Required, String) The id of the cluster assigned to the defined configuration.

    • Constraints: Required with controller and Conflicts with groups
    config str
    (String) The name of the storage configuration assigned.
    config_uuid str
    (String) The Universally Unique IDentifier (UUID) of the Storage Configuration.
    config_version str
    (String) The Current Storage Configuration Version.
    config_version_uuid str
    (String) The Universally Unique IDentifier (UUID) of the Storage Configuration Version.
    created str
    (String) The Time of Creation of the Assignment.
    groups Sequence[str]
    (List(String)) A list of strings of cluster groups assigned to the defined configuration.
    id str
    (String) ID of the Storage Assignment Resource
    is_assignment_upgrade_available bool
    (Bool) Whether a Configuration Revision Update is Available for the Assignment.
    owner str
    (String) The Owner of the Assignment.
    rollout_error_count float
    (String) The Rollout Error Count of the Assignment.
    rollout_success_count float
    (String) The Rollout Success Count of the Assignment.
    sat_cluster str
    (String) ID of the Satellite cluster that you have assigned the configuration to.
    svc_cluster str
    (String) ID of the Service Cluster that you have assigned the configuration to.
    uuid str
    assignmentName String
    (String) The name of the assignment
    assignmentType String
    (String) The Type of Assignment.
    cluster String
    (Required, String) The id of the cluster assigned to the defined configuration.

    • Constraints: Required with controller and Conflicts with groups
    config String
    (String) The name of the storage configuration assigned.
    configUuid String
    (String) The Universally Unique IDentifier (UUID) of the Storage Configuration.
    configVersion String
    (String) The Current Storage Configuration Version.
    configVersionUuid String
    (String) The Universally Unique IDentifier (UUID) of the Storage Configuration Version.
    created String
    (String) The Time of Creation of the Assignment.
    groups List<String>
    (List(String)) A list of strings of cluster groups assigned to the defined configuration.
    id String
    (String) ID of the Storage Assignment Resource
    isAssignmentUpgradeAvailable Boolean
    (Bool) Whether a Configuration Revision Update is Available for the Assignment.
    owner String
    (String) The Owner of the Assignment.
    rolloutErrorCount Number
    (String) The Rollout Error Count of the Assignment.
    rolloutSuccessCount Number
    (String) The Rollout Success Count of the Assignment.
    satCluster String
    (String) ID of the Satellite cluster that you have assigned the configuration to.
    svcCluster String
    (String) ID of the Service Cluster that you have assigned the configuration to.
    uuid String

    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