NodePoolPlatformProfile Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Azure node pool platform configuration
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.NodePoolPlatformProfileTypeConverter))]
public class NodePoolPlatformProfile : Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.INodePoolPlatformProfile
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.NodePoolPlatformProfileTypeConverter))>]
type NodePoolPlatformProfile = class
interface INodePoolPlatformProfile
interface IJsonSerializable
Public Class NodePoolPlatformProfile
Implements INodePoolPlatformProfile
- Inheritance
-
NodePoolPlatformProfile
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| NodePoolPlatformProfile() |
Creates an new NodePoolPlatformProfile instance. |
Properties
| Name | Description |
|---|---|
| AvailabilityZone |
The availability zone for the node pool. Please read the documentation to see which regions support availability zones |
| EnableEncryptionAtHost |
Whether to enable host based OS and data drive encryption. |
| OSDiskEncryptionSetId |
The ID of the DiskEncryptionSet resource to use to encrypt the OS disks for the VMs. This needs to exist in the same subscription id listed in the Hosted Cluster, HostedCluster.Spec.Platform.Azure.SubscriptionID. DiskEncryptionSetID should also exist in a resource group under the same subscription id and the same location listed in the Hosted Cluster, HostedCluster.Spec.Platform.Azure.Location. Details on how to create a Disk Encryption Set can be found here: https://learn.microsoft.com/en-us/azure/virtual-machines/disks-enable-customer-managed-keys-portal#set-up-your-disk-encryption-set |
| OSDiskSizeGiB |
The OS disk size in GiB. Maximum is 4095 GiB for Managed disks. For Ephemeral disks, the maximum is 2040 GiB; Azure may enforce a lower effective limit based on the selected VM size's local cache, temp, or NVMe capacity. |
| OSDiskStorageAccountType |
The type of the disk storage account |
| OSDiskType |
The type of the OS disk. |
| SubnetId |
The Azure resource ID of the worker subnet. Note that a subnet cannot be reused between ARO-HCP Clusters, however the same subnet can be used for NodePools of the same cluster. |
| VMSize |
The VM size according to the documentation: |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of NodePoolPlatformProfile. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of NodePoolPlatformProfile. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.RedHatOpenShiftHcp.Models.INodePoolPlatformProfile. |
| FromJsonString(String) |
Creates a new instance of NodePoolPlatformProfile, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of NodePoolPlatformProfile into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |