Share via


ArmNeonPostgresModelFactory.NeonComputeProperties Method

Definition

Initializes a new instance of NeonComputeProperties.

public static Azure.ResourceManager.NeonPostgres.Models.NeonComputeProperties NeonComputeProperties(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 region = default, int? cpuCores = default, int? memory = default, string status = default);
static member NeonComputeProperties : string * string * string * Nullable<Azure.ResourceManager.NeonPostgres.Models.NeonResourceProvisioningState> * seq<Azure.ResourceManager.NeonPostgres.Models.Attributes> * string * Nullable<int> * Nullable<int> * string -> Azure.ResourceManager.NeonPostgres.Models.NeonComputeProperties
Public Shared Function NeonComputeProperties (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 region As String = Nothing, Optional cpuCores As Nullable(Of Integer) = Nothing, Optional memory As Nullable(Of Integer) = Nothing, Optional status As String = Nothing) As NeonComputeProperties

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.

region
String

Region where the compute instance is located.

cpuCores
Nullable<Int32>

Number of allocated CPU cores.

memory
Nullable<Int32>

Memory allocated in GB.

status
String

Current status of the compute instance.

Returns

A new NeonComputeProperties instance for mocking.

Applies to