File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -555,19 +555,26 @@ type ListSubnetsRequest struct {
555555 // Region: region to target. If none is passed will use default region from the config.
556556 Region scw.Region `json:"-"`
557557
558- // OrderBy: default value: created_at_asc
558+ // OrderBy: sort order of the returned subnets.
559+ // Default value: created_at_asc
559560 OrderBy ListSubnetsRequestOrderBy `json:"-"`
560561
562+ // Page: page number to return, from the paginated results.
561563 Page * int32 `json:"-"`
562564
565+ // PageSize: maximum number of Private Networks to return per page.
563566 PageSize * uint32 `json:"-"`
564567
568+ // OrganizationID: organization ID to filter for. Only subnets belonging to this Organization will be returned.
565569 OrganizationID * string `json:"-"`
566570
571+ // ProjectID: project ID to filter for. Only subnets belonging to this Project will be returned.
567572 ProjectID * string `json:"-"`
568573
574+ // SubnetIDs: subnet IDs to filter for. Only subnets matching the specified IDs will be returned.
569575 SubnetIDs []string `json:"-"`
570576
577+ // VpcID: vPC ID to filter for. Only subnets belonging to this VPC will be returned.
571578 VpcID * string `json:"-"`
572579}
573580
@@ -1249,7 +1256,7 @@ func (s *API) EnableRouting(req *EnableRoutingRequest, opts ...scw.RequestOption
12491256 return & resp , nil
12501257}
12511258
1252- // ListSubnets:
1259+ // ListSubnets: List any Private Network's subnets. See ListPrivateNetworks to list a specific Private Network's subnets.
12531260func (s * API ) ListSubnets (req * ListSubnetsRequest , opts ... scw.RequestOption ) (* ListSubnetsResponse , error ) {
12541261 var err error
12551262
You can’t perform that action at this time.
0 commit comments