ArmContainerServiceModelFactory.ManagedClusterBastionProfile Method
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.
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
- bastionId
- ResourceIdentifier
The resource ID of the managed bastion associated with the managed cluster.
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.
- 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.