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

ibm.getPiSapProfile

Explore with Pulumi AI

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

    Retrieve information about a SAP profile. 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.getPiSapProfile({
        piCloudInstanceId: "<value of the cloud_instance_id>",
        piSapProfileId: "tinytest-1x4",
    });
    
    import pulumi
    import pulumi_ibm as ibm
    
    example = ibm.get_pi_sap_profile(pi_cloud_instance_id="<value of the cloud_instance_id>",
        pi_sap_profile_id="tinytest-1x4")
    
    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.GetPiSapProfile(ctx, &ibm.GetPiSapProfileArgs{
    			PiCloudInstanceId: "<value of the cloud_instance_id>",
    			PiSapProfileId:    "tinytest-1x4",
    		}, 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.GetPiSapProfile.Invoke(new()
        {
            PiCloudInstanceId = "<value of the cloud_instance_id>",
            PiSapProfileId = "tinytest-1x4",
        });
    
    });
    
    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.GetPiSapProfileArgs;
    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.getPiSapProfile(GetPiSapProfileArgs.builder()
                .piCloudInstanceId("<value of the cloud_instance_id>")
                .piSapProfileId("tinytest-1x4")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: ibm:getPiSapProfile
          arguments:
            piCloudInstanceId: <value of the cloud_instance_id>
            piSapProfileId: tinytest-1x4
    

    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 getPiSapProfile

    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 getPiSapProfile(args: GetPiSapProfileArgs, opts?: InvokeOptions): Promise<GetPiSapProfileResult>
    function getPiSapProfileOutput(args: GetPiSapProfileOutputArgs, opts?: InvokeOptions): Output<GetPiSapProfileResult>
    def get_pi_sap_profile(id: Optional[str] = None,
                           pi_cloud_instance_id: Optional[str] = None,
                           pi_sap_profile_id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetPiSapProfileResult
    def get_pi_sap_profile_output(id: Optional[pulumi.Input[str]] = None,
                           pi_cloud_instance_id: Optional[pulumi.Input[str]] = None,
                           pi_sap_profile_id: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetPiSapProfileResult]
    func GetPiSapProfile(ctx *Context, args *GetPiSapProfileArgs, opts ...InvokeOption) (*GetPiSapProfileResult, error)
    func GetPiSapProfileOutput(ctx *Context, args *GetPiSapProfileOutputArgs, opts ...InvokeOption) GetPiSapProfileResultOutput

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

    public static class GetPiSapProfile 
    {
        public static Task<GetPiSapProfileResult> InvokeAsync(GetPiSapProfileArgs args, InvokeOptions? opts = null)
        public static Output<GetPiSapProfileResult> Invoke(GetPiSapProfileInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPiSapProfileResult> getPiSapProfile(GetPiSapProfileArgs args, InvokeOptions options)
    public static Output<GetPiSapProfileResult> getPiSapProfile(GetPiSapProfileArgs args, InvokeOptions options)
    
    fn::invoke:
      function: ibm:index/getPiSapProfile:getPiSapProfile
      arguments:
        # arguments dictionary

    The following arguments are supported:

    PiCloudInstanceId string
    The GUID of the service instance associated with an account.
    PiSapProfileId string
    SAP Profile ID.
    Id string
    PiCloudInstanceId string
    The GUID of the service instance associated with an account.
    PiSapProfileId string
    SAP Profile ID.
    Id string
    piCloudInstanceId String
    The GUID of the service instance associated with an account.
    piSapProfileId String
    SAP Profile ID.
    id String
    piCloudInstanceId string
    The GUID of the service instance associated with an account.
    piSapProfileId string
    SAP Profile ID.
    id string
    pi_cloud_instance_id str
    The GUID of the service instance associated with an account.
    pi_sap_profile_id str
    SAP Profile ID.
    id str
    piCloudInstanceId String
    The GUID of the service instance associated with an account.
    piSapProfileId String
    SAP Profile ID.
    id String

    getPiSapProfile Result

    The following output properties are available:

    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.
    Id string
    Memory double
    (Integer) Amount of memory (in GB).
    PiCloudInstanceId string
    PiSapProfileId string
    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.
    Id string
    Memory float64
    (Integer) Amount of memory (in GB).
    PiCloudInstanceId string
    PiSapProfileId string
    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.
    id String
    memory Double
    (Integer) Amount of memory (in GB).
    piCloudInstanceId String
    piSapProfileId String
    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.
    id string
    memory number
    (Integer) Amount of memory (in GB).
    piCloudInstanceId string
    piSapProfileId string
    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.
    id str
    memory float
    (Integer) Amount of memory (in GB).
    pi_cloud_instance_id str
    pi_sap_profile_id str
    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.
    id String
    memory Number
    (Integer) Amount of memory (in GB).
    piCloudInstanceId String
    piSapProfileId String
    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