Share via


ArmHDInsightContainersModelFactory.ClusterAccessProfile Method

Definition

Initializes a new instance of ClusterAccessProfile.

public static Azure.ResourceManager.HDInsight.Containers.Models.ClusterAccessProfile ClusterAccessProfile (bool enableInternalIngress = false, Azure.Core.ResourceIdentifier privateLinkServiceId = default);
static member ClusterAccessProfile : bool * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.HDInsight.Containers.Models.ClusterAccessProfile
Public Shared Function ClusterAccessProfile (Optional enableInternalIngress As Boolean = false, Optional privateLinkServiceId As ResourceIdentifier = Nothing) As ClusterAccessProfile

Parameters

enableInternalIngress
Boolean

Whether to create cluster using private IP instead of public IP. This property must be set at create time.

privateLinkServiceId
ResourceIdentifier

Private link service resource ID. Only when enableInternalIngress is true, this property will be returned.

Returns

A new ClusterAccessProfile instance for mocking.

Applies to