CloudServicesNetworkPatchProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.networkcloud.fluent.models.CloudServicesNetworkPatchProperties

Implements

public final class CloudServicesNetworkPatchProperties
implements JsonSerializable<CloudServicesNetworkPatchProperties>

CloudServicesNetworkPatchProperties represents the properties of the cloud services network that can be updated using a patch request.

Constructor Summary

Constructor Description
CloudServicesNetworkPatchProperties()

Creates an instance of CloudServicesNetworkPatchProperties class.

Method Summary

Modifier and Type Method and Description
List<EgressEndpoint> additionalEgressEndpoints()

Get the additionalEgressEndpoints property: The list of egress endpoints.

CloudServicesNetworkEnableDefaultEgressEndpoints enableDefaultEgressEndpoints()

Get the enableDefaultEgressEndpoints property: The indicator of whether the platform default endpoints are allowed for the egress traffic.

static CloudServicesNetworkPatchProperties fromJson(JsonReader jsonReader)

Reads an instance of CloudServicesNetworkPatchProperties from the JsonReader.

CloudServicesNetworkStorageOptionsPatch storageOptions()

Get the storageOptions property: The storage options for the cloud services network.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

CloudServicesNetworkPatchProperties withAdditionalEgressEndpoints(List<EgressEndpoint> additionalEgressEndpoints)

Set the additionalEgressEndpoints property: The list of egress endpoints.

CloudServicesNetworkPatchProperties withEnableDefaultEgressEndpoints(CloudServicesNetworkEnableDefaultEgressEndpoints enableDefaultEgressEndpoints)

Set the enableDefaultEgressEndpoints property: The indicator of whether the platform default endpoints are allowed for the egress traffic.

CloudServicesNetworkPatchProperties withStorageOptions(CloudServicesNetworkStorageOptionsPatch storageOptions)

Set the storageOptions property: The storage options for the cloud services network.

Methods inherited from java.lang.Object

Constructor Details

CloudServicesNetworkPatchProperties

public CloudServicesNetworkPatchProperties()

Creates an instance of CloudServicesNetworkPatchProperties class.

Method Details

additionalEgressEndpoints

public List<EgressEndpoint> additionalEgressEndpoints()

Get the additionalEgressEndpoints property: The list of egress endpoints. This allows for connection from a Hybrid AKS cluster to the specified endpoint.

Returns:

the additionalEgressEndpoints value.

enableDefaultEgressEndpoints

public CloudServicesNetworkEnableDefaultEgressEndpoints enableDefaultEgressEndpoints()

Get the enableDefaultEgressEndpoints property: The indicator of whether the platform default endpoints are allowed for the egress traffic.

Returns:

the enableDefaultEgressEndpoints value.

fromJson

public static CloudServicesNetworkPatchProperties fromJson(JsonReader jsonReader)

Reads an instance of CloudServicesNetworkPatchProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CloudServicesNetworkPatchProperties 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 CloudServicesNetworkPatchProperties.

storageOptions

public CloudServicesNetworkStorageOptionsPatch storageOptions()

Get the storageOptions property: The storage options for the cloud services network.

Returns:

the storageOptions value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalEgressEndpoints

public CloudServicesNetworkPatchProperties withAdditionalEgressEndpoints(List<EgressEndpoint> additionalEgressEndpoints)

Set the additionalEgressEndpoints property: The list of egress endpoints. This allows for connection from a Hybrid AKS cluster to the specified endpoint.

Parameters:

additionalEgressEndpoints - the additionalEgressEndpoints value to set.

Returns:

the CloudServicesNetworkPatchProperties object itself.

withEnableDefaultEgressEndpoints

public CloudServicesNetworkPatchProperties withEnableDefaultEgressEndpoints(CloudServicesNetworkEnableDefaultEgressEndpoints enableDefaultEgressEndpoints)

Set the enableDefaultEgressEndpoints property: The indicator of whether the platform default endpoints are allowed for the egress traffic.

Parameters:

enableDefaultEgressEndpoints - the enableDefaultEgressEndpoints value to set.

Returns:

the CloudServicesNetworkPatchProperties object itself.

withStorageOptions

public CloudServicesNetworkPatchProperties withStorageOptions(CloudServicesNetworkStorageOptionsPatch storageOptions)

Set the storageOptions property: The storage options for the cloud services network.

Parameters:

storageOptions - the storageOptions value to set.

Returns:

the CloudServicesNetworkPatchProperties object itself.

Applies to