Share via


ArmNeonPostgresModelFactory.NeonProjectProperties Method

Definition

Initializes a new instance of NeonProjectProperties.

public static Azure.ResourceManager.NeonPostgres.Models.NeonProjectProperties NeonProjectProperties(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> attribute = default, string regionId = default, long? storage = default, int? postgresVersion = default, int? historyRetention = default, Azure.ResourceManager.NeonPostgres.Models.DefaultEndpointSettings defaultEndpointSettings = default, Azure.ResourceManager.NeonPostgres.Models.NeonBranchProperties branch = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NeonPostgres.Models.NeonRoleProperties> roles = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NeonPostgres.Models.NeonDatabaseProperties> databases = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.NeonPostgres.Models.NeonEndpointProperties> endpoints = default);
static member NeonProjectProperties : string * string * string * Nullable<Azure.ResourceManager.NeonPostgres.Models.NeonResourceProvisioningState> * seq<Azure.ResourceManager.NeonPostgres.Models.Attributes> * string * Nullable<int64> * Nullable<int> * Nullable<int> * Azure.ResourceManager.NeonPostgres.Models.DefaultEndpointSettings * Azure.ResourceManager.NeonPostgres.Models.NeonBranchProperties * seq<Azure.ResourceManager.NeonPostgres.Models.NeonRoleProperties> * seq<Azure.ResourceManager.NeonPostgres.Models.NeonDatabaseProperties> * seq<Azure.ResourceManager.NeonPostgres.Models.NeonEndpointProperties> -> Azure.ResourceManager.NeonPostgres.Models.NeonProjectProperties
Public Shared Function NeonProjectProperties (Optional entityId As String = Nothing, Optional entityName As String = Nothing, Optional createdAt As String = Nothing, Optional provisioningState As Nullable(Of NeonResourceProvisioningState) = Nothing, Optional attribute As IEnumerable(Of Attributes) = Nothing, Optional regionId As String = Nothing, Optional storage As Nullable(Of Long) = Nothing, Optional postgresVersion As Nullable(Of Integer) = Nothing, Optional historyRetention As Nullable(Of Integer) = Nothing, Optional defaultEndpointSettings As DefaultEndpointSettings = Nothing, Optional branch As NeonBranchProperties = Nothing, Optional roles As IEnumerable(Of NeonRoleProperties) = Nothing, Optional databases As IEnumerable(Of NeonDatabaseProperties) = Nothing, Optional endpoints As IEnumerable(Of NeonEndpointProperties) = Nothing) As NeonProjectProperties

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.

attribute
IEnumerable<Attributes>

Additional attributes for the entity.

regionId
String

Region where the project is created.

storage
Nullable<Int64>

Data Storage bytes per hour for the project.

postgresVersion
Nullable<Int32>

Postgres version for the project.

historyRetention
Nullable<Int32>

The retention period for project history in seconds.

defaultEndpointSettings
DefaultEndpointSettings

Default endpoint settings for the project.

branch
NeonBranchProperties

The Branch properties of the project. This is optional.

roles
IEnumerable<NeonRoleProperties>

Roles associated with the project.

databases
IEnumerable<NeonDatabaseProperties>

Neon Databases associated with the project.

endpoints
IEnumerable<NeonEndpointProperties>

Endpoints associated with the project.

Returns

A new NeonProjectProperties instance for mocking.

Applies to