Class AzureHelper
Microsoft Azure helpers.
Namespace: Neon.Kube.ClusterDef
Assembly: Neon.Kube.dll
Syntax
public static class AzureHelper
Fields
MaxClusterNodes
The maximum number of nodes currently allowed in a cluster deployed to Azure.
Declaration
public const int MaxClusterNodes = 100
Field Value
Type | Description |
---|---|
int |
MaxHostedEndpoints
The maximum number of hosted load balanced TCP/UDP endpoints allowed in a cluster deployed to Azure.
Declaration
public const int MaxHostedEndpoints = 150
Field Value
Type | Description |
---|---|
int |
Methods
GetDiskSizeGiB(AzureStorageType, decimal)
Converts the requested disk size in bytes to the actual required size of the Azure managed disk in GiB.
Declaration
public static decimal GetDiskSizeGiB(AzureStorageType storageType, decimal driveSizeBytes)
Parameters
Type | Name | Description |
---|---|---|
AzureStorageType | storageType | Specifies the disk storage type. |
decimal | driveSizeBytes | The requested size in bytes. |
Returns
Type | Description |
---|---|
decimal | The actual Azure disk size in GiB. |