1. Packages
  2. Ibm Provider
  3. API Docs
  4. getPiSapProfile
ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud

ibm.getPiSapProfile

Explore with Pulumi AI

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",
});
Copy
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")
Copy
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
	})
}
Copy
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",
    });

});
Copy
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());

    }
}
Copy
variables:
  example:
    fn::invoke:
      function: ibm:getPiSapProfile
      arguments:
        piCloudInstanceId: <value of the cloud_instance_id>
        piSapProfileId: tinytest-1x4
Copy

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";
Copy
import pulumi
Copy
package main

import (
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;

return await Deployment.RunAsync(() => 
{
});
Copy
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) {
    }
}
Copy
{}
Copy

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>
Copy
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]
Copy
func GetPiSapProfile(ctx *Context, args *GetPiSapProfileArgs, opts ...InvokeOption) (*GetPiSapProfileResult, error)
func GetPiSapProfileOutput(ctx *Context, args *GetPiSapProfileOutputArgs, opts ...InvokeOption) GetPiSapProfileResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetPiSapProfileResult> getPiSapProfile(GetPiSapProfileArgs args, InvokeOptions options)
public static Output<GetPiSapProfileResult> getPiSapProfile(GetPiSapProfileArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: ibm:index/getPiSapProfile:getPiSapProfile
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

PiCloudInstanceId This property is required. string
The GUID of the service instance associated with an account.
PiSapProfileId This property is required. string
SAP Profile ID.
Id string
PiCloudInstanceId This property is required. string
The GUID of the service instance associated with an account.
PiSapProfileId This property is required. string
SAP Profile ID.
Id string
piCloudInstanceId This property is required. String
The GUID of the service instance associated with an account.
piSapProfileId This property is required. String
SAP Profile ID.
id String
piCloudInstanceId This property is required. string
The GUID of the service instance associated with an account.
piSapProfileId This property is required. string
SAP Profile ID.
id string
pi_cloud_instance_id This property is required. str
The GUID of the service instance associated with an account.
pi_sap_profile_id This property is required. str
SAP Profile ID.
id str
piCloudInstanceId This property is required. String
The GUID of the service instance associated with an account.
piSapProfileId This property is required. 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.