CloudServicesNetworkPatchParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.networkcloud.models.CloudServicesNetworkPatchParameters

Implements

public final class CloudServicesNetworkPatchParameters
implements JsonSerializable<CloudServicesNetworkPatchParameters>

CloudServicesNetworkPatchParameters represents the body of the request to patch the cloud services network.

Constructor Summary

Constructor Description
CloudServicesNetworkPatchParameters()

Creates an instance of CloudServicesNetworkPatchParameters 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 CloudServicesNetworkPatchParameters fromJson(JsonReader jsonReader)

Reads an instance of CloudServicesNetworkPatchParameters from the JsonReader.

CloudServicesNetworkStorageOptionsPatch storageOptions()

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

Map<String,String> tags()

Get the tags property: The Azure resource tags that will replace the existing ones.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

CloudServicesNetworkPatchParameters withAdditionalEgressEndpoints(List<EgressEndpoint> additionalEgressEndpoints)

Set the additionalEgressEndpoints property: The list of egress endpoints.

CloudServicesNetworkPatchParameters withEnableDefaultEgressEndpoints(CloudServicesNetworkEnableDefaultEgressEndpoints enableDefaultEgressEndpoints)

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

CloudServicesNetworkPatchParameters withStorageOptions(CloudServicesNetworkStorageOptionsPatch storageOptions)

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

CloudServicesNetworkPatchParameters withTags(Map<String,String> tags)

Set the tags property: The Azure resource tags that will replace the existing ones.

Methods inherited from java.lang.Object

Constructor Details

CloudServicesNetworkPatchParameters

public CloudServicesNetworkPatchParameters()

Creates an instance of CloudServicesNetworkPatchParameters 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 CloudServicesNetworkPatchParameters fromJson(JsonReader jsonReader)

Reads an instance of CloudServicesNetworkPatchParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

storageOptions

public CloudServicesNetworkStorageOptionsPatch storageOptions()

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

Returns:

the storageOptions value.

tags

public Map<String,String> tags()

Get the tags property: The Azure resource tags that will replace the existing ones.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalEgressEndpoints

public CloudServicesNetworkPatchParameters 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 CloudServicesNetworkPatchParameters object itself.

withEnableDefaultEgressEndpoints

public CloudServicesNetworkPatchParameters 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 CloudServicesNetworkPatchParameters object itself.

withStorageOptions

public CloudServicesNetworkPatchParameters withStorageOptions(CloudServicesNetworkStorageOptionsPatch storageOptions)

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

Parameters:

storageOptions - the storageOptions value to set.

Returns:

the CloudServicesNetworkPatchParameters object itself.

withTags

public CloudServicesNetworkPatchParameters withTags(Map<String,String> tags)

Set the tags property: The Azure resource tags that will replace the existing ones.

Parameters:

tags - the tags value to set.

Returns:

the CloudServicesNetworkPatchParameters object itself.

Applies to