Skip to content

/AWS1/CL_EC2=>GETSUBNETCIDRRESERVATIONS()

About GetSubnetCidrReservations

Gets information about the subnet CIDR reservations.

Method Signature

IMPORTING

Required arguments:

IV_SUBNETID TYPE /AWS1/EC2SUBNETID /AWS1/EC2SUBNETID

The ID of the subnet.

Optional arguments:

IT_FILTERS TYPE /AWS1/CL_EC2FILTER=>TT_FILTERLIST TT_FILTERLIST

One or more filters.

  • reservationType - The type of reservation (prefix | explicit).

  • subnet-id - The ID of the subnet.

  • tag: - The key/value combination of a tag assigned to the resource. Use the tag key in the filter name and the tag value as the filter value. For example, to find all resources that have a tag with the key Owner and the value TeamA, specify tag:Owner for the filter name and TeamA for the filter value.

  • tag-key - The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.

IV_DRYRUN TYPE /AWS1/EC2BOOLEAN /AWS1/EC2BOOLEAN

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

IV_NEXTTOKEN TYPE /AWS1/EC2STRING /AWS1/EC2STRING

The token for the next page of results.

IV_MAXRESULTS TYPE /AWS1/EC2GETSNETCIDRRSVMAXRSS /AWS1/EC2GETSNETCIDRRSVMAXRSS

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_EC2GETSNETCIDRRSVRSLT /AWS1/CL_EC2GETSNETCIDRRSVRSLT