You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
List any Private Network's subnets. See ListPrivateNetworks to list a specific Private Network's subnets.
803
807
:param region: Region to target. If none is passed will use default region from the config.
804
-
:param order_by:
805
-
:param page:
806
-
:param page_size:
807
-
:param organization_id:
808
-
:param project_id:
809
-
:param subnet_ids:
810
-
:param vpc_id:
808
+
:param order_by: Sort order of the returned subnets.
809
+
:param page: Page number to return, from the paginated results.
810
+
:param page_size: Maximum number of Private Networks to return per page.
811
+
:param organization_id: Organization ID to filter for. Only subnets belonging to this Organization will be returned.
812
+
:param project_id: Project ID to filter for. Only subnets belonging to this Project will be returned.
813
+
:param subnet_ids: Subnet IDs to filter for. Only subnets matching the specified IDs will be returned.
814
+
:param vpc_id: VPC ID to filter for. Only subnets belonging to this VPC will be returned.
811
815
:return: :class:`List[Subnet] <List[Subnet]>`
812
816
813
817
Usage:
@@ -840,7 +844,7 @@ async def set_subnets(
840
844
subnets: Optional[List[str]] =None,
841
845
) ->SetSubnetsResponse:
842
846
"""
843
-
Set the subnets of a Private Network.
847
+
Set a Private Network's subnets.
844
848
Set subnets for an existing Private Network. Note that the method is PUT and not PATCH. Any existing subnets will be removed in favor of the new specified set of subnets.
845
849
:param private_network_id: Private Network ID.
846
850
:param region: Region to target. If none is passed will use default region from the config.
List any Private Network's subnets. See ListPrivateNetworks to list a specific Private Network's subnets.
803
807
:param region: Region to target. If none is passed will use default region from the config.
804
-
:param order_by:
805
-
:param page:
806
-
:param page_size:
807
-
:param organization_id:
808
-
:param project_id:
809
-
:param subnet_ids:
810
-
:param vpc_id:
808
+
:param order_by: Sort order of the returned subnets.
809
+
:param page: Page number to return, from the paginated results.
810
+
:param page_size: Maximum number of Private Networks to return per page.
811
+
:param organization_id: Organization ID to filter for. Only subnets belonging to this Organization will be returned.
812
+
:param project_id: Project ID to filter for. Only subnets belonging to this Project will be returned.
813
+
:param subnet_ids: Subnet IDs to filter for. Only subnets matching the specified IDs will be returned.
814
+
:param vpc_id: VPC ID to filter for. Only subnets belonging to this VPC will be returned.
811
815
:return: :class:`List[Subnet] <List[Subnet]>`
812
816
813
817
Usage:
@@ -840,7 +844,7 @@ def set_subnets(
840
844
subnets: Optional[List[str]] =None,
841
845
) ->SetSubnetsResponse:
842
846
"""
843
-
Set the subnets of a Private Network.
847
+
Set a Private Network's subnets.
844
848
Set subnets for an existing Private Network. Note that the method is PUT and not PATCH. Any existing subnets will be removed in favor of the new specified set of subnets.
845
849
:param private_network_id: Private Network ID.
846
850
:param region: Region to target. If none is passed will use default region from the config.
0 commit comments