ArmPostgreSqlFlexibleServersModelFactory.PostgreSqlFlexibleServerData Method

Definition

Overloads

PostgreSqlFlexibleServerData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, PostgreSqlFlexibleServerSku, PostgreSqlFlexibleServerUserAssignedIdentity, String, String, Nullable<PostgreSqlFlexibleServerVersion>, String, Nullable<PostgreSqlFlexibleServerState>, String, PostgreSqlFlexibleServerStorage, PostgreSqlFlexibleServerAuthConfig, PostgreSqlFlexibleServerDataEncryption, PostgreSqlFlexibleServerBackupProperties, PostgreSqlFlexibleServerNetwork, PostgreSqlFlexibleServerHighAvailability, PostgreSqlFlexibleServerMaintenanceWindow, ResourceIdentifier, Nullable<DateTimeOffset>, String, Nullable<PostgreSqlFlexibleServerReplicationRole>, Nullable<Int32>, Nullable<PostgreSqlFlexibleServerCreateMode>)

Initializes a new instance of PostgreSqlFlexibleServerData.

PostgreSqlFlexibleServerData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, PostgreSqlFlexibleServerSku, PostgreSqlFlexibleServerUserAssignedIdentity, String, String, Nullable<PostgreSqlFlexibleServerVersion>, String, Nullable<PostgreSqlFlexibleServerState>, String, PostgreSqlFlexibleServerStorage, PostgreSqlFlexibleServerAuthConfig, PostgreSqlFlexibleServerDataEncryption, PostgreSqlFlexibleServerBackupProperties, PostgreSqlFlexibleServerNetwork, PostgreSqlFlexibleServerHighAvailability, PostgreSqlFlexibleServerMaintenanceWindow, ResourceIdentifier, Nullable<DateTimeOffset>, String, Nullable<PostgreSqlFlexibleServerReplicationRole>, Nullable<Int32>, PostgreSqlFlexibleServersReplica, Nullable<PostgreSqlFlexibleServerCreateMode>, IEnumerable<PostgreSqlFlexibleServersPrivateEndpointConnectionData>)

Initializes a new instance of PostgreSqlFlexibleServerData.

PostgreSqlFlexibleServerData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, PostgreSqlFlexibleServerSku, PostgreSqlFlexibleServerUserAssignedIdentity, String, String, Nullable<PostgreSqlFlexibleServerVersion>, String, Nullable<PostgreSqlFlexibleServerState>, String, PostgreSqlFlexibleServerStorage, PostgreSqlFlexibleServerAuthConfig, PostgreSqlFlexibleServerDataEncryption, PostgreSqlFlexibleServerBackupProperties, PostgreSqlFlexibleServerNetwork, PostgreSqlFlexibleServerHighAvailability, PostgreSqlFlexibleServerMaintenanceWindow, ResourceIdentifier, Nullable<DateTimeOffset>, String, Nullable<PostgreSqlFlexibleServerReplicationRole>, Nullable<Int32>, Nullable<PostgreSqlFlexibleServerCreateMode>)

Source:
ArmPostgreSqlFlexibleServersModelFactory.cs

Initializes a new instance of PostgreSqlFlexibleServerData.

public static Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerData PostgreSqlFlexibleServerData (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.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerSku sku = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerUserAssignedIdentity identity = default, string administratorLogin = default, string administratorLoginPassword = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerVersion? version = default, string minorVersion = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerState? state = default, string fullyQualifiedDomainName = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerStorage storage = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerAuthConfig authConfig = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerDataEncryption dataEncryption = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerBackupProperties backup = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerNetwork network = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerHighAvailability highAvailability = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerMaintenanceWindow maintenanceWindow = default, Azure.Core.ResourceIdentifier sourceServerResourceId = default, DateTimeOffset? pointInTimeUtc = default, string availabilityZone = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerReplicationRole? replicationRole = default, int? replicaCapacity = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerCreateMode? createMode = default);
static member PostgreSqlFlexibleServerData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerSku * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerUserAssignedIdentity * string * string * Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerVersion> * string * Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerState> * string * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerStorage * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerAuthConfig * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerDataEncryption * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerBackupProperties * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerNetwork * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerHighAvailability * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerMaintenanceWindow * Azure.Core.ResourceIdentifier * Nullable<DateTimeOffset> * string * Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerReplicationRole> * Nullable<int> * Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerCreateMode> -> Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerData
Public Shared Function PostgreSqlFlexibleServerData (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 sku As PostgreSqlFlexibleServerSku = Nothing, Optional identity As PostgreSqlFlexibleServerUserAssignedIdentity = Nothing, Optional administratorLogin As String = Nothing, Optional administratorLoginPassword As String = Nothing, Optional version As Nullable(Of PostgreSqlFlexibleServerVersion) = Nothing, Optional minorVersion As String = Nothing, Optional state As Nullable(Of PostgreSqlFlexibleServerState) = Nothing, Optional fullyQualifiedDomainName As String = Nothing, Optional storage As PostgreSqlFlexibleServerStorage = Nothing, Optional authConfig As PostgreSqlFlexibleServerAuthConfig = Nothing, Optional dataEncryption As PostgreSqlFlexibleServerDataEncryption = Nothing, Optional backup As PostgreSqlFlexibleServerBackupProperties = Nothing, Optional network As PostgreSqlFlexibleServerNetwork = Nothing, Optional highAvailability As PostgreSqlFlexibleServerHighAvailability = Nothing, Optional maintenanceWindow As PostgreSqlFlexibleServerMaintenanceWindow = Nothing, Optional sourceServerResourceId As ResourceIdentifier = Nothing, Optional pointInTimeUtc As Nullable(Of DateTimeOffset) = Nothing, Optional availabilityZone As String = Nothing, Optional replicationRole As Nullable(Of PostgreSqlFlexibleServerReplicationRole) = Nothing, Optional replicaCapacity As Nullable(Of Integer) = Nothing, Optional createMode As Nullable(Of PostgreSqlFlexibleServerCreateMode) = Nothing) As PostgreSqlFlexibleServerData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

sku
PostgreSqlFlexibleServerSku

The SKU (pricing tier) of the server.

identity
PostgreSqlFlexibleServerUserAssignedIdentity

Describes the identity of the application.

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).

administratorLoginPassword
String

The administrator login password (required for server creation).

version
Nullable<PostgreSqlFlexibleServerVersion>

PostgreSQL Server version.

minorVersion
String

The minor version of the server.

state
Nullable<PostgreSqlFlexibleServerState>

A state of a server that is visible to user.

fullyQualifiedDomainName
String

The fully qualified domain name of a server.

storage
PostgreSqlFlexibleServerStorage

Storage properties of a server.

authConfig
PostgreSqlFlexibleServerAuthConfig

AuthConfig properties of a server.

dataEncryption
PostgreSqlFlexibleServerDataEncryption

Data encryption properties of a server.

backup
PostgreSqlFlexibleServerBackupProperties

Backup properties of a server.

network
PostgreSqlFlexibleServerNetwork

Network properties of a server. This Network property is required to be passed only in case you want the server to be Private access server.

highAvailability
PostgreSqlFlexibleServerHighAvailability

High availability properties of a server.

maintenanceWindow
PostgreSqlFlexibleServerMaintenanceWindow

Maintenance window properties of a server.

sourceServerResourceId
ResourceIdentifier

The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore' or 'Replica' or 'ReviveDropped'. This property is returned only for Replica server.

pointInTimeUtc
Nullable<DateTimeOffset>

Restore point creation time (ISO8601 format), specifying the time to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore' or 'ReviveDropped'.

availabilityZone
String

availability zone information of the server.

replicationRole
Nullable<PostgreSqlFlexibleServerReplicationRole>

Replication role of the server.

replicaCapacity
Nullable<Int32>

Replicas allowed for a server.

createMode
Nullable<PostgreSqlFlexibleServerCreateMode>

The mode to create a new PostgreSQL server.

Returns

A new PostgreSqlFlexibleServerData instance for mocking.

Applies to

PostgreSqlFlexibleServerData(ResourceIdentifier, String, ResourceType, SystemData, IDictionary<String,String>, AzureLocation, PostgreSqlFlexibleServerSku, PostgreSqlFlexibleServerUserAssignedIdentity, String, String, Nullable<PostgreSqlFlexibleServerVersion>, String, Nullable<PostgreSqlFlexibleServerState>, String, PostgreSqlFlexibleServerStorage, PostgreSqlFlexibleServerAuthConfig, PostgreSqlFlexibleServerDataEncryption, PostgreSqlFlexibleServerBackupProperties, PostgreSqlFlexibleServerNetwork, PostgreSqlFlexibleServerHighAvailability, PostgreSqlFlexibleServerMaintenanceWindow, ResourceIdentifier, Nullable<DateTimeOffset>, String, Nullable<PostgreSqlFlexibleServerReplicationRole>, Nullable<Int32>, PostgreSqlFlexibleServersReplica, Nullable<PostgreSqlFlexibleServerCreateMode>, IEnumerable<PostgreSqlFlexibleServersPrivateEndpointConnectionData>)

Source:
ArmPostgreSqlFlexibleServersModelFactory.cs

Initializes a new instance of PostgreSqlFlexibleServerData.

public static Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerData PostgreSqlFlexibleServerData (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.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerSku sku = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerUserAssignedIdentity identity = default, string administratorLogin = default, string administratorLoginPassword = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerVersion? version = default, string minorVersion = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerState? state = default, string fullyQualifiedDomainName = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerStorage storage = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerAuthConfig authConfig = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerDataEncryption dataEncryption = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerBackupProperties backup = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerNetwork network = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerHighAvailability highAvailability = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerMaintenanceWindow maintenanceWindow = default, Azure.Core.ResourceIdentifier sourceServerResourceId = default, DateTimeOffset? pointInTimeUtc = default, string availabilityZone = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerReplicationRole? replicationRole = default, int? replicaCapacity = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServersReplica replica = default, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerCreateMode? createMode = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServersPrivateEndpointConnectionData> privateEndpointConnections = default);
static member PostgreSqlFlexibleServerData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerSku * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerUserAssignedIdentity * string * string * Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerVersion> * string * Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerState> * string * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerStorage * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerAuthConfig * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerDataEncryption * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerBackupProperties * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerNetwork * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerHighAvailability * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerMaintenanceWindow * Azure.Core.ResourceIdentifier * Nullable<DateTimeOffset> * string * Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerReplicationRole> * Nullable<int> * Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServersReplica * Nullable<Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerCreateMode> * seq<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServersPrivateEndpointConnectionData> -> Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerData
Public Shared Function PostgreSqlFlexibleServerData (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 sku As PostgreSqlFlexibleServerSku = Nothing, Optional identity As PostgreSqlFlexibleServerUserAssignedIdentity = Nothing, Optional administratorLogin As String = Nothing, Optional administratorLoginPassword As String = Nothing, Optional version As Nullable(Of PostgreSqlFlexibleServerVersion) = Nothing, Optional minorVersion As String = Nothing, Optional state As Nullable(Of PostgreSqlFlexibleServerState) = Nothing, Optional fullyQualifiedDomainName As String = Nothing, Optional storage As PostgreSqlFlexibleServerStorage = Nothing, Optional authConfig As PostgreSqlFlexibleServerAuthConfig = Nothing, Optional dataEncryption As PostgreSqlFlexibleServerDataEncryption = Nothing, Optional backup As PostgreSqlFlexibleServerBackupProperties = Nothing, Optional network As PostgreSqlFlexibleServerNetwork = Nothing, Optional highAvailability As PostgreSqlFlexibleServerHighAvailability = Nothing, Optional maintenanceWindow As PostgreSqlFlexibleServerMaintenanceWindow = Nothing, Optional sourceServerResourceId As ResourceIdentifier = Nothing, Optional pointInTimeUtc As Nullable(Of DateTimeOffset) = Nothing, Optional availabilityZone As String = Nothing, Optional replicationRole As Nullable(Of PostgreSqlFlexibleServerReplicationRole) = Nothing, Optional replicaCapacity As Nullable(Of Integer) = Nothing, Optional replica As PostgreSqlFlexibleServersReplica = Nothing, Optional createMode As Nullable(Of PostgreSqlFlexibleServerCreateMode) = Nothing, Optional privateEndpointConnections As IEnumerable(Of PostgreSqlFlexibleServersPrivateEndpointConnectionData) = Nothing) As PostgreSqlFlexibleServerData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

sku
PostgreSqlFlexibleServerSku

The SKU (pricing tier) of the server.

identity
PostgreSqlFlexibleServerUserAssignedIdentity

Describes the identity of the application.

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).

administratorLoginPassword
String

The administrator login password (required for server creation).

version
Nullable<PostgreSqlFlexibleServerVersion>

PostgreSQL Server version.

minorVersion
String

The minor version of the server.

state
Nullable<PostgreSqlFlexibleServerState>

A state of a server that is visible to user.

fullyQualifiedDomainName
String

The fully qualified domain name of a server.

storage
PostgreSqlFlexibleServerStorage

Storage properties of a server.

authConfig
PostgreSqlFlexibleServerAuthConfig

AuthConfig properties of a server.

dataEncryption
PostgreSqlFlexibleServerDataEncryption

Data encryption properties of a server.

backup
PostgreSqlFlexibleServerBackupProperties

Backup properties of a server.

network
PostgreSqlFlexibleServerNetwork

Network properties of a server. This Network property is required to be passed only in case you want the server to be Private access server.

highAvailability
PostgreSqlFlexibleServerHighAvailability

High availability properties of a server.

maintenanceWindow
PostgreSqlFlexibleServerMaintenanceWindow

Maintenance window properties of a server.

sourceServerResourceId
ResourceIdentifier

The source server resource ID to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore' or 'Replica' or 'ReviveDropped'. This property is returned only for Replica server.

pointInTimeUtc
Nullable<DateTimeOffset>

Restore point creation time (ISO8601 format), specifying the time to restore from. It's required when 'createMode' is 'PointInTimeRestore' or 'GeoRestore' or 'ReviveDropped'.

availabilityZone
String

availability zone information of the server.

replicationRole
Nullable<PostgreSqlFlexibleServerReplicationRole>

Replication role of the server.

replicaCapacity
Nullable<Int32>

Replicas allowed for a server.

replica
PostgreSqlFlexibleServersReplica

Replica properties of a server. These Replica properties are required to be passed only in case you want to Promote a server.

createMode
Nullable<PostgreSqlFlexibleServerCreateMode>

The mode to create a new PostgreSQL server.

privateEndpointConnections
IEnumerable<PostgreSqlFlexibleServersPrivateEndpointConnectionData>

List of private endpoint connections associated with the specified resource.

Returns

A new PostgreSqlFlexibleServerData instance for mocking.

Applies to