Class NetworkIntentPolicyConfiguration
java.lang.Object
com.microsoft.azure.management.network.NetworkIntentPolicyConfiguration
Details of NetworkIntentPolicyConfiguration for
PrepareNetworkPoliciesRequest.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the name of the Network Intent Policy for storing in target subscription.Get source network intent policy.withNetworkIntentPolicyName
(String networkIntentPolicyName) Set the name of the Network Intent Policy for storing in target subscription.withSourceNetworkIntentPolicy
(NetworkIntentPolicy sourceNetworkIntentPolicy) Set source network intent policy.
-
Constructor Details
-
NetworkIntentPolicyConfiguration
public NetworkIntentPolicyConfiguration()
-
-
Method Details
-
networkIntentPolicyName
Get the name of the Network Intent Policy for storing in target subscription.- Returns:
- the networkIntentPolicyName value
-
withNetworkIntentPolicyName
Set the name of the Network Intent Policy for storing in target subscription.- Parameters:
networkIntentPolicyName
- the networkIntentPolicyName value to set- Returns:
- the NetworkIntentPolicyConfiguration object itself.
-
sourceNetworkIntentPolicy
Get source network intent policy.- Returns:
- the sourceNetworkIntentPolicy value
-
withSourceNetworkIntentPolicy
public NetworkIntentPolicyConfiguration withSourceNetworkIntentPolicy(NetworkIntentPolicy sourceNetworkIntentPolicy) Set source network intent policy.- Parameters:
sourceNetworkIntentPolicy
- the sourceNetworkIntentPolicy value to set- Returns:
- the NetworkIntentPolicyConfiguration object itself.
-