ArmPostgreSqlModelFactory.PostgreSqlServerData 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 PostgreSqlServerData.
public static Azure.ResourceManager.PostgreSql.PostgreSqlServerData PostgreSqlServerData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, Azure.ResourceManager.PostgreSql.Models.PostgreSqlSku sku = default, string administratorLogin = default, Azure.ResourceManager.PostgreSql.Models.PostgreSqlServerVersion? version = default, Azure.ResourceManager.PostgreSql.Models.PostgreSqlSslEnforcementEnum? sslEnforcement = default, Azure.ResourceManager.PostgreSql.Models.PostgreSqlMinimalTlsVersionEnum? minimalTlsVersion = default, string byokEnforcement = default, Azure.ResourceManager.PostgreSql.Models.PostgreSqlInfrastructureEncryption? infrastructureEncryption = default, Azure.ResourceManager.PostgreSql.Models.PostgreSqlServerState? userVisibleState = default, string fullyQualifiedDomainName = default, DateTimeOffset? earliestRestoreOn = default, Azure.ResourceManager.PostgreSql.Models.PostgreSqlStorageProfile storageProfile = default, string replicationRole = default, Azure.Core.ResourceIdentifier masterServerId = default, int? replicaCapacity = default, Azure.ResourceManager.PostgreSql.Models.PostgreSqlPublicNetworkAccessEnum? publicNetworkAccess = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.PostgreSql.Models.PostgreSqlServerPrivateEndpointConnection> privateEndpointConnections = default);
	static member PostgreSqlServerData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Models.ManagedServiceIdentity * Azure.ResourceManager.PostgreSql.Models.PostgreSqlSku * string * Nullable<Azure.ResourceManager.PostgreSql.Models.PostgreSqlServerVersion> * Nullable<Azure.ResourceManager.PostgreSql.Models.PostgreSqlSslEnforcementEnum> * Nullable<Azure.ResourceManager.PostgreSql.Models.PostgreSqlMinimalTlsVersionEnum> * string * Nullable<Azure.ResourceManager.PostgreSql.Models.PostgreSqlInfrastructureEncryption> * Nullable<Azure.ResourceManager.PostgreSql.Models.PostgreSqlServerState> * string * Nullable<DateTimeOffset> * Azure.ResourceManager.PostgreSql.Models.PostgreSqlStorageProfile * string * Azure.Core.ResourceIdentifier * Nullable<int> * Nullable<Azure.ResourceManager.PostgreSql.Models.PostgreSqlPublicNetworkAccessEnum> * seq<Azure.ResourceManager.PostgreSql.Models.PostgreSqlServerPrivateEndpointConnection> -> Azure.ResourceManager.PostgreSql.PostgreSqlServerData
	Public Shared Function PostgreSqlServerData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional sku As PostgreSqlSku = Nothing, Optional administratorLogin As String = Nothing, Optional version As Nullable(Of PostgreSqlServerVersion) = Nothing, Optional sslEnforcement As Nullable(Of PostgreSqlSslEnforcementEnum) = Nothing, Optional minimalTlsVersion As Nullable(Of PostgreSqlMinimalTlsVersionEnum) = Nothing, Optional byokEnforcement As String = Nothing, Optional infrastructureEncryption As Nullable(Of PostgreSqlInfrastructureEncryption) = Nothing, Optional userVisibleState As Nullable(Of PostgreSqlServerState) = Nothing, Optional fullyQualifiedDomainName As String = Nothing, Optional earliestRestoreOn As Nullable(Of DateTimeOffset) = Nothing, Optional storageProfile As PostgreSqlStorageProfile = Nothing, Optional replicationRole As String = Nothing, Optional masterServerId As ResourceIdentifier = Nothing, Optional replicaCapacity As Nullable(Of Integer) = Nothing, Optional publicNetworkAccess As Nullable(Of PostgreSqlPublicNetworkAccessEnum) = Nothing, Optional privateEndpointConnections As IEnumerable(Of PostgreSqlServerPrivateEndpointConnection) = Nothing) As PostgreSqlServerData
	Parameters
The id.
- name
 - String
 
The name.
- resourceType
 - ResourceType
 
The resourceType.
- systemData
 - SystemData
 
The systemData.
- tags
 - IDictionary<String,String>
 
The tags.
- location
 - AzureLocation
 
The location.
- identity
 - ManagedServiceIdentity
 
The Azure Active Directory identity of the server. Current supported identity types: SystemAssigned.
- sku
 - PostgreSqlSku
 
The SKU (pricing tier) of the server.
- administratorLogin
 - String
 
The administrator's login name of a server. Can only be specified when the server is being created (and is required for creation).
- version
 - Nullable<PostgreSqlServerVersion>
 
Server version.
- sslEnforcement
 - Nullable<PostgreSqlSslEnforcementEnum>
 
Enable ssl enforcement or not when connect to server.
- minimalTlsVersion
 - Nullable<PostgreSqlMinimalTlsVersionEnum>
 
Enforce a minimal Tls version for the server.
- byokEnforcement
 - String
 
Status showing whether the server data encryption is enabled with customer-managed keys.
- infrastructureEncryption
 - Nullable<PostgreSqlInfrastructureEncryption>
 
Status showing whether the server enabled infrastructure encryption.
- userVisibleState
 - Nullable<PostgreSqlServerState>
 
A state of a server that is visible to user.
- fullyQualifiedDomainName
 - String
 
The fully qualified domain name of a server.
- earliestRestoreOn
 - Nullable<DateTimeOffset>
 
Earliest restore point creation time (ISO8601 format).
- storageProfile
 - PostgreSqlStorageProfile
 
Storage profile of a server.
- replicationRole
 - String
 
The replication role of the server.
- masterServerId
 - ResourceIdentifier
 
The master server id of a replica server.
- publicNetworkAccess
 - Nullable<PostgreSqlPublicNetworkAccessEnum>
 
Whether or not public network access is allowed for this server. Value is optional but if passed in, must be 'Enabled' or 'Disabled'.
- privateEndpointConnections
 - IEnumerable<PostgreSqlServerPrivateEndpointConnection>
 
List of private endpoint connections on a server.
Returns
A new PostgreSqlServerData instance for mocking.