POST v1/bunits/{bunitId}/nodepasswordrule
Create a password rule.
                
Request Information
URI Parameters
| Name | Description | Type | Additional information | 
|---|---|---|---|
bunitId | 
                    ID of the business unit of the password rule | integer | 
                                 Required  | 
                
Body Parameters
the password rule object
NodePasswordRule| Name | Description | Type | Additional information | 
|---|---|---|---|
Type | 
                    
The type of the password rule Options are: PrefixNodeId = 1, NodeIdPostfix = 2, Generated = 3, Static = 4  | 
                    PasswordRuleType | 
                             None.  | 
                
Text | 
                    
The text used when creating a password. This text is used according to the type of rule | 
                    string | 
                             None.  | 
                
MinimumLength | 
                    
If type is generated, the minimum length defines | 
                    integer | 
                             None.  | 
                
PasswordExpirationDays | 
                    
Sets the PassExp property in IBM Storage Protect when activating a backup node Set to 0 (zero) for undefined  | 
                    integer | 
                             None.  | 
                
Id | 
                    
A unique ID for the object. | 
                    integer | 
                                 Read-only.  | 
                
CreatedDate | 
                    
Time and date the object was created. | 
                    date | 
                                 Read-only.  | 
                
ArchivedDate | 
                    
Time and date the object was or is going to be archived.  Unarchived objects have no value in ArchivedDate  | 
                    date | 
                                 Read-only.  | 
                
Operations | 
                    Collection of OperationResult | 
                             None.  | 
                
Request Formats
application/json
            Sample:
    
        Sample not available.
text/json
            Sample:
    
Sample not available.
Response Information
Resource Description
the password rule object with information created
NodePasswordRule| Name | Description | Type | Additional information | 
|---|---|---|---|
Type | 
                    
The type of the password rule Options are: PrefixNodeId = 1, NodeIdPostfix = 2, Generated = 3, Static = 4  | 
                    PasswordRuleType | 
                             None.  | 
                
Text | 
                    
The text used when creating a password. This text is used according to the type of rule | 
                    string | 
                             None.  | 
                
MinimumLength | 
                    
If type is generated, the minimum length defines | 
                    integer | 
                             None.  | 
                
PasswordExpirationDays | 
                    
Sets the PassExp property in IBM Storage Protect when activating a backup node Set to 0 (zero) for undefined  | 
                    integer | 
                             None.  | 
                
Id | 
                    
A unique ID for the object. | 
                    integer | 
                                 Read-only.  | 
                
CreatedDate | 
                    
Time and date the object was created. | 
                    date | 
                                 Read-only.  | 
                
ArchivedDate | 
                    
Time and date the object was or is going to be archived.  Unarchived objects have no value in ArchivedDate  | 
                    date | 
                                 Read-only.  | 
                
Operations | 
                    Collection of OperationResult | 
                             None.  | 
                
Response Formats
application/json
            Sample:
    
        Sample not available.
text/json
            Sample:
    
Sample not available.