ManagedClusterSecurityProfile Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. ManagedClusterSecurityProfile
- com.
Implements
public final class ManagedClusterSecurityProfile
implements JsonSerializable<ManagedClusterSecurityProfile>
Security profile for the container service cluster.
Constructor Summary
Constructor | Description |
---|---|
ManagedClusterSecurityProfile() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
Azure |
azureKeyVaultKms()
Get the azure |
Managed |
defender()
Get the defender property: Microsoft Defender settings for the security profile. |
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
Managed |
imageCleaner()
Get the image |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Managed |
withAzureKeyVaultKms(AzureKeyVaultKms azureKeyVaultKms)
Set the azure |
Managed |
withDefender(ManagedClusterSecurityProfileDefender defender)
Set the defender property: Microsoft Defender settings for the security profile. |
Managed |
withImageCleaner(ManagedClusterSecurityProfileImageCleaner imageCleaner)
Set the image |
Managed |
withWorkloadIdentity(ManagedClusterSecurityProfileWorkloadIdentity workloadIdentity)
Set the workload |
Managed |
workloadIdentity()
Get the workload |
Methods inherited from java.lang.Object
Constructor Details
ManagedClusterSecurityProfile
public ManagedClusterSecurityProfile()
Creates an instance of ManagedClusterSecurityProfile class.
Method Details
azureKeyVaultKms
public AzureKeyVaultKms 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:
defender
public ManagedClusterSecurityProfileDefender defender()
Get the defender property: Microsoft Defender settings for the security profile.
Returns:
fromJson
public static ManagedClusterSecurityProfile fromJson(JsonReader jsonReader)
Reads an instance of ManagedClusterSecurityProfile from the JsonReader.
Parameters:
Returns:
Throws:
imageCleaner
public ManagedClusterSecurityProfileImageCleaner imageCleaner()
Get the imageCleaner property: Image Cleaner settings for the security profile.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAzureKeyVaultKms
public ManagedClusterSecurityProfile 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.
Parameters:
Returns:
withDefender
public ManagedClusterSecurityProfile withDefender(ManagedClusterSecurityProfileDefender defender)
Set the defender property: Microsoft Defender settings for the security profile.
Parameters:
Returns:
withImageCleaner
public ManagedClusterSecurityProfile withImageCleaner(ManagedClusterSecurityProfileImageCleaner imageCleaner)
Set the imageCleaner property: Image Cleaner settings for the security profile.
Parameters:
Returns:
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:
Returns:
workloadIdentity
public ManagedClusterSecurityProfileWorkloadIdentity 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:
Applies to
Azure SDK for Java