Interface InternetAccessServices
- All Known Implementing Classes:
InternetAccessServicesImpl
Supports creating a service via the define() builder
(POST /internetAccess/v2/services), retrieving it by id
(GET /internetAccess/v2/services/{serviceId}), updating its mutable properties
(PATCH /internetAccess/v2/services/{serviceId}), deleting it
(DELETE /internetAccess/v2/services/{serviceId}) and searching across services
(POST /internetAccess/v2/services/search).
-
Method Summary
Modifier and TypeMethodDescriptiondefine()Returns a builder for defining and creating a new Equinix Internet Access v2 service.Deletes an Equinix Internet Access v2 service by its unique identifier.Deletes an Equinix Internet Access v2 service, optionally in validate-only mode.Retrieves a single Equinix Internet Access v2 service by its unique identifier.search(ServiceSearchRequest searchRequest) Searches for Equinix Internet Access v2 services matching the specified filter criteria.update(String serviceId, List<ChangeOperationUpdate> operations) Updates the mutable properties of an Equinix Internet Access v2 service by applying the supplied change operations (for example replacing/bandwidth).update(String serviceId, List<ChangeOperationUpdate> operations, boolean dryRun) Updates the mutable properties of an Equinix Internet Access v2 service, optionally in validate-only mode.
-
Method Details
-
define
Returns a builder for defining and creating a new Equinix Internet Access v2 service.- Returns:
- an internet access service builder
-
getByUuid
Retrieves a single Equinix Internet Access v2 service by its unique identifier.- Parameters:
serviceId- the unique identifier of the service- Returns:
- the service matching the given identifier
-
update
Updates the mutable properties of an Equinix Internet Access v2 service by applying the supplied change operations (for example replacing/bandwidth).- Parameters:
serviceId- the unique identifier of the service to updateoperations- the change operations to apply- Returns:
- the updated service
-
update
InternetAccessService update(String serviceId, List<ChangeOperationUpdate> operations, boolean dryRun) Updates the mutable properties of an Equinix Internet Access v2 service, optionally in validate-only mode.Per the
updateEquinixInternetAccessspec,dryRunis an optional boolean query parameter with no default: "Setting this parameter to true will perform only request validation without actually updating the service". WhendryRunisfalsethe parameter is omitted from the request entirely.- Parameters:
serviceId- the unique identifier of the service to updateoperations- the change operations to applydryRun- iftrue, sendsdryRun=trueso the request is only validated and the service is not updated; iffalse, the parameter is omitted- Returns:
- the updated (or, in dry-run mode, the validated) service
-
delete
-
delete
Deletes an Equinix Internet Access v2 service, optionally in validate-only mode.Per the
deleteEquinixInternetAccessspec,dryRunis an optional boolean query parameter with no default: "Setting this parameter to true will perform only request validation without actually deleting the service". WhendryRunisfalsethe parameter is omitted from the request entirely. The 202 response carries no body.- Parameters:
serviceId- the unique identifier of the service to deletedryRun- iftrue, sendsdryRun=trueso the request is only validated and the service is not deleted; iffalse, the parameter is omitted- Returns:
trueif the (deletion or validation) request was accepted
-
search
Searches for Equinix Internet Access v2 services matching the specified filter criteria.- Parameters:
searchRequest- the search filter criteria- Returns:
- a paginated, filtered list of matching services
-