diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/__init__.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/__init__.py index 97b468bb5a07..af3ae81d5ab7 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/__init__.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/__init__.py @@ -1200,6 +1200,7 @@ LoadDistribution, ManagedRuleEnabledState, NatGatewaySkuName, + NetworkInterfaceNicType, NetworkOperationStatus, NextHopType, OfficeTrafficCategory, @@ -1217,6 +1218,7 @@ Protocol, ProtocolType, ProvisioningState, + PublicIPAddressMigrationPhase, PublicIPAddressSkuName, PublicIPAddressSkuTier, PublicIPPrefixSkuName, @@ -1244,6 +1246,8 @@ VirtualNetworkGatewaySkuTier, VirtualNetworkGatewayType, VirtualNetworkPeeringState, + VirtualNetworkPrivateEndpointNetworkPolicies, + VirtualNetworkPrivateLinkServiceNetworkPolicies, VirtualWanSecurityProviderType, VpnAuthenticationType, VpnClientProtocol, @@ -1902,6 +1906,7 @@ 'LoadDistribution', 'ManagedRuleEnabledState', 'NatGatewaySkuName', + 'NetworkInterfaceNicType', 'NetworkOperationStatus', 'NextHopType', 'OfficeTrafficCategory', @@ -1919,6 +1924,7 @@ 'Protocol', 'ProtocolType', 'ProvisioningState', + 'PublicIPAddressMigrationPhase', 'PublicIPAddressSkuName', 'PublicIPAddressSkuTier', 'PublicIPPrefixSkuName', @@ -1946,6 +1952,8 @@ 'VirtualNetworkGatewaySkuTier', 'VirtualNetworkGatewayType', 'VirtualNetworkPeeringState', + 'VirtualNetworkPrivateEndpointNetworkPolicies', + 'VirtualNetworkPrivateLinkServiceNetworkPolicies', 'VirtualWanSecurityProviderType', 'VpnAuthenticationType', 'VpnClientProtocol', diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_models.py index 0c63c6b0af66..c9738dc635fa 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_models.py @@ -3038,6 +3038,8 @@ class AvailablePrivateEndpointType(msrest.serialization.Model): :type type: str :param resource_name: The name of the service and resource. :type resource_name: str + :param display_name: Display name of the resource. + :type display_name: str """ _attribute_map = { @@ -3045,6 +3047,7 @@ class AvailablePrivateEndpointType(msrest.serialization.Model): 'id': {'key': 'id', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'resource_name': {'key': 'resourceName', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, } def __init__( @@ -3056,6 +3059,7 @@ def __init__( self.id = kwargs.get('id', None) self.type = kwargs.get('type', None) self.resource_name = kwargs.get('resource_name', None) + self.display_name = kwargs.get('display_name', None) class AvailablePrivateEndpointTypesResult(msrest.serialization.Model): @@ -11097,11 +11101,14 @@ class IPAddressAvailabilityResult(msrest.serialization.Model): :param available_ip_addresses: Contains other available private IP addresses if the asked for address is taken. :type available_ip_addresses: list[str] + :param is_platform_reserved: Private IP address platform reserved. + :type is_platform_reserved: bool """ _attribute_map = { 'available': {'key': 'available', 'type': 'bool'}, 'available_ip_addresses': {'key': 'availableIPAddresses', 'type': '[str]'}, + 'is_platform_reserved': {'key': 'isPlatformReserved', 'type': 'bool'}, } def __init__( @@ -11111,6 +11118,7 @@ def __init__( super(IPAddressAvailabilityResult, self).__init__(**kwargs) self.available = kwargs.get('available', None) self.available_ip_addresses = kwargs.get('available_ip_addresses', None) + self.is_platform_reserved = kwargs.get('is_platform_reserved', None) class IpAllocation(Resource): @@ -13284,6 +13292,11 @@ class NetworkInterface(Resource): :ivar provisioning_state: The provisioning state of the network interface resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState + :param nic_type: Type of Network Interface resource. Possible values include: "Standard", + "Elastic". + :type nic_type: str or ~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceNicType + :param private_link_service: Privatelinkservice of the network interface resource. + :type private_link_service: ~azure.mgmt.network.v2020_07_01.models.PrivateLinkService """ _validation = { @@ -13323,6 +13336,8 @@ class NetworkInterface(Resource): 'dscp_configuration': {'key': 'properties.dscpConfiguration', 'type': 'SubResource'}, 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'nic_type': {'key': 'properties.nicType', 'type': 'str'}, + 'private_link_service': {'key': 'properties.privateLinkService', 'type': 'PrivateLinkService'}, } def __init__( @@ -13346,6 +13361,8 @@ def __init__( self.dscp_configuration = None self.resource_guid = None self.provisioning_state = None + self.nic_type = kwargs.get('nic_type', None) + self.private_link_service = kwargs.get('private_link_service', None) class NetworkInterfaceAssociation(msrest.serialization.Model): @@ -13440,6 +13457,8 @@ class NetworkInterfaceIPConfiguration(SubResource): :type name: str :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str + :param type: Resource type. + :type type: str :param virtual_network_taps: The reference to Virtual Network Taps. :type virtual_network_taps: list[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkTap] :param application_gateway_backend_address_pools: The reference to @@ -13491,6 +13510,7 @@ class NetworkInterfaceIPConfiguration(SubResource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, 'virtual_network_taps': {'key': 'properties.virtualNetworkTaps', 'type': '[VirtualNetworkTap]'}, 'application_gateway_backend_address_pools': {'key': 'properties.applicationGatewayBackendAddressPools', 'type': '[ApplicationGatewayBackendAddressPool]'}, 'load_balancer_backend_address_pools': {'key': 'properties.loadBalancerBackendAddressPools', 'type': '[BackendAddressPool]'}, @@ -13513,6 +13533,7 @@ def __init__( super(NetworkInterfaceIPConfiguration, self).__init__(**kwargs) self.name = kwargs.get('name', None) self.etag = None + self.type = kwargs.get('type', None) self.virtual_network_taps = kwargs.get('virtual_network_taps', None) self.application_gateway_backend_address_pools = kwargs.get('application_gateway_backend_address_pools', None) self.load_balancer_backend_address_pools = kwargs.get('load_balancer_backend_address_pools', None) @@ -16520,6 +16541,15 @@ class PublicIPAddress(Resource): :ivar provisioning_state: The provisioning state of the public IP address resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState + :param nat_gateway: The NatGateway for the Public IP address. + :type nat_gateway: ~azure.mgmt.network.v2020_07_01.models.NatGateway + :param migration_phase: Migration phase of Public IP Address. Possible values include: "None", + "Prepare", "Commit", "Abort", "Committed". + :type migration_phase: str or + ~azure.mgmt.network.v2020_07_01.models.PublicIPAddressMigrationPhase + :param linked_public_ip_address: The linked public IP address of the public IP address + resource. + :type linked_public_ip_address: ~azure.mgmt.network.v2020_07_01.models.PublicIPAddress """ _validation = { @@ -16552,6 +16582,9 @@ class PublicIPAddress(Resource): 'idle_timeout_in_minutes': {'key': 'properties.idleTimeoutInMinutes', 'type': 'int'}, 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'nat_gateway': {'key': 'properties.natGateway', 'type': 'NatGateway'}, + 'migration_phase': {'key': 'properties.migrationPhase', 'type': 'str'}, + 'linked_public_ip_address': {'key': 'properties.linkedPublicIPAddress', 'type': 'PublicIPAddress'}, } def __init__( @@ -16574,6 +16607,9 @@ def __init__( self.idle_timeout_in_minutes = kwargs.get('idle_timeout_in_minutes', None) self.resource_guid = None self.provisioning_state = None + self.nat_gateway = kwargs.get('nat_gateway', None) + self.migration_phase = kwargs.get('migration_phase', None) + self.linked_public_ip_address = kwargs.get('linked_public_ip_address', None) class PublicIPAddressDnsSettings(msrest.serialization.Model): @@ -16702,6 +16738,8 @@ class PublicIPPrefix(Resource): :ivar provisioning_state: The provisioning state of the public IP prefix resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState + :param nat_gateway: NatGateway of Public IP Prefix. + :type nat_gateway: ~azure.mgmt.network.v2020_07_01.models.NatGateway """ _validation = { @@ -16734,6 +16772,7 @@ class PublicIPPrefix(Resource): 'custom_ip_prefix': {'key': 'properties.customIPPrefix', 'type': 'SubResource'}, 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'nat_gateway': {'key': 'properties.natGateway', 'type': 'NatGateway'}, } def __init__( @@ -16754,6 +16793,7 @@ def __init__( self.custom_ip_prefix = kwargs.get('custom_ip_prefix', None) self.resource_guid = None self.provisioning_state = None + self.nat_gateway = kwargs.get('nat_gateway', None) class PublicIPPrefixListResult(msrest.serialization.Model): @@ -18097,6 +18137,8 @@ class ServiceTagInformationPropertiesFormat(msrest.serialization.Model): :vartype system_service: str :ivar address_prefixes: The list of IP address prefixes. :vartype address_prefixes: list[str] + :ivar state: The state of the service tag. + :vartype state: str """ _validation = { @@ -18104,6 +18146,7 @@ class ServiceTagInformationPropertiesFormat(msrest.serialization.Model): 'region': {'readonly': True}, 'system_service': {'readonly': True}, 'address_prefixes': {'readonly': True}, + 'state': {'readonly': True}, } _attribute_map = { @@ -18111,6 +18154,7 @@ class ServiceTagInformationPropertiesFormat(msrest.serialization.Model): 'region': {'key': 'region', 'type': 'str'}, 'system_service': {'key': 'systemService', 'type': 'str'}, 'address_prefixes': {'key': 'addressPrefixes', 'type': '[str]'}, + 'state': {'key': 'state', 'type': 'str'}, } def __init__( @@ -18122,6 +18166,7 @@ def __init__( self.region = None self.system_service = None self.address_prefixes = None + self.state = None class ServiceTagsListResult(msrest.serialization.Model): @@ -18237,6 +18282,8 @@ class Subnet(SubResource): :type name: str :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str + :param type: Resource type. + :type type: str :param address_prefix: The address prefix for the subnet. :type address_prefix: str :param address_prefixes: List of address prefixes for the subnet. @@ -18279,11 +18326,15 @@ class Subnet(SubResource): include: "Succeeded", "Updating", "Deleting", "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param private_endpoint_network_policies: Enable or Disable apply network policies on private - end point in the subnet. - :type private_endpoint_network_policies: str + end point in the subnet. Possible values include: "Enabled", "Disabled". Default value: + "Enabled". + :type private_endpoint_network_policies: str or + ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkPrivateEndpointNetworkPolicies :param private_link_service_network_policies: Enable or Disable apply network policies on - private link service in the subnet. - :type private_link_service_network_policies: str + private link service in the subnet. Possible values include: "Enabled", "Disabled". Default + value: "Enabled". + :type private_link_service_network_policies: str or + ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkPrivateLinkServiceNetworkPolicies """ _validation = { @@ -18301,6 +18352,7 @@ class Subnet(SubResource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, 'address_prefix': {'key': 'properties.addressPrefix', 'type': 'str'}, 'address_prefixes': {'key': 'properties.addressPrefixes', 'type': '[str]'}, 'network_security_group': {'key': 'properties.networkSecurityGroup', 'type': 'NetworkSecurityGroup'}, @@ -18328,6 +18380,7 @@ def __init__( super(Subnet, self).__init__(**kwargs) self.name = kwargs.get('name', None) self.etag = None + self.type = kwargs.get('type', None) self.address_prefix = kwargs.get('address_prefix', None) self.address_prefixes = kwargs.get('address_prefixes', None) self.network_security_group = kwargs.get('network_security_group', None) @@ -18344,8 +18397,8 @@ def __init__( self.delegations = kwargs.get('delegations', None) self.purpose = None self.provisioning_state = None - self.private_endpoint_network_policies = kwargs.get('private_endpoint_network_policies', None) - self.private_link_service_network_policies = kwargs.get('private_link_service_network_policies', None) + self.private_endpoint_network_policies = kwargs.get('private_endpoint_network_policies', "Enabled") + self.private_link_service_network_policies = kwargs.get('private_link_service_network_policies', "Enabled") class SubnetAssociation(msrest.serialization.Model): @@ -20299,6 +20352,8 @@ class VirtualNetworkPeering(SubResource): :type name: str :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str + :param type: Resource type. + :type type: str :param allow_virtual_network_access: Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space. :type allow_virtual_network_access: bool @@ -20329,17 +20384,21 @@ class VirtualNetworkPeering(SubResource): :ivar provisioning_state: The provisioning state of the virtual network peering resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState + :ivar resource_guid: The resourceGuid property of the Virtual Network peering resource. + :vartype resource_guid: str """ _validation = { 'etag': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'resource_guid': {'readonly': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, 'allow_virtual_network_access': {'key': 'properties.allowVirtualNetworkAccess', 'type': 'bool'}, 'allow_forwarded_traffic': {'key': 'properties.allowForwardedTraffic', 'type': 'bool'}, 'allow_gateway_transit': {'key': 'properties.allowGatewayTransit', 'type': 'bool'}, @@ -20349,6 +20408,7 @@ class VirtualNetworkPeering(SubResource): 'remote_bgp_communities': {'key': 'properties.remoteBgpCommunities', 'type': 'VirtualNetworkBgpCommunities'}, 'peering_state': {'key': 'properties.peeringState', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, } def __init__( @@ -20358,6 +20418,7 @@ def __init__( super(VirtualNetworkPeering, self).__init__(**kwargs) self.name = kwargs.get('name', None) self.etag = None + self.type = kwargs.get('type', None) self.allow_virtual_network_access = kwargs.get('allow_virtual_network_access', None) self.allow_forwarded_traffic = kwargs.get('allow_forwarded_traffic', None) self.allow_gateway_transit = kwargs.get('allow_gateway_transit', None) @@ -20367,6 +20428,7 @@ def __init__( self.remote_bgp_communities = kwargs.get('remote_bgp_communities', None) self.peering_state = kwargs.get('peering_state', None) self.provisioning_state = None + self.resource_guid = None class VirtualNetworkPeeringListResult(msrest.serialization.Model): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_models_py3.py index 1f5187c5404b..cf565f74f602 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_models_py3.py @@ -3408,6 +3408,8 @@ class AvailablePrivateEndpointType(msrest.serialization.Model): :type type: str :param resource_name: The name of the service and resource. :type resource_name: str + :param display_name: Display name of the resource. + :type display_name: str """ _attribute_map = { @@ -3415,6 +3417,7 @@ class AvailablePrivateEndpointType(msrest.serialization.Model): 'id': {'key': 'id', 'type': 'str'}, 'type': {'key': 'type', 'type': 'str'}, 'resource_name': {'key': 'resourceName', 'type': 'str'}, + 'display_name': {'key': 'displayName', 'type': 'str'}, } def __init__( @@ -3424,6 +3427,7 @@ def __init__( id: Optional[str] = None, type: Optional[str] = None, resource_name: Optional[str] = None, + display_name: Optional[str] = None, **kwargs ): super(AvailablePrivateEndpointType, self).__init__(**kwargs) @@ -3431,6 +3435,7 @@ def __init__( self.id = id self.type = type self.resource_name = resource_name + self.display_name = display_name class AvailablePrivateEndpointTypesResult(msrest.serialization.Model): @@ -12355,11 +12360,14 @@ class IPAddressAvailabilityResult(msrest.serialization.Model): :param available_ip_addresses: Contains other available private IP addresses if the asked for address is taken. :type available_ip_addresses: list[str] + :param is_platform_reserved: Private IP address platform reserved. + :type is_platform_reserved: bool """ _attribute_map = { 'available': {'key': 'available', 'type': 'bool'}, 'available_ip_addresses': {'key': 'availableIPAddresses', 'type': '[str]'}, + 'is_platform_reserved': {'key': 'isPlatformReserved', 'type': 'bool'}, } def __init__( @@ -12367,11 +12375,13 @@ def __init__( *, available: Optional[bool] = None, available_ip_addresses: Optional[List[str]] = None, + is_platform_reserved: Optional[bool] = None, **kwargs ): super(IPAddressAvailabilityResult, self).__init__(**kwargs) self.available = available self.available_ip_addresses = available_ip_addresses + self.is_platform_reserved = is_platform_reserved class IpAllocation(Resource): @@ -14791,6 +14801,11 @@ class NetworkInterface(Resource): :ivar provisioning_state: The provisioning state of the network interface resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState + :param nic_type: Type of Network Interface resource. Possible values include: "Standard", + "Elastic". + :type nic_type: str or ~azure.mgmt.network.v2020_07_01.models.NetworkInterfaceNicType + :param private_link_service: Privatelinkservice of the network interface resource. + :type private_link_service: ~azure.mgmt.network.v2020_07_01.models.PrivateLinkService """ _validation = { @@ -14830,6 +14845,8 @@ class NetworkInterface(Resource): 'dscp_configuration': {'key': 'properties.dscpConfiguration', 'type': 'SubResource'}, 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'nic_type': {'key': 'properties.nicType', 'type': 'str'}, + 'private_link_service': {'key': 'properties.privateLinkService', 'type': 'PrivateLinkService'}, } def __init__( @@ -14844,6 +14861,8 @@ def __init__( dns_settings: Optional["NetworkInterfaceDnsSettings"] = None, enable_accelerated_networking: Optional[bool] = None, enable_ip_forwarding: Optional[bool] = None, + nic_type: Optional[Union[str, "NetworkInterfaceNicType"]] = None, + private_link_service: Optional["PrivateLinkService"] = None, **kwargs ): super(NetworkInterface, self).__init__(id=id, location=location, tags=tags, **kwargs) @@ -14863,6 +14882,8 @@ def __init__( self.dscp_configuration = None self.resource_guid = None self.provisioning_state = None + self.nic_type = nic_type + self.private_link_service = private_link_service class NetworkInterfaceAssociation(msrest.serialization.Model): @@ -14962,6 +14983,8 @@ class NetworkInterfaceIPConfiguration(SubResource): :type name: str :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str + :param type: Resource type. + :type type: str :param virtual_network_taps: The reference to Virtual Network Taps. :type virtual_network_taps: list[~azure.mgmt.network.v2020_07_01.models.VirtualNetworkTap] :param application_gateway_backend_address_pools: The reference to @@ -15013,6 +15036,7 @@ class NetworkInterfaceIPConfiguration(SubResource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, 'virtual_network_taps': {'key': 'properties.virtualNetworkTaps', 'type': '[VirtualNetworkTap]'}, 'application_gateway_backend_address_pools': {'key': 'properties.applicationGatewayBackendAddressPools', 'type': '[ApplicationGatewayBackendAddressPool]'}, 'load_balancer_backend_address_pools': {'key': 'properties.loadBalancerBackendAddressPools', 'type': '[BackendAddressPool]'}, @@ -15033,6 +15057,7 @@ def __init__( *, id: Optional[str] = None, name: Optional[str] = None, + type: Optional[str] = None, virtual_network_taps: Optional[List["VirtualNetworkTap"]] = None, application_gateway_backend_address_pools: Optional[List["ApplicationGatewayBackendAddressPool"]] = None, load_balancer_backend_address_pools: Optional[List["BackendAddressPool"]] = None, @@ -15049,6 +15074,7 @@ def __init__( super(NetworkInterfaceIPConfiguration, self).__init__(id=id, **kwargs) self.name = name self.etag = None + self.type = type self.virtual_network_taps = virtual_network_taps self.application_gateway_backend_address_pools = application_gateway_backend_address_pools self.load_balancer_backend_address_pools = load_balancer_backend_address_pools @@ -18365,6 +18391,15 @@ class PublicIPAddress(Resource): :ivar provisioning_state: The provisioning state of the public IP address resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState + :param nat_gateway: The NatGateway for the Public IP address. + :type nat_gateway: ~azure.mgmt.network.v2020_07_01.models.NatGateway + :param migration_phase: Migration phase of Public IP Address. Possible values include: "None", + "Prepare", "Commit", "Abort", "Committed". + :type migration_phase: str or + ~azure.mgmt.network.v2020_07_01.models.PublicIPAddressMigrationPhase + :param linked_public_ip_address: The linked public IP address of the public IP address + resource. + :type linked_public_ip_address: ~azure.mgmt.network.v2020_07_01.models.PublicIPAddress """ _validation = { @@ -18397,6 +18432,9 @@ class PublicIPAddress(Resource): 'idle_timeout_in_minutes': {'key': 'properties.idleTimeoutInMinutes', 'type': 'int'}, 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'nat_gateway': {'key': 'properties.natGateway', 'type': 'NatGateway'}, + 'migration_phase': {'key': 'properties.migrationPhase', 'type': 'str'}, + 'linked_public_ip_address': {'key': 'properties.linkedPublicIPAddress', 'type': 'PublicIPAddress'}, } def __init__( @@ -18416,6 +18454,9 @@ def __init__( ip_address: Optional[str] = None, public_ip_prefix: Optional["SubResource"] = None, idle_timeout_in_minutes: Optional[int] = None, + nat_gateway: Optional["NatGateway"] = None, + migration_phase: Optional[Union[str, "PublicIPAddressMigrationPhase"]] = None, + linked_public_ip_address: Optional["PublicIPAddress"] = None, **kwargs ): super(PublicIPAddress, self).__init__(id=id, location=location, tags=tags, **kwargs) @@ -18434,6 +18475,9 @@ def __init__( self.idle_timeout_in_minutes = idle_timeout_in_minutes self.resource_guid = None self.provisioning_state = None + self.nat_gateway = nat_gateway + self.migration_phase = migration_phase + self.linked_public_ip_address = linked_public_ip_address class PublicIPAddressDnsSettings(msrest.serialization.Model): @@ -18572,6 +18616,8 @@ class PublicIPPrefix(Resource): :ivar provisioning_state: The provisioning state of the public IP prefix resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState + :param nat_gateway: NatGateway of Public IP Prefix. + :type nat_gateway: ~azure.mgmt.network.v2020_07_01.models.NatGateway """ _validation = { @@ -18604,6 +18650,7 @@ class PublicIPPrefix(Resource): 'custom_ip_prefix': {'key': 'properties.customIPPrefix', 'type': 'SubResource'}, 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'nat_gateway': {'key': 'properties.natGateway', 'type': 'NatGateway'}, } def __init__( @@ -18619,6 +18666,7 @@ def __init__( ip_tags: Optional[List["IpTag"]] = None, prefix_length: Optional[int] = None, custom_ip_prefix: Optional["SubResource"] = None, + nat_gateway: Optional["NatGateway"] = None, **kwargs ): super(PublicIPPrefix, self).__init__(id=id, location=location, tags=tags, **kwargs) @@ -18635,6 +18683,7 @@ def __init__( self.custom_ip_prefix = custom_ip_prefix self.resource_guid = None self.provisioning_state = None + self.nat_gateway = nat_gateway class PublicIPPrefixListResult(msrest.serialization.Model): @@ -20124,6 +20173,8 @@ class ServiceTagInformationPropertiesFormat(msrest.serialization.Model): :vartype system_service: str :ivar address_prefixes: The list of IP address prefixes. :vartype address_prefixes: list[str] + :ivar state: The state of the service tag. + :vartype state: str """ _validation = { @@ -20131,6 +20182,7 @@ class ServiceTagInformationPropertiesFormat(msrest.serialization.Model): 'region': {'readonly': True}, 'system_service': {'readonly': True}, 'address_prefixes': {'readonly': True}, + 'state': {'readonly': True}, } _attribute_map = { @@ -20138,6 +20190,7 @@ class ServiceTagInformationPropertiesFormat(msrest.serialization.Model): 'region': {'key': 'region', 'type': 'str'}, 'system_service': {'key': 'systemService', 'type': 'str'}, 'address_prefixes': {'key': 'addressPrefixes', 'type': '[str]'}, + 'state': {'key': 'state', 'type': 'str'}, } def __init__( @@ -20149,6 +20202,7 @@ def __init__( self.region = None self.system_service = None self.address_prefixes = None + self.state = None class ServiceTagsListResult(msrest.serialization.Model): @@ -20270,6 +20324,8 @@ class Subnet(SubResource): :type name: str :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str + :param type: Resource type. + :type type: str :param address_prefix: The address prefix for the subnet. :type address_prefix: str :param address_prefixes: List of address prefixes for the subnet. @@ -20312,11 +20368,15 @@ class Subnet(SubResource): include: "Succeeded", "Updating", "Deleting", "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState :param private_endpoint_network_policies: Enable or Disable apply network policies on private - end point in the subnet. - :type private_endpoint_network_policies: str + end point in the subnet. Possible values include: "Enabled", "Disabled". Default value: + "Enabled". + :type private_endpoint_network_policies: str or + ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkPrivateEndpointNetworkPolicies :param private_link_service_network_policies: Enable or Disable apply network policies on - private link service in the subnet. - :type private_link_service_network_policies: str + private link service in the subnet. Possible values include: "Enabled", "Disabled". Default + value: "Enabled". + :type private_link_service_network_policies: str or + ~azure.mgmt.network.v2020_07_01.models.VirtualNetworkPrivateLinkServiceNetworkPolicies """ _validation = { @@ -20334,6 +20394,7 @@ class Subnet(SubResource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, 'address_prefix': {'key': 'properties.addressPrefix', 'type': 'str'}, 'address_prefixes': {'key': 'properties.addressPrefixes', 'type': '[str]'}, 'network_security_group': {'key': 'properties.networkSecurityGroup', 'type': 'NetworkSecurityGroup'}, @@ -20359,6 +20420,7 @@ def __init__( *, id: Optional[str] = None, name: Optional[str] = None, + type: Optional[str] = None, address_prefix: Optional[str] = None, address_prefixes: Optional[List[str]] = None, network_security_group: Optional["NetworkSecurityGroup"] = None, @@ -20368,13 +20430,14 @@ def __init__( service_endpoint_policies: Optional[List["ServiceEndpointPolicy"]] = None, ip_allocations: Optional[List["SubResource"]] = None, delegations: Optional[List["Delegation"]] = None, - private_endpoint_network_policies: Optional[str] = None, - private_link_service_network_policies: Optional[str] = None, + private_endpoint_network_policies: Optional[Union[str, "VirtualNetworkPrivateEndpointNetworkPolicies"]] = "Enabled", + private_link_service_network_policies: Optional[Union[str, "VirtualNetworkPrivateLinkServiceNetworkPolicies"]] = "Enabled", **kwargs ): super(Subnet, self).__init__(id=id, **kwargs) self.name = name self.etag = None + self.type = type self.address_prefix = address_prefix self.address_prefixes = address_prefixes self.network_security_group = network_security_group @@ -22573,6 +22636,8 @@ class VirtualNetworkPeering(SubResource): :type name: str :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str + :param type: Resource type. + :type type: str :param allow_virtual_network_access: Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space. :type allow_virtual_network_access: bool @@ -22603,17 +22668,21 @@ class VirtualNetworkPeering(SubResource): :ivar provisioning_state: The provisioning state of the virtual network peering resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.v2020_07_01.models.ProvisioningState + :ivar resource_guid: The resourceGuid property of the Virtual Network peering resource. + :vartype resource_guid: str """ _validation = { 'etag': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'resource_guid': {'readonly': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, 'allow_virtual_network_access': {'key': 'properties.allowVirtualNetworkAccess', 'type': 'bool'}, 'allow_forwarded_traffic': {'key': 'properties.allowForwardedTraffic', 'type': 'bool'}, 'allow_gateway_transit': {'key': 'properties.allowGatewayTransit', 'type': 'bool'}, @@ -22623,6 +22692,7 @@ class VirtualNetworkPeering(SubResource): 'remote_bgp_communities': {'key': 'properties.remoteBgpCommunities', 'type': 'VirtualNetworkBgpCommunities'}, 'peering_state': {'key': 'properties.peeringState', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, } def __init__( @@ -22630,6 +22700,7 @@ def __init__( *, id: Optional[str] = None, name: Optional[str] = None, + type: Optional[str] = None, allow_virtual_network_access: Optional[bool] = None, allow_forwarded_traffic: Optional[bool] = None, allow_gateway_transit: Optional[bool] = None, @@ -22643,6 +22714,7 @@ def __init__( super(VirtualNetworkPeering, self).__init__(id=id, **kwargs) self.name = name self.etag = None + self.type = type self.allow_virtual_network_access = allow_virtual_network_access self.allow_forwarded_traffic = allow_forwarded_traffic self.allow_gateway_transit = allow_gateway_transit @@ -22652,6 +22724,7 @@ def __init__( self.remote_bgp_communities = remote_bgp_communities self.peering_state = peering_state self.provisioning_state = None + self.resource_guid = None class VirtualNetworkPeeringListResult(msrest.serialization.Model): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_network_management_client_enums.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_network_management_client_enums.py index eb064ba8b695..392d2ad88b5c 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_network_management_client_enums.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_07_01/models/_network_management_client_enums.py @@ -779,6 +779,13 @@ class NatGatewaySkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): STANDARD = "Standard" +class NetworkInterfaceNicType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Type of Network Interface resource. + """ + + STANDARD = "Standard" + ELASTIC = "Elastic" + class NetworkOperationStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Status of the Azure async operation. """ @@ -937,6 +944,16 @@ class ProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): DELETING = "Deleting" FAILED = "Failed" +class PublicIPAddressMigrationPhase(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Migration phase of Public IP Address. + """ + + NONE = "None" + PREPARE = "Prepare" + COMMIT = "Commit" + ABORT = "Abort" + COMMITTED = "Committed" + class PublicIPAddressSkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Name of a public IP address SKU. """ @@ -1183,6 +1200,20 @@ class VirtualNetworkPeeringState(with_metaclass(_CaseInsensitiveEnumMeta, str, E CONNECTED = "Connected" DISCONNECTED = "Disconnected" +class VirtualNetworkPrivateEndpointNetworkPolicies(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Enable or Disable apply network policies on private end point in the subnet. + """ + + ENABLED = "Enabled" + DISABLED = "Disabled" + +class VirtualNetworkPrivateLinkServiceNetworkPolicies(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Enable or Disable apply network policies on private link service in the subnet. + """ + + ENABLED = "Enabled" + DISABLED = "Disabled" + class VirtualWanSecurityProviderType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The virtual wan security provider type. """ diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/models/__init__.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/models/__init__.py index fbfdb02e261f..e8d59cda22ac 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/models/__init__.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/models/__init__.py @@ -1206,6 +1206,8 @@ LoadDistribution, ManagedRuleEnabledState, NatGatewaySkuName, + NetworkInterfaceMigrationPhase, + NetworkInterfaceNicType, NetworkOperationStatus, NextHopType, OfficeTrafficCategory, @@ -1227,6 +1229,7 @@ PublicIPAddressSkuTier, PublicIPPrefixSkuName, PublicIPPrefixSkuTier, + PublicIpAddressMigrationPhase, ResourceIdentityType, RouteFilterRuleType, RouteNextHopType, @@ -1250,6 +1253,8 @@ VirtualNetworkGatewaySkuTier, VirtualNetworkGatewayType, VirtualNetworkPeeringState, + VirtualNetworkPrivateEndpointNetworkPolicies, + VirtualNetworkPrivateLinkServiceNetworkPolicies, VirtualWanSecurityProviderType, VpnAuthenticationType, VpnClientProtocol, @@ -1914,6 +1919,8 @@ 'LoadDistribution', 'ManagedRuleEnabledState', 'NatGatewaySkuName', + 'NetworkInterfaceMigrationPhase', + 'NetworkInterfaceNicType', 'NetworkOperationStatus', 'NextHopType', 'OfficeTrafficCategory', @@ -1935,6 +1942,7 @@ 'PublicIPAddressSkuTier', 'PublicIPPrefixSkuName', 'PublicIPPrefixSkuTier', + 'PublicIpAddressMigrationPhase', 'ResourceIdentityType', 'RouteFilterRuleType', 'RouteNextHopType', @@ -1958,6 +1966,8 @@ 'VirtualNetworkGatewaySkuTier', 'VirtualNetworkGatewayType', 'VirtualNetworkPeeringState', + 'VirtualNetworkPrivateEndpointNetworkPolicies', + 'VirtualNetworkPrivateLinkServiceNetworkPolicies', 'VirtualWanSecurityProviderType', 'VpnAuthenticationType', 'VpnClientProtocol', diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/models/_models.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/models/_models.py index fdd9f587d1b8..39c443f64eaf 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/models/_models.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/models/_models.py @@ -6823,6 +6823,8 @@ class Delegation(SubResource): :type name: str :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str + :param type: Resource type. + :type type: str :param service_name: The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers). :type service_name: str @@ -6843,6 +6845,7 @@ class Delegation(SubResource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, 'service_name': {'key': 'properties.serviceName', 'type': 'str'}, 'actions': {'key': 'properties.actions', 'type': '[str]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, @@ -6855,6 +6858,7 @@ def __init__( super(Delegation, self).__init__(**kwargs) self.name = kwargs.get('name', None) self.etag = None + self.type = kwargs.get('type', None) self.service_name = kwargs.get('service_name', None) self.actions = None self.provisioning_state = None @@ -13319,6 +13323,15 @@ class NetworkInterface(Resource): :ivar provisioning_state: The provisioning state of the network interface resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.v2020_08_01.models.ProvisioningState + :param nic_type: Type of Network Interface resource. Possible values include: "Standard", + "Elastic". Default value: "Standard". + :type nic_type: str or ~azure.mgmt.network.v2020_08_01.models.NetworkInterfaceNicType + :param private_link_service: Privatelinkservice of the network interface resource. + :type private_link_service: ~azure.mgmt.network.v2020_08_01.models.PrivateLinkService + :param migration_phase: Migration phase of Network Interface resource. Possible values include: + "None", "Prepare", "Commit", "Abort", "Committed". + :type migration_phase: str or + ~azure.mgmt.network.v2020_08_01.models.NetworkInterfaceMigrationPhase """ _validation = { @@ -13358,6 +13371,9 @@ class NetworkInterface(Resource): 'dscp_configuration': {'key': 'properties.dscpConfiguration', 'type': 'SubResource'}, 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'nic_type': {'key': 'properties.nicType', 'type': 'str'}, + 'private_link_service': {'key': 'properties.privateLinkService', 'type': 'PrivateLinkService'}, + 'migration_phase': {'key': 'properties.migrationPhase', 'type': 'str'}, } def __init__( @@ -13381,6 +13397,9 @@ def __init__( self.dscp_configuration = None self.resource_guid = None self.provisioning_state = None + self.nic_type = kwargs.get('nic_type', "Standard") + self.private_link_service = kwargs.get('private_link_service', None) + self.migration_phase = kwargs.get('migration_phase', None) class NetworkInterfaceAssociation(msrest.serialization.Model): @@ -13475,6 +13494,8 @@ class NetworkInterfaceIPConfiguration(SubResource): :type name: str :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str + :param type: Resource type. + :type type: str :param virtual_network_taps: The reference to Virtual Network Taps. :type virtual_network_taps: list[~azure.mgmt.network.v2020_08_01.models.VirtualNetworkTap] :param application_gateway_backend_address_pools: The reference to @@ -13526,6 +13547,7 @@ class NetworkInterfaceIPConfiguration(SubResource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, 'virtual_network_taps': {'key': 'properties.virtualNetworkTaps', 'type': '[VirtualNetworkTap]'}, 'application_gateway_backend_address_pools': {'key': 'properties.applicationGatewayBackendAddressPools', 'type': '[ApplicationGatewayBackendAddressPool]'}, 'load_balancer_backend_address_pools': {'key': 'properties.loadBalancerBackendAddressPools', 'type': '[BackendAddressPool]'}, @@ -13548,6 +13570,7 @@ def __init__( super(NetworkInterfaceIPConfiguration, self).__init__(**kwargs) self.name = kwargs.get('name', None) self.etag = None + self.type = kwargs.get('type', None) self.virtual_network_taps = kwargs.get('virtual_network_taps', None) self.application_gateway_backend_address_pools = kwargs.get('application_gateway_backend_address_pools', None) self.load_balancer_backend_address_pools = kwargs.get('load_balancer_backend_address_pools', None) @@ -16563,6 +16586,18 @@ class PublicIPAddress(Resource): :ivar provisioning_state: The provisioning state of the public IP address resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.v2020_08_01.models.ProvisioningState + :param service_public_ip_address: The service public IP address of the public IP address + resource. + :type service_public_ip_address: ~azure.mgmt.network.v2020_08_01.models.PublicIPAddress + :param nat_gateway: The NatGateway for the Public IP address. + :type nat_gateway: ~azure.mgmt.network.v2020_08_01.models.NatGateway + :param migration_phase: Migration phase of Public IP Address. Possible values include: "None", + "Prepare", "Commit", "Abort", "Committed". + :type migration_phase: str or + ~azure.mgmt.network.v2020_08_01.models.PublicIpAddressMigrationPhase + :param linked_public_ip_address: The source Public IP Address (IPv6) that links to this address + (IPv4). + :type linked_public_ip_address: ~azure.mgmt.network.v2020_08_01.models.PublicIPAddress """ _validation = { @@ -16595,6 +16630,10 @@ class PublicIPAddress(Resource): 'idle_timeout_in_minutes': {'key': 'properties.idleTimeoutInMinutes', 'type': 'int'}, 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'service_public_ip_address': {'key': 'properties.servicePublicIPAddress', 'type': 'PublicIPAddress'}, + 'nat_gateway': {'key': 'properties.natGateway', 'type': 'NatGateway'}, + 'migration_phase': {'key': 'properties.migrationPhase', 'type': 'str'}, + 'linked_public_ip_address': {'key': 'properties.linkedPublicIPAddress', 'type': 'PublicIPAddress'}, } def __init__( @@ -16617,6 +16656,10 @@ def __init__( self.idle_timeout_in_minutes = kwargs.get('idle_timeout_in_minutes', None) self.resource_guid = None self.provisioning_state = None + self.service_public_ip_address = kwargs.get('service_public_ip_address', None) + self.nat_gateway = kwargs.get('nat_gateway', None) + self.migration_phase = kwargs.get('migration_phase', None) + self.linked_public_ip_address = kwargs.get('linked_public_ip_address', None) class PublicIPAddressDnsSettings(msrest.serialization.Model): @@ -16745,6 +16788,8 @@ class PublicIPPrefix(Resource): :ivar provisioning_state: The provisioning state of the public IP prefix resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.v2020_08_01.models.ProvisioningState + :param nat_gateway: NatGateway of Public IP Prefix. + :type nat_gateway: ~azure.mgmt.network.v2020_08_01.models.NatGateway """ _validation = { @@ -16777,6 +16822,7 @@ class PublicIPPrefix(Resource): 'custom_ip_prefix': {'key': 'properties.customIPPrefix', 'type': 'SubResource'}, 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'nat_gateway': {'key': 'properties.natGateway', 'type': 'NatGateway'}, } def __init__( @@ -16797,6 +16843,7 @@ def __init__( self.custom_ip_prefix = kwargs.get('custom_ip_prefix', None) self.resource_guid = None self.provisioning_state = None + self.nat_gateway = kwargs.get('nat_gateway', None) class PublicIPPrefixListResult(msrest.serialization.Model): @@ -18298,6 +18345,8 @@ class Subnet(SubResource): :type name: str :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str + :param type: Resource type. + :type type: str :param address_prefix: The address prefix for the subnet. :type address_prefix: str :param address_prefixes: List of address prefixes for the subnet. @@ -18340,11 +18389,19 @@ class Subnet(SubResource): include: "Succeeded", "Updating", "Deleting", "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.v2020_08_01.models.ProvisioningState :param private_endpoint_network_policies: Enable or Disable apply network policies on private - end point in the subnet. - :type private_endpoint_network_policies: str + end point in the subnet. Possible values include: "Enabled", "Disabled". Default value: + "Enabled". + :type private_endpoint_network_policies: str or + ~azure.mgmt.network.v2020_08_01.models.VirtualNetworkPrivateEndpointNetworkPolicies :param private_link_service_network_policies: Enable or Disable apply network policies on - private link service in the subnet. - :type private_link_service_network_policies: str + private link service in the subnet. Possible values include: "Enabled", "Disabled". Default + value: "Enabled". + :type private_link_service_network_policies: str or + ~azure.mgmt.network.v2020_08_01.models.VirtualNetworkPrivateLinkServiceNetworkPolicies + :param application_gateway_ip_configurations: Application gateway IP configurations of virtual + network resource. + :type application_gateway_ip_configurations: + list[~azure.mgmt.network.v2020_08_01.models.ApplicationGatewayIPConfiguration] """ _validation = { @@ -18362,6 +18419,7 @@ class Subnet(SubResource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, 'address_prefix': {'key': 'properties.addressPrefix', 'type': 'str'}, 'address_prefixes': {'key': 'properties.addressPrefixes', 'type': '[str]'}, 'network_security_group': {'key': 'properties.networkSecurityGroup', 'type': 'NetworkSecurityGroup'}, @@ -18380,6 +18438,7 @@ class Subnet(SubResource): 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'private_endpoint_network_policies': {'key': 'properties.privateEndpointNetworkPolicies', 'type': 'str'}, 'private_link_service_network_policies': {'key': 'properties.privateLinkServiceNetworkPolicies', 'type': 'str'}, + 'application_gateway_ip_configurations': {'key': 'properties.applicationGatewayIpConfigurations', 'type': '[ApplicationGatewayIPConfiguration]'}, } def __init__( @@ -18389,6 +18448,7 @@ def __init__( super(Subnet, self).__init__(**kwargs) self.name = kwargs.get('name', None) self.etag = None + self.type = kwargs.get('type', None) self.address_prefix = kwargs.get('address_prefix', None) self.address_prefixes = kwargs.get('address_prefixes', None) self.network_security_group = kwargs.get('network_security_group', None) @@ -18405,8 +18465,9 @@ def __init__( self.delegations = kwargs.get('delegations', None) self.purpose = None self.provisioning_state = None - self.private_endpoint_network_policies = kwargs.get('private_endpoint_network_policies', None) - self.private_link_service_network_policies = kwargs.get('private_link_service_network_policies', None) + self.private_endpoint_network_policies = kwargs.get('private_endpoint_network_policies', "Enabled") + self.private_link_service_network_policies = kwargs.get('private_link_service_network_policies', "Enabled") + self.application_gateway_ip_configurations = kwargs.get('application_gateway_ip_configurations', None) class SubnetAssociation(msrest.serialization.Model): @@ -20360,6 +20421,8 @@ class VirtualNetworkPeering(SubResource): :type name: str :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str + :param type: Resource type. + :type type: str :param allow_virtual_network_access: Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space. :type allow_virtual_network_access: bool @@ -20390,17 +20453,24 @@ class VirtualNetworkPeering(SubResource): :ivar provisioning_state: The provisioning state of the virtual network peering resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.v2020_08_01.models.ProvisioningState + :param do_not_verify_remote_gateways: If we need to verify the provisioning state of the remote + gateway. + :type do_not_verify_remote_gateways: bool + :ivar resource_guid: The resourceGuid property of the Virtual Network Peering resource. + :vartype resource_guid: str """ _validation = { 'etag': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'resource_guid': {'readonly': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, 'allow_virtual_network_access': {'key': 'properties.allowVirtualNetworkAccess', 'type': 'bool'}, 'allow_forwarded_traffic': {'key': 'properties.allowForwardedTraffic', 'type': 'bool'}, 'allow_gateway_transit': {'key': 'properties.allowGatewayTransit', 'type': 'bool'}, @@ -20410,6 +20480,8 @@ class VirtualNetworkPeering(SubResource): 'remote_bgp_communities': {'key': 'properties.remoteBgpCommunities', 'type': 'VirtualNetworkBgpCommunities'}, 'peering_state': {'key': 'properties.peeringState', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'do_not_verify_remote_gateways': {'key': 'properties.doNotVerifyRemoteGateways', 'type': 'bool'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, } def __init__( @@ -20419,6 +20491,7 @@ def __init__( super(VirtualNetworkPeering, self).__init__(**kwargs) self.name = kwargs.get('name', None) self.etag = None + self.type = kwargs.get('type', None) self.allow_virtual_network_access = kwargs.get('allow_virtual_network_access', None) self.allow_forwarded_traffic = kwargs.get('allow_forwarded_traffic', None) self.allow_gateway_transit = kwargs.get('allow_gateway_transit', None) @@ -20428,6 +20501,8 @@ def __init__( self.remote_bgp_communities = kwargs.get('remote_bgp_communities', None) self.peering_state = kwargs.get('peering_state', None) self.provisioning_state = None + self.do_not_verify_remote_gateways = kwargs.get('do_not_verify_remote_gateways', None) + self.resource_guid = None class VirtualNetworkPeeringListResult(msrest.serialization.Model): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/models/_models_py3.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/models/_models_py3.py index f401dec9b10d..e02eeab3ba2b 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/models/_models_py3.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/models/_models_py3.py @@ -7596,6 +7596,8 @@ class Delegation(SubResource): :type name: str :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str + :param type: Resource type. + :type type: str :param service_name: The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers). :type service_name: str @@ -7616,6 +7618,7 @@ class Delegation(SubResource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, 'service_name': {'key': 'properties.serviceName', 'type': 'str'}, 'actions': {'key': 'properties.actions', 'type': '[str]'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, @@ -7626,12 +7629,14 @@ def __init__( *, id: Optional[str] = None, name: Optional[str] = None, + type: Optional[str] = None, service_name: Optional[str] = None, **kwargs ): super(Delegation, self).__init__(id=id, **kwargs) self.name = name self.etag = None + self.type = type self.service_name = service_name self.actions = None self.provisioning_state = None @@ -14832,6 +14837,15 @@ class NetworkInterface(Resource): :ivar provisioning_state: The provisioning state of the network interface resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.v2020_08_01.models.ProvisioningState + :param nic_type: Type of Network Interface resource. Possible values include: "Standard", + "Elastic". Default value: "Standard". + :type nic_type: str or ~azure.mgmt.network.v2020_08_01.models.NetworkInterfaceNicType + :param private_link_service: Privatelinkservice of the network interface resource. + :type private_link_service: ~azure.mgmt.network.v2020_08_01.models.PrivateLinkService + :param migration_phase: Migration phase of Network Interface resource. Possible values include: + "None", "Prepare", "Commit", "Abort", "Committed". + :type migration_phase: str or + ~azure.mgmt.network.v2020_08_01.models.NetworkInterfaceMigrationPhase """ _validation = { @@ -14871,6 +14885,9 @@ class NetworkInterface(Resource): 'dscp_configuration': {'key': 'properties.dscpConfiguration', 'type': 'SubResource'}, 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'nic_type': {'key': 'properties.nicType', 'type': 'str'}, + 'private_link_service': {'key': 'properties.privateLinkService', 'type': 'PrivateLinkService'}, + 'migration_phase': {'key': 'properties.migrationPhase', 'type': 'str'}, } def __init__( @@ -14885,6 +14902,9 @@ def __init__( dns_settings: Optional["NetworkInterfaceDnsSettings"] = None, enable_accelerated_networking: Optional[bool] = None, enable_ip_forwarding: Optional[bool] = None, + nic_type: Optional[Union[str, "NetworkInterfaceNicType"]] = "Standard", + private_link_service: Optional["PrivateLinkService"] = None, + migration_phase: Optional[Union[str, "NetworkInterfaceMigrationPhase"]] = None, **kwargs ): super(NetworkInterface, self).__init__(id=id, location=location, tags=tags, **kwargs) @@ -14904,6 +14924,9 @@ def __init__( self.dscp_configuration = None self.resource_guid = None self.provisioning_state = None + self.nic_type = nic_type + self.private_link_service = private_link_service + self.migration_phase = migration_phase class NetworkInterfaceAssociation(msrest.serialization.Model): @@ -15003,6 +15026,8 @@ class NetworkInterfaceIPConfiguration(SubResource): :type name: str :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str + :param type: Resource type. + :type type: str :param virtual_network_taps: The reference to Virtual Network Taps. :type virtual_network_taps: list[~azure.mgmt.network.v2020_08_01.models.VirtualNetworkTap] :param application_gateway_backend_address_pools: The reference to @@ -15054,6 +15079,7 @@ class NetworkInterfaceIPConfiguration(SubResource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, 'virtual_network_taps': {'key': 'properties.virtualNetworkTaps', 'type': '[VirtualNetworkTap]'}, 'application_gateway_backend_address_pools': {'key': 'properties.applicationGatewayBackendAddressPools', 'type': '[ApplicationGatewayBackendAddressPool]'}, 'load_balancer_backend_address_pools': {'key': 'properties.loadBalancerBackendAddressPools', 'type': '[BackendAddressPool]'}, @@ -15074,6 +15100,7 @@ def __init__( *, id: Optional[str] = None, name: Optional[str] = None, + type: Optional[str] = None, virtual_network_taps: Optional[List["VirtualNetworkTap"]] = None, application_gateway_backend_address_pools: Optional[List["ApplicationGatewayBackendAddressPool"]] = None, load_balancer_backend_address_pools: Optional[List["BackendAddressPool"]] = None, @@ -15090,6 +15117,7 @@ def __init__( super(NetworkInterfaceIPConfiguration, self).__init__(id=id, **kwargs) self.name = name self.etag = None + self.type = type self.virtual_network_taps = virtual_network_taps self.application_gateway_backend_address_pools = application_gateway_backend_address_pools self.load_balancer_backend_address_pools = load_balancer_backend_address_pools @@ -18416,6 +18444,18 @@ class PublicIPAddress(Resource): :ivar provisioning_state: The provisioning state of the public IP address resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.v2020_08_01.models.ProvisioningState + :param service_public_ip_address: The service public IP address of the public IP address + resource. + :type service_public_ip_address: ~azure.mgmt.network.v2020_08_01.models.PublicIPAddress + :param nat_gateway: The NatGateway for the Public IP address. + :type nat_gateway: ~azure.mgmt.network.v2020_08_01.models.NatGateway + :param migration_phase: Migration phase of Public IP Address. Possible values include: "None", + "Prepare", "Commit", "Abort", "Committed". + :type migration_phase: str or + ~azure.mgmt.network.v2020_08_01.models.PublicIpAddressMigrationPhase + :param linked_public_ip_address: The source Public IP Address (IPv6) that links to this address + (IPv4). + :type linked_public_ip_address: ~azure.mgmt.network.v2020_08_01.models.PublicIPAddress """ _validation = { @@ -18448,6 +18488,10 @@ class PublicIPAddress(Resource): 'idle_timeout_in_minutes': {'key': 'properties.idleTimeoutInMinutes', 'type': 'int'}, 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'service_public_ip_address': {'key': 'properties.servicePublicIPAddress', 'type': 'PublicIPAddress'}, + 'nat_gateway': {'key': 'properties.natGateway', 'type': 'NatGateway'}, + 'migration_phase': {'key': 'properties.migrationPhase', 'type': 'str'}, + 'linked_public_ip_address': {'key': 'properties.linkedPublicIPAddress', 'type': 'PublicIPAddress'}, } def __init__( @@ -18467,6 +18511,10 @@ def __init__( ip_address: Optional[str] = None, public_ip_prefix: Optional["SubResource"] = None, idle_timeout_in_minutes: Optional[int] = None, + service_public_ip_address: Optional["PublicIPAddress"] = None, + nat_gateway: Optional["NatGateway"] = None, + migration_phase: Optional[Union[str, "PublicIpAddressMigrationPhase"]] = None, + linked_public_ip_address: Optional["PublicIPAddress"] = None, **kwargs ): super(PublicIPAddress, self).__init__(id=id, location=location, tags=tags, **kwargs) @@ -18485,6 +18533,10 @@ def __init__( self.idle_timeout_in_minutes = idle_timeout_in_minutes self.resource_guid = None self.provisioning_state = None + self.service_public_ip_address = service_public_ip_address + self.nat_gateway = nat_gateway + self.migration_phase = migration_phase + self.linked_public_ip_address = linked_public_ip_address class PublicIPAddressDnsSettings(msrest.serialization.Model): @@ -18623,6 +18675,8 @@ class PublicIPPrefix(Resource): :ivar provisioning_state: The provisioning state of the public IP prefix resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.v2020_08_01.models.ProvisioningState + :param nat_gateway: NatGateway of Public IP Prefix. + :type nat_gateway: ~azure.mgmt.network.v2020_08_01.models.NatGateway """ _validation = { @@ -18655,6 +18709,7 @@ class PublicIPPrefix(Resource): 'custom_ip_prefix': {'key': 'properties.customIPPrefix', 'type': 'SubResource'}, 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'nat_gateway': {'key': 'properties.natGateway', 'type': 'NatGateway'}, } def __init__( @@ -18670,6 +18725,7 @@ def __init__( ip_tags: Optional[List["IpTag"]] = None, prefix_length: Optional[int] = None, custom_ip_prefix: Optional["SubResource"] = None, + nat_gateway: Optional["NatGateway"] = None, **kwargs ): super(PublicIPPrefix, self).__init__(id=id, location=location, tags=tags, **kwargs) @@ -18686,6 +18742,7 @@ def __init__( self.custom_ip_prefix = custom_ip_prefix self.resource_guid = None self.provisioning_state = None + self.nat_gateway = nat_gateway class PublicIPPrefixListResult(msrest.serialization.Model): @@ -20342,6 +20399,8 @@ class Subnet(SubResource): :type name: str :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str + :param type: Resource type. + :type type: str :param address_prefix: The address prefix for the subnet. :type address_prefix: str :param address_prefixes: List of address prefixes for the subnet. @@ -20384,11 +20443,19 @@ class Subnet(SubResource): include: "Succeeded", "Updating", "Deleting", "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.v2020_08_01.models.ProvisioningState :param private_endpoint_network_policies: Enable or Disable apply network policies on private - end point in the subnet. - :type private_endpoint_network_policies: str + end point in the subnet. Possible values include: "Enabled", "Disabled". Default value: + "Enabled". + :type private_endpoint_network_policies: str or + ~azure.mgmt.network.v2020_08_01.models.VirtualNetworkPrivateEndpointNetworkPolicies :param private_link_service_network_policies: Enable or Disable apply network policies on - private link service in the subnet. - :type private_link_service_network_policies: str + private link service in the subnet. Possible values include: "Enabled", "Disabled". Default + value: "Enabled". + :type private_link_service_network_policies: str or + ~azure.mgmt.network.v2020_08_01.models.VirtualNetworkPrivateLinkServiceNetworkPolicies + :param application_gateway_ip_configurations: Application gateway IP configurations of virtual + network resource. + :type application_gateway_ip_configurations: + list[~azure.mgmt.network.v2020_08_01.models.ApplicationGatewayIPConfiguration] """ _validation = { @@ -20406,6 +20473,7 @@ class Subnet(SubResource): 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, 'address_prefix': {'key': 'properties.addressPrefix', 'type': 'str'}, 'address_prefixes': {'key': 'properties.addressPrefixes', 'type': '[str]'}, 'network_security_group': {'key': 'properties.networkSecurityGroup', 'type': 'NetworkSecurityGroup'}, @@ -20424,6 +20492,7 @@ class Subnet(SubResource): 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, 'private_endpoint_network_policies': {'key': 'properties.privateEndpointNetworkPolicies', 'type': 'str'}, 'private_link_service_network_policies': {'key': 'properties.privateLinkServiceNetworkPolicies', 'type': 'str'}, + 'application_gateway_ip_configurations': {'key': 'properties.applicationGatewayIpConfigurations', 'type': '[ApplicationGatewayIPConfiguration]'}, } def __init__( @@ -20431,6 +20500,7 @@ def __init__( *, id: Optional[str] = None, name: Optional[str] = None, + type: Optional[str] = None, address_prefix: Optional[str] = None, address_prefixes: Optional[List[str]] = None, network_security_group: Optional["NetworkSecurityGroup"] = None, @@ -20440,13 +20510,15 @@ def __init__( service_endpoint_policies: Optional[List["ServiceEndpointPolicy"]] = None, ip_allocations: Optional[List["SubResource"]] = None, delegations: Optional[List["Delegation"]] = None, - private_endpoint_network_policies: Optional[str] = None, - private_link_service_network_policies: Optional[str] = None, + private_endpoint_network_policies: Optional[Union[str, "VirtualNetworkPrivateEndpointNetworkPolicies"]] = "Enabled", + private_link_service_network_policies: Optional[Union[str, "VirtualNetworkPrivateLinkServiceNetworkPolicies"]] = "Enabled", + application_gateway_ip_configurations: Optional[List["ApplicationGatewayIPConfiguration"]] = None, **kwargs ): super(Subnet, self).__init__(id=id, **kwargs) self.name = name self.etag = None + self.type = type self.address_prefix = address_prefix self.address_prefixes = address_prefixes self.network_security_group = network_security_group @@ -20465,6 +20537,7 @@ def __init__( self.provisioning_state = None self.private_endpoint_network_policies = private_endpoint_network_policies self.private_link_service_network_policies = private_link_service_network_policies + self.application_gateway_ip_configurations = application_gateway_ip_configurations class SubnetAssociation(msrest.serialization.Model): @@ -22645,6 +22718,8 @@ class VirtualNetworkPeering(SubResource): :type name: str :ivar etag: A unique read-only string that changes whenever the resource is updated. :vartype etag: str + :param type: Resource type. + :type type: str :param allow_virtual_network_access: Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space. :type allow_virtual_network_access: bool @@ -22675,17 +22750,24 @@ class VirtualNetworkPeering(SubResource): :ivar provisioning_state: The provisioning state of the virtual network peering resource. Possible values include: "Succeeded", "Updating", "Deleting", "Failed". :vartype provisioning_state: str or ~azure.mgmt.network.v2020_08_01.models.ProvisioningState + :param do_not_verify_remote_gateways: If we need to verify the provisioning state of the remote + gateway. + :type do_not_verify_remote_gateways: bool + :ivar resource_guid: The resourceGuid property of the Virtual Network Peering resource. + :vartype resource_guid: str """ _validation = { 'etag': {'readonly': True}, 'provisioning_state': {'readonly': True}, + 'resource_guid': {'readonly': True}, } _attribute_map = { 'id': {'key': 'id', 'type': 'str'}, 'name': {'key': 'name', 'type': 'str'}, 'etag': {'key': 'etag', 'type': 'str'}, + 'type': {'key': 'type', 'type': 'str'}, 'allow_virtual_network_access': {'key': 'properties.allowVirtualNetworkAccess', 'type': 'bool'}, 'allow_forwarded_traffic': {'key': 'properties.allowForwardedTraffic', 'type': 'bool'}, 'allow_gateway_transit': {'key': 'properties.allowGatewayTransit', 'type': 'bool'}, @@ -22695,6 +22777,8 @@ class VirtualNetworkPeering(SubResource): 'remote_bgp_communities': {'key': 'properties.remoteBgpCommunities', 'type': 'VirtualNetworkBgpCommunities'}, 'peering_state': {'key': 'properties.peeringState', 'type': 'str'}, 'provisioning_state': {'key': 'properties.provisioningState', 'type': 'str'}, + 'do_not_verify_remote_gateways': {'key': 'properties.doNotVerifyRemoteGateways', 'type': 'bool'}, + 'resource_guid': {'key': 'properties.resourceGuid', 'type': 'str'}, } def __init__( @@ -22702,6 +22786,7 @@ def __init__( *, id: Optional[str] = None, name: Optional[str] = None, + type: Optional[str] = None, allow_virtual_network_access: Optional[bool] = None, allow_forwarded_traffic: Optional[bool] = None, allow_gateway_transit: Optional[bool] = None, @@ -22710,11 +22795,13 @@ def __init__( remote_address_space: Optional["AddressSpace"] = None, remote_bgp_communities: Optional["VirtualNetworkBgpCommunities"] = None, peering_state: Optional[Union[str, "VirtualNetworkPeeringState"]] = None, + do_not_verify_remote_gateways: Optional[bool] = None, **kwargs ): super(VirtualNetworkPeering, self).__init__(id=id, **kwargs) self.name = name self.etag = None + self.type = type self.allow_virtual_network_access = allow_virtual_network_access self.allow_forwarded_traffic = allow_forwarded_traffic self.allow_gateway_transit = allow_gateway_transit @@ -22724,6 +22811,8 @@ def __init__( self.remote_bgp_communities = remote_bgp_communities self.peering_state = peering_state self.provisioning_state = None + self.do_not_verify_remote_gateways = do_not_verify_remote_gateways + self.resource_guid = None class VirtualNetworkPeeringListResult(msrest.serialization.Model): diff --git a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/models/_network_management_client_enums.py b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/models/_network_management_client_enums.py index c59baa4b496a..d74e4321910d 100644 --- a/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/models/_network_management_client_enums.py +++ b/sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_08_01/models/_network_management_client_enums.py @@ -779,6 +779,23 @@ class NatGatewaySkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): STANDARD = "Standard" +class NetworkInterfaceMigrationPhase(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Migration phase of Network Interface resource. + """ + + NONE = "None" + PREPARE = "Prepare" + COMMIT = "Commit" + ABORT = "Abort" + COMMITTED = "Committed" + +class NetworkInterfaceNicType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Type of Network Interface resource. + """ + + STANDARD = "Standard" + ELASTIC = "Elastic" + class NetworkOperationStatus(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Status of the Azure async operation. """ @@ -937,6 +954,16 @@ class ProvisioningState(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): DELETING = "Deleting" FAILED = "Failed" +class PublicIpAddressMigrationPhase(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Migration phase of Public IP Address. + """ + + NONE = "None" + PREPARE = "Prepare" + COMMIT = "Commit" + ABORT = "Abort" + COMMITTED = "Committed" + class PublicIPAddressSkuName(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """Name of a public IP address SKU. """ @@ -1183,6 +1210,20 @@ class VirtualNetworkPeeringState(with_metaclass(_CaseInsensitiveEnumMeta, str, E CONNECTED = "Connected" DISCONNECTED = "Disconnected" +class VirtualNetworkPrivateEndpointNetworkPolicies(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Enable or Disable apply network policies on private end point in the subnet. + """ + + ENABLED = "Enabled" + DISABLED = "Disabled" + +class VirtualNetworkPrivateLinkServiceNetworkPolicies(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): + """Enable or Disable apply network policies on private link service in the subnet. + """ + + ENABLED = "Enabled" + DISABLED = "Disabled" + class VirtualWanSecurityProviderType(with_metaclass(_CaseInsensitiveEnumMeta, str, Enum)): """The virtual wan security provider type. """