text: # coding=utf-8
  # --------------------------------------------------------------------------
  # Copyright (c) Microsoft Corporation. All rights reserved.
  # Licensed under the MIT License. See License.txt in the project root for
  # license information.
  #
  # Code generated by Microsoft (R) AutoRest Code Generator.
  # Changes may cause incorrect behavior and will be lost if the code is
  # regenerated.
  # --------------------------------------------------------------------------
  
  from .tracked_resource_py3 import TrackedResource
  
  
  class ManagedNetwork(TrackedResource):
      """The Managed Network resource.
  
      Variables are only populated by the server, and will be ignored when
      sending a request.
  
      :ivar id: Fully qualified resource Id for the resource. Ex -
       /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
      :vartype id: str
      :ivar name: The name of the resource
      :vartype name: str
      :ivar type: The type of the resource. Ex-
       Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
      :vartype type: str
      :param location: The geo-location where the resource lives
      :type location: str
      :param tags: Resource tags
      :type tags: dict[str, str]
      :ivar provisioning_state: Provisioning state of the ManagedNetwork
       resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.
       Possible values include: 'Updating', 'Deleting', 'Failed', 'Succeeded'
      :vartype provisioning_state: str or
       ~azure.mgmt.managednetwork.v2019_06_01_pre.models.ProvisioningState
      :ivar etag: A unique read-only string that changes whenever the resource
       is updated.
      :vartype etag: str
      :param scope: The collection of management groups, subscriptions, virtual
       networks, and subnets by the Managed Network. This is a read-only property
       that is reflective of all ScopeAssignments for this Managed Network
      :type scope: ~azure.mgmt.managednetwork.v2019_06_01_pre.models.Scope
      :ivar connectivity: The collection of groups and policies concerned with
       connectivity
      :vartype connectivity:
       ~azure.mgmt.managednetwork.v2019_06_01_pre.models.ConnectivityCollection
      """
  
      _validation = {
          'id': {'readonly': True},
          'name': {'readonly': True},
          'type': {'readonly': True},
          'provisioning_state': {'readonly': True},
          'etag': {'readonly': True},
          'connectivity': {'readonly': True},
      }
  
      _attribute_map = {
          'id': {'key': 'id', 'type': 'str'},
          'name': {'key': 'name', 'type': 'str'},
          'type': {'key': 'type', 'type': 'str'},
          'location': {'key': 'location', 'type': 'str'},
          'tags': {'key': 'tags', 'type': '{str}'},
          'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'},
          'etag': {'key': 'properties.etag', 'type': 'str'},
          'scope': {'key': 'properties.scope', 'type': 'Scope'},
          'connectivity': {'key': 'properties.connectivity', 'type': 'ConnectivityCollection'},
      }
  
      def __init__(self, *, location: str=None, tags=None, scope=None, **kwargs) -> None:
          super(ManagedNetwork, self).__init__(location=location, tags=tags, **kwargs)
          self.provisioning_state = None
          self.etag = None
          self.scope = scope
          self.connectivity = None
  