Class Network
java.lang.Object
com.azure.resourcemanager.mysqlflexibleserver.models.Network
Network related properties of a server.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the delegatedSubnetResourceId property: Delegated subnet resource id used to setup vnet for a server.Get the privateDnsZoneResourceId property: Private DNS zone resource id.Get the publicNetworkAccess property: Whether or not public network access is allowed for this server.void
validate()
Validates the instance.withDelegatedSubnetResourceId
(String delegatedSubnetResourceId) Set the delegatedSubnetResourceId property: Delegated subnet resource id used to setup vnet for a server.withPrivateDnsZoneResourceId
(String privateDnsZoneResourceId) Set the privateDnsZoneResourceId property: Private DNS zone resource id.
-
Constructor Details
-
Network
public Network()Creates an instance of Network class.
-
-
Method Details
-
publicNetworkAccess
Get the publicNetworkAccess property: Whether or not public network access is allowed for this server. Value is 'Disabled' when server has VNet integration.- Returns:
- the publicNetworkAccess value.
-
delegatedSubnetResourceId
Get the delegatedSubnetResourceId property: Delegated subnet resource id used to setup vnet for a server.- Returns:
- the delegatedSubnetResourceId value.
-
withDelegatedSubnetResourceId
Set the delegatedSubnetResourceId property: Delegated subnet resource id used to setup vnet for a server.- Parameters:
delegatedSubnetResourceId
- the delegatedSubnetResourceId value to set.- Returns:
- the Network object itself.
-
privateDnsZoneResourceId
Get the privateDnsZoneResourceId property: Private DNS zone resource id.- Returns:
- the privateDnsZoneResourceId value.
-
withPrivateDnsZoneResourceId
Set the privateDnsZoneResourceId property: Private DNS zone resource id.- Parameters:
privateDnsZoneResourceId
- the privateDnsZoneResourceId value to set.- Returns:
- the Network object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-