ManagedClusterBastionProfile Class

Definition

Profile to enable managed Azure Bastion or reference to an existing Bastion for the managed cluster. See https://aka.ms/aks/BastionConnect for more details.

public class ManagedClusterBastionProfile : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerService.Models.ManagedClusterBastionProfile>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerService.Models.ManagedClusterBastionProfile>
type ManagedClusterBastionProfile = class
    interface IJsonModel<ManagedClusterBastionProfile>
    interface IPersistableModel<ManagedClusterBastionProfile>
Public Class ManagedClusterBastionProfile
Implements IJsonModel(Of ManagedClusterBastionProfile), IPersistableModel(Of ManagedClusterBastionProfile)
Inheritance
ManagedClusterBastionProfile
Implements

Constructors

Name Description
ManagedClusterBastionProfile()

Initializes a new instance of ManagedClusterBastionProfile.

Properties

Name Description
BastionId

The resource ID of the managed bastion associated with the managed cluster.

Enabled

Indicates whether managed bastion is enabled.

PublicIpAddressId

The resource ID of the public IP address associated with the managed bastion. When provided during creation, the managed bastion will reference this existing public IP address instead of creating a new one. The referenced public IP address must be in the same subscription and region as the managed cluster. When not provided during creation, AKS will automatically create a new public IP address. This field cannot be updated. To change IP address after creation, please disable and re-enable the managed bastion with the new public IP address.

ScaleUnits

The scale units of the managed bastion. Default value is 2.

Sku

The SKU of the managed bastion. Only Standard and Premium SKUs are supported. SKU downgrading is not allowed. To downgrade SKU, please disable then re-enable the managed bastion with new SKU. See https://aka.ms/aks/BastionSKUs for more details.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<ManagedClusterBastionProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<ManagedClusterBastionProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<ManagedClusterBastionProfile>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<ManagedClusterBastionProfile>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<ManagedClusterBastionProfile>.Write(ModelReaderWriterOptions)

Applies to