ArmContainerServiceModelFactory.ManagedClusterBastionProfile Method

Definition

public static Azure.ResourceManager.ContainerService.Models.ManagedClusterBastionProfile ManagedClusterBastionProfile(bool? enabled = default, Azure.Core.ResourceIdentifier bastionId = default, Azure.ResourceManager.ContainerService.Models.ManagedClusterBastionSku? sku = default, int? scaleUnits = default, Azure.Core.ResourceIdentifier publicIpAddressId = default);
static member ManagedClusterBastionProfile : Nullable<bool> * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.ContainerService.Models.ManagedClusterBastionSku> * Nullable<int> * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.ContainerService.Models.ManagedClusterBastionProfile
Public Shared Function ManagedClusterBastionProfile (Optional enabled As Nullable(Of Boolean) = Nothing, Optional bastionId As ResourceIdentifier = Nothing, Optional sku As Nullable(Of ManagedClusterBastionSku) = Nothing, Optional scaleUnits As Nullable(Of Integer) = Nothing, Optional publicIpAddressId As ResourceIdentifier = Nothing) As ManagedClusterBastionProfile

Parameters

enabled
Nullable<Boolean>

Indicates whether managed bastion is enabled.

bastionId
ResourceIdentifier

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

sku
Nullable<ManagedClusterBastionSku>

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.

scaleUnits
Nullable<Int32>

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

publicIpAddressId
ResourceIdentifier

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.

Returns

A new ManagedClusterBastionProfile instance for mocking.

Applies to