Class DnsSvcs
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.BaseService
-
- com.ibm.cloud.networking.dns_svcs.v1.DnsSvcs
-
public class DnsSvcs extends com.ibm.cloud.sdk.core.service.BaseService
DNS Services API.- Version:
- v1
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_SERVICE_NAME
static String
DEFAULT_SERVICE_URL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.ibm.cloud.sdk.core.http.ServiceCall<Location>
addCustomResolverLocation(AddCustomResolverLocationOptions addCustomResolverLocationOptions)
Add custom resolver location.com.ibm.cloud.sdk.core.http.ServiceCall<CustomResolver>
createCustomResolver(CreateCustomResolverOptions createCustomResolverOptions)
Create a custom resolver.com.ibm.cloud.sdk.core.http.ServiceCall<Dnszone>
createDnszone(CreateDnszoneOptions createDnszoneOptions)
Create a DNS zone.com.ibm.cloud.sdk.core.http.ServiceCall<ForwardingRule>
createForwardingRule(CreateForwardingRuleOptions createForwardingRuleOptions)
Create a forwarding rule.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancer>
createLoadBalancer(CreateLoadBalancerOptions createLoadBalancerOptions)
Create a load balancer.com.ibm.cloud.sdk.core.http.ServiceCall<Monitor>
createMonitor(CreateMonitorOptions createMonitorOptions)
Create a load balancer monitor.com.ibm.cloud.sdk.core.http.ServiceCall<PermittedNetwork>
createPermittedNetwork(CreatePermittedNetworkOptions createPermittedNetworkOptions)
Create a permitted network.com.ibm.cloud.sdk.core.http.ServiceCall<Pool>
createPool(CreatePoolOptions createPoolOptions)
Create a load balancer pool.com.ibm.cloud.sdk.core.http.ServiceCall<ResourceRecord>
createResourceRecord(CreateResourceRecordOptions createResourceRecordOptions)
Create a resource record.com.ibm.cloud.sdk.core.http.ServiceCall<Void>
deleteCustomResolver(DeleteCustomResolverOptions deleteCustomResolverOptions)
Delete a custom resolver.com.ibm.cloud.sdk.core.http.ServiceCall<Void>
deleteCustomResolverLocation(DeleteCustomResolverLocationOptions deleteCustomResolverLocationOptions)
Delete custom resolver location.com.ibm.cloud.sdk.core.http.ServiceCall<Void>
deleteDnszone(DeleteDnszoneOptions deleteDnszoneOptions)
Delete a DNS zone.com.ibm.cloud.sdk.core.http.ServiceCall<Void>
deleteForwardingRule(DeleteForwardingRuleOptions deleteForwardingRuleOptions)
Delete a forwarding rule.com.ibm.cloud.sdk.core.http.ServiceCall<Void>
deleteLoadBalancer(DeleteLoadBalancerOptions deleteLoadBalancerOptions)
Delete a load balancer.com.ibm.cloud.sdk.core.http.ServiceCall<Void>
deleteMonitor(DeleteMonitorOptions deleteMonitorOptions)
Delete a load balancer monitor.com.ibm.cloud.sdk.core.http.ServiceCall<PermittedNetwork>
deletePermittedNetwork(DeletePermittedNetworkOptions deletePermittedNetworkOptions)
Remove a permitted network.com.ibm.cloud.sdk.core.http.ServiceCall<Void>
deletePool(DeletePoolOptions deletePoolOptions)
Delete a load balancer pool.com.ibm.cloud.sdk.core.http.ServiceCall<Void>
deleteResourceRecord(DeleteResourceRecordOptions deleteResourceRecordOptions)
Delete a resource record.com.ibm.cloud.sdk.core.http.ServiceCall<InputStream>
exportResourceRecords(ExportResourceRecordsOptions exportResourceRecordsOptions)
Export resource records to a zone file.com.ibm.cloud.sdk.core.http.ServiceCall<CustomResolver>
getCustomResolver(GetCustomResolverOptions getCustomResolverOptions)
Get a custom resolver.com.ibm.cloud.sdk.core.http.ServiceCall<Dnszone>
getDnszone(GetDnszoneOptions getDnszoneOptions)
Get a DNS zone.com.ibm.cloud.sdk.core.http.ServiceCall<ForwardingRule>
getForwardingRule(GetForwardingRuleOptions getForwardingRuleOptions)
Get a forwarding rule.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancer>
getLoadBalancer(GetLoadBalancerOptions getLoadBalancerOptions)
Get a load balancer.com.ibm.cloud.sdk.core.http.ServiceCall<Monitor>
getMonitor(GetMonitorOptions getMonitorOptions)
Get a load balancer monitor.com.ibm.cloud.sdk.core.http.ServiceCall<PermittedNetwork>
getPermittedNetwork(GetPermittedNetworkOptions getPermittedNetworkOptions)
Get a permitted network.com.ibm.cloud.sdk.core.http.ServiceCall<Pool>
getPool(GetPoolOptions getPoolOptions)
Get a load balancer pool.com.ibm.cloud.sdk.core.http.ServiceCall<ResourceRecord>
getResourceRecord(GetResourceRecordOptions getResourceRecordOptions)
Get a resource record.com.ibm.cloud.sdk.core.http.ServiceCall<ImportResourceRecordsResp>
importResourceRecords(ImportResourceRecordsOptions importResourceRecordsOptions)
Import resource records from a zone file.com.ibm.cloud.sdk.core.http.ServiceCall<CustomResolverList>
listCustomResolvers(ListCustomResolversOptions listCustomResolversOptions)
List custom resolvers.com.ibm.cloud.sdk.core.http.ServiceCall<ListDnszones>
listDnszones(ListDnszonesOptions listDnszonesOptions)
List DNS zones.com.ibm.cloud.sdk.core.http.ServiceCall<ForwardingRuleList>
listForwardingRules(ListForwardingRulesOptions listForwardingRulesOptions)
List forwarding rules.com.ibm.cloud.sdk.core.http.ServiceCall<ListLoadBalancers>
listLoadBalancers(ListLoadBalancersOptions listLoadBalancersOptions)
List load balancers.com.ibm.cloud.sdk.core.http.ServiceCall<ListMonitors>
listMonitors(ListMonitorsOptions listMonitorsOptions)
List load balancer monitors.com.ibm.cloud.sdk.core.http.ServiceCall<ListPermittedNetworks>
listPermittedNetworks(ListPermittedNetworksOptions listPermittedNetworksOptions)
List permitted networks.com.ibm.cloud.sdk.core.http.ServiceCall<ListPools>
listPools(ListPoolsOptions listPoolsOptions)
List load balancer pools.com.ibm.cloud.sdk.core.http.ServiceCall<ListResourceRecords>
listResourceRecords(ListResourceRecordsOptions listResourceRecordsOptions)
List Resource Records.static DnsSvcs
newInstance()
Class method which constructs an instance of the `DnsSvcs` client.static DnsSvcs
newInstance(String serviceName)
Class method which constructs an instance of the `DnsSvcs` client.com.ibm.cloud.sdk.core.http.ServiceCall<CustomResolver>
updateCustomResolver(UpdateCustomResolverOptions updateCustomResolverOptions)
Update the properties of a custom resolver.com.ibm.cloud.sdk.core.http.ServiceCall<Location>
updateCustomResolverLocation(UpdateCustomResolverLocationOptions updateCustomResolverLocationOptions)
Update custom resolver location.com.ibm.cloud.sdk.core.http.ServiceCall<Dnszone>
updateDnszone(UpdateDnszoneOptions updateDnszoneOptions)
Update the properties of a DNS zone.com.ibm.cloud.sdk.core.http.ServiceCall<ForwardingRule>
updateForwardingRule(UpdateForwardingRuleOptions updateForwardingRuleOptions)
Update the properties of a forwarding rule.com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancer>
updateLoadBalancer(UpdateLoadBalancerOptions updateLoadBalancerOptions)
Update the properties of a load balancer.com.ibm.cloud.sdk.core.http.ServiceCall<Monitor>
updateMonitor(UpdateMonitorOptions updateMonitorOptions)
Update the properties of a load balancer monitor.com.ibm.cloud.sdk.core.http.ServiceCall<Pool>
updatePool(UpdatePoolOptions updatePoolOptions)
Update the properties of a load balancer pool.com.ibm.cloud.sdk.core.http.ServiceCall<ResourceRecord>
updateResourceRecord(UpdateResourceRecordOptions updateResourceRecordOptions)
Update the properties of a resource record.-
Methods inherited from class com.ibm.cloud.sdk.core.service.BaseService
configureClient, configureService, constructServiceUrl, constructServiceURL, disableRetries, enableGzipCompression, enableRetries, getAuthenticator, getClient, getDefaultHeaders, getEndPoint, getName, getServiceUrl, isJsonMimeType, isJsonPatchMimeType, setClient, setDefaultHeaders, setEndPoint, setServiceUrl, toString
-
-
-
-
Field Detail
-
DEFAULT_SERVICE_NAME
public static final String DEFAULT_SERVICE_NAME
- See Also:
- Constant Field Values
-
DEFAULT_SERVICE_URL
public static final String DEFAULT_SERVICE_URL
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DnsSvcs
public DnsSvcs(String serviceName, com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Constructs an instance of the `DnsSvcs` client. The specified service name and authenticator are used to configure the client instance.- Parameters:
serviceName
- the service name to be used when configuring the client instanceauthenticator
- theAuthenticator
instance to be configured for this client
-
-
Method Detail
-
newInstance
public static DnsSvcs newInstance()
Class method which constructs an instance of the `DnsSvcs` client. The default service name is used to configure the client instance.- Returns:
- an instance of the `DnsSvcs` client using external configuration
-
newInstance
public static DnsSvcs newInstance(String serviceName)
Class method which constructs an instance of the `DnsSvcs` client. The specified service name is used to configure the client instance.- Parameters:
serviceName
- the service name to be used when configuring the client instance- Returns:
- an instance of the `DnsSvcs` client using external configuration
-
listDnszones
public com.ibm.cloud.sdk.core.http.ServiceCall<ListDnszones> listDnszones(ListDnszonesOptions listDnszonesOptions)
List DNS zones. List the DNS zones for a given service instance.- Parameters:
listDnszonesOptions
- theListDnszonesOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeListDnszones
-
createDnszone
public com.ibm.cloud.sdk.core.http.ServiceCall<Dnszone> createDnszone(CreateDnszoneOptions createDnszoneOptions)
Create a DNS zone. Create a DNS zone for a given service instance.- Parameters:
createDnszoneOptions
- theCreateDnszoneOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeDnszone
-
deleteDnszone
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteDnszone(DeleteDnszoneOptions deleteDnszoneOptions)
Delete a DNS zone. Delete a DNS zone.- Parameters:
deleteDnszoneOptions
- theDeleteDnszoneOptions
containing the options for the call- Returns:
- a
ServiceCall
with a void result
-
getDnszone
public com.ibm.cloud.sdk.core.http.ServiceCall<Dnszone> getDnszone(GetDnszoneOptions getDnszoneOptions)
Get a DNS zone. Get details of a DNS zone.- Parameters:
getDnszoneOptions
- theGetDnszoneOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeDnszone
-
updateDnszone
public com.ibm.cloud.sdk.core.http.ServiceCall<Dnszone> updateDnszone(UpdateDnszoneOptions updateDnszoneOptions)
Update the properties of a DNS zone. Update the properties of a DNS zone.- Parameters:
updateDnszoneOptions
- theUpdateDnszoneOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeDnszone
-
listResourceRecords
public com.ibm.cloud.sdk.core.http.ServiceCall<ListResourceRecords> listResourceRecords(ListResourceRecordsOptions listResourceRecordsOptions)
List Resource Records. List the Resource Records for a given DNS zone.- Parameters:
listResourceRecordsOptions
- theListResourceRecordsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeListResourceRecords
-
createResourceRecord
public com.ibm.cloud.sdk.core.http.ServiceCall<ResourceRecord> createResourceRecord(CreateResourceRecordOptions createResourceRecordOptions)
Create a resource record. Create a resource record for a given DNS zone.- Parameters:
createResourceRecordOptions
- theCreateResourceRecordOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeResourceRecord
-
deleteResourceRecord
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteResourceRecord(DeleteResourceRecordOptions deleteResourceRecordOptions)
Delete a resource record. Delete a resource record.- Parameters:
deleteResourceRecordOptions
- theDeleteResourceRecordOptions
containing the options for the call- Returns:
- a
ServiceCall
with a void result
-
getResourceRecord
public com.ibm.cloud.sdk.core.http.ServiceCall<ResourceRecord> getResourceRecord(GetResourceRecordOptions getResourceRecordOptions)
Get a resource record. Get details of a resource record.- Parameters:
getResourceRecordOptions
- theGetResourceRecordOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeResourceRecord
-
updateResourceRecord
public com.ibm.cloud.sdk.core.http.ServiceCall<ResourceRecord> updateResourceRecord(UpdateResourceRecordOptions updateResourceRecordOptions)
Update the properties of a resource record. Update the properties of a resource record.- Parameters:
updateResourceRecordOptions
- theUpdateResourceRecordOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeResourceRecord
-
exportResourceRecords
public com.ibm.cloud.sdk.core.http.ServiceCall<InputStream> exportResourceRecords(ExportResourceRecordsOptions exportResourceRecordsOptions)
Export resource records to a zone file. Export resource records to a zone file.- Parameters:
exportResourceRecordsOptions
- theExportResourceRecordsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeInputStream
-
importResourceRecords
public com.ibm.cloud.sdk.core.http.ServiceCall<ImportResourceRecordsResp> importResourceRecords(ImportResourceRecordsOptions importResourceRecordsOptions)
Import resource records from a zone file. Import resource records from a zone file.- Parameters:
importResourceRecordsOptions
- theImportResourceRecordsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeImportResourceRecordsResp
-
listPermittedNetworks
public com.ibm.cloud.sdk.core.http.ServiceCall<ListPermittedNetworks> listPermittedNetworks(ListPermittedNetworksOptions listPermittedNetworksOptions)
List permitted networks. List the permitted networks for a given DNS zone.- Parameters:
listPermittedNetworksOptions
- theListPermittedNetworksOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeListPermittedNetworks
-
createPermittedNetwork
public com.ibm.cloud.sdk.core.http.ServiceCall<PermittedNetwork> createPermittedNetwork(CreatePermittedNetworkOptions createPermittedNetworkOptions)
Create a permitted network. Create a permitted network for a given DNS zone.- Parameters:
createPermittedNetworkOptions
- theCreatePermittedNetworkOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typePermittedNetwork
-
deletePermittedNetwork
public com.ibm.cloud.sdk.core.http.ServiceCall<PermittedNetwork> deletePermittedNetwork(DeletePermittedNetworkOptions deletePermittedNetworkOptions)
Remove a permitted network. Remove a permitted network.- Parameters:
deletePermittedNetworkOptions
- theDeletePermittedNetworkOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typePermittedNetwork
-
getPermittedNetwork
public com.ibm.cloud.sdk.core.http.ServiceCall<PermittedNetwork> getPermittedNetwork(GetPermittedNetworkOptions getPermittedNetworkOptions)
Get a permitted network. Get details of a permitted network.- Parameters:
getPermittedNetworkOptions
- theGetPermittedNetworkOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typePermittedNetwork
-
listLoadBalancers
public com.ibm.cloud.sdk.core.http.ServiceCall<ListLoadBalancers> listLoadBalancers(ListLoadBalancersOptions listLoadBalancersOptions)
List load balancers. List the Global Load Balancers for a given DNS zone.- Parameters:
listLoadBalancersOptions
- theListLoadBalancersOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeListLoadBalancers
-
createLoadBalancer
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancer> createLoadBalancer(CreateLoadBalancerOptions createLoadBalancerOptions)
Create a load balancer. Create a load balancer for a given DNS zone.- Parameters:
createLoadBalancerOptions
- theCreateLoadBalancerOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeLoadBalancer
-
deleteLoadBalancer
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteLoadBalancer(DeleteLoadBalancerOptions deleteLoadBalancerOptions)
Delete a load balancer. Delete a load balancer.- Parameters:
deleteLoadBalancerOptions
- theDeleteLoadBalancerOptions
containing the options for the call- Returns:
- a
ServiceCall
with a void result
-
getLoadBalancer
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancer> getLoadBalancer(GetLoadBalancerOptions getLoadBalancerOptions)
Get a load balancer. Get details of a load balancer.- Parameters:
getLoadBalancerOptions
- theGetLoadBalancerOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeLoadBalancer
-
updateLoadBalancer
public com.ibm.cloud.sdk.core.http.ServiceCall<LoadBalancer> updateLoadBalancer(UpdateLoadBalancerOptions updateLoadBalancerOptions)
Update the properties of a load balancer. Update the properties of a load balancer.- Parameters:
updateLoadBalancerOptions
- theUpdateLoadBalancerOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeLoadBalancer
-
listPools
public com.ibm.cloud.sdk.core.http.ServiceCall<ListPools> listPools(ListPoolsOptions listPoolsOptions)
List load balancer pools. List the load balancer pools.- Parameters:
listPoolsOptions
- theListPoolsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeListPools
-
createPool
public com.ibm.cloud.sdk.core.http.ServiceCall<Pool> createPool(CreatePoolOptions createPoolOptions)
Create a load balancer pool. Create a load balancer pool.- Parameters:
createPoolOptions
- theCreatePoolOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typePool
-
deletePool
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deletePool(DeletePoolOptions deletePoolOptions)
Delete a load balancer pool. Delete a load balancer pool.- Parameters:
deletePoolOptions
- theDeletePoolOptions
containing the options for the call- Returns:
- a
ServiceCall
with a void result
-
getPool
public com.ibm.cloud.sdk.core.http.ServiceCall<Pool> getPool(GetPoolOptions getPoolOptions)
Get a load balancer pool. Get details of a load balancer pool.- Parameters:
getPoolOptions
- theGetPoolOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typePool
-
updatePool
public com.ibm.cloud.sdk.core.http.ServiceCall<Pool> updatePool(UpdatePoolOptions updatePoolOptions)
Update the properties of a load balancer pool. Update the properties of a load balancer pool.- Parameters:
updatePoolOptions
- theUpdatePoolOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typePool
-
listMonitors
public com.ibm.cloud.sdk.core.http.ServiceCall<ListMonitors> listMonitors(ListMonitorsOptions listMonitorsOptions)
List load balancer monitors. List the load balancer monitors.- Parameters:
listMonitorsOptions
- theListMonitorsOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeListMonitors
-
createMonitor
public com.ibm.cloud.sdk.core.http.ServiceCall<Monitor> createMonitor(CreateMonitorOptions createMonitorOptions)
Create a load balancer monitor. Create a load balancer monitor.- Parameters:
createMonitorOptions
- theCreateMonitorOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeMonitor
-
deleteMonitor
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteMonitor(DeleteMonitorOptions deleteMonitorOptions)
Delete a load balancer monitor. Delete a load balancer monitor.- Parameters:
deleteMonitorOptions
- theDeleteMonitorOptions
containing the options for the call- Returns:
- a
ServiceCall
with a void result
-
getMonitor
public com.ibm.cloud.sdk.core.http.ServiceCall<Monitor> getMonitor(GetMonitorOptions getMonitorOptions)
Get a load balancer monitor. Get details of a load balancer monitor.- Parameters:
getMonitorOptions
- theGetMonitorOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeMonitor
-
updateMonitor
public com.ibm.cloud.sdk.core.http.ServiceCall<Monitor> updateMonitor(UpdateMonitorOptions updateMonitorOptions)
Update the properties of a load balancer monitor. Update the properties of a load balancer monitor.- Parameters:
updateMonitorOptions
- theUpdateMonitorOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeMonitor
-
listCustomResolvers
public com.ibm.cloud.sdk.core.http.ServiceCall<CustomResolverList> listCustomResolvers(ListCustomResolversOptions listCustomResolversOptions)
List custom resolvers. List the custom resolvers.- Parameters:
listCustomResolversOptions
- theListCustomResolversOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeCustomResolverList
-
createCustomResolver
public com.ibm.cloud.sdk.core.http.ServiceCall<CustomResolver> createCustomResolver(CreateCustomResolverOptions createCustomResolverOptions)
Create a custom resolver. Create a custom resolver.- Parameters:
createCustomResolverOptions
- theCreateCustomResolverOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeCustomResolver
-
deleteCustomResolver
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteCustomResolver(DeleteCustomResolverOptions deleteCustomResolverOptions)
Delete a custom resolver. Delete a custom resolver.- Parameters:
deleteCustomResolverOptions
- theDeleteCustomResolverOptions
containing the options for the call- Returns:
- a
ServiceCall
with a void result
-
getCustomResolver
public com.ibm.cloud.sdk.core.http.ServiceCall<CustomResolver> getCustomResolver(GetCustomResolverOptions getCustomResolverOptions)
Get a custom resolver. Get details of a custom resolver.- Parameters:
getCustomResolverOptions
- theGetCustomResolverOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeCustomResolver
-
updateCustomResolver
public com.ibm.cloud.sdk.core.http.ServiceCall<CustomResolver> updateCustomResolver(UpdateCustomResolverOptions updateCustomResolverOptions)
Update the properties of a custom resolver. Update the properties of a custom resolver.- Parameters:
updateCustomResolverOptions
- theUpdateCustomResolverOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeCustomResolver
-
addCustomResolverLocation
public com.ibm.cloud.sdk.core.http.ServiceCall<Location> addCustomResolverLocation(AddCustomResolverLocationOptions addCustomResolverLocationOptions)
Add custom resolver location. Add custom resolver location.- Parameters:
addCustomResolverLocationOptions
- theAddCustomResolverLocationOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeLocation
-
updateCustomResolverLocation
public com.ibm.cloud.sdk.core.http.ServiceCall<Location> updateCustomResolverLocation(UpdateCustomResolverLocationOptions updateCustomResolverLocationOptions)
Update custom resolver location. Update custom resolver location.- Parameters:
updateCustomResolverLocationOptions
- theUpdateCustomResolverLocationOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeLocation
-
deleteCustomResolverLocation
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteCustomResolverLocation(DeleteCustomResolverLocationOptions deleteCustomResolverLocationOptions)
Delete custom resolver location. Delete custom resolver location.- Parameters:
deleteCustomResolverLocationOptions
- theDeleteCustomResolverLocationOptions
containing the options for the call- Returns:
- a
ServiceCall
with a void result
-
listForwardingRules
public com.ibm.cloud.sdk.core.http.ServiceCall<ForwardingRuleList> listForwardingRules(ListForwardingRulesOptions listForwardingRulesOptions)
List forwarding rules. List the forwarding rules of the given custom resolver.- Parameters:
listForwardingRulesOptions
- theListForwardingRulesOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeForwardingRuleList
-
createForwardingRule
public com.ibm.cloud.sdk.core.http.ServiceCall<ForwardingRule> createForwardingRule(CreateForwardingRuleOptions createForwardingRuleOptions)
Create a forwarding rule. Create a forwarding rule for the given custom resolver.- Parameters:
createForwardingRuleOptions
- theCreateForwardingRuleOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeForwardingRule
-
deleteForwardingRule
public com.ibm.cloud.sdk.core.http.ServiceCall<Void> deleteForwardingRule(DeleteForwardingRuleOptions deleteForwardingRuleOptions)
Delete a forwarding rule. Delete a forwarding rule on the given custom resolver.- Parameters:
deleteForwardingRuleOptions
- theDeleteForwardingRuleOptions
containing the options for the call- Returns:
- a
ServiceCall
with a void result
-
getForwardingRule
public com.ibm.cloud.sdk.core.http.ServiceCall<ForwardingRule> getForwardingRule(GetForwardingRuleOptions getForwardingRuleOptions)
Get a forwarding rule. Get details of a forwarding rule on the given custom resolver.- Parameters:
getForwardingRuleOptions
- theGetForwardingRuleOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeForwardingRule
-
updateForwardingRule
public com.ibm.cloud.sdk.core.http.ServiceCall<ForwardingRule> updateForwardingRule(UpdateForwardingRuleOptions updateForwardingRuleOptions)
Update the properties of a forwarding rule. Update the properties of a forwarding rule on the given custom resolver.- Parameters:
updateForwardingRuleOptions
- theUpdateForwardingRuleOptions
containing the options for the call- Returns:
- a
ServiceCall
with a result of typeForwardingRule
-
-