@Generated(value="OracleSDKGenerator", comments="API Version: 20180115") public class DnsClient extends Object implements Dns
| Modifier and Type | Class and Description |
|---|---|
static class |
DnsClient.Builder
Builder class for this client.
|
| Modifier and Type | Field and Description |
|---|---|
static Service |
SERVICE
Service instance for Dns.
|
| Modifier | Constructor and Description |
|---|---|
|
DnsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Creates a new service instance using the given authentication provider and client configuration.
|
|
DnsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Creates a new service instance using the given authentication provider and client configuration.
|
|
DnsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Creates a new service instance using the given authentication provider and client configuration.
|
|
DnsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Creates a new service instance using the given authentication provider and client configuration.
|
|
DnsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint,
ExecutorService executorService)
Creates a new service instance using the given authentication provider and client configuration.
|
protected |
DnsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint,
ExecutorService executorService,
com.oracle.bmc.http.internal.RestClientFactoryBuilder restClientFactoryBuilder)
Creates a new service instance using the given authentication provider and client configuration.
|
|
DnsClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Creates a new service instance using the given authentication provider.
|
|
DnsClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Creates a new service instance using the given authentication provider and client configuration.
|
|
DnsClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Creates a new service instance using the given authentication provider and client configuration.
|
| Modifier and Type | Method and Description |
|---|---|
static DnsClient.Builder |
builder()
Create a builder for this client.
|
ChangeResolverCompartmentResponse |
changeResolverCompartment(ChangeResolverCompartmentRequest request)
Moves a resolver into a different compartment along with its protected default view and any endpoints.
|
ChangeSteeringPolicyCompartmentResponse |
changeSteeringPolicyCompartment(ChangeSteeringPolicyCompartmentRequest request)
Moves a steering policy into a different compartment.
|
ChangeTsigKeyCompartmentResponse |
changeTsigKeyCompartment(ChangeTsigKeyCompartmentRequest request)
Moves a TSIG key into a different compartment.
|
ChangeViewCompartmentResponse |
changeViewCompartment(ChangeViewCompartmentRequest request)
Moves a view into a different compartment.
|
ChangeZoneCompartmentResponse |
changeZoneCompartment(ChangeZoneCompartmentRequest request)
Moves a zone into a different compartment.
|
void |
close() |
CreateResolverEndpointResponse |
createResolverEndpoint(CreateResolverEndpointRequest request)
Creates a new resolver endpoint.
|
CreateSteeringPolicyResponse |
createSteeringPolicy(CreateSteeringPolicyRequest request)
Creates a new steering policy in the specified compartment.
|
CreateSteeringPolicyAttachmentResponse |
createSteeringPolicyAttachment(CreateSteeringPolicyAttachmentRequest request)
Creates a new attachment between a steering policy and a domain, giving the
policy permission to answer queries for the specified domain.
|
CreateTsigKeyResponse |
createTsigKey(CreateTsigKeyRequest request)
Creates a new TSIG key in the specified compartment.
|
CreateViewResponse |
createView(CreateViewRequest request)
Creates a new view in the specified compartment.
|
CreateZoneResponse |
createZone(CreateZoneRequest request)
Creates a new zone in the specified compartment.
|
DeleteDomainRecordsResponse |
deleteDomainRecords(DeleteDomainRecordsRequest request)
Deletes all records at the specified zone and domain.
|
DeleteResolverEndpointResponse |
deleteResolverEndpoint(DeleteResolverEndpointRequest request)
Deletes the specified resolver endpoint.
|
DeleteRRSetResponse |
deleteRRSet(DeleteRRSetRequest request)
Deletes all records in the specified RRSet.
|
DeleteSteeringPolicyResponse |
deleteSteeringPolicy(DeleteSteeringPolicyRequest request)
Deletes the specified steering policy.
|
DeleteSteeringPolicyAttachmentResponse |
deleteSteeringPolicyAttachment(DeleteSteeringPolicyAttachmentRequest request)
Deletes the specified steering policy attachment.
|
DeleteTsigKeyResponse |
deleteTsigKey(DeleteTsigKeyRequest request)
Deletes the specified TSIG key.
|
DeleteViewResponse |
deleteView(DeleteViewRequest request)
Deletes the specified view.
|
DeleteZoneResponse |
deleteZone(DeleteZoneRequest request)
Deletes the specified zone and all its steering policy attachments.
|
GetDomainRecordsResponse |
getDomainRecords(GetDomainRecordsRequest request)
Gets a list of all records at the specified zone and domain.
|
String |
getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
|
DnsPaginators |
getPaginators()
Gets the pre-configured paginators available for list operations in this service which may return multiple
pages of data.
|
GetResolverResponse |
getResolver(GetResolverRequest request)
Get information about a specific resolver.
|
GetResolverEndpointResponse |
getResolverEndpoint(GetResolverEndpointRequest request)
Get information about a specific resolver endpoint.
|
GetRRSetResponse |
getRRSet(GetRRSetRequest request)
Gets a list of all records in the specified RRSet.
|
GetSteeringPolicyResponse |
getSteeringPolicy(GetSteeringPolicyRequest request)
Gets information about the specified steering policy.
|
GetSteeringPolicyAttachmentResponse |
getSteeringPolicyAttachment(GetSteeringPolicyAttachmentRequest request)
Gets information about the specified steering policy attachment.
|
GetTsigKeyResponse |
getTsigKey(GetTsigKeyRequest request)
Gets information about the specified TSIG key.
|
GetViewResponse |
getView(GetViewRequest request)
Get information about a specific view.
|
DnsWaiters |
getWaiters()
Gets the pre-configured waiters available for resources for this service.
|
GetZoneResponse |
getZone(GetZoneRequest request)
Gets information about the specified zone, including its creation date,
zone type, and serial.
|
GetZoneRecordsResponse |
getZoneRecords(GetZoneRecordsRequest request)
Gets all records in the specified zone.
|
ListResolverEndpointsResponse |
listResolverEndpoints(ListResolverEndpointsRequest request)
Gets a list of all endpoints within a resolver.
|
ListResolversResponse |
listResolvers(ListResolversRequest request)
Gets a list of all resolvers within a compartment.
|
ListSteeringPoliciesResponse |
listSteeringPolicies(ListSteeringPoliciesRequest request)
Gets a list of all steering policies in the specified compartment.
|
ListSteeringPolicyAttachmentsResponse |
listSteeringPolicyAttachments(ListSteeringPolicyAttachmentsRequest request)
Lists the steering policy attachments in the specified compartment.
|
ListTsigKeysResponse |
listTsigKeys(ListTsigKeysRequest request)
Gets a list of all TSIG keys in the specified compartment.
|
ListViewsResponse |
listViews(ListViewsRequest request)
Gets a list of all views within a compartment.
|
ListZonesResponse |
listZones(ListZonesRequest request)
Gets a list of all zones in the specified compartment.
|
PatchDomainRecordsResponse |
patchDomainRecords(PatchDomainRecordsRequest request)
Updates records in the specified zone at a domain.
|
PatchRRSetResponse |
patchRRSet(PatchRRSetRequest request)
Updates records in the specified RRSet.
|
PatchZoneRecordsResponse |
patchZoneRecords(PatchZoneRecordsRequest request)
Updates a collection of records in the specified zone.
|
void |
setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
|
void |
setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).
|
void |
setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).
|
UpdateDomainRecordsResponse |
updateDomainRecords(UpdateDomainRecordsRequest request)
Replaces records in the specified zone at a domain with the records
specified in the request body.
|
UpdateResolverResponse |
updateResolver(UpdateResolverRequest request)
Updates the specified resolver with your new information.
|
UpdateResolverEndpointResponse |
updateResolverEndpoint(UpdateResolverEndpointRequest request)
Updates the specified resolver endpoint with your new information.
|
UpdateRRSetResponse |
updateRRSet(UpdateRRSetRequest request)
Replaces records in the specified RRSet.
|
UpdateSteeringPolicyResponse |
updateSteeringPolicy(UpdateSteeringPolicyRequest request)
Updates the configuration of the specified steering policy.
|
UpdateSteeringPolicyAttachmentResponse |
updateSteeringPolicyAttachment(UpdateSteeringPolicyAttachmentRequest request)
Updates the specified steering policy attachment with your new information.
|
UpdateTsigKeyResponse |
updateTsigKey(UpdateTsigKeyRequest request)
Updates the specified TSIG key.
|
UpdateViewResponse |
updateView(UpdateViewRequest request)
Updates the specified view with your new information.
|
UpdateZoneResponse |
updateZone(UpdateZoneRequest request)
Updates the specified secondary zone with your new external master
server information.
|
UpdateZoneRecordsResponse |
updateZoneRecords(UpdateZoneRecordsRequest request)
Replaces records in the specified zone with the records specified in the
request body.
|
public static final Service SERVICE
Service instance for Dns.
public DnsClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Creates a new service instance using the given authentication provider.
authenticationDetailsProvider - The authentication details provider, required.public DnsClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Creates a new service instance using the given authentication provider and client configuration.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.public DnsClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.public DnsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory - The request signer factory used to create the request signer for this service.public DnsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory - The request signer factory used to create the request signer for this service.additionalClientConfigurators - Additional client configurators to be run after the primary configurator.public DnsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory - The request signer factory used to create the request signer for this service.additionalClientConfigurators - Additional client configurators to be run after the primary configurator.endpoint - Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider)public DnsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory - The request signer factory used to create the request signer for this service.signingStrategyRequestSignerFactories - The request signer factories for each signing strategy used to create the request signeradditionalClientConfigurators - Additional client configurators to be run after the primary configurator.endpoint - Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider)public DnsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory - The request signer factory used to create the request signer for this service.signingStrategyRequestSignerFactories - The request signer factories for each signing strategy used to create the request signeradditionalClientConfigurators - Additional client configurators to be run after the primary configurator.endpoint - Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider)executorService - ExecutorService used by the client, or null to use the default configured ThreadPoolExecutorprotected DnsClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService, com.oracle.bmc.http.internal.RestClientFactoryBuilder restClientFactoryBuilder)
Creates a new service instance using the given authentication provider and client configuration. Additionally, a Consumer can be provided that will be invoked whenever a REST Client is created to allow for additional configuration/customization.
This is an advanced constructor for clients that want to take control over how requests are signed.
Use the DnsClient.Builder to get access to all these parameters.
authenticationDetailsProvider - The authentication details provider, required.configuration - The client configuration, optional.clientConfigurator - ClientConfigurator that will be invoked for additional configuration of a REST client, optional.defaultRequestSignerFactory - The request signer factory used to create the request signer for this service.signingStrategyRequestSignerFactories - The request signer factories for each signing strategy used to create the request signeradditionalClientConfigurators - Additional client configurators to be run after the primary configurator.endpoint - Endpoint, or null to leave unset (note, may be overridden by authenticationDetailsProvider)executorService - ExecutorService used by the client, or null to use the default configured ThreadPoolExecutorrestClientFactoryBuilder - the builder for the RestClientFactorypublic static DnsClient.Builder builder()
Create a builder for this client.
public void setEndpoint(String endpoint)
DnsSets the endpoint to call (ex, https://www.example.com).
setEndpoint in interface Dnsendpoint - The endpoint of the service.public String getEndpoint()
DnsGets the set endpoint for REST call (ex, https://www.example.com)
getEndpoint in interface Dnspublic void setRegion(Region region)
DnsSets the region to call (ex, Region.US_PHOENIX_1).
Note, this will call setEndpoint after resolving the endpoint. If the service is not available in this Region, however, an IllegalArgumentException will be raised.
public void setRegion(String regionId)
DnsSets the region to call (ex, ‘us-phoenix-1’).
Note, this will first try to map the region ID to a known Region and call
setRegion.
If no known Region could be determined, it will create an endpoint based on the
default endpoint format (Region.formatDefaultRegionEndpoint(Service, String)
and then call setEndpoint.
public void close()
close in interface AutoCloseablepublic ChangeResolverCompartmentResponse changeResolverCompartment(ChangeResolverCompartmentRequest request)
DnsMoves a resolver into a different compartment along with its protected default view and any endpoints. Zones in the default view are not moved.
changeResolverCompartment in interface Dnsrequest - The request object containing the details to sendpublic ChangeSteeringPolicyCompartmentResponse changeSteeringPolicyCompartment(ChangeSteeringPolicyCompartmentRequest request)
DnsMoves a steering policy into a different compartment.
changeSteeringPolicyCompartment in interface Dnsrequest - The request object containing the details to sendpublic ChangeTsigKeyCompartmentResponse changeTsigKeyCompartment(ChangeTsigKeyCompartmentRequest request)
DnsMoves a TSIG key into a different compartment.
changeTsigKeyCompartment in interface Dnsrequest - The request object containing the details to sendpublic ChangeViewCompartmentResponse changeViewCompartment(ChangeViewCompartmentRequest request)
DnsMoves a view into a different compartment. Protected views cannot have their compartment changed.
changeViewCompartment in interface Dnsrequest - The request object containing the details to sendpublic ChangeZoneCompartmentResponse changeZoneCompartment(ChangeZoneCompartmentRequest request)
DnsMoves a zone into a different compartment. Protected zones cannot have their compartment changed.
Note:** All SteeringPolicyAttachment objects associated with this zone will also be moved into the provided compartment.
changeZoneCompartment in interface Dnsrequest - The request object containing the details to sendpublic CreateResolverEndpointResponse createResolverEndpoint(CreateResolverEndpointRequest request)
DnsCreates a new resolver endpoint.
createResolverEndpoint in interface Dnsrequest - The request object containing the details to sendpublic CreateSteeringPolicyResponse createSteeringPolicy(CreateSteeringPolicyRequest request)
DnsCreates a new steering policy in the specified compartment. For more information on creating policies with templates, see Traffic Management API Guide.
createSteeringPolicy in interface Dnsrequest - The request object containing the details to sendpublic CreateSteeringPolicyAttachmentResponse createSteeringPolicyAttachment(CreateSteeringPolicyAttachmentRequest request)
DnsCreates a new attachment between a steering policy and a domain, giving the policy permission to answer queries for the specified domain. A steering policy must be attached to a domain for the policy to answer DNS queries for that domain.
For the purposes of access control, the attachment is automatically placed into the same compartment as the domain's zone.
createSteeringPolicyAttachment in interface Dnsrequest - The request object containing the details to sendpublic CreateTsigKeyResponse createTsigKey(CreateTsigKeyRequest request)
DnsCreates a new TSIG key in the specified compartment. There is no
opc-retry-token header since TSIG key names must be globally unique.
createTsigKey in interface Dnsrequest - The request object containing the details to sendpublic CreateViewResponse createView(CreateViewRequest request)
DnsCreates a new view in the specified compartment.
createView in interface Dnsrequest - The request object containing the details to sendpublic CreateZoneResponse createZone(CreateZoneRequest request)
DnsCreates a new zone in the specified compartment. If the Content-Type header for the request is text/dns, the
compartmentId query parameter is required. Additionally, for text/dns, the scope and viewId query
parameters are required to create a private zone.
createZone in interface Dnsrequest - The request object containing the details to sendpublic DeleteDomainRecordsResponse deleteDomainRecords(DeleteDomainRecordsRequest request)
DnsDeletes all records at the specified zone and domain.
deleteDomainRecords in interface Dnsrequest - The request object containing the details to sendpublic DeleteRRSetResponse deleteRRSet(DeleteRRSetRequest request)
DnsDeletes all records in the specified RRSet.
deleteRRSet in interface Dnsrequest - The request object containing the details to sendpublic DeleteResolverEndpointResponse deleteResolverEndpoint(DeleteResolverEndpointRequest request)
DnsDeletes the specified resolver endpoint. Note that attempting to delete a resolver endpoint in the DELETED lifecycle state will result in a 404 to be consistent with other operations of the API. Resolver endpoints may not be deleted if they are referenced by a resolver rule.
deleteResolverEndpoint in interface Dnsrequest - The request object containing the details to sendpublic DeleteSteeringPolicyResponse deleteSteeringPolicy(DeleteSteeringPolicyRequest request)
DnsDeletes the specified steering policy.
A 204 response indicates that the delete has been successful.
Deletion will fail if the policy is attached to any zones. To detach a
policy from a zone, see DeleteSteeringPolicyAttachment.
deleteSteeringPolicy in interface Dnsrequest - The request object containing the details to sendpublic DeleteSteeringPolicyAttachmentResponse deleteSteeringPolicyAttachment(DeleteSteeringPolicyAttachmentRequest request)
DnsDeletes the specified steering policy attachment.
A 204 response indicates that the delete has been successful.
deleteSteeringPolicyAttachment in interface Dnsrequest - The request object containing the details to sendpublic DeleteTsigKeyResponse deleteTsigKey(DeleteTsigKeyRequest request)
DnsDeletes the specified TSIG key.
deleteTsigKey in interface Dnsrequest - The request object containing the details to sendpublic DeleteViewResponse deleteView(DeleteViewRequest request)
DnsDeletes the specified view. Note that attempting to delete a view in the DELETED lifecycleState will result in a 404 to be consistent with other operations of the API. Views can not be deleted if they are referenced by non-deleted zones or resolvers. Protected views cannot be deleted.
deleteView in interface Dnsrequest - The request object containing the details to sendpublic DeleteZoneResponse deleteZone(DeleteZoneRequest request)
DnsDeletes the specified zone and all its steering policy attachments.
A 204 response indicates that the zone has been successfully deleted.
Protected zones cannot be deleted.
deleteZone in interface Dnsrequest - The request object containing the details to sendpublic GetDomainRecordsResponse getDomainRecords(GetDomainRecordsRequest request)
DnsGets a list of all records at the specified zone and domain.
The results are sorted by rtype in alphabetical order by default. You
can optionally filter and/or sort the results using the listed parameters.
getDomainRecords in interface Dnsrequest - The request object containing the details to sendpublic GetRRSetResponse getRRSet(GetRRSetRequest request)
DnsGets a list of all records in the specified RRSet. The results are
sorted by recordHash by default.
public GetResolverResponse getResolver(GetResolverRequest request)
DnsGet information about a specific resolver. Note that attempting to get a resolver in the DELETED lifecycleState will result in a 404 to be consistent with other operations of the API.
getResolver in interface Dnsrequest - The request object containing the details to sendpublic GetResolverEndpointResponse getResolverEndpoint(GetResolverEndpointRequest request)
DnsGet information about a specific resolver endpoint. Note that attempting to get a resolver endpoint in the DELETED lifecycle state will result in a 404 to be consistent with other operations of the API.
getResolverEndpoint in interface Dnsrequest - The request object containing the details to sendpublic GetSteeringPolicyResponse getSteeringPolicy(GetSteeringPolicyRequest request)
DnsGets information about the specified steering policy.
getSteeringPolicy in interface Dnsrequest - The request object containing the details to sendpublic GetSteeringPolicyAttachmentResponse getSteeringPolicyAttachment(GetSteeringPolicyAttachmentRequest request)
DnsGets information about the specified steering policy attachment.
getSteeringPolicyAttachment in interface Dnsrequest - The request object containing the details to sendpublic GetTsigKeyResponse getTsigKey(GetTsigKeyRequest request)
DnsGets information about the specified TSIG key.
getTsigKey in interface Dnsrequest - The request object containing the details to sendpublic GetViewResponse getView(GetViewRequest request)
DnsGet information about a specific view. Note that attempting to get a view in the DELETED lifecycleState will result in a 404 to be consistent with other operations of the API.
public GetZoneResponse getZone(GetZoneRequest request)
DnsGets information about the specified zone, including its creation date, zone type, and serial.
public GetZoneRecordsResponse getZoneRecords(GetZoneRecordsRequest request)
DnsGets all records in the specified zone. The results are
sorted by domain in alphabetical order by default. For more
information about records, see Resource Record (RR) TYPEs.
getZoneRecords in interface Dnsrequest - The request object containing the details to sendpublic ListResolverEndpointsResponse listResolverEndpoints(ListResolverEndpointsRequest request)
DnsGets a list of all endpoints within a resolver. The collection can be filtered by name or lifecycle state. It can be sorted on creation time or name both in ASC or DESC order. Note that when no lifecycleState query parameter is provided that the collection does not include resolver endpoints in the DELETED lifecycle state to be consistent with other operations of the API.
listResolverEndpoints in interface Dnsrequest - The request object containing the details to sendpublic ListResolversResponse listResolvers(ListResolversRequest request)
DnsGets a list of all resolvers within a compartment. The collection can be filtered by display name, id, or lifecycle state. It can be sorted on creation time or displayName both in ASC or DESC order. Note that when no lifecycleState query parameter is provided that the collection does not include resolvers in the DELETED lifecycleState to be consistent with other operations of the API.
listResolvers in interface Dnsrequest - The request object containing the details to sendpublic ListSteeringPoliciesResponse listSteeringPolicies(ListSteeringPoliciesRequest request)
DnsGets a list of all steering policies in the specified compartment.
listSteeringPolicies in interface Dnsrequest - The request object containing the details to sendpublic ListSteeringPolicyAttachmentsResponse listSteeringPolicyAttachments(ListSteeringPolicyAttachmentsRequest request)
DnsLists the steering policy attachments in the specified compartment.
listSteeringPolicyAttachments in interface Dnsrequest - The request object containing the details to sendpublic ListTsigKeysResponse listTsigKeys(ListTsigKeysRequest request)
DnsGets a list of all TSIG keys in the specified compartment.
listTsigKeys in interface Dnsrequest - The request object containing the details to sendpublic ListViewsResponse listViews(ListViewsRequest request)
DnsGets a list of all views within a compartment. The collection can be filtered by display name, id, or lifecycle state. It can be sorted on creation time or displayName both in ASC or DESC order. Note that when no lifecycleState query parameter is provided that the collection does not include views in the DELETED lifecycleState to be consistent with other operations of the API.
public ListZonesResponse listZones(ListZonesRequest request)
DnsGets a list of all zones in the specified compartment. The collection can be filtered by name, time created, scope, associated view, and zone type.
public PatchDomainRecordsResponse patchDomainRecords(PatchDomainRecordsRequest request)
DnsUpdates records in the specified zone at a domain. You can update one record or all records for the specified zone depending on the changes provided in the request body. You can also add or remove records using this function.
patchDomainRecords in interface Dnsrequest - The request object containing the details to sendpublic PatchRRSetResponse patchRRSet(PatchRRSetRequest request)
DnsUpdates records in the specified RRSet.
patchRRSet in interface Dnsrequest - The request object containing the details to sendpublic PatchZoneRecordsResponse patchZoneRecords(PatchZoneRecordsRequest request)
DnsUpdates a collection of records in the specified zone. You can update one record or all records for the specified zone depending on the changes provided in the request body. You can also add or remove records using this function.
patchZoneRecords in interface Dnsrequest - The request object containing the details to sendpublic UpdateDomainRecordsResponse updateDomainRecords(UpdateDomainRecordsRequest request)
DnsReplaces records in the specified zone at a domain with the records specified in the request body. If a specified record does not exist, it will be created. If the record exists, then it will be updated to represent the record in the body of the request. If a record in the zone does not exist in the request body, the record will be removed from the zone.
updateDomainRecords in interface Dnsrequest - The request object containing the details to sendpublic UpdateRRSetResponse updateRRSet(UpdateRRSetRequest request)
DnsReplaces records in the specified RRSet.
updateRRSet in interface Dnsrequest - The request object containing the details to sendpublic UpdateResolverResponse updateResolver(UpdateResolverRequest request)
DnsUpdates the specified resolver with your new information.
updateResolver in interface Dnsrequest - The request object containing the details to sendpublic UpdateResolverEndpointResponse updateResolverEndpoint(UpdateResolverEndpointRequest request)
DnsUpdates the specified resolver endpoint with your new information.
updateResolverEndpoint in interface Dnsrequest - The request object containing the details to sendpublic UpdateSteeringPolicyResponse updateSteeringPolicy(UpdateSteeringPolicyRequest request)
DnsUpdates the configuration of the specified steering policy.
updateSteeringPolicy in interface Dnsrequest - The request object containing the details to sendpublic UpdateSteeringPolicyAttachmentResponse updateSteeringPolicyAttachment(UpdateSteeringPolicyAttachmentRequest request)
DnsUpdates the specified steering policy attachment with your new information.
updateSteeringPolicyAttachment in interface Dnsrequest - The request object containing the details to sendpublic UpdateTsigKeyResponse updateTsigKey(UpdateTsigKeyRequest request)
DnsUpdates the specified TSIG key.
updateTsigKey in interface Dnsrequest - The request object containing the details to sendpublic UpdateViewResponse updateView(UpdateViewRequest request)
DnsUpdates the specified view with your new information.
updateView in interface Dnsrequest - The request object containing the details to sendpublic UpdateZoneResponse updateZone(UpdateZoneRequest request)
DnsUpdates the specified secondary zone with your new external master server information. For more information about secondary zone, see Manage DNS Service Zone.
updateZone in interface Dnsrequest - The request object containing the details to sendpublic UpdateZoneRecordsResponse updateZoneRecords(UpdateZoneRecordsRequest request)
DnsReplaces records in the specified zone with the records specified in the request body. If a specified record does not exist, it will be created. If the record exists, then it will be updated to represent the record in the body of the request. If a record in the zone does not exist in the request body, the record will be removed from the zone.
updateZoneRecords in interface Dnsrequest - The request object containing the details to sendpublic DnsWaiters getWaiters()
DnsGets the pre-configured waiters available for resources for this service.
getWaiters in interface Dnspublic DnsPaginators getPaginators()
DnsGets the pre-configured paginators available for list operations in this service which may return multiple
pages of data. These paginators provide an Iterable interface so that service responses, or
resources/records, can be iterated through without having to manually deal with pagination and page tokens.
getPaginators in interface DnsCopyright © 2016–2021. All rights reserved.