ibm 1.78.0 published on Wednesday, Apr 30, 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",
});
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:
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Sap stringProfile Id - SAP Profile ID.
- Id string
- Pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- Pi
Sap stringProfile Id - SAP Profile ID.
- Id string
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Sap StringProfile Id - SAP Profile ID.
- id String
- pi
Cloud stringInstance Id - The GUID of the service instance associated with an account.
- pi
Sap stringProfile Id - SAP Profile ID.
- id string
- pi_
cloud_ strinstance_ id - The GUID of the service instance associated with an account.
- pi_
sap_ strprofile_ id - SAP Profile ID.
- id str
- pi
Cloud StringInstance Id - The GUID of the service instance associated with an account.
- pi
Sap StringProfile Id - 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.
- Default
System string - (String) System to use if not provided.
- Full
System boolProfile - (Boolean) Requires full system for deployment.
- Id string
- Memory double
- (Integer) Amount of memory (in GB).
- Pi
Cloud stringInstance Id - Pi
Sap stringProfile Id - Saps double
- (Integer) SAP application performance standard.
- Supported
Systems List<string> - (List) List of supported systems.
- Type string
- (String) Type of profile.
- Workload
Types List<string> - (List) List of workload types.
- Certified bool
- (Boolean) Has certification been performed on profile.
- Cores float64
- (Integer) Amount of cores.
- Default
System string - (String) System to use if not provided.
- Full
System boolProfile - (Boolean) Requires full system for deployment.
- Id string
- Memory float64
- (Integer) Amount of memory (in GB).
- Pi
Cloud stringInstance Id - Pi
Sap stringProfile Id - Saps float64
- (Integer) SAP application performance standard.
- Supported
Systems []string - (List) List of supported systems.
- Type string
- (String) Type of profile.
- Workload
Types []string - (List) List of workload types.
- certified Boolean
- (Boolean) Has certification been performed on profile.
- cores Double
- (Integer) Amount of cores.
- default
System String - (String) System to use if not provided.
- full
System BooleanProfile - (Boolean) Requires full system for deployment.
- id String
- memory Double
- (Integer) Amount of memory (in GB).
- pi
Cloud StringInstance Id - pi
Sap StringProfile Id - saps Double
- (Integer) SAP application performance standard.
- supported
Systems List<String> - (List) List of supported systems.
- type String
- (String) Type of profile.
- workload
Types List<String> - (List) List of workload types.
- certified boolean
- (Boolean) Has certification been performed on profile.
- cores number
- (Integer) Amount of cores.
- default
System string - (String) System to use if not provided.
- full
System booleanProfile - (Boolean) Requires full system for deployment.
- id string
- memory number
- (Integer) Amount of memory (in GB).
- pi
Cloud stringInstance Id - pi
Sap stringProfile Id - saps number
- (Integer) SAP application performance standard.
- supported
Systems string[] - (List) List of supported systems.
- type string
- (String) Type of profile.
- workload
Types 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_ boolprofile - (Boolean) Requires full system for deployment.
- id str
- memory float
- (Integer) Amount of memory (in GB).
- pi_
cloud_ strinstance_ id - pi_
sap_ strprofile_ 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.
- default
System String - (String) System to use if not provided.
- full
System BooleanProfile - (Boolean) Requires full system for deployment.
- id String
- memory Number
- (Integer) Amount of memory (in GB).
- pi
Cloud StringInstance Id - pi
Sap StringProfile Id - saps Number
- (Integer) SAP application performance standard.
- supported
Systems List<String> - (List) List of supported systems.
- type String
- (String) Type of profile.
- workload
Types 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.