ManagedClusterSecurityProfileWorkloadIdentity Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. ManagedClusterSecurityProfileWorkloadIdentity
- com.
Implements
public final class ManagedClusterSecurityProfileWorkloadIdentity
implements JsonSerializable<ManagedClusterSecurityProfileWorkloadIdentity>
Workload identity settings for the security profile.
Constructor Summary
Constructor | Description |
---|---|
ManagedClusterSecurityProfileWorkloadIdentity() |
Creates an instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
enabled()
Get the enabled property: Whether to enable workload identity. |
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Managed |
withEnabled(Boolean enabled)
Set the enabled property: Whether to enable workload identity. |
Methods inherited from java.lang.Object
Constructor Details
ManagedClusterSecurityProfileWorkloadIdentity
public ManagedClusterSecurityProfileWorkloadIdentity()
Creates an instance of ManagedClusterSecurityProfileWorkloadIdentity class.
Method Details
enabled
public Boolean enabled()
Get the enabled property: Whether to enable workload identity.
Returns:
fromJson
public static ManagedClusterSecurityProfileWorkloadIdentity fromJson(JsonReader jsonReader)
Reads an instance of ManagedClusterSecurityProfileWorkloadIdentity from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withEnabled
public ManagedClusterSecurityProfileWorkloadIdentity withEnabled(Boolean enabled)
Set the enabled property: Whether to enable workload identity.
Parameters:
Returns:
Applies to
Azure SDK for Java