1. Packages
  2. Checkpoint Provider
  3. API Docs
  4. ManagementSetLoginRestrictions
Viewing docs for checkpoint 2.12.0
published on Monday, Nov 10, 2025 by checkpointsw
checkpoint logo
Viewing docs for checkpoint 2.12.0
published on Monday, Nov 10, 2025 by checkpointsw

    Create ManagementSetLoginRestrictions Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new ManagementSetLoginRestrictions(name: string, args?: ManagementSetLoginRestrictionsArgs, opts?: CustomResourceOptions);
    @overload
    def ManagementSetLoginRestrictions(resource_name: str,
                                       args: Optional[ManagementSetLoginRestrictionsArgs] = None,
                                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def ManagementSetLoginRestrictions(resource_name: str,
                                       opts: Optional[ResourceOptions] = None,
                                       display_access_denied_message: Optional[bool] = None,
                                       failed_authentication_attempts: Optional[float] = None,
                                       lockout_admin_account: Optional[bool] = None,
                                       lockout_duration: Optional[float] = None,
                                       management_set_login_restrictions_id: Optional[str] = None,
                                       unlock_admin_account: Optional[bool] = None)
    func NewManagementSetLoginRestrictions(ctx *Context, name string, args *ManagementSetLoginRestrictionsArgs, opts ...ResourceOption) (*ManagementSetLoginRestrictions, error)
    public ManagementSetLoginRestrictions(string name, ManagementSetLoginRestrictionsArgs? args = null, CustomResourceOptions? opts = null)
    public ManagementSetLoginRestrictions(String name, ManagementSetLoginRestrictionsArgs args)
    public ManagementSetLoginRestrictions(String name, ManagementSetLoginRestrictionsArgs args, CustomResourceOptions options)
    
    type: checkpoint:ManagementSetLoginRestrictions
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args ManagementSetLoginRestrictionsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args ManagementSetLoginRestrictionsArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args ManagementSetLoginRestrictionsArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ManagementSetLoginRestrictionsArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ManagementSetLoginRestrictionsArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var managementSetLoginRestrictionsResource = new Checkpoint.ManagementSetLoginRestrictions("managementSetLoginRestrictionsResource", new()
    {
        DisplayAccessDeniedMessage = false,
        FailedAuthenticationAttempts = 0,
        LockoutAdminAccount = false,
        LockoutDuration = 0,
        ManagementSetLoginRestrictionsId = "string",
        UnlockAdminAccount = false,
    });
    
    example, err := checkpoint.NewManagementSetLoginRestrictions(ctx, "managementSetLoginRestrictionsResource", &checkpoint.ManagementSetLoginRestrictionsArgs{
    	DisplayAccessDeniedMessage:       pulumi.Bool(false),
    	FailedAuthenticationAttempts:     pulumi.Float64(0),
    	LockoutAdminAccount:              pulumi.Bool(false),
    	LockoutDuration:                  pulumi.Float64(0),
    	ManagementSetLoginRestrictionsId: pulumi.String("string"),
    	UnlockAdminAccount:               pulumi.Bool(false),
    })
    
    var managementSetLoginRestrictionsResource = new ManagementSetLoginRestrictions("managementSetLoginRestrictionsResource", ManagementSetLoginRestrictionsArgs.builder()
        .displayAccessDeniedMessage(false)
        .failedAuthenticationAttempts(0.0)
        .lockoutAdminAccount(false)
        .lockoutDuration(0.0)
        .managementSetLoginRestrictionsId("string")
        .unlockAdminAccount(false)
        .build());
    
    management_set_login_restrictions_resource = checkpoint.ManagementSetLoginRestrictions("managementSetLoginRestrictionsResource",
        display_access_denied_message=False,
        failed_authentication_attempts=0,
        lockout_admin_account=False,
        lockout_duration=0,
        management_set_login_restrictions_id="string",
        unlock_admin_account=False)
    
    const managementSetLoginRestrictionsResource = new checkpoint.ManagementSetLoginRestrictions("managementSetLoginRestrictionsResource", {
        displayAccessDeniedMessage: false,
        failedAuthenticationAttempts: 0,
        lockoutAdminAccount: false,
        lockoutDuration: 0,
        managementSetLoginRestrictionsId: "string",
        unlockAdminAccount: false,
    });
    
    type: checkpoint:ManagementSetLoginRestrictions
    properties:
        displayAccessDeniedMessage: false
        failedAuthenticationAttempts: 0
        lockoutAdminAccount: false
        lockoutDuration: 0
        managementSetLoginRestrictionsId: string
        unlockAdminAccount: false
    

    ManagementSetLoginRestrictions Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The ManagementSetLoginRestrictions resource accepts the following input properties:

    DisplayAccessDeniedMessage bool
    Indicates whether to display informative message upon denying access. Required only when lockout-admin-account is set to true.
    FailedAuthenticationAttempts double
    Number of failed authentication attempts before lockout administrator account. Required only when lockout-admin-account is set to true.
    LockoutAdminAccount bool
    Indicates whether to lockout administrator's account after specified number of failed authentication attempts.
    LockoutDuration double
    Number of minutes of administrator account lockout. Required only when lockout-admin-account is set to true.
    ManagementSetLoginRestrictionsId string
    UnlockAdminAccount bool
    Indicates whether to unlock administrator account after specified number of minutes. Required only when lockout-admin-account is set to true.
    DisplayAccessDeniedMessage bool
    Indicates whether to display informative message upon denying access. Required only when lockout-admin-account is set to true.
    FailedAuthenticationAttempts float64
    Number of failed authentication attempts before lockout administrator account. Required only when lockout-admin-account is set to true.
    LockoutAdminAccount bool
    Indicates whether to lockout administrator's account after specified number of failed authentication attempts.
    LockoutDuration float64
    Number of minutes of administrator account lockout. Required only when lockout-admin-account is set to true.
    ManagementSetLoginRestrictionsId string
    UnlockAdminAccount bool
    Indicates whether to unlock administrator account after specified number of minutes. Required only when lockout-admin-account is set to true.
    displayAccessDeniedMessage Boolean
    Indicates whether to display informative message upon denying access. Required only when lockout-admin-account is set to true.
    failedAuthenticationAttempts Double
    Number of failed authentication attempts before lockout administrator account. Required only when lockout-admin-account is set to true.
    lockoutAdminAccount Boolean
    Indicates whether to lockout administrator's account after specified number of failed authentication attempts.
    lockoutDuration Double
    Number of minutes of administrator account lockout. Required only when lockout-admin-account is set to true.
    managementSetLoginRestrictionsId String
    unlockAdminAccount Boolean
    Indicates whether to unlock administrator account after specified number of minutes. Required only when lockout-admin-account is set to true.
    displayAccessDeniedMessage boolean
    Indicates whether to display informative message upon denying access. Required only when lockout-admin-account is set to true.
    failedAuthenticationAttempts number
    Number of failed authentication attempts before lockout administrator account. Required only when lockout-admin-account is set to true.
    lockoutAdminAccount boolean
    Indicates whether to lockout administrator's account after specified number of failed authentication attempts.
    lockoutDuration number
    Number of minutes of administrator account lockout. Required only when lockout-admin-account is set to true.
    managementSetLoginRestrictionsId string
    unlockAdminAccount boolean
    Indicates whether to unlock administrator account after specified number of minutes. Required only when lockout-admin-account is set to true.
    display_access_denied_message bool
    Indicates whether to display informative message upon denying access. Required only when lockout-admin-account is set to true.
    failed_authentication_attempts float
    Number of failed authentication attempts before lockout administrator account. Required only when lockout-admin-account is set to true.
    lockout_admin_account bool
    Indicates whether to lockout administrator's account after specified number of failed authentication attempts.
    lockout_duration float
    Number of minutes of administrator account lockout. Required only when lockout-admin-account is set to true.
    management_set_login_restrictions_id str
    unlock_admin_account bool
    Indicates whether to unlock administrator account after specified number of minutes. Required only when lockout-admin-account is set to true.
    displayAccessDeniedMessage Boolean
    Indicates whether to display informative message upon denying access. Required only when lockout-admin-account is set to true.
    failedAuthenticationAttempts Number
    Number of failed authentication attempts before lockout administrator account. Required only when lockout-admin-account is set to true.
    lockoutAdminAccount Boolean
    Indicates whether to lockout administrator's account after specified number of failed authentication attempts.
    lockoutDuration Number
    Number of minutes of administrator account lockout. Required only when lockout-admin-account is set to true.
    managementSetLoginRestrictionsId String
    unlockAdminAccount Boolean
    Indicates whether to unlock administrator account after specified number of minutes. Required only when lockout-admin-account is set to true.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the ManagementSetLoginRestrictions resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ManagementSetLoginRestrictions Resource

    Get an existing ManagementSetLoginRestrictions resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: ManagementSetLoginRestrictionsState, opts?: CustomResourceOptions): ManagementSetLoginRestrictions
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            display_access_denied_message: Optional[bool] = None,
            failed_authentication_attempts: Optional[float] = None,
            lockout_admin_account: Optional[bool] = None,
            lockout_duration: Optional[float] = None,
            management_set_login_restrictions_id: Optional[str] = None,
            unlock_admin_account: Optional[bool] = None) -> ManagementSetLoginRestrictions
    func GetManagementSetLoginRestrictions(ctx *Context, name string, id IDInput, state *ManagementSetLoginRestrictionsState, opts ...ResourceOption) (*ManagementSetLoginRestrictions, error)
    public static ManagementSetLoginRestrictions Get(string name, Input<string> id, ManagementSetLoginRestrictionsState? state, CustomResourceOptions? opts = null)
    public static ManagementSetLoginRestrictions get(String name, Output<String> id, ManagementSetLoginRestrictionsState state, CustomResourceOptions options)
    resources:  _:    type: checkpoint:ManagementSetLoginRestrictions    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    DisplayAccessDeniedMessage bool
    Indicates whether to display informative message upon denying access. Required only when lockout-admin-account is set to true.
    FailedAuthenticationAttempts double
    Number of failed authentication attempts before lockout administrator account. Required only when lockout-admin-account is set to true.
    LockoutAdminAccount bool
    Indicates whether to lockout administrator's account after specified number of failed authentication attempts.
    LockoutDuration double
    Number of minutes of administrator account lockout. Required only when lockout-admin-account is set to true.
    ManagementSetLoginRestrictionsId string
    UnlockAdminAccount bool
    Indicates whether to unlock administrator account after specified number of minutes. Required only when lockout-admin-account is set to true.
    DisplayAccessDeniedMessage bool
    Indicates whether to display informative message upon denying access. Required only when lockout-admin-account is set to true.
    FailedAuthenticationAttempts float64
    Number of failed authentication attempts before lockout administrator account. Required only when lockout-admin-account is set to true.
    LockoutAdminAccount bool
    Indicates whether to lockout administrator's account after specified number of failed authentication attempts.
    LockoutDuration float64
    Number of minutes of administrator account lockout. Required only when lockout-admin-account is set to true.
    ManagementSetLoginRestrictionsId string
    UnlockAdminAccount bool
    Indicates whether to unlock administrator account after specified number of minutes. Required only when lockout-admin-account is set to true.
    displayAccessDeniedMessage Boolean
    Indicates whether to display informative message upon denying access. Required only when lockout-admin-account is set to true.
    failedAuthenticationAttempts Double
    Number of failed authentication attempts before lockout administrator account. Required only when lockout-admin-account is set to true.
    lockoutAdminAccount Boolean
    Indicates whether to lockout administrator's account after specified number of failed authentication attempts.
    lockoutDuration Double
    Number of minutes of administrator account lockout. Required only when lockout-admin-account is set to true.
    managementSetLoginRestrictionsId String
    unlockAdminAccount Boolean
    Indicates whether to unlock administrator account after specified number of minutes. Required only when lockout-admin-account is set to true.
    displayAccessDeniedMessage boolean
    Indicates whether to display informative message upon denying access. Required only when lockout-admin-account is set to true.
    failedAuthenticationAttempts number
    Number of failed authentication attempts before lockout administrator account. Required only when lockout-admin-account is set to true.
    lockoutAdminAccount boolean
    Indicates whether to lockout administrator's account after specified number of failed authentication attempts.
    lockoutDuration number
    Number of minutes of administrator account lockout. Required only when lockout-admin-account is set to true.
    managementSetLoginRestrictionsId string
    unlockAdminAccount boolean
    Indicates whether to unlock administrator account after specified number of minutes. Required only when lockout-admin-account is set to true.
    display_access_denied_message bool
    Indicates whether to display informative message upon denying access. Required only when lockout-admin-account is set to true.
    failed_authentication_attempts float
    Number of failed authentication attempts before lockout administrator account. Required only when lockout-admin-account is set to true.
    lockout_admin_account bool
    Indicates whether to lockout administrator's account after specified number of failed authentication attempts.
    lockout_duration float
    Number of minutes of administrator account lockout. Required only when lockout-admin-account is set to true.
    management_set_login_restrictions_id str
    unlock_admin_account bool
    Indicates whether to unlock administrator account after specified number of minutes. Required only when lockout-admin-account is set to true.
    displayAccessDeniedMessage Boolean
    Indicates whether to display informative message upon denying access. Required only when lockout-admin-account is set to true.
    failedAuthenticationAttempts Number
    Number of failed authentication attempts before lockout administrator account. Required only when lockout-admin-account is set to true.
    lockoutAdminAccount Boolean
    Indicates whether to lockout administrator's account after specified number of failed authentication attempts.
    lockoutDuration Number
    Number of minutes of administrator account lockout. Required only when lockout-admin-account is set to true.
    managementSetLoginRestrictionsId String
    unlockAdminAccount Boolean
    Indicates whether to unlock administrator account after specified number of minutes. Required only when lockout-admin-account is set to true.

    Package Details

    Repository
    checkpoint checkpointsw/terraform-provider-checkpoint
    License
    Notes
    This Pulumi package is based on the checkpoint Terraform Provider.
    checkpoint logo
    Viewing docs for checkpoint 2.12.0
    published on Monday, Nov 10, 2025 by checkpointsw
      Try Pulumi Cloud free. Your team will thank you.