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

ibm.getPiSapProfiles

Explore with Pulumi AI

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

    Retrieve information about all SAP profiles. For more information, see getting started with IBM Power Systems Virtual Servers.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as ibm from "@pulumi/ibm";
    
    const example = ibm.getPiSapProfiles({
        piCloudInstanceId: "<value of the cloud_instance_id>",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    example = ibm.get_pi_sap_profiles(pi_cloud_instance_id="<value of the cloud_instance_id>")
    
    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.GetPiSapProfiles(ctx, &ibm.GetPiSapProfilesArgs{
    			PiCloudInstanceId: "<value of the cloud_instance_id>",
    		}, 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 example = Ibm.GetPiSapProfiles.Invoke(new()
        {
            PiCloudInstanceId = "<value of the cloud_instance_id>",
        });
    
    });
    
    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.GetPiSapProfilesArgs;
    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 = IbmFunctions.getPiSapProfiles(GetPiSapProfilesArgs.builder()
                .piCloudInstanceId("<value of the cloud_instance_id>")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: ibm:getPiSapProfiles
          arguments:
            piCloudInstanceId: <value of the cloud_instance_id>
    

    Notes

    • Please find supported Regions for endpoints.
    • If a Power cloud instance is provisioned at lon04, The provider level attributes should be as follows:
      • region - lon
      • zone - lon04

    Example usage:

    import * as pulumi from "@pulumi/pulumi";
    
    import pulumi
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    
    return await Deployment.RunAsync(() => 
    {
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    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) {
        }
    }
    
    {}
    

    Using getPiSapProfiles

    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 getPiSapProfiles(args: GetPiSapProfilesArgs, opts?: InvokeOptions): Promise<GetPiSapProfilesResult>
    function getPiSapProfilesOutput(args: GetPiSapProfilesOutputArgs, opts?: InvokeOptions): Output<GetPiSapProfilesResult>
    def get_pi_sap_profiles(id: Optional[str] = None,
                            pi_cloud_instance_id: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetPiSapProfilesResult
    def get_pi_sap_profiles_output(id: Optional[pulumi.Input[str]] = None,
                            pi_cloud_instance_id: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetPiSapProfilesResult]
    func GetPiSapProfiles(ctx *Context, args *GetPiSapProfilesArgs, opts ...InvokeOption) (*GetPiSapProfilesResult, error)
    func GetPiSapProfilesOutput(ctx *Context, args *GetPiSapProfilesOutputArgs, opts ...InvokeOption) GetPiSapProfilesResultOutput

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

    public static class GetPiSapProfiles 
    {
        public static Task<GetPiSapProfilesResult> InvokeAsync(GetPiSapProfilesArgs args, InvokeOptions? opts = null)
        public static Output<GetPiSapProfilesResult> Invoke(GetPiSapProfilesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPiSapProfilesResult> getPiSapProfiles(GetPiSapProfilesArgs args, InvokeOptions options)
    public static Output<GetPiSapProfilesResult> getPiSapProfiles(GetPiSapProfilesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getPiSapProfiles:getPiSapProfiles
      arguments:
        # arguments dictionary

    The following arguments are supported:

    PiCloudInstanceId string
    The GUID of the service instance associated with an account.
    Id string
    PiCloudInstanceId string
    The GUID of the service instance associated with an account.
    Id string
    piCloudInstanceId String
    The GUID of the service instance associated with an account.
    id String
    piCloudInstanceId string
    The GUID of the service instance associated with an account.
    id string
    pi_cloud_instance_id str
    The GUID of the service instance associated with an account.
    id str
    piCloudInstanceId String
    The GUID of the service instance associated with an account.
    id String

    getPiSapProfiles Result

    The following output properties are available:

    Id string
    PiCloudInstanceId string
    Profiles List<GetPiSapProfilesProfile>
    (List) List of all the SAP Profiles.
    Id string
    PiCloudInstanceId string
    Profiles []GetPiSapProfilesProfile
    (List) List of all the SAP Profiles.
    id String
    piCloudInstanceId String
    profiles List<GetPiSapProfilesProfile>
    (List) List of all the SAP Profiles.
    id string
    piCloudInstanceId string
    profiles GetPiSapProfilesProfile[]
    (List) List of all the SAP Profiles.
    id str
    pi_cloud_instance_id str
    profiles Sequence[GetPiSapProfilesProfile]
    (List) List of all the SAP Profiles.
    id String
    piCloudInstanceId String
    profiles List<Property Map>
    (List) List of all the SAP Profiles.

    Supporting Types

    GetPiSapProfilesProfile

    Certified bool
    (Boolean) Has certification been performed on profile.
    Cores double
    (Integer) Amount of cores.
    DefaultSystem string
    (String) System to use if not provided.
    FullSystemProfile bool
    (Boolean) Requires full system for deployment.
    Memory double
    (Integer) Amount of memory (in GB).
    ProfileId string
    (String) SAP Profile ID.
    Saps double
    (Integer) SAP application performance standard.
    SupportedSystems List<string>
    (List) List of supported systems.
    Type string
    (String) Type of profile.
    WorkloadTypes List<string>
    (List) List of workload types.
    Certified bool
    (Boolean) Has certification been performed on profile.
    Cores float64
    (Integer) Amount of cores.
    DefaultSystem string
    (String) System to use if not provided.
    FullSystemProfile bool
    (Boolean) Requires full system for deployment.
    Memory float64
    (Integer) Amount of memory (in GB).
    ProfileId string
    (String) SAP Profile ID.
    Saps float64
    (Integer) SAP application performance standard.
    SupportedSystems []string
    (List) List of supported systems.
    Type string
    (String) Type of profile.
    WorkloadTypes []string
    (List) List of workload types.
    certified Boolean
    (Boolean) Has certification been performed on profile.
    cores Double
    (Integer) Amount of cores.
    defaultSystem String
    (String) System to use if not provided.
    fullSystemProfile Boolean
    (Boolean) Requires full system for deployment.
    memory Double
    (Integer) Amount of memory (in GB).
    profileId String
    (String) SAP Profile ID.
    saps Double
    (Integer) SAP application performance standard.
    supportedSystems List<String>
    (List) List of supported systems.
    type String
    (String) Type of profile.
    workloadTypes List<String>
    (List) List of workload types.
    certified boolean
    (Boolean) Has certification been performed on profile.
    cores number
    (Integer) Amount of cores.
    defaultSystem string
    (String) System to use if not provided.
    fullSystemProfile boolean
    (Boolean) Requires full system for deployment.
    memory number
    (Integer) Amount of memory (in GB).
    profileId string
    (String) SAP Profile ID.
    saps number
    (Integer) SAP application performance standard.
    supportedSystems string[]
    (List) List of supported systems.
    type string
    (String) Type of profile.
    workloadTypes string[]
    (List) List of workload types.
    certified bool
    (Boolean) Has certification been performed on profile.
    cores float
    (Integer) Amount of cores.
    default_system str
    (String) System to use if not provided.
    full_system_profile bool
    (Boolean) Requires full system for deployment.
    memory float
    (Integer) Amount of memory (in GB).
    profile_id str
    (String) SAP Profile ID.
    saps float
    (Integer) SAP application performance standard.
    supported_systems Sequence[str]
    (List) List of supported systems.
    type str
    (String) Type of profile.
    workload_types Sequence[str]
    (List) List of workload types.
    certified Boolean
    (Boolean) Has certification been performed on profile.
    cores Number
    (Integer) Amount of cores.
    defaultSystem String
    (String) System to use if not provided.
    fullSystemProfile Boolean
    (Boolean) Requires full system for deployment.
    memory Number
    (Integer) Amount of memory (in GB).
    profileId String
    (String) SAP Profile ID.
    saps Number
    (Integer) SAP application performance standard.
    supportedSystems List<String>
    (List) List of supported systems.
    type String
    (String) Type of profile.
    workloadTypes List<String>
    (List) List of workload types.

    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