JitNetworkAccessPolicyInitiatePort Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. JitNetworkAccessPolicyInitiatePort
- com.
public final class JitNetworkAccessPolicyInitiatePort
The JitNetworkAccessPolicyInitiatePort model.
Constructor Summary
Constructor | Description |
---|---|
JitNetworkAccessPolicyInitiatePort() |
Creates an instance of Jit |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
allowedSourceAddressPrefix()
Get the allowed |
Offset |
endTimeUtc()
Get the end |
int |
number()
Get the number property: The number property. |
void |
validate()
Validates the instance. |
Jit |
withAllowedSourceAddressPrefix(String allowedSourceAddressPrefix)
Set the allowed |
Jit |
withEndTimeUtc(OffsetDateTime endTimeUtc)
Set the end |
Jit |
withNumber(int number)
Set the number property: The number property. |
Methods inherited from java.lang.Object
Constructor Details
JitNetworkAccessPolicyInitiatePort
public JitNetworkAccessPolicyInitiatePort()
Creates an instance of JitNetworkAccessPolicyInitiatePort class.
Method Details
allowedSourceAddressPrefix
public String allowedSourceAddressPrefix()
Get the allowedSourceAddressPrefix property: Source of the allowed traffic. If omitted, the request will be for the source IP address of the initiate request.
Returns:
endTimeUtc
public OffsetDateTime endTimeUtc()
Get the endTimeUtc property: The time to close the request in UTC.
Returns:
number
public int number()
Get the number property: The number property.
Returns:
validate
public void validate()
Validates the instance.
withAllowedSourceAddressPrefix
public JitNetworkAccessPolicyInitiatePort withAllowedSourceAddressPrefix(String allowedSourceAddressPrefix)
Set the allowedSourceAddressPrefix property: Source of the allowed traffic. If omitted, the request will be for the source IP address of the initiate request.
Parameters:
Returns:
withEndTimeUtc
public JitNetworkAccessPolicyInitiatePort withEndTimeUtc(OffsetDateTime endTimeUtc)
Set the endTimeUtc property: The time to close the request in UTC.
Parameters:
Returns:
withNumber
public JitNetworkAccessPolicyInitiatePort withNumber(int number)
Set the number property: The number property.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for