@@ -162,7 +162,7 @@ def prepare_request(next_link=None):
162162
163163 async def extract_data (pipeline_response ):
164164 deserialized = pipeline_response .http_response .json ()
165- list_of_elem = _deserialize (List [_models .Operation ], deserialized [ "value" ] )
165+ list_of_elem = _deserialize (List [_models .Operation ], deserialized . get ( "value" , []) )
166166 if cls :
167167 list_of_elem = cls (list_of_elem ) # type: ignore
168168 return deserialized .get ("nextLink" ) or None , AsyncList (list_of_elem )
@@ -720,7 +720,7 @@ def prepare_request(next_link=None):
720720
721721 async def extract_data (pipeline_response ):
722722 deserialized = pipeline_response .http_response .json ()
723- list_of_elem = _deserialize (List [_models .EndpointResource ], deserialized [ "value" ] )
723+ list_of_elem = _deserialize (List [_models .EndpointResource ], deserialized . get ( "value" , []) )
724724 if cls :
725725 list_of_elem = cls (list_of_elem ) # type: ignore
726726 return deserialized .get ("nextLink" ) or None , AsyncList (list_of_elem )
@@ -1879,7 +1879,7 @@ def prepare_request(next_link=None):
18791879
18801880 async def extract_data (pipeline_response ):
18811881 deserialized = pipeline_response .http_response .json ()
1882- list_of_elem = _deserialize (List [_models .ServiceConfigurationResource ], deserialized [ "value" ] )
1882+ list_of_elem = _deserialize (List [_models .ServiceConfigurationResource ], deserialized . get ( "value" , []) )
18831883 if cls :
18841884 list_of_elem = cls (list_of_elem ) # type: ignore
18851885 return deserialized .get ("nextLink" ) or None , AsyncList (list_of_elem )
@@ -2383,7 +2383,7 @@ async def update(
23832383 self ,
23842384 resource_group_name : str ,
23852385 public_cloud_connector : str ,
2386- properties : _models .PublicCloudConnector ,
2386+ properties : _models .PublicCloudConnectorUpdate ,
23872387 * ,
23882388 content_type : str = "application/json" ,
23892389 ** kwargs : Any
@@ -2396,7 +2396,7 @@ async def update(
23962396 :param public_cloud_connector: Represent public cloud connectors resource. Required.
23972397 :type public_cloud_connector: str
23982398 :param properties: The resource properties to be updated. Required.
2399- :type properties: ~azure.mgmt.hybridconnectivity.models.PublicCloudConnector
2399+ :type properties: ~azure.mgmt.hybridconnectivity.models.PublicCloudConnectorUpdate
24002400 :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
24012401 Default value is "application/json".
24022402 :paramtype content_type: str
@@ -2464,7 +2464,7 @@ async def update(
24642464 self ,
24652465 resource_group_name : str ,
24662466 public_cloud_connector : str ,
2467- properties : Union [_models .PublicCloudConnector , JSON , IO [bytes ]],
2467+ properties : Union [_models .PublicCloudConnectorUpdate , JSON , IO [bytes ]],
24682468 ** kwargs : Any
24692469 ) -> _models .PublicCloudConnector :
24702470 """Update a PublicCloudConnector.
@@ -2475,8 +2475,8 @@ async def update(
24752475 :param public_cloud_connector: Represent public cloud connectors resource. Required.
24762476 :type public_cloud_connector: str
24772477 :param properties: The resource properties to be updated. Is one of the following types:
2478- PublicCloudConnector , JSON, IO[bytes] Required.
2479- :type properties: ~azure.mgmt.hybridconnectivity.models.PublicCloudConnector or JSON or
2478+ PublicCloudConnectorUpdate , JSON, IO[bytes] Required.
2479+ :type properties: ~azure.mgmt.hybridconnectivity.models.PublicCloudConnectorUpdate or JSON or
24802480 IO[bytes]
24812481 :return: PublicCloudConnector. The PublicCloudConnector is compatible with MutableMapping
24822482 :rtype: ~azure.mgmt.hybridconnectivity.models.PublicCloudConnector
@@ -2667,7 +2667,7 @@ def prepare_request(next_link=None):
26672667
26682668 async def extract_data (pipeline_response ):
26692669 deserialized = pipeline_response .http_response .json ()
2670- list_of_elem = _deserialize (List [_models .PublicCloudConnector ], deserialized [ "value" ] )
2670+ list_of_elem = _deserialize (List [_models .PublicCloudConnector ], deserialized . get ( "value" , []) )
26712671 if cls :
26722672 list_of_elem = cls (list_of_elem ) # type: ignore
26732673 return deserialized .get ("nextLink" ) or None , AsyncList (list_of_elem )
@@ -2752,7 +2752,7 @@ def prepare_request(next_link=None):
27522752
27532753 async def extract_data (pipeline_response ):
27542754 deserialized = pipeline_response .http_response .json ()
2755- list_of_elem = _deserialize (List [_models .PublicCloudConnector ], deserialized [ "value" ] )
2755+ list_of_elem = _deserialize (List [_models .PublicCloudConnector ], deserialized . get ( "value" , []) )
27562756 if cls :
27572757 list_of_elem = cls (list_of_elem ) # type: ignore
27582758 return deserialized .get ("nextLink" ) or None , AsyncList (list_of_elem )
@@ -3158,7 +3158,7 @@ async def update(
31583158 self ,
31593159 resource_uri : str ,
31603160 solution_configuration : str ,
3161- properties : _models .SolutionConfiguration ,
3161+ properties : _models .SolutionConfigurationUpdate ,
31623162 * ,
31633163 content_type : str = "application/json" ,
31643164 ** kwargs : Any
@@ -3171,7 +3171,7 @@ async def update(
31713171 :param solution_configuration: Represent Solution Configuration Resource. Required.
31723172 :type solution_configuration: str
31733173 :param properties: The resource properties to be updated. Required.
3174- :type properties: ~azure.mgmt.hybridconnectivity.models.SolutionConfiguration
3174+ :type properties: ~azure.mgmt.hybridconnectivity.models.SolutionConfigurationUpdate
31753175 :keyword content_type: Body Parameter content-type. Content type parameter for JSON body.
31763176 Default value is "application/json".
31773177 :paramtype content_type: str
@@ -3239,7 +3239,7 @@ async def update(
32393239 self ,
32403240 resource_uri : str ,
32413241 solution_configuration : str ,
3242- properties : Union [_models .SolutionConfiguration , JSON , IO [bytes ]],
3242+ properties : Union [_models .SolutionConfigurationUpdate , JSON , IO [bytes ]],
32433243 ** kwargs : Any
32443244 ) -> _models .SolutionConfiguration :
32453245 """Update a SolutionConfiguration.
@@ -3250,8 +3250,8 @@ async def update(
32503250 :param solution_configuration: Represent Solution Configuration Resource. Required.
32513251 :type solution_configuration: str
32523252 :param properties: The resource properties to be updated. Is one of the following types:
3253- SolutionConfiguration , JSON, IO[bytes] Required.
3254- :type properties: ~azure.mgmt.hybridconnectivity.models.SolutionConfiguration or JSON or
3253+ SolutionConfigurationUpdate , JSON, IO[bytes] Required.
3254+ :type properties: ~azure.mgmt.hybridconnectivity.models.SolutionConfigurationUpdate or JSON or
32553255 IO[bytes]
32563256 :return: SolutionConfiguration. The SolutionConfiguration is compatible with MutableMapping
32573257 :rtype: ~azure.mgmt.hybridconnectivity.models.SolutionConfiguration
@@ -3437,7 +3437,7 @@ def prepare_request(next_link=None):
34373437
34383438 async def extract_data (pipeline_response ):
34393439 deserialized = pipeline_response .http_response .json ()
3440- list_of_elem = _deserialize (List [_models .SolutionConfiguration ], deserialized [ "value" ] )
3440+ list_of_elem = _deserialize (List [_models .SolutionConfiguration ], deserialized . get ( "value" , []) )
34413441 if cls :
34423442 list_of_elem = cls (list_of_elem ) # type: ignore
34433443 return deserialized .get ("nextLink" ) or None , AsyncList (list_of_elem )
@@ -3746,7 +3746,7 @@ def prepare_request(next_link=None):
37463746
37473747 async def extract_data (pipeline_response ):
37483748 deserialized = pipeline_response .http_response .json ()
3749- list_of_elem = _deserialize (List [_models .InventoryResource ], deserialized [ "value" ] )
3749+ list_of_elem = _deserialize (List [_models .InventoryResource ], deserialized . get ( "value" , []) )
37503750 if cls :
37513751 list_of_elem = cls (list_of_elem ) # type: ignore
37523752 return deserialized .get ("nextLink" ) or None , AsyncList (list_of_elem )
@@ -3923,7 +3923,7 @@ def prepare_request(next_link=None):
39233923
39243924 async def extract_data (pipeline_response ):
39253925 deserialized = pipeline_response .http_response .json ()
3926- list_of_elem = _deserialize (List [_models .SolutionTypeResource ], deserialized [ "value" ] )
3926+ list_of_elem = _deserialize (List [_models .SolutionTypeResource ], deserialized . get ( "value" , []) )
39273927 if cls :
39283928 list_of_elem = cls (list_of_elem ) # type: ignore
39293929 return deserialized .get ("nextLink" ) or None , AsyncList (list_of_elem )
@@ -4008,7 +4008,7 @@ def prepare_request(next_link=None):
40084008
40094009 async def extract_data (pipeline_response ):
40104010 deserialized = pipeline_response .http_response .json ()
4011- list_of_elem = _deserialize (List [_models .SolutionTypeResource ], deserialized [ "value" ] )
4011+ list_of_elem = _deserialize (List [_models .SolutionTypeResource ], deserialized . get ( "value" , []) )
40124012 if cls :
40134013 list_of_elem = cls (list_of_elem ) # type: ignore
40144014 return deserialized .get ("nextLink" ) or None , AsyncList (list_of_elem )
0 commit comments