Class NetworkManagerPropertiesNetworkManagerScopes
java.lang.Object
com.azure.resourcemanager.network.models.NetworkManagerPropertiesNetworkManagerScopes
Scope of Network Manager.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of NetworkManagerPropertiesNetworkManagerScopes class. -
Method Summary
Modifier and TypeMethodDescriptionGet the crossTenantScopes property: List of cross tenant scopes.Get the managementGroups property: List of management groups.Get the subscriptions property: List of subscriptions.voidvalidate()Validates the instance.withManagementGroups(List<String> managementGroups) Set the managementGroups property: List of management groups.withSubscriptions(List<String> subscriptions) Set the subscriptions property: List of subscriptions.
-
Constructor Details
-
NetworkManagerPropertiesNetworkManagerScopes
public NetworkManagerPropertiesNetworkManagerScopes()Creates an instance of NetworkManagerPropertiesNetworkManagerScopes class.
-
-
Method Details
-
managementGroups
Get the managementGroups property: List of management groups.- Returns:
- the managementGroups value.
-
withManagementGroups
public NetworkManagerPropertiesNetworkManagerScopes withManagementGroups(List<String> managementGroups) Set the managementGroups property: List of management groups.- Parameters:
managementGroups- the managementGroups value to set.- Returns:
- the NetworkManagerPropertiesNetworkManagerScopes object itself.
-
subscriptions
Get the subscriptions property: List of subscriptions.- Returns:
- the subscriptions value.
-
withSubscriptions
Set the subscriptions property: List of subscriptions.- Parameters:
subscriptions- the subscriptions value to set.- Returns:
- the NetworkManagerPropertiesNetworkManagerScopes object itself.
-
crossTenantScopes
Get the crossTenantScopes property: List of cross tenant scopes.- Returns:
- the crossTenantScopes value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-