NetworkManagerPropertiesNetworkManagerScopes Class

  • java.lang.Object
    • com.azure.resourcemanager.network.models.NetworkManagerPropertiesNetworkManagerScopes

Implements

public final class NetworkManagerPropertiesNetworkManagerScopes
implements JsonSerializable<NetworkManagerPropertiesNetworkManagerScopes>

Scope of Network Manager.

Constructor Summary

Constructor Description
NetworkManagerPropertiesNetworkManagerScopes()

Creates an instance of NetworkManagerPropertiesNetworkManagerScopes class.

Method Summary

Modifier and Type Method and Description
List<CrossTenantScopes> crossTenantScopes()

Get the crossTenantScopes property: List of cross tenant scopes.

static NetworkManagerPropertiesNetworkManagerScopes fromJson(JsonReader jsonReader)

Reads an instance of NetworkManagerPropertiesNetworkManagerScopes from the JsonReader.

List<String> managementGroups()

Get the managementGroups property: List of management groups.

List<String> subscriptions()

Get the subscriptions property: List of subscriptions.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

NetworkManagerPropertiesNetworkManagerScopes withManagementGroups(List<String> managementGroups)

Set the managementGroups property: List of management groups.

NetworkManagerPropertiesNetworkManagerScopes withSubscriptions(List<String> subscriptions)

Set the subscriptions property: List of subscriptions.

Methods inherited from java.lang.Object

Constructor Details

NetworkManagerPropertiesNetworkManagerScopes

public NetworkManagerPropertiesNetworkManagerScopes()

Creates an instance of NetworkManagerPropertiesNetworkManagerScopes class.

Method Details

crossTenantScopes

public List crossTenantScopes()

Get the crossTenantScopes property: List of cross tenant scopes.

Returns:

the crossTenantScopes value.

fromJson

public static NetworkManagerPropertiesNetworkManagerScopes fromJson(JsonReader jsonReader)

Reads an instance of NetworkManagerPropertiesNetworkManagerScopes from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

managementGroups

public List managementGroups()

Get the managementGroups property: List of management groups.

Returns:

the managementGroups value.

subscriptions

public List subscriptions()

Get the subscriptions property: List of subscriptions.

Returns:

the subscriptions value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withManagementGroups

public NetworkManagerPropertiesNetworkManagerScopes withManagementGroups(List managementGroups)

Set the managementGroups property: List of management groups.

Parameters:

managementGroups - the managementGroups value to set.

Returns:

the NetworkManagerPropertiesNetworkManagerScopes object itself.

withSubscriptions

public NetworkManagerPropertiesNetworkManagerScopes withSubscriptions(List subscriptions)

Set the subscriptions property: List of subscriptions.

Parameters:

subscriptions - the subscriptions value to set.

Returns:

the NetworkManagerPropertiesNetworkManagerScopes object itself.

Applies to