published on Monday, Nov 10, 2025 by checkpointsw
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:
- Display
Access boolDenied Message - Indicates whether to display informative message upon denying access. Required only when lockout-admin-account is set to true.
- Failed
Authentication doubleAttempts - Number of failed authentication attempts before lockout administrator account. Required only when lockout-admin-account is set to true.
- Lockout
Admin boolAccount - Indicates whether to lockout administrator's account after specified number of failed authentication attempts.
- Lockout
Duration double - Number of minutes of administrator account lockout. Required only when lockout-admin-account is set to true.
- Management
Set stringLogin Restrictions Id - Unlock
Admin boolAccount - Indicates whether to unlock administrator account after specified number of minutes. Required only when lockout-admin-account is set to true.
- Display
Access boolDenied Message - Indicates whether to display informative message upon denying access. Required only when lockout-admin-account is set to true.
- Failed
Authentication float64Attempts - Number of failed authentication attempts before lockout administrator account. Required only when lockout-admin-account is set to true.
- Lockout
Admin boolAccount - Indicates whether to lockout administrator's account after specified number of failed authentication attempts.
- Lockout
Duration float64 - Number of minutes of administrator account lockout. Required only when lockout-admin-account is set to true.
- Management
Set stringLogin Restrictions Id - Unlock
Admin boolAccount - Indicates whether to unlock administrator account after specified number of minutes. Required only when lockout-admin-account is set to true.
- display
Access BooleanDenied Message - Indicates whether to display informative message upon denying access. Required only when lockout-admin-account is set to true.
- failed
Authentication DoubleAttempts - Number of failed authentication attempts before lockout administrator account. Required only when lockout-admin-account is set to true.
- lockout
Admin BooleanAccount - Indicates whether to lockout administrator's account after specified number of failed authentication attempts.
- lockout
Duration Double - Number of minutes of administrator account lockout. Required only when lockout-admin-account is set to true.
- management
Set StringLogin Restrictions Id - unlock
Admin BooleanAccount - Indicates whether to unlock administrator account after specified number of minutes. Required only when lockout-admin-account is set to true.
- display
Access booleanDenied Message - Indicates whether to display informative message upon denying access. Required only when lockout-admin-account is set to true.
- failed
Authentication numberAttempts - Number of failed authentication attempts before lockout administrator account. Required only when lockout-admin-account is set to true.
- lockout
Admin booleanAccount - Indicates whether to lockout administrator's account after specified number of failed authentication attempts.
- lockout
Duration number - Number of minutes of administrator account lockout. Required only when lockout-admin-account is set to true.
- management
Set stringLogin Restrictions Id - unlock
Admin booleanAccount - Indicates whether to unlock administrator account after specified number of minutes. Required only when lockout-admin-account is set to true.
- display_
access_ booldenied_ message - Indicates whether to display informative message upon denying access. Required only when lockout-admin-account is set to true.
- failed_
authentication_ floatattempts - Number of failed authentication attempts before lockout administrator account. Required only when lockout-admin-account is set to true.
- lockout_
admin_ boolaccount - 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_ strlogin_ restrictions_ id - unlock_
admin_ boolaccount - Indicates whether to unlock administrator account after specified number of minutes. Required only when lockout-admin-account is set to true.
- display
Access BooleanDenied Message - Indicates whether to display informative message upon denying access. Required only when lockout-admin-account is set to true.
- failed
Authentication NumberAttempts - Number of failed authentication attempts before lockout administrator account. Required only when lockout-admin-account is set to true.
- lockout
Admin BooleanAccount - Indicates whether to lockout administrator's account after specified number of failed authentication attempts.
- lockout
Duration Number - Number of minutes of administrator account lockout. Required only when lockout-admin-account is set to true.
- management
Set StringLogin Restrictions Id - unlock
Admin BooleanAccount - 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) -> ManagementSetLoginRestrictionsfunc 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.
- Display
Access boolDenied Message - Indicates whether to display informative message upon denying access. Required only when lockout-admin-account is set to true.
- Failed
Authentication doubleAttempts - Number of failed authentication attempts before lockout administrator account. Required only when lockout-admin-account is set to true.
- Lockout
Admin boolAccount - Indicates whether to lockout administrator's account after specified number of failed authentication attempts.
- Lockout
Duration double - Number of minutes of administrator account lockout. Required only when lockout-admin-account is set to true.
- Management
Set stringLogin Restrictions Id - Unlock
Admin boolAccount - Indicates whether to unlock administrator account after specified number of minutes. Required only when lockout-admin-account is set to true.
- Display
Access boolDenied Message - Indicates whether to display informative message upon denying access. Required only when lockout-admin-account is set to true.
- Failed
Authentication float64Attempts - Number of failed authentication attempts before lockout administrator account. Required only when lockout-admin-account is set to true.
- Lockout
Admin boolAccount - Indicates whether to lockout administrator's account after specified number of failed authentication attempts.
- Lockout
Duration float64 - Number of minutes of administrator account lockout. Required only when lockout-admin-account is set to true.
- Management
Set stringLogin Restrictions Id - Unlock
Admin boolAccount - Indicates whether to unlock administrator account after specified number of minutes. Required only when lockout-admin-account is set to true.
- display
Access BooleanDenied Message - Indicates whether to display informative message upon denying access. Required only when lockout-admin-account is set to true.
- failed
Authentication DoubleAttempts - Number of failed authentication attempts before lockout administrator account. Required only when lockout-admin-account is set to true.
- lockout
Admin BooleanAccount - Indicates whether to lockout administrator's account after specified number of failed authentication attempts.
- lockout
Duration Double - Number of minutes of administrator account lockout. Required only when lockout-admin-account is set to true.
- management
Set StringLogin Restrictions Id - unlock
Admin BooleanAccount - Indicates whether to unlock administrator account after specified number of minutes. Required only when lockout-admin-account is set to true.
- display
Access booleanDenied Message - Indicates whether to display informative message upon denying access. Required only when lockout-admin-account is set to true.
- failed
Authentication numberAttempts - Number of failed authentication attempts before lockout administrator account. Required only when lockout-admin-account is set to true.
- lockout
Admin booleanAccount - Indicates whether to lockout administrator's account after specified number of failed authentication attempts.
- lockout
Duration number - Number of minutes of administrator account lockout. Required only when lockout-admin-account is set to true.
- management
Set stringLogin Restrictions Id - unlock
Admin booleanAccount - Indicates whether to unlock administrator account after specified number of minutes. Required only when lockout-admin-account is set to true.
- display_
access_ booldenied_ message - Indicates whether to display informative message upon denying access. Required only when lockout-admin-account is set to true.
- failed_
authentication_ floatattempts - Number of failed authentication attempts before lockout administrator account. Required only when lockout-admin-account is set to true.
- lockout_
admin_ boolaccount - 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_ strlogin_ restrictions_ id - unlock_
admin_ boolaccount - Indicates whether to unlock administrator account after specified number of minutes. Required only when lockout-admin-account is set to true.
- display
Access BooleanDenied Message - Indicates whether to display informative message upon denying access. Required only when lockout-admin-account is set to true.
- failed
Authentication NumberAttempts - Number of failed authentication attempts before lockout administrator account. Required only when lockout-admin-account is set to true.
- lockout
Admin BooleanAccount - Indicates whether to lockout administrator's account after specified number of failed authentication attempts.
- lockout
Duration Number - Number of minutes of administrator account lockout. Required only when lockout-admin-account is set to true.
- management
Set StringLogin Restrictions Id - unlock
Admin BooleanAccount - 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
checkpointTerraform Provider.
published on Monday, Nov 10, 2025 by checkpointsw
