Interface FirewallRule
-
public interface FirewallRule
An immutable client-side representation of FirewallRule.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
FirewallRule.Definition
The entirety of the FirewallRule definition.static interface
FirewallRule.DefinitionStages
The FirewallRule definition stages.static interface
FirewallRule.Update
The template for FirewallRule update.static interface
FirewallRule.UpdateStages
The FirewallRule update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
endIpAddress()
Gets the endIpAddress property: The end IP address of the server firewall rule.String
id()
Gets the id property: Fully qualified resource Id for the resource.FirewallRuleInner
innerModel()
Gets the inner com.azure.resourcemanager.mysqlflexibleserver.fluent.models.FirewallRuleInner object.String
name()
Gets the name property: The name of the resource.FirewallRule
refresh()
Refreshes the resource to sync with Azure.FirewallRule
refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.String
startIpAddress()
Gets the startIpAddress property: The start IP address of the server firewall rule.com.azure.core.management.SystemData
systemData()
Gets the systemData property: The system metadata relating to this resource.String
type()
Gets the type property: The type of the resource.FirewallRule.Update
update()
Begins update for the FirewallRule resource.
-
-
-
Method Detail
-
id
String id()
Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()
Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()
Gets the type property: The type of the resource.- Returns:
- the type value.
-
systemData
com.azure.core.management.SystemData systemData()
Gets the systemData property: The system metadata relating to this resource.- Returns:
- the systemData value.
-
startIpAddress
String startIpAddress()
Gets the startIpAddress property: The start IP address of the server firewall rule. Must be IPv4 format.- Returns:
- the startIpAddress value.
-
endIpAddress
String endIpAddress()
Gets the endIpAddress property: The end IP address of the server firewall rule. Must be IPv4 format.- Returns:
- the endIpAddress value.
-
innerModel
FirewallRuleInner innerModel()
Gets the inner com.azure.resourcemanager.mysqlflexibleserver.fluent.models.FirewallRuleInner object.- Returns:
- the inner object.
-
update
FirewallRule.Update update()
Begins update for the FirewallRule resource.- Returns:
- the stage of resource update.
-
refresh
FirewallRule refresh()
Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
FirewallRule refresh(com.azure.core.util.Context context)
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-
-