Language

ArmDiscoveryModelFactory.DiscoveryNodePoolProperties Method

Definition

public static Azure.ResourceManager.Discovery.Models.DiscoveryNodePoolProperties DiscoveryNodePoolProperties(Azure.ResourceManager.Discovery.Models.DiscoveryProvisioningState? provisioningState = default, Azure.Core.ResourceIdentifier subnetId = default, Azure.ResourceManager.Discovery.Models.DiscoveryVmSize vmSize = default, int maxNodeCount = 0, int? minNodeCount = default, Azure.ResourceManager.Discovery.Models.DiscoveryScaleSetPriority? scaleSetPriority = default, int? osDiskSizeGb = default, int? imageCacheLowerThreshold = default, int? imageCacheUpperThreshold = default);
static member DiscoveryNodePoolProperties : Nullable<Azure.ResourceManager.Discovery.Models.DiscoveryProvisioningState> * Azure.Core.ResourceIdentifier * Azure.ResourceManager.Discovery.Models.DiscoveryVmSize * int * Nullable<int> * Nullable<Azure.ResourceManager.Discovery.Models.DiscoveryScaleSetPriority> * Nullable<int> * Nullable<int> * Nullable<int> -> Azure.ResourceManager.Discovery.Models.DiscoveryNodePoolProperties
Public Shared Function DiscoveryNodePoolProperties (Optional provisioningState As Nullable(Of DiscoveryProvisioningState) = Nothing, Optional subnetId As ResourceIdentifier = Nothing, Optional vmSize As DiscoveryVmSize = Nothing, Optional maxNodeCount As Integer = 0, Optional minNodeCount As Nullable(Of Integer) = Nothing, Optional scaleSetPriority As Nullable(Of DiscoveryScaleSetPriority) = Nothing, Optional osDiskSizeGb As Nullable(Of Integer) = Nothing, Optional imageCacheLowerThreshold As Nullable(Of Integer) = Nothing, Optional imageCacheUpperThreshold As Nullable(Of Integer) = Nothing) As DiscoveryNodePoolProperties

Parameters

provisioningState
Nullable<DiscoveryProvisioningState>

The status of the last operation.

subnetId
ResourceIdentifier

The node pool subnet.

vmSize
DiscoveryVmSize

The size of the underlying Azure VM.

maxNodeCount
Int32

The maximum number of nodes.

minNodeCount
Nullable<Int32>

The minimum number of nodes.

scaleSetPriority
Nullable<DiscoveryScaleSetPriority>

The Virtual Machine Scale Set priority. If not specified, the default is 'Regular'.

osDiskSizeGb
Nullable<Int32>

The size of the OS disk in GB. If not specified, the default is 120 GB.

imageCacheLowerThreshold
Nullable<Int32>

The percent of disk usage before which image garbage collection is never run. This cannot be set higher than imageCacheUpperThreshold. The default is 40%.

imageCacheUpperThreshold
Nullable<Int32>

The percent of disk usage after which image garbage collection is guaranteed to run. The default is 60%.

Returns

A new DiscoveryNodePoolProperties instance for mocking.

Applies to