你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmNeonPostgresModelFactory.NeonDatabaseProperties Method

Definition

Initializes a new instance of NeonDatabaseProperties.

public static Azure.ResourceManager.NeonPostgres.Models.NeonDatabaseProperties NeonDatabaseProperties(string entityId = default, string entityName = default, string createdAt = default, Azure.ResourceManager.NeonPostgres.Models.NeonResourceProvisioningState? provisioningState = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NeonPostgres.Models.Attributes> attributes = default, string branchId = default, string ownerName = default);
static member NeonDatabaseProperties : string * string * string * Nullable<Azure.ResourceManager.NeonPostgres.Models.NeonResourceProvisioningState> * seq<Azure.ResourceManager.NeonPostgres.Models.Attributes> * string * string -> Azure.ResourceManager.NeonPostgres.Models.NeonDatabaseProperties
Public Shared Function NeonDatabaseProperties (Optional entityId As String = Nothing, Optional entityName As String = Nothing, Optional createdAt As String = Nothing, Optional provisioningState As Nullable(Of NeonResourceProvisioningState) = Nothing, Optional attributes As IEnumerable(Of Attributes) = Nothing, Optional branchId As String = Nothing, Optional ownerName As String = Nothing) As NeonDatabaseProperties

Parameters

entityId
String

Unique identifier for the entity.

entityName
String

Name of the resource.

createdAt
String

Timestamp indicating when the entity was created.

provisioningState
Nullable<NeonResourceProvisioningState>

Provisioning state of the resource.

attributes
IEnumerable<Attributes>

Additional attributes for the entity.

branchId
String

The ID of the branch this database belongs to.

ownerName
String

The name of the role that owns the database.

Returns

A new NeonDatabaseProperties instance for mocking.

Applies to