MGCLatticeDbAccessRequestContract
Data contract for a just-in-time AxDB db_owner access request. The caller supplies the public IPv4 address to allowlist on the database firewall and, optionally, the lifetime of the grant in hours (defaulting to 24). No secret is ever supplied by the caller; the password is generated server-side with a CSPRNG and returned exactly once in the response.
Methods
new
Initializes a new instance of the MGCLatticeDbAccessRequestContract class.
- Visibility:
public - Returns:
void
No parameters.
construct
Creates a new instance of the MGCLatticeDbAccessRequestContract class.
- Visibility:
public - Returns:
MGCLatticeDbAccessRequestContractA new MGCLatticeDbAccessRequestContract instance.
No parameters.
parmCorrelationId
The caller's correlation identifier, echoed on the response.
- Visibility:
public - Returns:
GuidThe current value.
| Name | Type | Optional | Description |
|---|---|---|---|
_correlationId | Guid | Yes | The value to set. |
parmIpAddress
The public IPv4 address to allowlist on the database firewall. Required.
- Visibility:
public - Returns:
strThe current value.
| Name | Type | Optional | Description |
|---|---|---|---|
_ipAddress | str | Yes | The value to set. |
parmDurationHours
The lifetime of the grant in hours (1 to 72; 24 when omitted).
- Visibility:
public - Returns:
intThe current value.
| Name | Type | Optional | Description |
|---|---|---|---|
_durationHours | int | Yes | The value to set. |