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

ibm.getAppidApm

Explore with Pulumi AI

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

    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 dictionary

    The following arguments are supported:

    TenantId string
    The AppID instance GUID
    Id string
    TenantId string
    The AppID instance GUID
    Id string
    tenantId String
    The AppID instance GUID
    id String
    tenantId string
    The AppID instance GUID
    id string
    tenant_id str
    The AppID instance GUID
    id str
    tenantId String
    The AppID instance GUID
    id String

    getAppidApm Result

    The following output properties are available:

    Enabled bool
    (Bool) Enable password reuse policy
    Id string
    LockoutPolicies List<GetAppidApmLockoutPolicy>
    (List of Object) Nested scheme for lockout_policy:
    MinPasswordChangeIntervals List<GetAppidApmMinPasswordChangeInterval>
    (List of Object) Nested scheme for min_password_change_interval:
    PasswordExpirations List<GetAppidApmPasswordExpiration>
    (List of Object) Nested scheme for password_expiration:
    PasswordReuses List<GetAppidApmPasswordReus>
    (List of Object) Nested scheme for password_reuse:
    PreventPasswordWithUsername bool
    (Boolean) true to prevent username in passwords
    TenantId string
    Enabled bool
    (Bool) Enable password reuse policy
    Id string
    LockoutPolicies []GetAppidApmLockoutPolicy
    (List of Object) Nested scheme for lockout_policy:
    MinPasswordChangeIntervals []GetAppidApmMinPasswordChangeInterval
    (List of Object) Nested scheme for min_password_change_interval:
    PasswordExpirations []GetAppidApmPasswordExpiration
    (List of Object) Nested scheme for password_expiration:
    PasswordReuses []GetAppidApmPasswordReus
    (List of Object) Nested scheme for password_reuse:
    PreventPasswordWithUsername bool
    (Boolean) true to prevent username in passwords
    TenantId string
    enabled Boolean
    (Bool) Enable password reuse policy
    id String
    lockoutPolicies List<GetAppidApmLockoutPolicy>
    (List of Object) Nested scheme for lockout_policy:
    minPasswordChangeIntervals List<GetAppidApmMinPasswordChangeInterval>
    (List of Object) Nested scheme for min_password_change_interval:
    passwordExpirations List<GetAppidApmPasswordExpiration>
    (List of Object) Nested scheme for password_expiration:
    passwordReuses List<GetAppidApmPasswordReus>
    (List of Object) Nested scheme for password_reuse:
    preventPasswordWithUsername Boolean
    (Boolean) true to prevent username in passwords
    tenantId String
    enabled boolean
    (Bool) Enable password reuse policy
    id string
    lockoutPolicies GetAppidApmLockoutPolicy[]
    (List of Object) Nested scheme for lockout_policy:
    minPasswordChangeIntervals GetAppidApmMinPasswordChangeInterval[]
    (List of Object) Nested scheme for min_password_change_interval:
    passwordExpirations GetAppidApmPasswordExpiration[]
    (List of Object) Nested scheme for password_expiration:
    passwordReuses GetAppidApmPasswordReus[]
    (List of Object) Nested scheme for password_reuse:
    preventPasswordWithUsername boolean
    (Boolean) true to prevent username in passwords
    tenantId string
    enabled bool
    (Bool) Enable password reuse policy
    id str
    lockout_policies Sequence[GetAppidApmLockoutPolicy]
    (List of Object) Nested scheme for lockout_policy:
    min_password_change_intervals Sequence[GetAppidApmMinPasswordChangeInterval]
    (List of Object) Nested scheme for min_password_change_interval:
    password_expirations Sequence[GetAppidApmPasswordExpiration]
    (List of Object) Nested scheme for password_expiration:
    password_reuses Sequence[GetAppidApmPasswordReus]
    (List of Object) Nested scheme for password_reuse:
    prevent_password_with_username bool
    (Boolean) true to prevent username in passwords
    tenant_id str
    enabled Boolean
    (Bool) Enable password reuse policy
    id String
    lockoutPolicies List<Property Map>
    (List of Object) Nested scheme for lockout_policy:
    minPasswordChangeIntervals List<Property Map>
    (List of Object) Nested scheme for min_password_change_interval:
    passwordExpirations List<Property Map>
    (List of Object) Nested scheme for password_expiration:
    passwordReuses List<Property Map>
    (List of Object) Nested scheme for password_reuse:
    preventPasswordWithUsername Boolean
    (Boolean) true to prevent username in passwords
    tenantId String

    Supporting Types

    GetAppidApmLockoutPolicy

    Enabled bool
    (Bool) Enable password reuse policy
    LockoutTimeSec double
    (Int) Lockout timeout in seconds
    NumOfAttempts double
    (Int) Number of invalid attempts before lockout
    Enabled bool
    (Bool) Enable password reuse policy
    LockoutTimeSec float64
    (Int) Lockout timeout in seconds
    NumOfAttempts float64
    (Int) Number of invalid attempts before lockout
    enabled Boolean
    (Bool) Enable password reuse policy
    lockoutTimeSec Double
    (Int) Lockout timeout in seconds
    numOfAttempts Double
    (Int) Number of invalid attempts before lockout
    enabled boolean
    (Bool) Enable password reuse policy
    lockoutTimeSec number
    (Int) Lockout timeout in seconds
    numOfAttempts number
    (Int) Number of invalid attempts before lockout
    enabled bool
    (Bool) Enable password reuse policy
    lockout_time_sec float
    (Int) Lockout timeout in seconds
    num_of_attempts float
    (Int) Number of invalid attempts before lockout
    enabled Boolean
    (Bool) Enable password reuse policy
    lockoutTimeSec Number
    (Int) Lockout timeout in seconds
    numOfAttempts Number
    (Int) Number of invalid attempts before lockout

    GetAppidApmMinPasswordChangeInterval

    Enabled bool
    (Bool) Enable password reuse policy
    MinHoursToChangePassword double
    (Int) Min amount of hours between password changes
    Enabled bool
    (Bool) Enable password reuse policy
    MinHoursToChangePassword float64
    (Int) Min amount of hours between password changes
    enabled Boolean
    (Bool) Enable password reuse policy
    minHoursToChangePassword Double
    (Int) Min amount of hours between password changes
    enabled boolean
    (Bool) Enable password reuse policy
    minHoursToChangePassword number
    (Int) Min amount of hours between password changes
    enabled bool
    (Bool) Enable password reuse policy
    min_hours_to_change_password float
    (Int) Min amount of hours between password changes
    enabled Boolean
    (Bool) Enable password reuse policy
    minHoursToChangePassword Number
    (Int) Min amount of hours between password changes

    GetAppidApmPasswordExpiration

    DaysToExpire double
    (Int) Days until password expires
    Enabled bool
    (Bool) Enable password reuse policy
    DaysToExpire float64
    (Int) Days until password expires
    Enabled bool
    (Bool) Enable password reuse policy
    daysToExpire Double
    (Int) Days until password expires
    enabled Boolean
    (Bool) Enable password reuse policy
    daysToExpire number
    (Int) Days until password expires
    enabled boolean
    (Bool) Enable password reuse policy
    days_to_expire float
    (Int) Days until password expires
    enabled bool
    (Bool) Enable password reuse policy
    daysToExpire Number
    (Int) Days until password expires
    enabled Boolean
    (Bool) Enable password reuse policy

    GetAppidApmPasswordReus

    Enabled bool
    (Bool) Enable password reuse policy
    MaxPasswordReuse double
    (Int) Maximum password reuse
    Enabled bool
    (Bool) Enable password reuse policy
    MaxPasswordReuse float64
    (Int) Maximum password reuse
    enabled Boolean
    (Bool) Enable password reuse policy
    maxPasswordReuse Double
    (Int) Maximum password reuse
    enabled boolean
    (Bool) Enable password reuse policy
    maxPasswordReuse number
    (Int) Maximum password reuse
    enabled bool
    (Bool) Enable password reuse policy
    max_password_reuse float
    (Int) Maximum password reuse
    enabled Boolean
    (Bool) Enable password reuse policy
    maxPasswordReuse Number
    (Int) Maximum password reuse

    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