共用方式為


ArmPostgreSqlModelFactory.PostgreSqlServerKeyData Method

Definition

Initializes a new instance of PostgreSqlServerKeyData.

public static Azure.ResourceManager.PostgreSql.PostgreSqlServerKeyData PostgreSqlServerKeyData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string kind = default, Azure.ResourceManager.PostgreSql.Models.PostgreSqlServerKeyType? serverKeyType = default, Uri uri = default, DateTimeOffset? createdOn = default);
static member PostgreSqlServerKeyData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ResourceManager.PostgreSql.Models.PostgreSqlServerKeyType> * Uri * Nullable<DateTimeOffset> -> Azure.ResourceManager.PostgreSql.PostgreSqlServerKeyData
Public Shared Function PostgreSqlServerKeyData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional kind As String = Nothing, Optional serverKeyType As Nullable(Of PostgreSqlServerKeyType) = Nothing, Optional uri As Uri = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing) As PostgreSqlServerKeyData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

kind
String

Kind of encryption protector used to protect the key.

serverKeyType
Nullable<PostgreSqlServerKeyType>

The key type like 'AzureKeyVault'.

uri
Uri

The URI of the key.

createdOn
Nullable<DateTimeOffset>

The key creation date.

Returns

A new PostgreSqlServerKeyData instance for mocking.

Applies to