Condividi tramite


ServiceAccountImagePullProfile Class

Definition

Profile for configuring image pull authentication to use service account scoped managed identities for authentication instead of node scoped managed identity (kubelet identity) for authentication to Azure Container Registry. For more information, refer to https://aka.ms/aks/identity-binding/acr-image-pull/docs.

public class ServiceAccountImagePullProfile : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerService.Models.ServiceAccountImagePullProfile>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerService.Models.ServiceAccountImagePullProfile>
type ServiceAccountImagePullProfile = class
    interface IJsonModel<ServiceAccountImagePullProfile>
    interface IPersistableModel<ServiceAccountImagePullProfile>
Public Class ServiceAccountImagePullProfile
Implements IJsonModel(Of ServiceAccountImagePullProfile), IPersistableModel(Of ServiceAccountImagePullProfile)
Inheritance
ServiceAccountImagePullProfile
Implements

Constructors

Name Description
ServiceAccountImagePullProfile()

Initializes a new instance of ServiceAccountImagePullProfile.

Properties

Name Description
DefaultManagedIdentityId

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.

IsEnabled

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.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<ServiceAccountImagePullProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<ServiceAccountImagePullProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<ServiceAccountImagePullProfile>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<ServiceAccountImagePullProfile>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<ServiceAccountImagePullProfile>.Write(ModelReaderWriterOptions)

Applies to