Condividi tramite


ArmPostgreSqlFlexibleServersModelFactory.PostgreSqlFlexibleServerData Method

Definition

Overloads

Name Description
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>, PostgreSqlFlexibleServerClusterProperties)

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>, PostgreSqlFlexibleServerClusterProperties)

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, Azure.ResourceManager.PostgreSql.FlexibleServers.Models.PostgreSqlFlexibleServerClusterProperties cluster = 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.Models.PostgreSqlFlexibleServerClusterProperties -> 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, Optional cluster As PostgreSqlFlexibleServerClusterProperties = 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

Compute tier and size of a server.

identity
PostgreSqlFlexibleServerUserAssignedIdentity

User assigned managed identities assigned to the server.

administratorLogin
String

Name of the login designated as the first password based administrator assigned to your instance of PostgreSQL. Must be specified the first time that you enable password based authentication on a server. Once set to a given value, it cannot be changed for the rest of the life of a server. If you disable password based authentication on a server which had it enabled, this password based role isn't deleted.

administratorLoginPassword
String

Password assigned to the administrator login. As long as password authentication is enabled, this password can be changed at any time.

version
Nullable<PostgreSqlFlexibleServerVersion>

Major version of PostgreSQL database engine.

minorVersion
String

Minor version of PostgreSQL database engine.

state
Nullable<PostgreSqlFlexibleServerState>

Possible states of a server.

fullyQualifiedDomainName
String

Fully qualified domain name of a server.

storage
PostgreSqlFlexibleServerStorage

Storage properties of a server.

authConfig
PostgreSqlFlexibleServerAuthConfig

Authentication configuration 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. Only required if you want your server to be integrated into a virtual network provided by customer.

highAvailability
PostgreSqlFlexibleServerHighAvailability

High availability properties of a server.

maintenanceWindow
PostgreSqlFlexibleServerMaintenanceWindow

Maintenance window properties of a server.

sourceServerResourceId
ResourceIdentifier

Identifier of the server to be used as the source of the new server. Required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', 'Replica', or 'ReviveDropped'. This property is returned only when the target server is a read replica.

pointInTimeUtc
Nullable<DateTimeOffset>

Creation time (in ISO8601 format) of the backup which you want to restore in the new server. It's required when 'createMode' is 'PointInTimeRestore', 'GeoRestore', or 'ReviveDropped'.

availabilityZone
String

Availability zone of a server.

replicationRole
Nullable<PostgreSqlFlexibleServerReplicationRole>

Role of the server in a replication set.

replicaCapacity
Nullable<Int32>

Maximum number of read replicas allowed for a server.

replica
PostgreSqlFlexibleServersReplica

Read replica properties of a server. Required only in case that you want to promote a server.

createMode
Nullable<PostgreSqlFlexibleServerCreateMode>

Creation mode of a new server.

privateEndpointConnections
IEnumerable<PostgreSqlFlexibleServersPrivateEndpointConnectionData>

List of private endpoint connections associated with the specified server.

cluster
PostgreSqlFlexibleServerClusterProperties

Cluster properties of a server.

Returns

A new PostgreSqlFlexibleServerData instance for mocking.

Applies to