Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
be945f8
Generated from d9d5c60e307288b5fc4fe17b8a9faf6b09aee544
AutorestCI Apr 8, 2019
390a1b3
Generated from d9304d926cb0bd0d413fa9693cb881ceafeae0ce
AutorestCI Apr 9, 2019
1b83683
Packaging update of azure-mgmt-network
azuresdkci Apr 9, 2019
6d08c0b
Generated from b3ac379f92c2db63f2c30c2529bb618bebcaa4d6
AutorestCI Apr 11, 2019
ac05b40
Generated from 48703239a5a8a4d840e3086d5d52f67a46c9f52d
AutorestCI Apr 12, 2019
d0fcfde
Generated from 3fd1b97b681b33ca6da9b0b15a22aad4262a295e (#4840)
AutorestCI Apr 12, 2019
70568de
Generated from e2c3ec3c42f6980617fa3678ec796b8538443939
AutorestCI Apr 12, 2019
59d94d1
Generated from e30338eb768cedebd77c024fe290d5c91af7397b (#4852)
AutorestCI Apr 15, 2019
1aebb99
Generated from 04fdf1fe8412fcaa3bd0df3883b5c5b52ee88c24 (#4853)
AutorestCI Apr 15, 2019
b01291c
Generated from 6eca950a4ad587ccd45a8c75ece0506578d6eb74
AutorestCI Apr 18, 2019
fe77572
Generated from a3d8e6242c0e7b9c01d55552a4ff54d697b731d3 (#4881)
AutorestCI Apr 18, 2019
ecf39e3
Generated from 924f82edcf711df9d7d704cc674130792471c4fd (#4902)
AutorestCI Apr 18, 2019
747a7e7
Generated from 63f8b714d145762e274c5bea2b176dae7b71a24f
AutorestCI Apr 19, 2019
b83ff94
[AutoPR network/resource-manager] Remove duplicate enums from Network…
AutorestCI Apr 19, 2019
4051685
Generated from 059756ea619344e900e985d12b8cdb7cd422804d
AutorestCI Apr 19, 2019
afa1715
Generated from 643dd3c9a5812b1f44f088dcb33b70e647c5f746
AutorestCI Apr 19, 2019
0ecf180
Generated from c51dd73f316b78d99f24cfb996e37d9690320a45
AutorestCI Apr 19, 2019
12ddf05
[AutoPR network/resource-manager] Remove duplicate enum "ApplicationG…
AutorestCI Apr 24, 2019
2c6c8ae
Generated from ae9a401568b13c001ee70bc507163a4e51306333 (#4867)
AutorestCI Apr 24, 2019
cbad47d
Generated from c8837c2962958df23ba49bf27f181eabc375b532 (#4830)
AutorestCI Apr 24, 2019
0368c61
[AutoPR network/resource-manager] Add new Nat Gateway resource (#4815)
AutorestCI Apr 24, 2019
bb11f48
Merge branch 'master' into restapi_auto_network-march-release
lmazuel Apr 24, 2019
88357ec
Sync network with latest Swagger
lmazuel Apr 25, 2019
f53924c
updated versioning and change log
iscai-msft Apr 25, 2019
bc0f217
Update HISTORY.rst
iscai-msft Apr 25, 2019
aa799c6
Update HISTORY.rst
iscai-msft Apr 26, 2019
d05e1a9
2.7.0
lmazuel Apr 26, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Sync network with latest Swagger
  • Loading branch information
lmazuel committed Apr 25, 2019
commit 88357ec7e99c99e82b151b329b3fe46626f54aa3
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,20 @@
class GetVpnSitesConfigurationRequest(Model):
"""List of Vpn-Sites.

All required parameters must be populated in order to send to Azure.

:param vpn_sites: List of resource-ids of the vpn-sites for which config
is to be downloaded.
:type vpn_sites: list[str]
:param output_blob_sas_url: The sas-url to download the configurations for
vpn-sites
:param output_blob_sas_url: Required. The sas-url to download the
configurations for vpn-sites
:type output_blob_sas_url: str
"""

_validation = {
'output_blob_sas_url': {'required': True},
}

_attribute_map = {
'vpn_sites': {'key': 'vpnSites', 'type': '[str]'},
'output_blob_sas_url': {'key': 'outputBlobSasUrl', 'type': 'str'},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,26 @@
class GetVpnSitesConfigurationRequest(Model):
"""List of Vpn-Sites.

All required parameters must be populated in order to send to Azure.

:param vpn_sites: List of resource-ids of the vpn-sites for which config
is to be downloaded.
:type vpn_sites: list[str]
:param output_blob_sas_url: The sas-url to download the configurations for
vpn-sites
:param output_blob_sas_url: Required. The sas-url to download the
configurations for vpn-sites
:type output_blob_sas_url: str
"""

_validation = {
'output_blob_sas_url': {'required': True},
}

_attribute_map = {
'vpn_sites': {'key': 'vpnSites', 'type': '[str]'},
'output_blob_sas_url': {'key': 'outputBlobSasUrl', 'type': 'str'},
}

def __init__(self, *, vpn_sites=None, output_blob_sas_url: str=None, **kwargs) -> None:
def __init__(self, *, output_blob_sas_url: str, vpn_sites=None, **kwargs) -> None:
super(GetVpnSitesConfigurationRequest, self).__init__(**kwargs)
self.vpn_sites = vpn_sites
self.output_blob_sas_url = output_blob_sas_url
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class IPConfiguration(SubResource):
:type id: str
:param private_ip_address: The private IP address of the IP configuration.
:type private_ip_address: str
:param private_ip_allocation_method: The private IP adress allocation
:param private_ip_allocation_method: The private IP address allocation
method. Possible values include: 'Static', 'Dynamic'
:type private_ip_allocation_method: str or
~azure.mgmt.network.v2019_02_01.models.IPAllocationMethod
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class IPConfiguration(SubResource):
:type id: str
:param private_ip_address: The private IP address of the IP configuration.
:type private_ip_address: str
:param private_ip_allocation_method: The private IP adress allocation
:param private_ip_allocation_method: The private IP address allocation
method. Possible values include: 'Static', 'Dynamic'
:type private_ip_allocation_method: str or
~azure.mgmt.network.v2019_02_01.models.IPAllocationMethod
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def __init__(self, client, config, serializer, deserializer):


def _download_initial(
self, resource_group_name, virtual_wan_name, vpn_sites=None, output_blob_sas_url=None, custom_headers=None, raw=False, **operation_config):
self, resource_group_name, virtual_wan_name, output_blob_sas_url, vpn_sites=None, custom_headers=None, raw=False, **operation_config):
request = models.GetVpnSitesConfigurationRequest(vpn_sites=vpn_sites, output_blob_sas_url=output_blob_sas_url)

# Construct URL
Expand Down Expand Up @@ -81,7 +81,7 @@ def _download_initial(
return client_raw_response

def download(
self, resource_group_name, virtual_wan_name, vpn_sites=None, output_blob_sas_url=None, custom_headers=None, raw=False, polling=True, **operation_config):
self, resource_group_name, virtual_wan_name, output_blob_sas_url, vpn_sites=None, custom_headers=None, raw=False, polling=True, **operation_config):
"""Gives the sas-url to download the configurations for vpn-sites in a
resource group.

Expand All @@ -90,12 +90,12 @@ def download(
:param virtual_wan_name: The name of the VirtualWAN for which
configuration of all vpn-sites is needed.
:type virtual_wan_name: str
:param vpn_sites: List of resource-ids of the vpn-sites for which
config is to be downloaded.
:type vpn_sites: list[str]
:param output_blob_sas_url: The sas-url to download the configurations
for vpn-sites
:type output_blob_sas_url: str
:param vpn_sites: List of resource-ids of the vpn-sites for which
config is to be downloaded.
:type vpn_sites: list[str]
:param dict custom_headers: headers that will be added to the request
:param bool raw: The poller return type is ClientRawResponse, the
direct response alongside the deserialized response
Expand All @@ -111,8 +111,8 @@ def download(
raw_result = self._download_initial(
resource_group_name=resource_group_name,
virtual_wan_name=virtual_wan_name,
vpn_sites=vpn_sites,
output_blob_sas_url=output_blob_sas_url,
vpn_sites=vpn_sites,
custom_headers=custom_headers,
raw=True,
**operation_config
Expand Down