Sdílet prostřednictvím


AdvancedNetworkingSecurity Class

  • java.lang.Object
    • com.azure.resourcemanager.containerservice.models.AdvancedNetworkingSecurity

Implements

public final class AdvancedNetworkingSecurity
implements JsonSerializable<AdvancedNetworkingSecurity>

Security profile to enable security features on cilium based cluster.

Constructor Summary

Constructor Description
AdvancedNetworkingSecurity()

Creates an instance of AdvancedNetworkingSecurity class.

Method Summary

Modifier and Type Method and Description
Boolean enabled()

Get the enabled property: This feature allows user to configure network policy based on DNS (FQDN) names.

static AdvancedNetworkingSecurity fromJson(JsonReader jsonReader)

Reads an instance of AdvancedNetworkingSecurity from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AdvancedNetworkingSecurity withEnabled(Boolean enabled)

Set the enabled property: This feature allows user to configure network policy based on DNS (FQDN) names.

Methods inherited from java.lang.Object

Constructor Details

AdvancedNetworkingSecurity

public AdvancedNetworkingSecurity()

Creates an instance of AdvancedNetworkingSecurity class.

Method Details

enabled

public Boolean enabled()

Get the enabled property: This feature allows user to configure network policy based on DNS (FQDN) names. It can be enabled only on cilium based clusters. If not specified, the default is false.

Returns:

the enabled value.

fromJson

public static AdvancedNetworkingSecurity fromJson(JsonReader jsonReader)

Reads an instance of AdvancedNetworkingSecurity from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of AdvancedNetworkingSecurity if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the AdvancedNetworkingSecurity.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withEnabled

public AdvancedNetworkingSecurity withEnabled(Boolean enabled)

Set the enabled property: This feature allows user to configure network policy based on DNS (FQDN) names. It can be enabled only on cilium based clusters. If not specified, the default is false.

Parameters:

enabled - the enabled value to set.

Returns:

the AdvancedNetworkingSecurity object itself.

Applies to