Skip to content

Commit

Permalink
CodeGen from PR 13224 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Network november release (Azure#13224)

* Adds base for updating Microsoft.Network from version stable/2020-08-01 to version 2020-11-01

* Updates readme

* Updates API version in new specs and examples

* No snat firewall policy (Azure#12505)

* Adding No SNAT feature support to firewall policy

* committing prettier-fix

* adding period at end of description to prevent failure for checks

* Insights on Firewall Policy (Azure#12509)

* Adds base for updating Microsoft.Network from version stable/2020-07-01 to version 2020-08-01

* Updates readme

* Updates API version in new specs and examples

* add patch operation for express route gateway (Azure#11553)

* add patch

* fix example

* Added new cloud service NIC and PIP APIs (Azure#11650)

Co-authored-by: Richa Jain <[email protected]>

* Adding support for Vpn Link Connection Mode (Azure#11574)

Co-authored-by: Abhishek Shah <[email protected]>

* Reverting the changes made for address space update as the changes in service code are not in yet (Azure#11754)

Co-authored-by: Hari Prasad Perabattula <[email protected]>

* VPN NAT for Virtual WAN feature changes (Azure#11815)

* VPN NAT for Virtual WAN feature changes

* PrettierCheck fixes

* Incorporate review comments and update examples

* Add edge zone parameters for networking resources and add extendedLocation property to customIpPrefix (Azure#11933)

* Add extendedLocation property to customIpPrefix

* Fix the directory

* Address linting errors

* Fix another linting error

* Add edge zone parameter for network interfaces

* Looks like edgeZone parameter is working when creating network interfaces

* EdgeZone parameter for load balancer

* Add edge zone parameter for public IP address

* Add edge zone parameter for public IP prefix

* Add edgeZone parameter for virtual networks

* Add edge zone parameter for custom IP prefix

Co-authored-by: Will Ehrich <[email protected]>

* Add location parameter to Loadbalancer Backend Address Pool Properties Format (Azure#11919)

* adding location parameter to backendaddresspoolpropertiesformat

* ran prettier

* Support for Listing IKE Security Associations for Virtual Network Gateway Connections (Azure#11572)

* Support to List IKE SAs on VNG Connection

* Updating GetIkeSas

* Update virtualNetworkGateway.json

* Added location headers

* Update virtualNetworkGateway.json

* Prettier fix

* Update custom-words.txt

* Update virtualNetworkGateway.json

* Update custom-words.txt

* Update virtualNetworkGateway.json

* Update virtualNetworkGateway.json

* Update virtualNetworkGateway.json

Co-authored-by: Abhishek Shah <[email protected]>

* [Fix] GetIkeSas returns result as string (Azure#12225)

* Removing IkeSaParameters

* Update custom-words.txt

* Update virtualNetworkGateway.json

* Update virtualNetworkGateway.json

* Update VirtualNetworkGatewayConnectionGetIkeSas.json

* Update virtualNetworkGateway.json

* Update VirtualNetworkGatewayConnectionGetIkeSas.json

Co-authored-by: Abhishek Shah <[email protected]>

* Add extended location properties for private link service and private endpoints and remove edge zone properties (Azure#12039)

* Remove edge zone parameter

* Add extended location for private endpoint and private link service

* Add examples

* Capitalization

* Prettier

Co-authored-by: Will Ehrich <[email protected]>

* Add missing properties of SecurityRule, Route and RouteTable (Azure#12215)

* Add missing properties of SecurityRule Route and RouteTable

* Set resourceGuid field to be read only

Co-authored-by: Xu Wang <[email protected]>

* Added placeholder instead of password (Azure#12299)

* resolving conflicts

* resolving conflicts

* new api version

* resolving conflicts

* fixing network validation

* running prettier

* fixing network valdiation

* fixing network valdiation

Co-authored-by: Mikhail <[email protected]>
Co-authored-by: nimaller <[email protected]>
Co-authored-by: Richa Jain <[email protected]>
Co-authored-by: Richa Jain <[email protected]>
Co-authored-by: Abhishek Shah <[email protected]>
Co-authored-by: Abhishek Shah <[email protected]>
Co-authored-by: Hari Prasad Perabattula <[email protected]>
Co-authored-by: Hari Prasad Perabattula <[email protected]>
Co-authored-by: Nilambari <[email protected]>
Co-authored-by: William Ehrich <[email protected]>
Co-authored-by: Will Ehrich <[email protected]>
Co-authored-by: Kayden Wilkinson <[email protected]>
Co-authored-by: Xu Wang <[email protected]>
Co-authored-by: Xu Wang <[email protected]>

* Firewall Policy Insights with region (Azure#12711)

* Adds base for updating Microsoft.Network from version stable/2020-07-01 to version 2020-08-01

* Updates readme

* Updates API version in new specs and examples

* add patch operation for express route gateway (Azure#11553)

* add patch

* fix example

* Added new cloud service NIC and PIP APIs (Azure#11650)

Co-authored-by: Richa Jain <[email protected]>

* Adding support for Vpn Link Connection Mode (Azure#11574)

Co-authored-by: Abhishek Shah <[email protected]>

* Reverting the changes made for address space update as the changes in service code are not in yet (Azure#11754)

Co-authored-by: Hari Prasad Perabattula <[email protected]>

* VPN NAT for Virtual WAN feature changes (Azure#11815)

* VPN NAT for Virtual WAN feature changes

* PrettierCheck fixes

* Incorporate review comments and update examples

* Add edge zone parameters for networking resources and add extendedLocation property to customIpPrefix (Azure#11933)

* Add extendedLocation property to customIpPrefix

* Fix the directory

* Address linting errors

* Fix another linting error

* Add edge zone parameter for network interfaces

* Looks like edgeZone parameter is working when creating network interfaces

* EdgeZone parameter for load balancer

* Add edge zone parameter for public IP address

* Add edge zone parameter for public IP prefix

* Add edgeZone parameter for virtual networks

* Add edge zone parameter for custom IP prefix

Co-authored-by: Will Ehrich <[email protected]>

* Add location parameter to Loadbalancer Backend Address Pool Properties Format (Azure#11919)

* adding location parameter to backendaddresspoolpropertiesformat

* ran prettier

* Support for Listing IKE Security Associations for Virtual Network Gateway Connections (Azure#11572)

* Support to List IKE SAs on VNG Connection

* Updating GetIkeSas

* Update virtualNetworkGateway.json

* Added location headers

* Update virtualNetworkGateway.json

* Prettier fix

* Update custom-words.txt

* Update virtualNetworkGateway.json

* Update custom-words.txt

* Update virtualNetworkGateway.json

* Update virtualNetworkGateway.json

* Update virtualNetworkGateway.json

Co-authored-by: Abhishek Shah <[email protected]>

* [Fix] GetIkeSas returns result as string (Azure#12225)

* Removing IkeSaParameters

* Update custom-words.txt

* Update virtualNetworkGateway.json

* Update virtualNetworkGateway.json

* Update VirtualNetworkGatewayConnectionGetIkeSas.json

* Update virtualNetworkGateway.json

* Update VirtualNetworkGatewayConnectionGetIkeSas.json

Co-authored-by: Abhishek Shah <[email protected]>

* Add extended location properties for private link service and private endpoints and remove edge zone properties (Azure#12039)

* Remove edge zone parameter

* Add extended location for private endpoint and private link service

* Add examples

* Capitalization

* Prettier

Co-authored-by: Will Ehrich <[email protected]>

* Add missing properties of SecurityRule, Route and RouteTable (Azure#12215)

* Add missing properties of SecurityRule Route and RouteTable

* Set resourceGuid field to be read only

Co-authored-by: Xu Wang <[email protected]>

* Added placeholder instead of password (Azure#12299)

* resolving conflicts

* resolving conflicts

* new api version

* resolving conflicts

* fixing network validation

* running prettier

* fixing network valdiation

* fixing network valdiation

* Passing in the regions to backend

* changed the reference definition

Co-authored-by: Mikhail <[email protected]>
Co-authored-by: nimaller <[email protected]>
Co-authored-by: Richa Jain <[email protected]>
Co-authored-by: Richa Jain <[email protected]>
Co-authored-by: Abhishek Shah <[email protected]>
Co-authored-by: Abhishek Shah <[email protected]>
Co-authored-by: Hari Prasad Perabattula <[email protected]>
Co-authored-by: Hari Prasad Perabattula <[email protected]>
Co-authored-by: Nilambari <[email protected]>
Co-authored-by: William Ehrich <[email protected]>
Co-authored-by: Will Ehrich <[email protected]>
Co-authored-by: Kayden Wilkinson <[email protected]>
Co-authored-by: Xu Wang <[email protected]>
Co-authored-by: Xu Wang <[email protected]>

* Support for Listing IKE Security Associations for VPN Link Connections (Azure#12305)

* Adds base for updating Microsoft.Network from version stable/2020-07-01 to version 2020-08-01

* Updates readme

* Updates API version in new specs and examples

* add patch operation for express route gateway (Azure#11553)

* add patch

* fix example

* Added new cloud service NIC and PIP APIs (Azure#11650)

Co-authored-by: Richa Jain <[email protected]>

* Adding support for Vpn Link Connection Mode (Azure#11574)

Co-authored-by: Abhishek Shah <[email protected]>

* Reverting the changes made for address space update as the changes in service code are not in yet (Azure#11754)

Co-authored-by: Hari Prasad Perabattula <[email protected]>

* VPN NAT for Virtual WAN feature changes (Azure#11815)

* VPN NAT for Virtual WAN feature changes

* PrettierCheck fixes

* Incorporate review comments and update examples

* Add edge zone parameters for networking resources and add extendedLocation property to customIpPrefix (Azure#11933)

* Add extendedLocation property to customIpPrefix

* Fix the directory

* Address linting errors

* Fix another linting error

* Add edge zone parameter for network interfaces

* Looks like edgeZone parameter is working when creating network interfaces

* EdgeZone parameter for load balancer

* Add edge zone parameter for public IP address

* Add edge zone parameter for public IP prefix

* Add edgeZone parameter for virtual networks

* Add edge zone parameter for custom IP prefix

Co-authored-by: Will Ehrich <[email protected]>

* Add location parameter to Loadbalancer Backend Address Pool Properties Format (Azure#11919)

* adding location parameter to backendaddresspoolpropertiesformat

* ran prettier

* Support for Listing IKE Security Associations for Virtual Network Gateway Connections (Azure#11572)

* Support to List IKE SAs on VNG Connection

* Updating GetIkeSas

* Update virtualNetworkGateway.json

* Added location headers

* Update virtualNetworkGateway.json

* Prettier fix

* Update custom-words.txt

* Update virtualNetworkGateway.json

* Update custom-words.txt

* Update virtualNetworkGateway.json

* Update virtualNetworkGateway.json

* Update virtualNetworkGateway.json

Co-authored-by: Abhishek Shah <[email protected]>

* [Fix] GetIkeSas returns result as string (Azure#12225)

* Removing IkeSaParameters

* Update custom-words.txt

* Update virtualNetworkGateway.json

* Update virtualNetworkGateway.json

* Update VirtualNetworkGatewayConnectionGetIkeSas.json

* Update virtualNetworkGateway.json

* Update VirtualNetworkGatewayConnectionGetIkeSas.json

Co-authored-by: Abhishek Shah <[email protected]>

* Add extended location properties for private link service and private endpoints and remove edge zone properties (Azure#12039)

* Remove edge zone parameter

* Add extended location for private endpoint and private link service

* Add examples

* Capitalization

* Prettier

Co-authored-by: Will Ehrich <[email protected]>

* Add missing properties of SecurityRule, Route and RouteTable (Azure#12215)

* Add missing properties of SecurityRule Route and RouteTable

* Set resourceGuid field to be read only

Co-authored-by: Xu Wang <[email protected]>

* Added placeholder instead of password (Azure#12299)

* Adding getikesas for vpn link connections

* pretty fix

* Naming

* Update VpnSiteLinkConnectionGetIkeSas.json

* Update VpnSiteLinkConnectionGetIkeSas.json

* Changing API version

* Update readme.md

* Updating API version

* Removing changes from older API

* Update virtualWan.json

Co-authored-by: Mikhail <[email protected]>
Co-authored-by: nimaller <[email protected]>
Co-authored-by: Richa Jain <[email protected]>
Co-authored-by: Richa Jain <[email protected]>
Co-authored-by: Abhishek Shah <[email protected]>
Co-authored-by: Hari Prasad Perabattula <[email protected]>
Co-authored-by: Hari Prasad Perabattula <[email protected]>
Co-authored-by: Nilambari <[email protected]>
Co-authored-by: William Ehrich <[email protected]>
Co-authored-by: Will Ehrich <[email protected]>
Co-authored-by: Kayden Wilkinson <[email protected]>
Co-authored-by: Xu Wang <[email protected]>
Co-authored-by: Xu Wang <[email protected]>

* Added 'Subnet' property to LoadBalancerBackendAddress (Azure#12625)

* Support for ResetConnection for VNG and VPN Link connections (Azure#12715)

* fix the name mismatch (Azure#12826)

* Add support for Traffic selector param in VpnConnection for virtualWan (Azure#12903)

* Add support for Traffic selector param in Connection - initial changes

* Add trafficSelectorPolicies list in responses

* Add trafficSelectorPolicies list in Get and List connection

* cleanup stostools (Azure#12699)

* Revert "Merge branch 'network-november-release' into ak-traffic-selector"

This reverts commit 1a8f61e3c4395f410d6ff16ee41da4d2eeb091b5, reversing
changes made to 3c90ff8ccb6c1e46c0480643906d6b5c5388e8c8.

Co-authored-by: Zhenglai Zhang <[email protected]>

* Revert "Add support for Traffic selector param in VpnConnection for virtualWan" (Azure#13088)

* Revert "Add support for Traffic selector param in VpnConnection for virtualWan (Azure#12903)"

This reverts commit 34dcf04f0ee453fa739ec2f790376a8decb5a3ab.

* cleanup stostools (Azure#12699)

Co-authored-by: Zhenglai Zhang <[email protected]>

* Re - Add support for Traffic selector param in VpnConnection for virtualWan (Azure#13103)

* Add support for Traffic selector param in Connection - initial changes

* Add trafficSelectorPolicies list in responses

* Add trafficSelectorPolicies list in Get and List connection

* add auth type property to vng config (Azure#13183)

* added reverted by mistake api version

* fixed mistyping

* Fix name mismatch for virtual network local gateway (Azure#13266)

* fix the name mismatch

* fix name mismatch in nov

Co-authored-by: nikhilpadhye1 <[email protected]>
Co-authored-by: Sai Sujith Reddy Mankala <[email protected]>
Co-authored-by: nimaller <[email protected]>
Co-authored-by: Richa Jain <[email protected]>
Co-authored-by: Richa Jain <[email protected]>
Co-authored-by: Abhishek Shah <[email protected]>
Co-authored-by: Abhishek Shah <[email protected]>
Co-authored-by: Hari Prasad Perabattula <[email protected]>
Co-authored-by: Hari Prasad Perabattula <[email protected]>
Co-authored-by: Nilambari <[email protected]>
Co-authored-by: William Ehrich <[email protected]>
Co-authored-by: Will Ehrich <[email protected]>
Co-authored-by: Kayden Wilkinson <[email protected]>
Co-authored-by: Xu Wang <[email protected]>
Co-authored-by: Xu Wang <[email protected]>
Co-authored-by: irrogozh <[email protected]>
Co-authored-by: Akshat Kale <[email protected]>
Co-authored-by: litchiyangMSFT <[email protected]>
Co-authored-by: Zhenglai Zhang <[email protected]>
Co-authored-by: neethirshetty <[email protected]>
  • Loading branch information
21 people committed Mar 4, 2021
1 parent 9b71692 commit 459d174
Show file tree
Hide file tree
Showing 8 changed files with 518 additions and 42 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1200,6 +1200,7 @@
LoadDistribution,
ManagedRuleEnabledState,
NatGatewaySkuName,
NetworkInterfaceNicType,
NetworkOperationStatus,
NextHopType,
OfficeTrafficCategory,
Expand All @@ -1217,6 +1218,7 @@
Protocol,
ProtocolType,
ProvisioningState,
PublicIPAddressMigrationPhase,
PublicIPAddressSkuName,
PublicIPAddressSkuTier,
PublicIPPrefixSkuName,
Expand Down Expand Up @@ -1244,6 +1246,8 @@
VirtualNetworkGatewaySkuTier,
VirtualNetworkGatewayType,
VirtualNetworkPeeringState,
VirtualNetworkPrivateEndpointNetworkPolicies,
VirtualNetworkPrivateLinkServiceNetworkPolicies,
VirtualWanSecurityProviderType,
VpnAuthenticationType,
VpnClientProtocol,
Expand Down Expand Up @@ -1902,6 +1906,7 @@
'LoadDistribution',
'ManagedRuleEnabledState',
'NatGatewaySkuName',
'NetworkInterfaceNicType',
'NetworkOperationStatus',
'NextHopType',
'OfficeTrafficCategory',
Expand All @@ -1919,6 +1924,7 @@
'Protocol',
'ProtocolType',
'ProvisioningState',
'PublicIPAddressMigrationPhase',
'PublicIPAddressSkuName',
'PublicIPAddressSkuTier',
'PublicIPPrefixSkuName',
Expand Down Expand Up @@ -1946,6 +1952,8 @@
'VirtualNetworkGatewaySkuTier',
'VirtualNetworkGatewayType',
'VirtualNetworkPeeringState',
'VirtualNetworkPrivateEndpointNetworkPolicies',
'VirtualNetworkPrivateLinkServiceNetworkPolicies',
'VirtualWanSecurityProviderType',
'VpnAuthenticationType',
'VpnClientProtocol',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3038,13 +3038,16 @@ 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 = {
'name': {'key': 'name', 'type': 'str'},
'id': {'key': 'id', 'type': 'str'},
'type': {'key': 'type', 'type': 'str'},
'resource_name': {'key': 'resourceName', 'type': 'str'},
'display_name': {'key': 'displayName', 'type': 'str'},
}

def __init__(
Expand All @@ -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):
Expand Down Expand Up @@ -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__(
Expand All @@ -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):
Expand Down Expand Up @@ -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 = {
Expand Down Expand Up @@ -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__(
Expand All @@ -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):
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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]'},
Expand All @@ -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)
Expand Down Expand Up @@ -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 = {
Expand Down Expand Up @@ -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__(
Expand All @@ -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):
Expand Down Expand Up @@ -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 = {
Expand Down Expand Up @@ -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__(
Expand All @@ -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):
Expand Down Expand Up @@ -18097,20 +18137,24 @@ 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 = {
'change_number': {'readonly': True},
'region': {'readonly': True},
'system_service': {'readonly': True},
'address_prefixes': {'readonly': True},
'state': {'readonly': True},
}

_attribute_map = {
'change_number': {'key': 'changeNumber', 'type': 'str'},
'region': {'key': 'region', 'type': 'str'},
'system_service': {'key': 'systemService', 'type': 'str'},
'address_prefixes': {'key': 'addressPrefixes', 'type': '[str]'},
'state': {'key': 'state', 'type': 'str'},
}

def __init__(
Expand All @@ -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):
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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 = {
Expand All @@ -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'},
Expand Down Expand Up @@ -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)
Expand All @@ -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):
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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'},
Expand All @@ -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__(
Expand All @@ -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)
Expand All @@ -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):
Expand Down
Loading

0 comments on commit 459d174

Please sign in to comment.