ibm 1.77.1 published on Monday, Apr 14, 2025 by ibm-cloud
ibm.getAppidApm
Explore with Pulumi AI
Retrieve information about an IBM Cloud AppID Management Services APM. For more information, see defining password policies.
WARNING: This feature is only available for AppID graduated tier plans.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const app = ibm.getAppidApm({
    tenantId: _var.tenant_id,
});
import pulumi
import pulumi_ibm as ibm
app = ibm.get_appid_apm(tenant_id=var["tenant_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.LookupAppidApm(ctx, &ibm.LookupAppidApmArgs{
			TenantId: _var.Tenant_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 app = Ibm.GetAppidApm.Invoke(new()
    {
        TenantId = @var.Tenant_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.GetAppidApmArgs;
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 app = IbmFunctions.getAppidApm(GetAppidApmArgs.builder()
            .tenantId(var_.tenant_id())
            .build());
    }
}
variables:
  app:
    fn::invoke:
      function: ibm:getAppidApm
      arguments:
        tenantId: ${var.tenant_id}
Using getAppidApm
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 getAppidApm(args: GetAppidApmArgs, opts?: InvokeOptions): Promise<GetAppidApmResult>
function getAppidApmOutput(args: GetAppidApmOutputArgs, opts?: InvokeOptions): Output<GetAppidApmResult>def get_appid_apm(id: Optional[str] = None,
                  tenant_id: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetAppidApmResult
def get_appid_apm_output(id: Optional[pulumi.Input[str]] = None,
                  tenant_id: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetAppidApmResult]func LookupAppidApm(ctx *Context, args *LookupAppidApmArgs, opts ...InvokeOption) (*LookupAppidApmResult, error)
func LookupAppidApmOutput(ctx *Context, args *LookupAppidApmOutputArgs, opts ...InvokeOption) LookupAppidApmResultOutput> Note: This function is named LookupAppidApm in the Go SDK.
public static class GetAppidApm 
{
    public static Task<GetAppidApmResult> InvokeAsync(GetAppidApmArgs args, InvokeOptions? opts = null)
    public static Output<GetAppidApmResult> Invoke(GetAppidApmInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAppidApmResult> getAppidApm(GetAppidApmArgs args, InvokeOptions options)
public static Output<GetAppidApmResult> getAppidApm(GetAppidApmArgs args, InvokeOptions options)
fn::invoke:
  function: ibm:index/getAppidApm:getAppidApm
  arguments:
    # arguments dictionaryThe following arguments are supported:
getAppidApm Result
The following output properties are available:
- Enabled bool
 - (Bool) Enable password reuse policy
 - Id string
 - Lockout
Policies List<GetAppid Apm Lockout Policy>  - (List of Object)
Nested scheme for 
lockout_policy: - Min
Password List<GetChange Intervals Appid Apm Min Password Change Interval>  - (List of Object)
Nested scheme for 
min_password_change_interval: - Password
Expirations List<GetAppid Apm Password Expiration>  - (List of Object)
Nested scheme for 
password_expiration: - Password
Reuses List<GetAppid Apm Password Reus>  - (List of Object)
Nested scheme for 
password_reuse: - Prevent
Password boolWith Username  - (Boolean) 
trueto prevent username in passwords - Tenant
Id string 
- Enabled bool
 - (Bool) Enable password reuse policy
 - Id string
 - Lockout
Policies []GetAppid Apm Lockout Policy  - (List of Object)
Nested scheme for 
lockout_policy: - Min
Password []GetChange Intervals Appid Apm Min Password Change Interval  - (List of Object)
Nested scheme for 
min_password_change_interval: - Password
Expirations []GetAppid Apm Password Expiration  - (List of Object)
Nested scheme for 
password_expiration: - Password
Reuses []GetAppid Apm Password Reus  - (List of Object)
Nested scheme for 
password_reuse: - Prevent
Password boolWith Username  - (Boolean) 
trueto prevent username in passwords - Tenant
Id string 
- enabled Boolean
 - (Bool) Enable password reuse policy
 - id String
 - lockout
Policies List<GetAppid Apm Lockout Policy>  - (List of Object)
Nested scheme for 
lockout_policy: - min
Password List<GetChange Intervals Appid Apm Min Password Change Interval>  - (List of Object)
Nested scheme for 
min_password_change_interval: - password
Expirations List<GetAppid Apm Password Expiration>  - (List of Object)
Nested scheme for 
password_expiration: - password
Reuses List<GetAppid Apm Password Reus>  - (List of Object)
Nested scheme for 
password_reuse: - prevent
Password BooleanWith Username  - (Boolean) 
trueto prevent username in passwords - tenant
Id String 
- enabled boolean
 - (Bool) Enable password reuse policy
 - id string
 - lockout
Policies GetAppid Apm Lockout Policy[]  - (List of Object)
Nested scheme for 
lockout_policy: - min
Password GetChange Intervals Appid Apm Min Password Change Interval[]  - (List of Object)
Nested scheme for 
min_password_change_interval: - password
Expirations GetAppid Apm Password Expiration[]  - (List of Object)
Nested scheme for 
password_expiration: - password
Reuses GetAppid Apm Password Reus[]  - (List of Object)
Nested scheme for 
password_reuse: - prevent
Password booleanWith Username  - (Boolean) 
trueto prevent username in passwords - tenant
Id string 
- enabled bool
 - (Bool) Enable password reuse policy
 - id str
 - lockout_
policies Sequence[GetAppid Apm Lockout Policy]  - (List of Object)
Nested scheme for 
lockout_policy: - min_
password_ Sequence[Getchange_ intervals Appid Apm Min Password Change Interval]  - (List of Object)
Nested scheme for 
min_password_change_interval: - password_
expirations Sequence[GetAppid Apm Password Expiration]  - (List of Object)
Nested scheme for 
password_expiration: - password_
reuses Sequence[GetAppid Apm Password Reus]  - (List of Object)
Nested scheme for 
password_reuse: - prevent_
password_ boolwith_ username  - (Boolean) 
trueto prevent username in passwords - tenant_
id str 
- enabled Boolean
 - (Bool) Enable password reuse policy
 - id String
 - lockout
Policies List<Property Map> - (List of Object)
Nested scheme for 
lockout_policy: - min
Password List<Property Map>Change Intervals  - (List of Object)
Nested scheme for 
min_password_change_interval: - password
Expirations List<Property Map> - (List of Object)
Nested scheme for 
password_expiration: - password
Reuses List<Property Map> - (List of Object)
Nested scheme for 
password_reuse: - prevent
Password BooleanWith Username  - (Boolean) 
trueto prevent username in passwords - tenant
Id String 
Supporting Types
GetAppidApmLockoutPolicy    
- Enabled bool
 - (Bool) Enable password reuse policy
 - Lockout
Time doubleSec  - (Int) Lockout timeout in seconds
 - Num
Of doubleAttempts  - (Int) Number of invalid attempts before lockout
 
- Enabled bool
 - (Bool) Enable password reuse policy
 - Lockout
Time float64Sec  - (Int) Lockout timeout in seconds
 - Num
Of float64Attempts  - (Int) Number of invalid attempts before lockout
 
- enabled Boolean
 - (Bool) Enable password reuse policy
 - lockout
Time DoubleSec  - (Int) Lockout timeout in seconds
 - num
Of DoubleAttempts  - (Int) Number of invalid attempts before lockout
 
- enabled boolean
 - (Bool) Enable password reuse policy
 - lockout
Time numberSec  - (Int) Lockout timeout in seconds
 - num
Of numberAttempts  - (Int) Number of invalid attempts before lockout
 
- enabled bool
 - (Bool) Enable password reuse policy
 - lockout_
time_ floatsec  - (Int) Lockout timeout in seconds
 - num_
of_ floatattempts  - (Int) Number of invalid attempts before lockout
 
- enabled Boolean
 - (Bool) Enable password reuse policy
 - lockout
Time NumberSec  - (Int) Lockout timeout in seconds
 - num
Of NumberAttempts  - (Int) Number of invalid attempts before lockout
 
GetAppidApmMinPasswordChangeInterval      
- Enabled bool
 - (Bool) Enable password reuse policy
 - Min
Hours doubleTo Change Password  - (Int) Min amount of hours between password changes
 
- Enabled bool
 - (Bool) Enable password reuse policy
 - Min
Hours float64To Change Password  - (Int) Min amount of hours between password changes
 
- enabled Boolean
 - (Bool) Enable password reuse policy
 - min
Hours DoubleTo Change Password  - (Int) Min amount of hours between password changes
 
- enabled boolean
 - (Bool) Enable password reuse policy
 - min
Hours numberTo Change Password  - (Int) Min amount of hours between password changes
 
- enabled bool
 - (Bool) Enable password reuse policy
 - min_
hours_ floatto_ change_ password  - (Int) Min amount of hours between password changes
 
- enabled Boolean
 - (Bool) Enable password reuse policy
 - min
Hours NumberTo Change Password  - (Int) Min amount of hours between password changes
 
GetAppidApmPasswordExpiration    
- Days
To doubleExpire  - (Int) Days until password expires
 - Enabled bool
 - (Bool) Enable password reuse policy
 
- Days
To float64Expire  - (Int) Days until password expires
 - Enabled bool
 - (Bool) Enable password reuse policy
 
- days
To DoubleExpire  - (Int) Days until password expires
 - enabled Boolean
 - (Bool) Enable password reuse policy
 
- days
To numberExpire  - (Int) Days until password expires
 - enabled boolean
 - (Bool) Enable password reuse policy
 
- days_
to_ floatexpire  - (Int) Days until password expires
 - enabled bool
 - (Bool) Enable password reuse policy
 
- days
To NumberExpire  - (Int) Days until password expires
 - enabled Boolean
 - (Bool) Enable password reuse policy
 
GetAppidApmPasswordReus    
- Enabled bool
 - (Bool) Enable password reuse policy
 - Max
Password doubleReuse  - (Int) Maximum password reuse
 
- Enabled bool
 - (Bool) Enable password reuse policy
 - Max
Password float64Reuse  - (Int) Maximum password reuse
 
- enabled Boolean
 - (Bool) Enable password reuse policy
 - max
Password DoubleReuse  - (Int) Maximum password reuse
 
- enabled boolean
 - (Bool) Enable password reuse policy
 - max
Password numberReuse  - (Int) Maximum password reuse
 
- enabled bool
 - (Bool) Enable password reuse policy
 - max_
password_ floatreuse  - (Int) Maximum password reuse
 
- enabled Boolean
 - (Bool) Enable password reuse policy
 - max
Password NumberReuse  - (Int) Maximum password reuse
 
Package Details
- Repository
 - ibm ibm-cloud/terraform-provider-ibm
 - License
 - Notes
 - This Pulumi package is based on the 
ibmTerraform Provider.