gcloud alpha number-registry custom-ranges find-free-ip-ranges

NAME
gcloud alpha number-registry custom-ranges find-free-ip-ranges - find free IP ranges in a custom range
SYNOPSIS
gcloud alpha number-registry custom-ranges find-free-ip-ranges (CUSTOM_RANGE : --location=LOCATION) --cidr-prefix-length=CIDR_PREFIX_LENGTH [--range-count=RANGE_COUNT] [--request-id=REQUEST_ID] [GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Find free IP ranges in a custom range.
EXAMPLES
To find free IP ranges in a custom range my-custom-range run:
gcloud alpha number-registry custom-ranges find-free-ip-ranges my-custom-range --location=global --cidr_prefix_length=24 --range-count=1
POSITIONAL ARGUMENTS
CustomRange resource - Name of the CustomRange. The arguments in this group can be used to specify the attributes of this resource. (NOTE) Some attributes are not given arguments in this group but can be set in other ways.

To set the project attribute:

  • provide the argument custom_range on the command line with a fully specified name;
  • provide the argument --project on the command line;
  • set the property core/project.

This must be specified.

CUSTOM_RANGE
ID of the customRange or fully qualified identifier for the customRange.

To set the custom_range attribute:

  • provide the argument custom_range on the command line.

This positional argument must be specified if any of the other arguments in this group are specified.

--location=LOCATION
The location id of the customRange resource.

To set the location attribute:

  • provide the argument custom_range on the command line with a fully specified name;
  • provide the argument --location on the command line.
REQUIRED FLAGS
--cidr-prefix-length=CIDR_PREFIX_LENGTH
The prefix length of the free IP ranges to find.
OPTIONAL FLAGS
--range-count=RANGE_COUNT
The number of free IP ranges to find.
--request-id=REQUEST_ID
An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

GCLOUD WIDE FLAGS
These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, --help, --impersonate-service-account, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity.

Run $ gcloud help for details.

API REFERENCE
This command uses the cloudnumberregistry/v1alpha API. The full documentation for this API can be found at: https://docs.cloud.google.com/number-registry/reference/rest
NOTES
This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist.