ArmContainerServiceModelFactory.ServiceAccountImagePullProfile Method

Definition

public static Azure.ResourceManager.ContainerService.Models.ServiceAccountImagePullProfile ServiceAccountImagePullProfile(bool? isEnabled = default, string defaultManagedIdentityId = default);
static member ServiceAccountImagePullProfile : Nullable<bool> * string -> Azure.ResourceManager.ContainerService.Models.ServiceAccountImagePullProfile
Public Shared Function ServiceAccountImagePullProfile (Optional isEnabled As Nullable(Of Boolean) = Nothing, Optional defaultManagedIdentityId As String = Nothing) As ServiceAccountImagePullProfile

Parameters

isEnabled
Nullable<Boolean>

Indicates whether service account based image pull is enabled, for which identity bindings are required for the managed identity to be used for authentication. For more information, refer to https://aka.ms/aks/identity-binding-docs.

defaultManagedIdentityId
String

Optional. The default managed identity resource ID used for image pulls at the cluster level. When configured, this identity is used if a Pod’s service account does not explicitly specify an identity for pulling images. If not configured and no identity is specified at service account level, image will be pulled via anonymous authentication.

Returns

A new ServiceAccountImagePullProfile instance for mocking.

Applies to