ExternalNetworkPatch Class
- java.
lang. Object - com.
azure. resourcemanager. managednetworkfabric. models. ExternalNetworkPatch
- com.
Implements
public final class ExternalNetworkPatch
implements JsonSerializable<ExternalNetworkPatch>
The ExternalNetwork patch resource definition.
Constructor Summary
| Constructor | Description |
|---|---|
| ExternalNetworkPatch() |
Creates an instance of External |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
annotation()
Get the annotation property: Switch configuration description. |
|
Export |
exportRoutePolicy()
Get the export |
|
static
External |
fromJson(JsonReader jsonReader)
Reads an instance of External |
|
Import |
importRoutePolicy()
Get the import |
| String |
networkToNetworkInterconnectId()
Get the network |
|
External |
optionAProperties()
Get the option |
|
L3Option |
optionBProperties()
Get the option |
|
Peering |
peeringOption()
Get the peering |
|
External |
staticRouteConfiguration()
Get the static |
|
Json |
toJson(JsonWriter jsonWriter) |
|
External |
withAnnotation(String annotation)
Set the annotation property: Switch configuration description. |
|
External |
withExportRoutePolicy(ExportRoutePolicyPatch exportRoutePolicy)
Set the export |
|
External |
withImportRoutePolicy(ImportRoutePolicyPatch importRoutePolicy)
Set the import |
|
External |
withNetworkToNetworkInterconnectId(String networkToNetworkInterconnectId)
Set the network |
|
External |
withOptionAProperties(ExternalNetworkPatchPropertiesOptionAProperties optionAProperties)
Set the option |
|
External |
withOptionBProperties(L3OptionBPatchProperties optionBProperties)
Set the option |
|
External |
withPeeringOption(PeeringOption peeringOption)
Set the peering |
|
External |
withStaticRouteConfiguration(ExternalNetworkStaticRoutePatchConfiguration staticRouteConfiguration)
Set the static |
Methods inherited from java.lang.Object
Constructor Details
ExternalNetworkPatch
public ExternalNetworkPatch()
Creates an instance of ExternalNetworkPatch class.
Method Details
annotation
public String annotation()
Get the annotation property: Switch configuration description.
Returns:
exportRoutePolicy
public ExportRoutePolicyPatch exportRoutePolicy()
Get the exportRoutePolicy property: Export Route Policy either IPv4 or IPv6.
Returns:
fromJson
public static ExternalNetworkPatch fromJson(JsonReader jsonReader)
Reads an instance of ExternalNetworkPatch from the JsonReader.
Parameters:
Returns:
Throws:
importRoutePolicy
public ImportRoutePolicyPatch importRoutePolicy()
Get the importRoutePolicy property: Import Route Policy either IPv4 or IPv6.
Returns:
networkToNetworkInterconnectId
public String networkToNetworkInterconnectId()
Get the networkToNetworkInterconnectId property: ARM Resource ID of the networkToNetworkInterconnectId of the ExternalNetwork resource.
Returns:
optionAProperties
public ExternalNetworkPatchPropertiesOptionAProperties optionAProperties()
Get the optionAProperties property: option A properties object.
Returns:
optionBProperties
public L3OptionBPatchProperties optionBProperties()
Get the optionBProperties property: option B properties object.
Returns:
peeringOption
public PeeringOption peeringOption()
Get the peeringOption property: Peering option list.
Returns:
staticRouteConfiguration
public ExternalNetworkStaticRoutePatchConfiguration staticRouteConfiguration()
Get the staticRouteConfiguration property: Static Route Configuration.
Returns:
toJson
withAnnotation
public ExternalNetworkPatch withAnnotation(String annotation)
Set the annotation property: Switch configuration description.
Parameters:
Returns:
withExportRoutePolicy
public ExternalNetworkPatch withExportRoutePolicy(ExportRoutePolicyPatch exportRoutePolicy)
Set the exportRoutePolicy property: Export Route Policy either IPv4 or IPv6.
Parameters:
Returns:
withImportRoutePolicy
public ExternalNetworkPatch withImportRoutePolicy(ImportRoutePolicyPatch importRoutePolicy)
Set the importRoutePolicy property: Import Route Policy either IPv4 or IPv6.
Parameters:
Returns:
withNetworkToNetworkInterconnectId
public ExternalNetworkPatch withNetworkToNetworkInterconnectId(String networkToNetworkInterconnectId)
Set the networkToNetworkInterconnectId property: ARM Resource ID of the networkToNetworkInterconnectId of the ExternalNetwork resource.
Parameters:
Returns:
withOptionAProperties
public ExternalNetworkPatch withOptionAProperties(ExternalNetworkPatchPropertiesOptionAProperties optionAProperties)
Set the optionAProperties property: option A properties object.
Parameters:
Returns:
withOptionBProperties
public ExternalNetworkPatch withOptionBProperties(L3OptionBPatchProperties optionBProperties)
Set the optionBProperties property: option B properties object.
Parameters:
Returns:
withPeeringOption
public ExternalNetworkPatch withPeeringOption(PeeringOption peeringOption)
Set the peeringOption property: Peering option list.
Parameters:
Returns:
withStaticRouteConfiguration
public ExternalNetworkPatch withStaticRouteConfiguration(ExternalNetworkStaticRoutePatchConfiguration staticRouteConfiguration)
Set the staticRouteConfiguration property: Static Route Configuration.
Parameters:
Returns: