Class ManagedClusterSecurityProfile
java.lang.Object
com.azure.resourcemanager.containerservice.models.ManagedClusterSecurityProfile
Security profile for the container service cluster.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ManagedClusterSecurityProfile class. -
Method Summary
Modifier and TypeMethodDescriptionGet the azureKeyVaultKms property: Azure Key Vault [key management service](https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/) settings for the security profile.defender()Get the defender property: Microsoft Defender settings for the security profile.Get the imageCleaner property: Image Cleaner settings for the security profile.voidvalidate()Validates the instance.withAzureKeyVaultKms(AzureKeyVaultKms azureKeyVaultKms) Set the azureKeyVaultKms property: Azure Key Vault [key management service](https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/) settings for the security profile.Set the defender property: Microsoft Defender settings for the security profile.withImageCleaner(ManagedClusterSecurityProfileImageCleaner imageCleaner) Set the imageCleaner property: Image Cleaner settings for the security profile.withWorkloadIdentity(ManagedClusterSecurityProfileWorkloadIdentity workloadIdentity) Set the workloadIdentity property: Workload identity settings for the security profile.Get the workloadIdentity property: Workload identity settings for the security profile.
-
Constructor Details
-
ManagedClusterSecurityProfile
public ManagedClusterSecurityProfile()Creates an instance of ManagedClusterSecurityProfile class.
-
-
Method Details
-
defender
Get the defender property: Microsoft Defender settings for the security profile.- Returns:
- the defender value.
-
withDefender
Set the defender property: Microsoft Defender settings for the security profile.- Parameters:
defender- the defender value to set.- Returns:
- the ManagedClusterSecurityProfile object itself.
-
azureKeyVaultKms
Get the azureKeyVaultKms property: Azure Key Vault [key management service](https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/) settings for the security profile.- Returns:
- the azureKeyVaultKms value.
-
withAzureKeyVaultKms
Set the azureKeyVaultKms property: Azure Key Vault [key management service](https://kubernetes.io/docs/tasks/administer-cluster/kms-provider/) settings for the security profile.- Parameters:
azureKeyVaultKms- the azureKeyVaultKms value to set.- Returns:
- the ManagedClusterSecurityProfile object itself.
-
workloadIdentity
Get the workloadIdentity property: Workload identity settings for the security profile. Workload identity enables Kubernetes applications to access Azure cloud resources securely with Azure AD. See https://aka.ms/aks/wi for more details.- Returns:
- the workloadIdentity value.
-
withWorkloadIdentity
public ManagedClusterSecurityProfile withWorkloadIdentity(ManagedClusterSecurityProfileWorkloadIdentity workloadIdentity) Set the workloadIdentity property: Workload identity settings for the security profile. Workload identity enables Kubernetes applications to access Azure cloud resources securely with Azure AD. See https://aka.ms/aks/wi for more details.- Parameters:
workloadIdentity- the workloadIdentity value to set.- Returns:
- the ManagedClusterSecurityProfile object itself.
-
imageCleaner
Get the imageCleaner property: Image Cleaner settings for the security profile.- Returns:
- the imageCleaner value.
-
withImageCleaner
public ManagedClusterSecurityProfile withImageCleaner(ManagedClusterSecurityProfileImageCleaner imageCleaner) Set the imageCleaner property: Image Cleaner settings for the security profile.- Parameters:
imageCleaner- the imageCleaner value to set.- Returns:
- the ManagedClusterSecurityProfile object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-