Udostępnij za pośrednictwem


ArmPostgreSqlModelFactory.PostgreSqlRecoverableServerResourceData Method

Definition

Initializes a new instance of PostgreSqlRecoverableServerResourceData.

public static Azure.ResourceManager.PostgreSql.Models.PostgreSqlRecoverableServerResourceData PostgreSqlRecoverableServerResourceData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, DateTimeOffset? lastAvailableBackupOn = default, string serviceLevelObjective = default, string edition = default, int? vCores = default, string hardwareGeneration = default, string version = default);
static member PostgreSqlRecoverableServerResourceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * string * string * Nullable<int> * string * string -> Azure.ResourceManager.PostgreSql.Models.PostgreSqlRecoverableServerResourceData
Public Shared Function PostgreSqlRecoverableServerResourceData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional lastAvailableBackupOn As Nullable(Of DateTimeOffset) = Nothing, Optional serviceLevelObjective As String = Nothing, Optional edition As String = Nothing, Optional vCores As Nullable(Of Integer) = Nothing, Optional hardwareGeneration As String = Nothing, Optional version As String = Nothing) As PostgreSqlRecoverableServerResourceData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

lastAvailableBackupOn
Nullable<DateTimeOffset>

The last available backup date time.

serviceLevelObjective
String

The service level objective.

edition
String

Edition of the performance tier.

vCores
Nullable<Int32>

vCore associated with the service level objective.

hardwareGeneration
String

Hardware generation associated with the service level objective.

version
String

The PostgreSQL version.

Returns

A new PostgreSqlRecoverableServerResourceData instance for mocking.

Applies to