Condividi tramite


ArmContainerServiceModelFactory.ManagedClusterPodIdentityException Method

Definition

A pod identity exception, which allows pods with certain labels to access the Azure Instance Metadata Service (IMDS) endpoint without being intercepted by the node-managed identity (NMI) server. See disable AAD Pod Identity for a specific Pod/Application for more details.

public static Azure.ResourceManager.ContainerService.Models.ManagedClusterPodIdentityException ManagedClusterPodIdentityException(string name = default, string namespace = default, System.Collections.Generic.IDictionary<string,string> podLabels = default);
static member ManagedClusterPodIdentityException : string * string * System.Collections.Generic.IDictionary<string, string> -> Azure.ResourceManager.ContainerService.Models.ManagedClusterPodIdentityException
Public Shared Function ManagedClusterPodIdentityException (Optional name As String = Nothing, Optional namespace As String = Nothing, Optional podLabels As IDictionary(Of String, String) = Nothing) As ManagedClusterPodIdentityException

Parameters

name
String

The name of the pod identity exception.

namespace
String

The namespace of the pod identity exception.

podLabels
IDictionary<String,String>

The pod labels to match.

Returns

A new ManagedClusterPodIdentityException instance for mocking.

Applies to