FirewallRuleInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. sql. models. ResourceWithWritableName - com.
azure. resourcemanager. sql. models. ProxyResourceWithWritableName - com.
azure. resourcemanager. sql. fluent. models. FirewallRuleInner
- com.
- com.
- com.
- com.
public final class FirewallRuleInner
extends ProxyResourceWithWritableName
A server firewall rule.
Constructor Summary
Constructor | Description |
---|---|
FirewallRuleInner() |
Creates an instance of Firewall |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
endIpAddress()
Get the end |
String |
startIpAddress()
Get the start |
void |
validate()
Validates the instance. |
Firewall |
withEndIpAddress(String endIpAddress)
Set the end |
Firewall |
withName(String name)
Set the name property: Resource name. |
Firewall |
withStartIpAddress(String startIpAddress)
Set the start |
Methods inherited from ProxyResource
Methods inherited from ProxyResourceWithWritableName
Methods inherited from ResourceWithWritableName
Methods inherited from java.lang.Object
Constructor Details
FirewallRuleInner
public FirewallRuleInner()
Creates an instance of FirewallRuleInner class.
Method Details
endIpAddress
public String endIpAddress()
Get the endIpAddress property: The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress. Use value '0.0.0.0' for all Azure-internal IP addresses.
Returns:
startIpAddress
public String startIpAddress()
Get the startIpAddress property: The start IP address of the firewall rule. Must be IPv4 format. Use value '0.0.0.0' for all Azure-internal IP addresses.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
FirewallRuleInner.validate()withEndIpAddress
public FirewallRuleInner withEndIpAddress(String endIpAddress)
Set the endIpAddress property: The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress. Use value '0.0.0.0' for all Azure-internal IP addresses.
Parameters:
Returns:
withName
public FirewallRuleInner withName(String name)
Set the name property: Resource name.
Overrides:
FirewallRuleInner.withName(String name)Parameters:
withStartIpAddress
public FirewallRuleInner withStartIpAddress(String startIpAddress)
Set the startIpAddress property: The start IP address of the firewall rule. Must be IPv4 format. Use value '0.0.0.0' for all Azure-internal IP addresses.
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