ArmPostgreSqlFlexibleServersModelFactory.PostgreSqlFlexibleServerNetwork Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of PostgreSqlFlexibleServerNetwork.
public static Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerNetwork PostgreSqlFlexibleServerNetwork (Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerPublicNetworkAccessState? publicNetworkAccess = default, Azure.Core.ResourceIdentifier delegatedSubnetResourceId = default, Azure.Core.ResourceIdentifier privateDnsZoneArmResourceId = default);
static member PostgreSqlFlexibleServerNetwork : Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerPublicNetworkAccessState> * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerNetwork
Public Shared Function PostgreSqlFlexibleServerNetwork (Optional publicNetworkAccess As Nullable(Of PostgreSqlFlexibleServerPublicNetworkAccessState) = Nothing, Optional delegatedSubnetResourceId As ResourceIdentifier = Nothing, Optional privateDnsZoneArmResourceId As ResourceIdentifier = Nothing) As PostgreSqlFlexibleServerNetwork
Parameters
- publicNetworkAccess
- Nullable<PostgreSqlFlexibleServerPublicNetworkAccessState>
public network access is enabled or not.
- delegatedSubnetResourceId
- ResourceIdentifier
Delegated subnet arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.
- privateDnsZoneArmResourceId
- ResourceIdentifier
Private dns zone arm resource id. This is required to be passed during create, in case we want the server to be VNET injected, i.e. Private access server. During update, pass this only if we want to update the value for Private DNS zone.
Returns
A new PostgreSqlFlexibleServerNetwork instance for mocking.
Applies to
Azure SDK for .NET