public class ContextBasedRestrictions
extends com.ibm.cloud.sdk.core.service.BaseService
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_SERVICE_NAME |
static java.lang.String |
DEFAULT_SERVICE_URL |
| Constructor and Description |
|---|
ContextBasedRestrictions(java.lang.String serviceName,
com.ibm.cloud.sdk.core.security.Authenticator authenticator)
Constructs an instance of the `ContextBasedRestrictions` client.
|
| Modifier and Type | Method and Description |
|---|---|
com.ibm.cloud.sdk.core.http.ServiceCall<Rule> |
createRule()
Create a rule.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Rule> |
createRule(CreateRuleOptions createRuleOptions)
Create a rule.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Zone> |
createZone()
Create a network zone.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Zone> |
createZone(CreateZoneOptions createZoneOptions)
Create a network zone.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
deleteRule(DeleteRuleOptions deleteRuleOptions)
Delete a rule.
|
com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> |
deleteZone(DeleteZoneOptions deleteZoneOptions)
Delete a network zone.
|
com.ibm.cloud.sdk.core.http.ServiceCall<AccountSettings> |
getAccountSettings(GetAccountSettingsOptions getAccountSettingsOptions)
Get account settings.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Rule> |
getRule(GetRuleOptions getRuleOptions)
Get a rule.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Zone> |
getZone(GetZoneOptions getZoneOptions)
Get a network zone.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ServiceRefTargetList> |
listAvailableServicerefTargets()
List available service reference targets.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ServiceRefTargetList> |
listAvailableServicerefTargets(ListAvailableServicerefTargetsOptions listAvailableServicerefTargetsOptions)
List available service reference targets.
|
com.ibm.cloud.sdk.core.http.ServiceCall<RuleList> |
listRules(ListRulesOptions listRulesOptions)
List rules.
|
com.ibm.cloud.sdk.core.http.ServiceCall<ZoneList> |
listZones(ListZonesOptions listZonesOptions)
List network zones.
|
static ContextBasedRestrictions |
newInstance()
Class method which constructs an instance of the `ContextBasedRestrictions` client.
|
static ContextBasedRestrictions |
newInstance(java.lang.String serviceName)
Class method which constructs an instance of the `ContextBasedRestrictions` client.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Rule> |
replaceRule(ReplaceRuleOptions replaceRuleOptions)
Replace a rule.
|
com.ibm.cloud.sdk.core.http.ServiceCall<Zone> |
replaceZone(ReplaceZoneOptions replaceZoneOptions)
Replace a network zone.
|
configureClient, configureService, constructServiceUrl, constructServiceURL, disableRetries, enableGzipCompression, enableRetries, getAuthenticator, getClient, getDefaultHeaders, getEndPoint, getName, getServiceUrl, isJsonMimeType, isJsonPatchMimeType, setClient, setDefaultHeaders, setEndPoint, setServiceUrl, toStringpublic static final java.lang.String DEFAULT_SERVICE_NAME
public static final java.lang.String DEFAULT_SERVICE_URL
public ContextBasedRestrictions(java.lang.String serviceName,
com.ibm.cloud.sdk.core.security.Authenticator authenticator)
serviceName - the service name to be used when configuring the client instanceauthenticator - the Authenticator instance to be configured for this clientpublic static ContextBasedRestrictions newInstance()
public static ContextBasedRestrictions newInstance(java.lang.String serviceName)
serviceName - the service name to be used when configuring the client instancepublic com.ibm.cloud.sdk.core.http.ServiceCall<Zone> createZone(CreateZoneOptions createZoneOptions)
createZoneOptions - the CreateZoneOptions containing the options for the callServiceCall with a result of type Zonepublic com.ibm.cloud.sdk.core.http.ServiceCall<Zone> createZone()
ServiceCall with a result of type Zonepublic com.ibm.cloud.sdk.core.http.ServiceCall<ZoneList> listZones(ListZonesOptions listZonesOptions)
listZonesOptions - the ListZonesOptions containing the options for the callServiceCall with a result of type ZoneListpublic com.ibm.cloud.sdk.core.http.ServiceCall<Zone> getZone(GetZoneOptions getZoneOptions)
getZoneOptions - the GetZoneOptions containing the options for the callServiceCall with a result of type Zonepublic com.ibm.cloud.sdk.core.http.ServiceCall<Zone> replaceZone(ReplaceZoneOptions replaceZoneOptions)
replaceZoneOptions - the ReplaceZoneOptions containing the options for the callServiceCall with a result of type Zonepublic com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteZone(DeleteZoneOptions deleteZoneOptions)
deleteZoneOptions - the DeleteZoneOptions containing the options for the callServiceCall with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<ServiceRefTargetList> listAvailableServicerefTargets(ListAvailableServicerefTargetsOptions listAvailableServicerefTargetsOptions)
listAvailableServicerefTargetsOptions - the ListAvailableServicerefTargetsOptions containing the options for the callServiceCall with a result of type ServiceRefTargetListpublic com.ibm.cloud.sdk.core.http.ServiceCall<ServiceRefTargetList> listAvailableServicerefTargets()
ServiceCall with a result of type ServiceRefTargetListpublic com.ibm.cloud.sdk.core.http.ServiceCall<Rule> createRule(CreateRuleOptions createRuleOptions)
createRuleOptions - the CreateRuleOptions containing the options for the callServiceCall with a result of type Rulepublic com.ibm.cloud.sdk.core.http.ServiceCall<Rule> createRule()
ServiceCall with a result of type Rulepublic com.ibm.cloud.sdk.core.http.ServiceCall<RuleList> listRules(ListRulesOptions listRulesOptions)
listRulesOptions - the ListRulesOptions containing the options for the callServiceCall with a result of type RuleListpublic com.ibm.cloud.sdk.core.http.ServiceCall<Rule> getRule(GetRuleOptions getRuleOptions)
getRuleOptions - the GetRuleOptions containing the options for the callServiceCall with a result of type Rulepublic com.ibm.cloud.sdk.core.http.ServiceCall<Rule> replaceRule(ReplaceRuleOptions replaceRuleOptions)
replaceRuleOptions - the ReplaceRuleOptions containing the options for the callServiceCall with a result of type Rulepublic com.ibm.cloud.sdk.core.http.ServiceCall<java.lang.Void> deleteRule(DeleteRuleOptions deleteRuleOptions)
deleteRuleOptions - the DeleteRuleOptions containing the options for the callServiceCall with a void resultpublic com.ibm.cloud.sdk.core.http.ServiceCall<AccountSettings> getAccountSettings(GetAccountSettingsOptions getAccountSettingsOptions)
getAccountSettingsOptions - the GetAccountSettingsOptions containing the options for the callServiceCall with a result of type AccountSettingsCopyright © 2022 IBM Cloud Platform Services. All rights reserved.