diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/__init__.py b/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/__init__.py index 8c576e48e4b5..9dac11219fd5 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/__init__.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/__init__.py @@ -29,7 +29,9 @@ from .ip_tag_py3 import IpTag from .public_ip_address_py3 import PublicIPAddress from .ip_configuration_py3 import IPConfiguration + from .ip_configuration_profile_py3 import IPConfigurationProfile from .resource_navigation_link_py3 import ResourceNavigationLink + from .service_association_link_py3 import ServiceAssociationLink from .delegation_py3 import Delegation from .subnet_py3 import Subnet from .frontend_ip_configuration_py3 import FrontendIPConfiguration @@ -137,7 +139,6 @@ from .effective_network_security_group_list_result_py3 import EffectiveNetworkSecurityGroupListResult from .effective_route_py3 import EffectiveRoute from .effective_route_list_result_py3 import EffectiveRouteListResult - from .ip_configuration_profile_py3 import IPConfigurationProfile from .container_network_interface_configuration_py3 import ContainerNetworkInterfaceConfiguration from .container_py3 import Container from .container_network_interface_ip_configuration_py3 import ContainerNetworkInterfaceIpConfiguration @@ -284,7 +285,9 @@ from .ip_tag import IpTag from .public_ip_address import PublicIPAddress from .ip_configuration import IPConfiguration + from .ip_configuration_profile import IPConfigurationProfile from .resource_navigation_link import ResourceNavigationLink + from .service_association_link import ServiceAssociationLink from .delegation import Delegation from .subnet import Subnet from .frontend_ip_configuration import FrontendIPConfiguration @@ -392,7 +395,6 @@ from .effective_network_security_group_list_result import EffectiveNetworkSecurityGroupListResult from .effective_route import EffectiveRoute from .effective_route_list_result import EffectiveRouteListResult - from .ip_configuration_profile import IPConfigurationProfile from .container_network_interface_configuration import ContainerNetworkInterfaceConfiguration from .container import Container from .container_network_interface_ip_configuration import ContainerNetworkInterfaceIpConfiguration @@ -678,7 +680,9 @@ 'IpTag', 'PublicIPAddress', 'IPConfiguration', + 'IPConfigurationProfile', 'ResourceNavigationLink', + 'ServiceAssociationLink', 'Delegation', 'Subnet', 'FrontendIPConfiguration', @@ -786,7 +790,6 @@ 'EffectiveNetworkSecurityGroupListResult', 'EffectiveRoute', 'EffectiveRouteListResult', - 'IPConfigurationProfile', 'ContainerNetworkInterfaceConfiguration', 'Container', 'ContainerNetworkInterfaceIpConfiguration', diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/service_association_link.py b/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/service_association_link.py new file mode 100644 index 000000000000..b8d1818022dd --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/service_association_link.py @@ -0,0 +1,58 @@ +# 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 .sub_resource import SubResource + + +class ServiceAssociationLink(SubResource): + """ServiceAssociationLink resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :param linked_resource_type: Resource type of the linked resource. + :type linked_resource_type: str + :param link: Link to the external resource. + :type link: str + :ivar provisioning_state: Provisioning state of the ServiceAssociationLink + resource. + :vartype provisioning_state: str + :param name: Name of the resource that is unique within a resource group. + This name can be used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource + is updated. + :vartype etag: str + """ + + _validation = { + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'linked_resource_type': {'key': 'properties.linkedResourceType', 'type': 'str'}, + 'link': {'key': 'properties.link', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, **kwargs): + super(ServiceAssociationLink, self).__init__(**kwargs) + self.linked_resource_type = kwargs.get('linked_resource_type', None) + self.link = kwargs.get('link', None) + self.provisioning_state = None + self.name = kwargs.get('name', None) + self.etag = None diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/service_association_link_py3.py b/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/service_association_link_py3.py new file mode 100644 index 000000000000..2e01412e05a1 --- /dev/null +++ b/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/service_association_link_py3.py @@ -0,0 +1,58 @@ +# 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 .sub_resource_py3 import SubResource + + +class ServiceAssociationLink(SubResource): + """ServiceAssociationLink resource. + + Variables are only populated by the server, and will be ignored when + sending a request. + + :param id: Resource ID. + :type id: str + :param linked_resource_type: Resource type of the linked resource. + :type linked_resource_type: str + :param link: Link to the external resource. + :type link: str + :ivar provisioning_state: Provisioning state of the ServiceAssociationLink + resource. + :vartype provisioning_state: str + :param name: Name of the resource that is unique within a resource group. + This name can be used to access the resource. + :type name: str + :ivar etag: A unique read-only string that changes whenever the resource + is updated. + :vartype etag: str + """ + + _validation = { + 'provisioning_state': {'readonly': True}, + 'etag': {'readonly': True}, + } + + _attribute_map = { + 'id': {'key': 'id', 'type': 'str'}, + 'linked_resource_type': {'key': 'properties.linkedResourceType', 'type': 'str'}, + 'link': {'key': 'properties.link', 'type': 'str'}, + 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'name': {'key': 'name', 'type': 'str'}, + 'etag': {'key': 'etag', 'type': 'str'}, + } + + def __init__(self, *, id: str=None, linked_resource_type: str=None, link: str=None, name: str=None, **kwargs) -> None: + super(ServiceAssociationLink, self).__init__(id=id, **kwargs) + self.linked_resource_type = linked_resource_type + self.link = link + self.provisioning_state = None + self.name = name + self.etag = None diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/subnet.py b/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/subnet.py index 28f430953354..861b76b30df7 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/subnet.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/subnet.py @@ -43,10 +43,18 @@ class Subnet(SubResource): interface IP configurations using subnet. :vartype ip_configurations: list[~azure.mgmt.network.v2018_08_01.models.IPConfiguration] + :ivar ip_configuration_profiles: Array of IP configuration profiles which + reference this subnet. + :vartype ip_configuration_profiles: + list[~azure.mgmt.network.v2018_08_01.models.IPConfigurationProfile] :param resource_navigation_links: Gets an array of references to the external resources using subnet. :type resource_navigation_links: list[~azure.mgmt.network.v2018_08_01.models.ResourceNavigationLink] + :param service_association_links: Gets an array of references to services + injecting into this subnet. + :type service_association_links: + list[~azure.mgmt.network.v2018_08_01.models.ServiceAssociationLink] :param delegations: Gets an array of references to the delegations on the subnet. :type delegations: list[~azure.mgmt.network.v2018_08_01.models.Delegation] @@ -65,6 +73,7 @@ class Subnet(SubResource): _validation = { 'ip_configurations': {'readonly': True}, + 'ip_configuration_profiles': {'readonly': True}, 'purpose': {'readonly': True}, } @@ -78,7 +87,9 @@ class Subnet(SubResource): 'service_endpoint_policies': {'key': 'properties.serviceEndpointPolicies', 'type': '[ServiceEndpointPolicy]'}, 'interface_endpoints': {'key': 'properties.interfaceEndpoints', 'type': '[SubResource]'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[IPConfiguration]'}, + 'ip_configuration_profiles': {'key': 'properties.ipConfigurationProfiles', 'type': '[IPConfigurationProfile]'}, 'resource_navigation_links': {'key': 'properties.resourceNavigationLinks', 'type': '[ResourceNavigationLink]'}, + 'service_association_links': {'key': 'properties.serviceAssociationLinks', 'type': '[ServiceAssociationLink]'}, 'delegations': {'key': 'properties.delegations', 'type': '[Delegation]'}, 'purpose': {'key': 'properties.purpose', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, @@ -96,7 +107,9 @@ def __init__(self, **kwargs): self.service_endpoint_policies = kwargs.get('service_endpoint_policies', None) self.interface_endpoints = kwargs.get('interface_endpoints', None) self.ip_configurations = None + self.ip_configuration_profiles = None self.resource_navigation_links = kwargs.get('resource_navigation_links', None) + self.service_association_links = kwargs.get('service_association_links', None) self.delegations = kwargs.get('delegations', None) self.purpose = None self.provisioning_state = kwargs.get('provisioning_state', None) diff --git a/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/subnet_py3.py b/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/subnet_py3.py index 4b031287a027..acf9435d020b 100644 --- a/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/subnet_py3.py +++ b/azure-mgmt-network/azure/mgmt/network/v2018_08_01/models/subnet_py3.py @@ -43,10 +43,18 @@ class Subnet(SubResource): interface IP configurations using subnet. :vartype ip_configurations: list[~azure.mgmt.network.v2018_08_01.models.IPConfiguration] + :ivar ip_configuration_profiles: Array of IP configuration profiles which + reference this subnet. + :vartype ip_configuration_profiles: + list[~azure.mgmt.network.v2018_08_01.models.IPConfigurationProfile] :param resource_navigation_links: Gets an array of references to the external resources using subnet. :type resource_navigation_links: list[~azure.mgmt.network.v2018_08_01.models.ResourceNavigationLink] + :param service_association_links: Gets an array of references to services + injecting into this subnet. + :type service_association_links: + list[~azure.mgmt.network.v2018_08_01.models.ServiceAssociationLink] :param delegations: Gets an array of references to the delegations on the subnet. :type delegations: list[~azure.mgmt.network.v2018_08_01.models.Delegation] @@ -65,6 +73,7 @@ class Subnet(SubResource): _validation = { 'ip_configurations': {'readonly': True}, + 'ip_configuration_profiles': {'readonly': True}, 'purpose': {'readonly': True}, } @@ -78,7 +87,9 @@ class Subnet(SubResource): 'service_endpoint_policies': {'key': 'properties.serviceEndpointPolicies', 'type': '[ServiceEndpointPolicy]'}, 'interface_endpoints': {'key': 'properties.interfaceEndpoints', 'type': '[SubResource]'}, 'ip_configurations': {'key': 'properties.ipConfigurations', 'type': '[IPConfiguration]'}, + 'ip_configuration_profiles': {'key': 'properties.ipConfigurationProfiles', 'type': '[IPConfigurationProfile]'}, 'resource_navigation_links': {'key': 'properties.resourceNavigationLinks', 'type': '[ResourceNavigationLink]'}, + 'service_association_links': {'key': 'properties.serviceAssociationLinks', 'type': '[ServiceAssociationLink]'}, 'delegations': {'key': 'properties.delegations', 'type': '[Delegation]'}, 'purpose': {'key': 'properties.purpose', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, @@ -86,7 +97,7 @@ class Subnet(SubResource): 'etag': {'key': 'etag', 'type': 'str'}, } - def __init__(self, *, id: str=None, address_prefix: str=None, address_prefixes=None, network_security_group=None, route_table=None, service_endpoints=None, service_endpoint_policies=None, interface_endpoints=None, resource_navigation_links=None, delegations=None, provisioning_state: str=None, name: str=None, etag: str=None, **kwargs) -> None: + def __init__(self, *, id: str=None, address_prefix: str=None, address_prefixes=None, network_security_group=None, route_table=None, service_endpoints=None, service_endpoint_policies=None, interface_endpoints=None, resource_navigation_links=None, service_association_links=None, delegations=None, provisioning_state: str=None, name: str=None, etag: str=None, **kwargs) -> None: super(Subnet, self).__init__(id=id, **kwargs) self.address_prefix = address_prefix self.address_prefixes = address_prefixes @@ -96,7 +107,9 @@ def __init__(self, *, id: str=None, address_prefix: str=None, address_prefixes=N self.service_endpoint_policies = service_endpoint_policies self.interface_endpoints = interface_endpoints self.ip_configurations = None + self.ip_configuration_profiles = None self.resource_navigation_links = resource_navigation_links + self.service_association_links = service_association_links self.delegations = delegations self.purpose = None self.provisioning_state = provisioning_state