...

Package dns

import "github.com/oracle/oci-go-sdk/dns"
Overview
Index

Overview ▾

Index ▾

type AttachedView
    func (m AttachedView) String() string
type AttachedViewDetails
    func (m AttachedViewDetails) String() string
type ChangeResolverCompartmentDetails
    func (m ChangeResolverCompartmentDetails) String() string
type ChangeResolverCompartmentRequest
    func (request ChangeResolverCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ChangeResolverCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeResolverCompartmentRequest) String() string
type ChangeResolverCompartmentResponse
    func (response ChangeResolverCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeResolverCompartmentResponse) String() string
type ChangeResolverCompartmentScopeEnum
    func GetChangeResolverCompartmentScopeEnumValues() []ChangeResolverCompartmentScopeEnum
type ChangeSteeringPolicyCompartmentDetails
    func (m ChangeSteeringPolicyCompartmentDetails) String() string
type ChangeSteeringPolicyCompartmentRequest
    func (request ChangeSteeringPolicyCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ChangeSteeringPolicyCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeSteeringPolicyCompartmentRequest) String() string
type ChangeSteeringPolicyCompartmentResponse
    func (response ChangeSteeringPolicyCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeSteeringPolicyCompartmentResponse) String() string
type ChangeSteeringPolicyCompartmentScopeEnum
    func GetChangeSteeringPolicyCompartmentScopeEnumValues() []ChangeSteeringPolicyCompartmentScopeEnum
type ChangeTsigKeyCompartmentDetails
    func (m ChangeTsigKeyCompartmentDetails) String() string
type ChangeTsigKeyCompartmentRequest
    func (request ChangeTsigKeyCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ChangeTsigKeyCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeTsigKeyCompartmentRequest) String() string
type ChangeTsigKeyCompartmentResponse
    func (response ChangeTsigKeyCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeTsigKeyCompartmentResponse) String() string
type ChangeTsigKeyCompartmentScopeEnum
    func GetChangeTsigKeyCompartmentScopeEnumValues() []ChangeTsigKeyCompartmentScopeEnum
type ChangeViewCompartmentDetails
    func (m ChangeViewCompartmentDetails) String() string
type ChangeViewCompartmentRequest
    func (request ChangeViewCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ChangeViewCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeViewCompartmentRequest) String() string
type ChangeViewCompartmentResponse
    func (response ChangeViewCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeViewCompartmentResponse) String() string
type ChangeViewCompartmentScopeEnum
    func GetChangeViewCompartmentScopeEnumValues() []ChangeViewCompartmentScopeEnum
type ChangeZoneCompartmentDetails
    func (m ChangeZoneCompartmentDetails) String() string
type ChangeZoneCompartmentRequest
    func (request ChangeZoneCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ChangeZoneCompartmentRequest) RetryPolicy() *common.RetryPolicy
    func (request ChangeZoneCompartmentRequest) String() string
type ChangeZoneCompartmentResponse
    func (response ChangeZoneCompartmentResponse) HTTPResponse() *http.Response
    func (response ChangeZoneCompartmentResponse) String() string
type ChangeZoneCompartmentScopeEnum
    func GetChangeZoneCompartmentScopeEnumValues() []ChangeZoneCompartmentScopeEnum
type CreateMigratedDynectZoneDetails
    func (m CreateMigratedDynectZoneDetails) GetCompartmentId() *string
    func (m CreateMigratedDynectZoneDetails) GetDefinedTags() map[string]map[string]interface{}
    func (m CreateMigratedDynectZoneDetails) GetFreeformTags() map[string]string
    func (m CreateMigratedDynectZoneDetails) GetName() *string
    func (m CreateMigratedDynectZoneDetails) MarshalJSON() (buff []byte, e error)
    func (m CreateMigratedDynectZoneDetails) String() string
type CreateResolverEndpointDetails
type CreateResolverEndpointDetailsEndpointTypeEnum
    func GetCreateResolverEndpointDetailsEndpointTypeEnumValues() []CreateResolverEndpointDetailsEndpointTypeEnum
type CreateResolverEndpointRequest
    func (request CreateResolverEndpointRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request CreateResolverEndpointRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateResolverEndpointRequest) String() string
type CreateResolverEndpointResponse
    func (response CreateResolverEndpointResponse) HTTPResponse() *http.Response
    func (response CreateResolverEndpointResponse) String() string
type CreateResolverEndpointScopeEnum
    func GetCreateResolverEndpointScopeEnumValues() []CreateResolverEndpointScopeEnum
type CreateResolverVnicEndpointDetails
    func (m CreateResolverVnicEndpointDetails) GetForwardingAddress() *string
    func (m CreateResolverVnicEndpointDetails) GetIsForwarding() *bool
    func (m CreateResolverVnicEndpointDetails) GetIsListening() *bool
    func (m CreateResolverVnicEndpointDetails) GetListeningAddress() *string
    func (m CreateResolverVnicEndpointDetails) GetName() *string
    func (m CreateResolverVnicEndpointDetails) MarshalJSON() (buff []byte, e error)
    func (m CreateResolverVnicEndpointDetails) String() string
type CreateSteeringPolicyAttachmentDetails
    func (m CreateSteeringPolicyAttachmentDetails) String() string
type CreateSteeringPolicyAttachmentRequest
    func (request CreateSteeringPolicyAttachmentRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request CreateSteeringPolicyAttachmentRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateSteeringPolicyAttachmentRequest) String() string
type CreateSteeringPolicyAttachmentResponse
    func (response CreateSteeringPolicyAttachmentResponse) HTTPResponse() *http.Response
    func (response CreateSteeringPolicyAttachmentResponse) String() string
type CreateSteeringPolicyAttachmentScopeEnum
    func GetCreateSteeringPolicyAttachmentScopeEnumValues() []CreateSteeringPolicyAttachmentScopeEnum
type CreateSteeringPolicyDetails
    func (m CreateSteeringPolicyDetails) String() string
    func (m *CreateSteeringPolicyDetails) UnmarshalJSON(data []byte) (e error)
type CreateSteeringPolicyDetailsTemplateEnum
    func GetCreateSteeringPolicyDetailsTemplateEnumValues() []CreateSteeringPolicyDetailsTemplateEnum
type CreateSteeringPolicyRequest
    func (request CreateSteeringPolicyRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request CreateSteeringPolicyRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateSteeringPolicyRequest) String() string
type CreateSteeringPolicyResponse
    func (response CreateSteeringPolicyResponse) HTTPResponse() *http.Response
    func (response CreateSteeringPolicyResponse) String() string
type CreateSteeringPolicyScopeEnum
    func GetCreateSteeringPolicyScopeEnumValues() []CreateSteeringPolicyScopeEnum
type CreateTsigKeyDetails
    func (m CreateTsigKeyDetails) String() string
type CreateTsigKeyRequest
    func (request CreateTsigKeyRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request CreateTsigKeyRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateTsigKeyRequest) String() string
type CreateTsigKeyResponse
    func (response CreateTsigKeyResponse) HTTPResponse() *http.Response
    func (response CreateTsigKeyResponse) String() string
type CreateTsigKeyScopeEnum
    func GetCreateTsigKeyScopeEnumValues() []CreateTsigKeyScopeEnum
type CreateViewDetails
    func (m CreateViewDetails) String() string
type CreateViewRequest
    func (request CreateViewRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request CreateViewRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateViewRequest) String() string
type CreateViewResponse
    func (response CreateViewResponse) HTTPResponse() *http.Response
    func (response CreateViewResponse) String() string
type CreateViewScopeEnum
    func GetCreateViewScopeEnumValues() []CreateViewScopeEnum
type CreateZoneBaseDetails
type CreateZoneBaseDetailsMigrationSourceEnum
    func GetCreateZoneBaseDetailsMigrationSourceEnumValues() []CreateZoneBaseDetailsMigrationSourceEnum
type CreateZoneDetails
    func (m CreateZoneDetails) GetCompartmentId() *string
    func (m CreateZoneDetails) GetDefinedTags() map[string]map[string]interface{}
    func (m CreateZoneDetails) GetFreeformTags() map[string]string
    func (m CreateZoneDetails) GetName() *string
    func (m CreateZoneDetails) MarshalJSON() (buff []byte, e error)
    func (m CreateZoneDetails) String() string
type CreateZoneDetailsZoneTypeEnum
    func GetCreateZoneDetailsZoneTypeEnumValues() []CreateZoneDetailsZoneTypeEnum
type CreateZoneRequest
    func (request CreateZoneRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request CreateZoneRequest) RetryPolicy() *common.RetryPolicy
    func (request CreateZoneRequest) String() string
type CreateZoneResponse
    func (response CreateZoneResponse) HTTPResponse() *http.Response
    func (response CreateZoneResponse) String() string
type CreateZoneScopeEnum
    func GetCreateZoneScopeEnumValues() []CreateZoneScopeEnum
type DeleteDomainRecordsRequest
    func (request DeleteDomainRecordsRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request DeleteDomainRecordsRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteDomainRecordsRequest) String() string
type DeleteDomainRecordsResponse
    func (response DeleteDomainRecordsResponse) HTTPResponse() *http.Response
    func (response DeleteDomainRecordsResponse) String() string
type DeleteDomainRecordsScopeEnum
    func GetDeleteDomainRecordsScopeEnumValues() []DeleteDomainRecordsScopeEnum
type DeleteRRSetRequest
    func (request DeleteRRSetRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request DeleteRRSetRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteRRSetRequest) String() string
type DeleteRRSetResponse
    func (response DeleteRRSetResponse) HTTPResponse() *http.Response
    func (response DeleteRRSetResponse) String() string
type DeleteRRSetScopeEnum
    func GetDeleteRRSetScopeEnumValues() []DeleteRRSetScopeEnum
type DeleteResolverEndpointRequest
    func (request DeleteResolverEndpointRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request DeleteResolverEndpointRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteResolverEndpointRequest) String() string
type DeleteResolverEndpointResponse
    func (response DeleteResolverEndpointResponse) HTTPResponse() *http.Response
    func (response DeleteResolverEndpointResponse) String() string
type DeleteResolverEndpointScopeEnum
    func GetDeleteResolverEndpointScopeEnumValues() []DeleteResolverEndpointScopeEnum
type DeleteSteeringPolicyAttachmentRequest
    func (request DeleteSteeringPolicyAttachmentRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request DeleteSteeringPolicyAttachmentRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteSteeringPolicyAttachmentRequest) String() string
type DeleteSteeringPolicyAttachmentResponse
    func (response DeleteSteeringPolicyAttachmentResponse) HTTPResponse() *http.Response
    func (response DeleteSteeringPolicyAttachmentResponse) String() string
type DeleteSteeringPolicyAttachmentScopeEnum
    func GetDeleteSteeringPolicyAttachmentScopeEnumValues() []DeleteSteeringPolicyAttachmentScopeEnum
type DeleteSteeringPolicyRequest
    func (request DeleteSteeringPolicyRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request DeleteSteeringPolicyRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteSteeringPolicyRequest) String() string
type DeleteSteeringPolicyResponse
    func (response DeleteSteeringPolicyResponse) HTTPResponse() *http.Response
    func (response DeleteSteeringPolicyResponse) String() string
type DeleteSteeringPolicyScopeEnum
    func GetDeleteSteeringPolicyScopeEnumValues() []DeleteSteeringPolicyScopeEnum
type DeleteTsigKeyRequest
    func (request DeleteTsigKeyRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request DeleteTsigKeyRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteTsigKeyRequest) String() string
type DeleteTsigKeyResponse
    func (response DeleteTsigKeyResponse) HTTPResponse() *http.Response
    func (response DeleteTsigKeyResponse) String() string
type DeleteTsigKeyScopeEnum
    func GetDeleteTsigKeyScopeEnumValues() []DeleteTsigKeyScopeEnum
type DeleteViewRequest
    func (request DeleteViewRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request DeleteViewRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteViewRequest) String() string
type DeleteViewResponse
    func (response DeleteViewResponse) HTTPResponse() *http.Response
    func (response DeleteViewResponse) String() string
type DeleteViewScopeEnum
    func GetDeleteViewScopeEnumValues() []DeleteViewScopeEnum
type DeleteZoneRequest
    func (request DeleteZoneRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request DeleteZoneRequest) RetryPolicy() *common.RetryPolicy
    func (request DeleteZoneRequest) String() string
type DeleteZoneResponse
    func (response DeleteZoneResponse) HTTPResponse() *http.Response
    func (response DeleteZoneResponse) String() string
type DeleteZoneScopeEnum
    func GetDeleteZoneScopeEnumValues() []DeleteZoneScopeEnum
type DnsClient
    func NewDnsClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DnsClient, err error)
    func NewDnsClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DnsClient, err error)
    func (client DnsClient) ChangeResolverCompartment(ctx context.Context, request ChangeResolverCompartmentRequest) (response ChangeResolverCompartmentResponse, err error)
    func (client DnsClient) ChangeSteeringPolicyCompartment(ctx context.Context, request ChangeSteeringPolicyCompartmentRequest) (response ChangeSteeringPolicyCompartmentResponse, err error)
    func (client DnsClient) ChangeTsigKeyCompartment(ctx context.Context, request ChangeTsigKeyCompartmentRequest) (response ChangeTsigKeyCompartmentResponse, err error)
    func (client DnsClient) ChangeViewCompartment(ctx context.Context, request ChangeViewCompartmentRequest) (response ChangeViewCompartmentResponse, err error)
    func (client DnsClient) ChangeZoneCompartment(ctx context.Context, request ChangeZoneCompartmentRequest) (response ChangeZoneCompartmentResponse, err error)
    func (client *DnsClient) ConfigurationProvider() *common.ConfigurationProvider
    func (client DnsClient) CreateResolverEndpoint(ctx context.Context, request CreateResolverEndpointRequest) (response CreateResolverEndpointResponse, err error)
    func (client DnsClient) CreateSteeringPolicy(ctx context.Context, request CreateSteeringPolicyRequest) (response CreateSteeringPolicyResponse, err error)
    func (client DnsClient) CreateSteeringPolicyAttachment(ctx context.Context, request CreateSteeringPolicyAttachmentRequest) (response CreateSteeringPolicyAttachmentResponse, err error)
    func (client DnsClient) CreateTsigKey(ctx context.Context, request CreateTsigKeyRequest) (response CreateTsigKeyResponse, err error)
    func (client DnsClient) CreateView(ctx context.Context, request CreateViewRequest) (response CreateViewResponse, err error)
    func (client DnsClient) CreateZone(ctx context.Context, request CreateZoneRequest) (response CreateZoneResponse, err error)
    func (client DnsClient) DeleteDomainRecords(ctx context.Context, request DeleteDomainRecordsRequest) (response DeleteDomainRecordsResponse, err error)
    func (client DnsClient) DeleteRRSet(ctx context.Context, request DeleteRRSetRequest) (response DeleteRRSetResponse, err error)
    func (client DnsClient) DeleteResolverEndpoint(ctx context.Context, request DeleteResolverEndpointRequest) (response DeleteResolverEndpointResponse, err error)
    func (client DnsClient) DeleteSteeringPolicy(ctx context.Context, request DeleteSteeringPolicyRequest) (response DeleteSteeringPolicyResponse, err error)
    func (client DnsClient) DeleteSteeringPolicyAttachment(ctx context.Context, request DeleteSteeringPolicyAttachmentRequest) (response DeleteSteeringPolicyAttachmentResponse, err error)
    func (client DnsClient) DeleteTsigKey(ctx context.Context, request DeleteTsigKeyRequest) (response DeleteTsigKeyResponse, err error)
    func (client DnsClient) DeleteView(ctx context.Context, request DeleteViewRequest) (response DeleteViewResponse, err error)
    func (client DnsClient) DeleteZone(ctx context.Context, request DeleteZoneRequest) (response DeleteZoneResponse, err error)
    func (client DnsClient) GetDomainRecords(ctx context.Context, request GetDomainRecordsRequest) (response GetDomainRecordsResponse, err error)
    func (client DnsClient) GetRRSet(ctx context.Context, request GetRRSetRequest) (response GetRRSetResponse, err error)
    func (client DnsClient) GetResolver(ctx context.Context, request GetResolverRequest) (response GetResolverResponse, err error)
    func (client DnsClient) GetResolverEndpoint(ctx context.Context, request GetResolverEndpointRequest) (response GetResolverEndpointResponse, err error)
    func (client DnsClient) GetSteeringPolicy(ctx context.Context, request GetSteeringPolicyRequest) (response GetSteeringPolicyResponse, err error)
    func (client DnsClient) GetSteeringPolicyAttachment(ctx context.Context, request GetSteeringPolicyAttachmentRequest) (response GetSteeringPolicyAttachmentResponse, err error)
    func (client DnsClient) GetTsigKey(ctx context.Context, request GetTsigKeyRequest) (response GetTsigKeyResponse, err error)
    func (client DnsClient) GetView(ctx context.Context, request GetViewRequest) (response GetViewResponse, err error)
    func (client DnsClient) GetZone(ctx context.Context, request GetZoneRequest) (response GetZoneResponse, err error)
    func (client DnsClient) GetZoneRecords(ctx context.Context, request GetZoneRecordsRequest) (response GetZoneRecordsResponse, err error)
    func (client DnsClient) ListResolverEndpoints(ctx context.Context, request ListResolverEndpointsRequest) (response ListResolverEndpointsResponse, err error)
    func (client DnsClient) ListResolvers(ctx context.Context, request ListResolversRequest) (response ListResolversResponse, err error)
    func (client DnsClient) ListSteeringPolicies(ctx context.Context, request ListSteeringPoliciesRequest) (response ListSteeringPoliciesResponse, err error)
    func (client DnsClient) ListSteeringPolicyAttachments(ctx context.Context, request ListSteeringPolicyAttachmentsRequest) (response ListSteeringPolicyAttachmentsResponse, err error)
    func (client DnsClient) ListTsigKeys(ctx context.Context, request ListTsigKeysRequest) (response ListTsigKeysResponse, err error)
    func (client DnsClient) ListViews(ctx context.Context, request ListViewsRequest) (response ListViewsResponse, err error)
    func (client DnsClient) ListZones(ctx context.Context, request ListZonesRequest) (response ListZonesResponse, err error)
    func (client DnsClient) PatchDomainRecords(ctx context.Context, request PatchDomainRecordsRequest) (response PatchDomainRecordsResponse, err error)
    func (client DnsClient) PatchRRSet(ctx context.Context, request PatchRRSetRequest) (response PatchRRSetResponse, err error)
    func (client DnsClient) PatchZoneRecords(ctx context.Context, request PatchZoneRecordsRequest) (response PatchZoneRecordsResponse, err error)
    func (client *DnsClient) SetRegion(region string)
    func (client DnsClient) UpdateDomainRecords(ctx context.Context, request UpdateDomainRecordsRequest) (response UpdateDomainRecordsResponse, err error)
    func (client DnsClient) UpdateRRSet(ctx context.Context, request UpdateRRSetRequest) (response UpdateRRSetResponse, err error)
    func (client DnsClient) UpdateResolver(ctx context.Context, request UpdateResolverRequest) (response UpdateResolverResponse, err error)
    func (client DnsClient) UpdateResolverEndpoint(ctx context.Context, request UpdateResolverEndpointRequest) (response UpdateResolverEndpointResponse, err error)
    func (client DnsClient) UpdateSteeringPolicy(ctx context.Context, request UpdateSteeringPolicyRequest) (response UpdateSteeringPolicyResponse, err error)
    func (client DnsClient) UpdateSteeringPolicyAttachment(ctx context.Context, request UpdateSteeringPolicyAttachmentRequest) (response UpdateSteeringPolicyAttachmentResponse, err error)
    func (client DnsClient) UpdateTsigKey(ctx context.Context, request UpdateTsigKeyRequest) (response UpdateTsigKeyResponse, err error)
    func (client DnsClient) UpdateView(ctx context.Context, request UpdateViewRequest) (response UpdateViewResponse, err error)
    func (client DnsClient) UpdateZone(ctx context.Context, request UpdateZoneRequest) (response UpdateZoneResponse, err error)
    func (client DnsClient) UpdateZoneRecords(ctx context.Context, request UpdateZoneRecordsRequest) (response UpdateZoneRecordsResponse, err error)
type DynectMigrationDetails
    func (m DynectMigrationDetails) String() string
type ExternalMaster
    func (m ExternalMaster) String() string
type GetDomainRecordsRequest
    func (request GetDomainRecordsRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request GetDomainRecordsRequest) RetryPolicy() *common.RetryPolicy
    func (request GetDomainRecordsRequest) String() string
type GetDomainRecordsResponse
    func (response GetDomainRecordsResponse) HTTPResponse() *http.Response
    func (response GetDomainRecordsResponse) String() string
type GetDomainRecordsScopeEnum
    func GetGetDomainRecordsScopeEnumValues() []GetDomainRecordsScopeEnum
type GetDomainRecordsSortByEnum
    func GetGetDomainRecordsSortByEnumValues() []GetDomainRecordsSortByEnum
type GetDomainRecordsSortOrderEnum
    func GetGetDomainRecordsSortOrderEnumValues() []GetDomainRecordsSortOrderEnum
type GetRRSetRequest
    func (request GetRRSetRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request GetRRSetRequest) RetryPolicy() *common.RetryPolicy
    func (request GetRRSetRequest) String() string
type GetRRSetResponse
    func (response GetRRSetResponse) HTTPResponse() *http.Response
    func (response GetRRSetResponse) String() string
type GetRRSetScopeEnum
    func GetGetRRSetScopeEnumValues() []GetRRSetScopeEnum
type GetResolverEndpointRequest
    func (request GetResolverEndpointRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request GetResolverEndpointRequest) RetryPolicy() *common.RetryPolicy
    func (request GetResolverEndpointRequest) String() string
type GetResolverEndpointResponse
    func (response GetResolverEndpointResponse) HTTPResponse() *http.Response
    func (response GetResolverEndpointResponse) String() string
type GetResolverEndpointScopeEnum
    func GetGetResolverEndpointScopeEnumValues() []GetResolverEndpointScopeEnum
type GetResolverRequest
    func (request GetResolverRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request GetResolverRequest) RetryPolicy() *common.RetryPolicy
    func (request GetResolverRequest) String() string
type GetResolverResponse
    func (response GetResolverResponse) HTTPResponse() *http.Response
    func (response GetResolverResponse) String() string
type GetResolverScopeEnum
    func GetGetResolverScopeEnumValues() []GetResolverScopeEnum
type GetSteeringPolicyAttachmentRequest
    func (request GetSteeringPolicyAttachmentRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request GetSteeringPolicyAttachmentRequest) RetryPolicy() *common.RetryPolicy
    func (request GetSteeringPolicyAttachmentRequest) String() string
type GetSteeringPolicyAttachmentResponse
    func (response GetSteeringPolicyAttachmentResponse) HTTPResponse() *http.Response
    func (response GetSteeringPolicyAttachmentResponse) String() string
type GetSteeringPolicyAttachmentScopeEnum
    func GetGetSteeringPolicyAttachmentScopeEnumValues() []GetSteeringPolicyAttachmentScopeEnum
type GetSteeringPolicyRequest
    func (request GetSteeringPolicyRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request GetSteeringPolicyRequest) RetryPolicy() *common.RetryPolicy
    func (request GetSteeringPolicyRequest) String() string
type GetSteeringPolicyResponse
    func (response GetSteeringPolicyResponse) HTTPResponse() *http.Response
    func (response GetSteeringPolicyResponse) String() string
type GetSteeringPolicyScopeEnum
    func GetGetSteeringPolicyScopeEnumValues() []GetSteeringPolicyScopeEnum
type GetTsigKeyRequest
    func (request GetTsigKeyRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request GetTsigKeyRequest) RetryPolicy() *common.RetryPolicy
    func (request GetTsigKeyRequest) String() string
type GetTsigKeyResponse
    func (response GetTsigKeyResponse) HTTPResponse() *http.Response
    func (response GetTsigKeyResponse) String() string
type GetTsigKeyScopeEnum
    func GetGetTsigKeyScopeEnumValues() []GetTsigKeyScopeEnum
type GetViewRequest
    func (request GetViewRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request GetViewRequest) RetryPolicy() *common.RetryPolicy
    func (request GetViewRequest) String() string
type GetViewResponse
    func (response GetViewResponse) HTTPResponse() *http.Response
    func (response GetViewResponse) String() string
type GetViewScopeEnum
    func GetGetViewScopeEnumValues() []GetViewScopeEnum
type GetZoneRecordsRequest
    func (request GetZoneRecordsRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request GetZoneRecordsRequest) RetryPolicy() *common.RetryPolicy
    func (request GetZoneRecordsRequest) String() string
type GetZoneRecordsResponse
    func (response GetZoneRecordsResponse) HTTPResponse() *http.Response
    func (response GetZoneRecordsResponse) String() string
type GetZoneRecordsScopeEnum
    func GetGetZoneRecordsScopeEnumValues() []GetZoneRecordsScopeEnum
type GetZoneRecordsSortByEnum
    func GetGetZoneRecordsSortByEnumValues() []GetZoneRecordsSortByEnum
type GetZoneRecordsSortOrderEnum
    func GetGetZoneRecordsSortOrderEnumValues() []GetZoneRecordsSortOrderEnum
type GetZoneRequest
    func (request GetZoneRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request GetZoneRequest) RetryPolicy() *common.RetryPolicy
    func (request GetZoneRequest) String() string
type GetZoneResponse
    func (response GetZoneResponse) HTTPResponse() *http.Response
    func (response GetZoneResponse) String() string
type GetZoneScopeEnum
    func GetGetZoneScopeEnumValues() []GetZoneScopeEnum
type ListResolverEndpointsRequest
    func (request ListResolverEndpointsRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ListResolverEndpointsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListResolverEndpointsRequest) String() string
type ListResolverEndpointsResponse
    func (response ListResolverEndpointsResponse) HTTPResponse() *http.Response
    func (response ListResolverEndpointsResponse) String() string
type ListResolverEndpointsScopeEnum
    func GetListResolverEndpointsScopeEnumValues() []ListResolverEndpointsScopeEnum
type ListResolverEndpointsSortByEnum
    func GetListResolverEndpointsSortByEnumValues() []ListResolverEndpointsSortByEnum
type ListResolverEndpointsSortOrderEnum
    func GetListResolverEndpointsSortOrderEnumValues() []ListResolverEndpointsSortOrderEnum
type ListResolversRequest
    func (request ListResolversRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ListResolversRequest) RetryPolicy() *common.RetryPolicy
    func (request ListResolversRequest) String() string
type ListResolversResponse
    func (response ListResolversResponse) HTTPResponse() *http.Response
    func (response ListResolversResponse) String() string
type ListResolversScopeEnum
    func GetListResolversScopeEnumValues() []ListResolversScopeEnum
type ListResolversSortByEnum
    func GetListResolversSortByEnumValues() []ListResolversSortByEnum
type ListResolversSortOrderEnum
    func GetListResolversSortOrderEnumValues() []ListResolversSortOrderEnum
type ListSteeringPoliciesRequest
    func (request ListSteeringPoliciesRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ListSteeringPoliciesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListSteeringPoliciesRequest) String() string
type ListSteeringPoliciesResponse
    func (response ListSteeringPoliciesResponse) HTTPResponse() *http.Response
    func (response ListSteeringPoliciesResponse) String() string
type ListSteeringPoliciesScopeEnum
    func GetListSteeringPoliciesScopeEnumValues() []ListSteeringPoliciesScopeEnum
type ListSteeringPoliciesSortByEnum
    func GetListSteeringPoliciesSortByEnumValues() []ListSteeringPoliciesSortByEnum
type ListSteeringPoliciesSortOrderEnum
    func GetListSteeringPoliciesSortOrderEnumValues() []ListSteeringPoliciesSortOrderEnum
type ListSteeringPolicyAttachmentsRequest
    func (request ListSteeringPolicyAttachmentsRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ListSteeringPolicyAttachmentsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListSteeringPolicyAttachmentsRequest) String() string
type ListSteeringPolicyAttachmentsResponse
    func (response ListSteeringPolicyAttachmentsResponse) HTTPResponse() *http.Response
    func (response ListSteeringPolicyAttachmentsResponse) String() string
type ListSteeringPolicyAttachmentsScopeEnum
    func GetListSteeringPolicyAttachmentsScopeEnumValues() []ListSteeringPolicyAttachmentsScopeEnum
type ListSteeringPolicyAttachmentsSortByEnum
    func GetListSteeringPolicyAttachmentsSortByEnumValues() []ListSteeringPolicyAttachmentsSortByEnum
type ListSteeringPolicyAttachmentsSortOrderEnum
    func GetListSteeringPolicyAttachmentsSortOrderEnumValues() []ListSteeringPolicyAttachmentsSortOrderEnum
type ListTsigKeysRequest
    func (request ListTsigKeysRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ListTsigKeysRequest) RetryPolicy() *common.RetryPolicy
    func (request ListTsigKeysRequest) String() string
type ListTsigKeysResponse
    func (response ListTsigKeysResponse) HTTPResponse() *http.Response
    func (response ListTsigKeysResponse) String() string
type ListTsigKeysScopeEnum
    func GetListTsigKeysScopeEnumValues() []ListTsigKeysScopeEnum
type ListTsigKeysSortByEnum
    func GetListTsigKeysSortByEnumValues() []ListTsigKeysSortByEnum
type ListTsigKeysSortOrderEnum
    func GetListTsigKeysSortOrderEnumValues() []ListTsigKeysSortOrderEnum
type ListViewsRequest
    func (request ListViewsRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ListViewsRequest) RetryPolicy() *common.RetryPolicy
    func (request ListViewsRequest) String() string
type ListViewsResponse
    func (response ListViewsResponse) HTTPResponse() *http.Response
    func (response ListViewsResponse) String() string
type ListViewsScopeEnum
    func GetListViewsScopeEnumValues() []ListViewsScopeEnum
type ListViewsSortByEnum
    func GetListViewsSortByEnumValues() []ListViewsSortByEnum
type ListViewsSortOrderEnum
    func GetListViewsSortOrderEnumValues() []ListViewsSortOrderEnum
type ListZonesLifecycleStateEnum
    func GetListZonesLifecycleStateEnumValues() []ListZonesLifecycleStateEnum
type ListZonesRequest
    func (request ListZonesRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request ListZonesRequest) RetryPolicy() *common.RetryPolicy
    func (request ListZonesRequest) String() string
type ListZonesResponse
    func (response ListZonesResponse) HTTPResponse() *http.Response
    func (response ListZonesResponse) String() string
type ListZonesScopeEnum
    func GetListZonesScopeEnumValues() []ListZonesScopeEnum
type ListZonesSortByEnum
    func GetListZonesSortByEnumValues() []ListZonesSortByEnum
type ListZonesSortOrderEnum
    func GetListZonesSortOrderEnumValues() []ListZonesSortOrderEnum
type ListZonesZoneTypeEnum
    func GetListZonesZoneTypeEnumValues() []ListZonesZoneTypeEnum
type MigrationReplacement
    func (m MigrationReplacement) String() string
type Nameserver
    func (m Nameserver) String() string
type PatchDomainRecordsDetails
    func (m PatchDomainRecordsDetails) String() string
type PatchDomainRecordsRequest
    func (request PatchDomainRecordsRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request PatchDomainRecordsRequest) RetryPolicy() *common.RetryPolicy
    func (request PatchDomainRecordsRequest) String() string
type PatchDomainRecordsResponse
    func (response PatchDomainRecordsResponse) HTTPResponse() *http.Response
    func (response PatchDomainRecordsResponse) String() string
type PatchDomainRecordsScopeEnum
    func GetPatchDomainRecordsScopeEnumValues() []PatchDomainRecordsScopeEnum
type PatchRRSetRequest
    func (request PatchRRSetRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request PatchRRSetRequest) RetryPolicy() *common.RetryPolicy
    func (request PatchRRSetRequest) String() string
type PatchRRSetResponse
    func (response PatchRRSetResponse) HTTPResponse() *http.Response
    func (response PatchRRSetResponse) String() string
type PatchRRSetScopeEnum
    func GetPatchRRSetScopeEnumValues() []PatchRRSetScopeEnum
type PatchRrSetDetails
    func (m PatchRrSetDetails) String() string
type PatchZoneRecordsDetails
    func (m PatchZoneRecordsDetails) String() string
type PatchZoneRecordsRequest
    func (request PatchZoneRecordsRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request PatchZoneRecordsRequest) RetryPolicy() *common.RetryPolicy
    func (request PatchZoneRecordsRequest) String() string
type PatchZoneRecordsResponse
    func (response PatchZoneRecordsResponse) HTTPResponse() *http.Response
    func (response PatchZoneRecordsResponse) String() string
type PatchZoneRecordsScopeEnum
    func GetPatchZoneRecordsScopeEnumValues() []PatchZoneRecordsScopeEnum
type Record
    func (m Record) String() string
type RecordCollection
    func (m RecordCollection) String() string
type RecordDetails
    func (m RecordDetails) String() string
type RecordOperation
    func (m RecordOperation) String() string
type RecordOperationOperationEnum
    func GetRecordOperationOperationEnumValues() []RecordOperationOperationEnum
type Resolver
    func (m Resolver) String() string
    func (m *Resolver) UnmarshalJSON(data []byte) (e error)
type ResolverEndpoint
type ResolverEndpointEndpointTypeEnum
    func GetResolverEndpointEndpointTypeEnumValues() []ResolverEndpointEndpointTypeEnum
type ResolverEndpointLifecycleStateEnum
    func GetResolverEndpointLifecycleStateEnumValues() []ResolverEndpointLifecycleStateEnum
type ResolverEndpointSummary
type ResolverEndpointSummaryEndpointTypeEnum
    func GetResolverEndpointSummaryEndpointTypeEnumValues() []ResolverEndpointSummaryEndpointTypeEnum
type ResolverEndpointSummaryLifecycleStateEnum
    func GetResolverEndpointSummaryLifecycleStateEnumValues() []ResolverEndpointSummaryLifecycleStateEnum
type ResolverForwardRule
    func (m ResolverForwardRule) GetClientAddressConditions() []string
    func (m ResolverForwardRule) GetQnameCoverConditions() []string
    func (m ResolverForwardRule) MarshalJSON() (buff []byte, e error)
    func (m ResolverForwardRule) String() string
type ResolverForwardRuleDetails
    func (m ResolverForwardRuleDetails) GetClientAddressConditions() []string
    func (m ResolverForwardRuleDetails) GetQnameCoverConditions() []string
    func (m ResolverForwardRuleDetails) MarshalJSON() (buff []byte, e error)
    func (m ResolverForwardRuleDetails) String() string
type ResolverLifecycleStateEnum
    func GetResolverLifecycleStateEnumValues() []ResolverLifecycleStateEnum
type ResolverRule
type ResolverRuleActionEnum
    func GetResolverRuleActionEnumValues() []ResolverRuleActionEnum
type ResolverRuleDetails
type ResolverRuleDetailsActionEnum
    func GetResolverRuleDetailsActionEnumValues() []ResolverRuleDetailsActionEnum
type ResolverSummary
    func (m ResolverSummary) String() string
type ResolverSummaryLifecycleStateEnum
    func GetResolverSummaryLifecycleStateEnumValues() []ResolverSummaryLifecycleStateEnum
type ResolverVnicEndpoint
    func (m ResolverVnicEndpoint) GetCompartmentId() *string
    func (m ResolverVnicEndpoint) GetForwardingAddress() *string
    func (m ResolverVnicEndpoint) GetIsForwarding() *bool
    func (m ResolverVnicEndpoint) GetIsListening() *bool
    func (m ResolverVnicEndpoint) GetLifecycleState() ResolverEndpointLifecycleStateEnum
    func (m ResolverVnicEndpoint) GetListeningAddress() *string
    func (m ResolverVnicEndpoint) GetName() *string
    func (m ResolverVnicEndpoint) GetSelf() *string
    func (m ResolverVnicEndpoint) GetTimeCreated() *common.SDKTime
    func (m ResolverVnicEndpoint) GetTimeUpdated() *common.SDKTime
    func (m ResolverVnicEndpoint) MarshalJSON() (buff []byte, e error)
    func (m ResolverVnicEndpoint) String() string
type ResolverVnicEndpointSummary
    func (m ResolverVnicEndpointSummary) GetCompartmentId() *string
    func (m ResolverVnicEndpointSummary) GetForwardingAddress() *string
    func (m ResolverVnicEndpointSummary) GetIsForwarding() *bool
    func (m ResolverVnicEndpointSummary) GetIsListening() *bool
    func (m ResolverVnicEndpointSummary) GetLifecycleState() ResolverEndpointSummaryLifecycleStateEnum
    func (m ResolverVnicEndpointSummary) GetListeningAddress() *string
    func (m ResolverVnicEndpointSummary) GetName() *string
    func (m ResolverVnicEndpointSummary) GetSelf() *string
    func (m ResolverVnicEndpointSummary) GetTimeCreated() *common.SDKTime
    func (m ResolverVnicEndpointSummary) GetTimeUpdated() *common.SDKTime
    func (m ResolverVnicEndpointSummary) MarshalJSON() (buff []byte, e error)
    func (m ResolverVnicEndpointSummary) String() string
type RrSet
    func (m RrSet) String() string
type ScopeEnum
    func GetScopeEnumValues() []ScopeEnum
type SortOrderEnum
    func GetSortOrderEnumValues() []SortOrderEnum
type SteeringPolicy
    func (m SteeringPolicy) String() string
    func (m *SteeringPolicy) UnmarshalJSON(data []byte) (e error)
type SteeringPolicyAnswer
    func (m SteeringPolicyAnswer) String() string
type SteeringPolicyAttachment
    func (m SteeringPolicyAttachment) String() string
type SteeringPolicyAttachmentLifecycleStateEnum
    func GetSteeringPolicyAttachmentLifecycleStateEnumValues() []SteeringPolicyAttachmentLifecycleStateEnum
type SteeringPolicyAttachmentSummary
    func (m SteeringPolicyAttachmentSummary) String() string
type SteeringPolicyAttachmentSummaryLifecycleStateEnum
    func GetSteeringPolicyAttachmentSummaryLifecycleStateEnumValues() []SteeringPolicyAttachmentSummaryLifecycleStateEnum
type SteeringPolicyFilterAnswerData
    func (m SteeringPolicyFilterAnswerData) String() string
type SteeringPolicyFilterRule
    func (m SteeringPolicyFilterRule) GetDescription() *string
    func (m SteeringPolicyFilterRule) MarshalJSON() (buff []byte, e error)
    func (m SteeringPolicyFilterRule) String() string
type SteeringPolicyFilterRuleCase
    func (m SteeringPolicyFilterRuleCase) String() string
type SteeringPolicyHealthRule
    func (m SteeringPolicyHealthRule) GetDescription() *string
    func (m SteeringPolicyHealthRule) MarshalJSON() (buff []byte, e error)
    func (m SteeringPolicyHealthRule) String() string
type SteeringPolicyHealthRuleCase
    func (m SteeringPolicyHealthRuleCase) String() string
type SteeringPolicyLifecycleStateEnum
    func GetSteeringPolicyLifecycleStateEnumValues() []SteeringPolicyLifecycleStateEnum
type SteeringPolicyLimitRule
    func (m SteeringPolicyLimitRule) GetDescription() *string
    func (m SteeringPolicyLimitRule) MarshalJSON() (buff []byte, e error)
    func (m SteeringPolicyLimitRule) String() string
type SteeringPolicyLimitRuleCase
    func (m SteeringPolicyLimitRuleCase) String() string
type SteeringPolicyPriorityAnswerData
    func (m SteeringPolicyPriorityAnswerData) String() string
type SteeringPolicyPriorityRule
    func (m SteeringPolicyPriorityRule) GetDescription() *string
    func (m SteeringPolicyPriorityRule) MarshalJSON() (buff []byte, e error)
    func (m SteeringPolicyPriorityRule) String() string
type SteeringPolicyPriorityRuleCase
    func (m SteeringPolicyPriorityRuleCase) String() string
type SteeringPolicyRule
type SteeringPolicyRuleRuleTypeEnum
    func GetSteeringPolicyRuleRuleTypeEnumValues() []SteeringPolicyRuleRuleTypeEnum
type SteeringPolicySummary
    func (m SteeringPolicySummary) String() string
type SteeringPolicySummaryLifecycleStateEnum
    func GetSteeringPolicySummaryLifecycleStateEnumValues() []SteeringPolicySummaryLifecycleStateEnum
type SteeringPolicySummaryTemplateEnum
    func GetSteeringPolicySummaryTemplateEnumValues() []SteeringPolicySummaryTemplateEnum
type SteeringPolicyTemplateEnum
    func GetSteeringPolicyTemplateEnumValues() []SteeringPolicyTemplateEnum
type SteeringPolicyWeightedAnswerData
    func (m SteeringPolicyWeightedAnswerData) String() string
type SteeringPolicyWeightedRule
    func (m SteeringPolicyWeightedRule) GetDescription() *string
    func (m SteeringPolicyWeightedRule) MarshalJSON() (buff []byte, e error)
    func (m SteeringPolicyWeightedRule) String() string
type SteeringPolicyWeightedRuleCase
    func (m SteeringPolicyWeightedRuleCase) String() string
type Tsig
    func (m Tsig) String() string
type TsigKey
    func (m TsigKey) String() string
type TsigKeyLifecycleStateEnum
    func GetTsigKeyLifecycleStateEnumValues() []TsigKeyLifecycleStateEnum
type TsigKeySummary
    func (m TsigKeySummary) String() string
type TsigKeySummaryLifecycleStateEnum
    func GetTsigKeySummaryLifecycleStateEnumValues() []TsigKeySummaryLifecycleStateEnum
type UpdateDomainRecordsDetails
    func (m UpdateDomainRecordsDetails) String() string
type UpdateDomainRecordsRequest
    func (request UpdateDomainRecordsRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request UpdateDomainRecordsRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateDomainRecordsRequest) String() string
type UpdateDomainRecordsResponse
    func (response UpdateDomainRecordsResponse) HTTPResponse() *http.Response
    func (response UpdateDomainRecordsResponse) String() string
type UpdateDomainRecordsScopeEnum
    func GetUpdateDomainRecordsScopeEnumValues() []UpdateDomainRecordsScopeEnum
type UpdateRRSetRequest
    func (request UpdateRRSetRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request UpdateRRSetRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateRRSetRequest) String() string
type UpdateRRSetResponse
    func (response UpdateRRSetResponse) HTTPResponse() *http.Response
    func (response UpdateRRSetResponse) String() string
type UpdateRRSetScopeEnum
    func GetUpdateRRSetScopeEnumValues() []UpdateRRSetScopeEnum
type UpdateResolverDetails
    func (m UpdateResolverDetails) String() string
    func (m *UpdateResolverDetails) UnmarshalJSON(data []byte) (e error)
type UpdateResolverEndpointDetails
type UpdateResolverEndpointDetailsEndpointTypeEnum
    func GetUpdateResolverEndpointDetailsEndpointTypeEnumValues() []UpdateResolverEndpointDetailsEndpointTypeEnum
type UpdateResolverEndpointRequest
    func (request UpdateResolverEndpointRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request UpdateResolverEndpointRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateResolverEndpointRequest) String() string
type UpdateResolverEndpointResponse
    func (response UpdateResolverEndpointResponse) HTTPResponse() *http.Response
    func (response UpdateResolverEndpointResponse) String() string
type UpdateResolverEndpointScopeEnum
    func GetUpdateResolverEndpointScopeEnumValues() []UpdateResolverEndpointScopeEnum
type UpdateResolverRequest
    func (request UpdateResolverRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request UpdateResolverRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateResolverRequest) String() string
type UpdateResolverResponse
    func (response UpdateResolverResponse) HTTPResponse() *http.Response
    func (response UpdateResolverResponse) String() string
type UpdateResolverScopeEnum
    func GetUpdateResolverScopeEnumValues() []UpdateResolverScopeEnum
type UpdateResolverVnicEndpointDetails
    func (m UpdateResolverVnicEndpointDetails) MarshalJSON() (buff []byte, e error)
    func (m UpdateResolverVnicEndpointDetails) String() string
type UpdateRrSetDetails
    func (m UpdateRrSetDetails) String() string
type UpdateSteeringPolicyAttachmentDetails
    func (m UpdateSteeringPolicyAttachmentDetails) String() string
type UpdateSteeringPolicyAttachmentRequest
    func (request UpdateSteeringPolicyAttachmentRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request UpdateSteeringPolicyAttachmentRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateSteeringPolicyAttachmentRequest) String() string
type UpdateSteeringPolicyAttachmentResponse
    func (response UpdateSteeringPolicyAttachmentResponse) HTTPResponse() *http.Response
    func (response UpdateSteeringPolicyAttachmentResponse) String() string
type UpdateSteeringPolicyAttachmentScopeEnum
    func GetUpdateSteeringPolicyAttachmentScopeEnumValues() []UpdateSteeringPolicyAttachmentScopeEnum
type UpdateSteeringPolicyDetails
    func (m UpdateSteeringPolicyDetails) String() string
    func (m *UpdateSteeringPolicyDetails) UnmarshalJSON(data []byte) (e error)
type UpdateSteeringPolicyDetailsTemplateEnum
    func GetUpdateSteeringPolicyDetailsTemplateEnumValues() []UpdateSteeringPolicyDetailsTemplateEnum
type UpdateSteeringPolicyRequest
    func (request UpdateSteeringPolicyRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request UpdateSteeringPolicyRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateSteeringPolicyRequest) String() string
type UpdateSteeringPolicyResponse
    func (response UpdateSteeringPolicyResponse) HTTPResponse() *http.Response
    func (response UpdateSteeringPolicyResponse) String() string
type UpdateSteeringPolicyScopeEnum
    func GetUpdateSteeringPolicyScopeEnumValues() []UpdateSteeringPolicyScopeEnum
type UpdateTsigKeyDetails
    func (m UpdateTsigKeyDetails) String() string
type UpdateTsigKeyRequest
    func (request UpdateTsigKeyRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request UpdateTsigKeyRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateTsigKeyRequest) String() string
type UpdateTsigKeyResponse
    func (response UpdateTsigKeyResponse) HTTPResponse() *http.Response
    func (response UpdateTsigKeyResponse) String() string
type UpdateTsigKeyScopeEnum
    func GetUpdateTsigKeyScopeEnumValues() []UpdateTsigKeyScopeEnum
type UpdateViewDetails
    func (m UpdateViewDetails) String() string
type UpdateViewRequest
    func (request UpdateViewRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request UpdateViewRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateViewRequest) String() string
type UpdateViewResponse
    func (response UpdateViewResponse) HTTPResponse() *http.Response
    func (response UpdateViewResponse) String() string
type UpdateViewScopeEnum
    func GetUpdateViewScopeEnumValues() []UpdateViewScopeEnum
type UpdateZoneDetails
    func (m UpdateZoneDetails) String() string
type UpdateZoneRecordsDetails
    func (m UpdateZoneRecordsDetails) String() string
type UpdateZoneRecordsRequest
    func (request UpdateZoneRecordsRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request UpdateZoneRecordsRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateZoneRecordsRequest) String() string
type UpdateZoneRecordsResponse
    func (response UpdateZoneRecordsResponse) HTTPResponse() *http.Response
    func (response UpdateZoneRecordsResponse) String() string
type UpdateZoneRecordsScopeEnum
    func GetUpdateZoneRecordsScopeEnumValues() []UpdateZoneRecordsScopeEnum
type UpdateZoneRequest
    func (request UpdateZoneRequest) HTTPRequest(method, path string) (http.Request, error)
    func (request UpdateZoneRequest) RetryPolicy() *common.RetryPolicy
    func (request UpdateZoneRequest) String() string
type UpdateZoneResponse
    func (response UpdateZoneResponse) HTTPResponse() *http.Response
    func (response UpdateZoneResponse) String() string
type UpdateZoneScopeEnum
    func GetUpdateZoneScopeEnumValues() []UpdateZoneScopeEnum
type View
    func (m View) String() string
type ViewLifecycleStateEnum
    func GetViewLifecycleStateEnumValues() []ViewLifecycleStateEnum
type ViewSummary
    func (m ViewSummary) String() string
type ViewSummaryLifecycleStateEnum
    func GetViewSummaryLifecycleStateEnumValues() []ViewSummaryLifecycleStateEnum
type Zone
    func (m Zone) String() string
type ZoneLifecycleStateEnum
    func GetZoneLifecycleStateEnumValues() []ZoneLifecycleStateEnum
type ZoneSummary
    func (m ZoneSummary) String() string
type ZoneSummaryLifecycleStateEnum
    func GetZoneSummaryLifecycleStateEnumValues() []ZoneSummaryLifecycleStateEnum
type ZoneSummaryZoneTypeEnum
    func GetZoneSummaryZoneTypeEnumValues() []ZoneSummaryZoneTypeEnum
type ZoneZoneTypeEnum
    func GetZoneZoneTypeEnumValues() []ZoneZoneTypeEnum

Package files

attached_view.go attached_view_details.go change_resolver_compartment_details.go change_resolver_compartment_request_response.go change_steering_policy_compartment_details.go change_steering_policy_compartment_request_response.go change_tsig_key_compartment_details.go change_tsig_key_compartment_request_response.go change_view_compartment_details.go change_view_compartment_request_response.go change_zone_compartment_details.go change_zone_compartment_request_response.go create_migrated_dynect_zone_details.go create_resolver_endpoint_details.go create_resolver_endpoint_request_response.go create_resolver_vnic_endpoint_details.go create_steering_policy_attachment_details.go create_steering_policy_attachment_request_response.go create_steering_policy_details.go create_steering_policy_request_response.go create_tsig_key_details.go create_tsig_key_request_response.go create_view_details.go create_view_request_response.go create_zone_base_details.go create_zone_details.go create_zone_request_response.go delete_domain_records_request_response.go delete_r_r_set_request_response.go delete_resolver_endpoint_request_response.go delete_steering_policy_attachment_request_response.go delete_steering_policy_request_response.go delete_tsig_key_request_response.go delete_view_request_response.go delete_zone_request_response.go dns_client.go dynect_migration_details.go external_master.go get_domain_records_request_response.go get_r_r_set_request_response.go get_resolver_endpoint_request_response.go get_resolver_request_response.go get_steering_policy_attachment_request_response.go get_steering_policy_request_response.go get_tsig_key_request_response.go get_view_request_response.go get_zone_records_request_response.go get_zone_request_response.go list_resolver_endpoints_request_response.go list_resolvers_request_response.go list_steering_policies_request_response.go list_steering_policy_attachments_request_response.go list_tsig_keys_request_response.go list_views_request_response.go list_zones_request_response.go migration_replacement.go nameserver.go patch_domain_records_details.go patch_domain_records_request_response.go patch_r_r_set_request_response.go patch_rr_set_details.go patch_zone_records_details.go patch_zone_records_request_response.go record.go record_collection.go record_details.go record_operation.go resolver.go resolver_endpoint.go resolver_endpoint_summary.go resolver_forward_rule.go resolver_forward_rule_details.go resolver_rule.go resolver_rule_details.go resolver_summary.go resolver_vnic_endpoint.go resolver_vnic_endpoint_summary.go rr_set.go scope.go sort_order.go steering_policy.go steering_policy_answer.go steering_policy_attachment.go steering_policy_attachment_summary.go steering_policy_filter_answer_data.go steering_policy_filter_rule.go steering_policy_filter_rule_case.go steering_policy_health_rule.go steering_policy_health_rule_case.go steering_policy_limit_rule.go steering_policy_limit_rule_case.go steering_policy_priority_answer_data.go steering_policy_priority_rule.go steering_policy_priority_rule_case.go steering_policy_rule.go steering_policy_summary.go steering_policy_weighted_answer_data.go steering_policy_weighted_rule.go steering_policy_weighted_rule_case.go tsig.go tsig_key.go tsig_key_summary.go update_domain_records_details.go update_domain_records_request_response.go update_r_r_set_request_response.go update_resolver_details.go update_resolver_endpoint_details.go update_resolver_endpoint_request_response.go update_resolver_request_response.go update_resolver_vnic_endpoint_details.go update_rr_set_details.go update_steering_policy_attachment_details.go update_steering_policy_attachment_request_response.go update_steering_policy_details.go update_steering_policy_request_response.go update_tsig_key_details.go update_tsig_key_request_response.go update_view_details.go update_view_request_response.go update_zone_details.go update_zone_records_details.go update_zone_records_request_response.go update_zone_request_response.go view.go view_summary.go zone.go zone_summary.go

type AttachedView

AttachedView Properties of an attached view.

type AttachedView struct {

    // The OCID of the view.
    ViewId *string `mandatory:"true" json:"viewId"`
}

func (AttachedView) String

func (m AttachedView) String() string

type AttachedViewDetails

AttachedViewDetails Properties for defining an attached view.

type AttachedViewDetails struct {

    // The OCID of the view.
    ViewId *string `mandatory:"true" json:"viewId"`
}

func (AttachedViewDetails) String

func (m AttachedViewDetails) String() string

type ChangeResolverCompartmentDetails

ChangeResolverCompartmentDetails The representation of ChangeResolverCompartmentDetails

type ChangeResolverCompartmentDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment into which the resolver, along with
    // its protected default view and resolver endpoints, should be moved.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

func (ChangeResolverCompartmentDetails) String

func (m ChangeResolverCompartmentDetails) String() string

type ChangeResolverCompartmentRequest

ChangeResolverCompartmentRequest wrapper for the ChangeResolverCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/ChangeResolverCompartment.go.html to see an example of how to use ChangeResolverCompartmentRequest.

type ChangeResolverCompartmentRequest struct {

    // The OCID of the target resolver.
    ResolverId *string `mandatory:"true" contributesTo:"path" name:"resolverId"`

    // Details for moving a resolver, along with its protected default view and endpoints, into a
    // different compartment.
    ChangeResolverCompartmentDetails `contributesTo:"body"`

    // The `If-Match` header field makes the request method conditional on the
    // existence of at least one current representation of the target resource,
    // when the field-value is `*`, or having a current representation of the
    // target resource that has an entity-tag matching a member of the list of
    // entity-tags provided in the field-value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"If-Match"`

    // A token that uniquely identifies a request so it can be retried in case
    // of a timeout or server error without risk of executing that same action
    // again. Retry tokens expire after 24 hours, but can be invalidated before
    // then due to conflicting operations (for example, if a resource has been
    // deleted and purged from the system, then a retry of the original creation
    // request may be rejected).
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope ChangeResolverCompartmentScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ChangeResolverCompartmentRequest) HTTPRequest

func (request ChangeResolverCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeResolverCompartmentRequest) RetryPolicy

func (request ChangeResolverCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeResolverCompartmentRequest) String

func (request ChangeResolverCompartmentRequest) String() string

type ChangeResolverCompartmentResponse

ChangeResolverCompartmentResponse wrapper for the ChangeResolverCompartment operation

type ChangeResolverCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Unique Oracle-assigned identifier for the asynchronous request.
    // You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

func (ChangeResolverCompartmentResponse) HTTPResponse

func (response ChangeResolverCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeResolverCompartmentResponse) String

func (response ChangeResolverCompartmentResponse) String() string

type ChangeResolverCompartmentScopeEnum

ChangeResolverCompartmentScopeEnum Enum with underlying type: string

type ChangeResolverCompartmentScopeEnum string

Set of constants representing the allowable values for ChangeResolverCompartmentScopeEnum

const (
    ChangeResolverCompartmentScopeGlobal  ChangeResolverCompartmentScopeEnum = "GLOBAL"
    ChangeResolverCompartmentScopePrivate ChangeResolverCompartmentScopeEnum = "PRIVATE"
)

func GetChangeResolverCompartmentScopeEnumValues

func GetChangeResolverCompartmentScopeEnumValues() []ChangeResolverCompartmentScopeEnum

GetChangeResolverCompartmentScopeEnumValues Enumerates the set of values for ChangeResolverCompartmentScopeEnum

type ChangeSteeringPolicyCompartmentDetails

ChangeSteeringPolicyCompartmentDetails The representation of ChangeSteeringPolicyCompartmentDetails

type ChangeSteeringPolicyCompartmentDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment
    // into which the steering policy should be moved.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

func (ChangeSteeringPolicyCompartmentDetails) String

func (m ChangeSteeringPolicyCompartmentDetails) String() string

type ChangeSteeringPolicyCompartmentRequest

ChangeSteeringPolicyCompartmentRequest wrapper for the ChangeSteeringPolicyCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/ChangeSteeringPolicyCompartment.go.html to see an example of how to use ChangeSteeringPolicyCompartmentRequest.

type ChangeSteeringPolicyCompartmentRequest struct {

    // The OCID of the target steering policy.
    SteeringPolicyId *string `mandatory:"true" contributesTo:"path" name:"steeringPolicyId"`

    // Details for moving a steering policy into a different compartment.
    ChangeSteeringPolicyCompartmentDetails `contributesTo:"body"`

    // The `If-Match` header field makes the request method conditional on the
    // existence of at least one current representation of the target resource,
    // when the field-value is `*`, or having a current representation of the
    // target resource that has an entity-tag matching a member of the list of
    // entity-tags provided in the field-value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"If-Match"`

    // A token that uniquely identifies a request so it can be retried in case
    // of a timeout or server error without risk of executing that same action
    // again. Retry tokens expire after 24 hours, but can be invalidated before
    // then due to conflicting operations (for example, if a resource has been
    // deleted and purged from the system, then a retry of the original creation
    // request may be rejected).
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope ChangeSteeringPolicyCompartmentScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ChangeSteeringPolicyCompartmentRequest) HTTPRequest

func (request ChangeSteeringPolicyCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeSteeringPolicyCompartmentRequest) RetryPolicy

func (request ChangeSteeringPolicyCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeSteeringPolicyCompartmentRequest) String

func (request ChangeSteeringPolicyCompartmentRequest) String() string

type ChangeSteeringPolicyCompartmentResponse

ChangeSteeringPolicyCompartmentResponse wrapper for the ChangeSteeringPolicyCompartment operation

type ChangeSteeringPolicyCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (ChangeSteeringPolicyCompartmentResponse) HTTPResponse

func (response ChangeSteeringPolicyCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeSteeringPolicyCompartmentResponse) String

func (response ChangeSteeringPolicyCompartmentResponse) String() string

type ChangeSteeringPolicyCompartmentScopeEnum

ChangeSteeringPolicyCompartmentScopeEnum Enum with underlying type: string

type ChangeSteeringPolicyCompartmentScopeEnum string

Set of constants representing the allowable values for ChangeSteeringPolicyCompartmentScopeEnum

const (
    ChangeSteeringPolicyCompartmentScopeGlobal  ChangeSteeringPolicyCompartmentScopeEnum = "GLOBAL"
    ChangeSteeringPolicyCompartmentScopePrivate ChangeSteeringPolicyCompartmentScopeEnum = "PRIVATE"
)

func GetChangeSteeringPolicyCompartmentScopeEnumValues

func GetChangeSteeringPolicyCompartmentScopeEnumValues() []ChangeSteeringPolicyCompartmentScopeEnum

GetChangeSteeringPolicyCompartmentScopeEnumValues Enumerates the set of values for ChangeSteeringPolicyCompartmentScopeEnum

type ChangeTsigKeyCompartmentDetails

ChangeTsigKeyCompartmentDetails The representation of ChangeTsigKeyCompartmentDetails

type ChangeTsigKeyCompartmentDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment
    // into which the TSIG key should be moved.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

func (ChangeTsigKeyCompartmentDetails) String

func (m ChangeTsigKeyCompartmentDetails) String() string

type ChangeTsigKeyCompartmentRequest

ChangeTsigKeyCompartmentRequest wrapper for the ChangeTsigKeyCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/ChangeTsigKeyCompartment.go.html to see an example of how to use ChangeTsigKeyCompartmentRequest.

type ChangeTsigKeyCompartmentRequest struct {

    // The OCID of the target TSIG key.
    TsigKeyId *string `mandatory:"true" contributesTo:"path" name:"tsigKeyId"`

    // Details for moving a TSIG key into a different compartment.
    ChangeTsigKeyCompartmentDetails `contributesTo:"body"`

    // The `If-Match` header field makes the request method conditional on the
    // existence of at least one current representation of the target resource,
    // when the field-value is `*`, or having a current representation of the
    // target resource that has an entity-tag matching a member of the list of
    // entity-tags provided in the field-value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"If-Match"`

    // A token that uniquely identifies a request so it can be retried in case
    // of a timeout or server error without risk of executing that same action
    // again. Retry tokens expire after 24 hours, but can be invalidated before
    // then due to conflicting operations (for example, if a resource has been
    // deleted and purged from the system, then a retry of the original creation
    // request may be rejected).
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope ChangeTsigKeyCompartmentScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ChangeTsigKeyCompartmentRequest) HTTPRequest

func (request ChangeTsigKeyCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeTsigKeyCompartmentRequest) RetryPolicy

func (request ChangeTsigKeyCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeTsigKeyCompartmentRequest) String

func (request ChangeTsigKeyCompartmentRequest) String() string

type ChangeTsigKeyCompartmentResponse

ChangeTsigKeyCompartmentResponse wrapper for the ChangeTsigKeyCompartment operation

type ChangeTsigKeyCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (ChangeTsigKeyCompartmentResponse) HTTPResponse

func (response ChangeTsigKeyCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeTsigKeyCompartmentResponse) String

func (response ChangeTsigKeyCompartmentResponse) String() string

type ChangeTsigKeyCompartmentScopeEnum

ChangeTsigKeyCompartmentScopeEnum Enum with underlying type: string

type ChangeTsigKeyCompartmentScopeEnum string

Set of constants representing the allowable values for ChangeTsigKeyCompartmentScopeEnum

const (
    ChangeTsigKeyCompartmentScopeGlobal  ChangeTsigKeyCompartmentScopeEnum = "GLOBAL"
    ChangeTsigKeyCompartmentScopePrivate ChangeTsigKeyCompartmentScopeEnum = "PRIVATE"
)

func GetChangeTsigKeyCompartmentScopeEnumValues

func GetChangeTsigKeyCompartmentScopeEnumValues() []ChangeTsigKeyCompartmentScopeEnum

GetChangeTsigKeyCompartmentScopeEnumValues Enumerates the set of values for ChangeTsigKeyCompartmentScopeEnum

type ChangeViewCompartmentDetails

ChangeViewCompartmentDetails The representation of ChangeViewCompartmentDetails

type ChangeViewCompartmentDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment
    // into which the view should be moved.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

func (ChangeViewCompartmentDetails) String

func (m ChangeViewCompartmentDetails) String() string

type ChangeViewCompartmentRequest

ChangeViewCompartmentRequest wrapper for the ChangeViewCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/ChangeViewCompartment.go.html to see an example of how to use ChangeViewCompartmentRequest.

type ChangeViewCompartmentRequest struct {

    // The OCID of the target view.
    ViewId *string `mandatory:"true" contributesTo:"path" name:"viewId"`

    // Details for moving a view into a different compartment.
    ChangeViewCompartmentDetails `contributesTo:"body"`

    // The `If-Match` header field makes the request method conditional on the
    // existence of at least one current representation of the target resource,
    // when the field-value is `*`, or having a current representation of the
    // target resource that has an entity-tag matching a member of the list of
    // entity-tags provided in the field-value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"If-Match"`

    // A token that uniquely identifies a request so it can be retried in case
    // of a timeout or server error without risk of executing that same action
    // again. Retry tokens expire after 24 hours, but can be invalidated before
    // then due to conflicting operations (for example, if a resource has been
    // deleted and purged from the system, then a retry of the original creation
    // request may be rejected).
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope ChangeViewCompartmentScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ChangeViewCompartmentRequest) HTTPRequest

func (request ChangeViewCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeViewCompartmentRequest) RetryPolicy

func (request ChangeViewCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeViewCompartmentRequest) String

func (request ChangeViewCompartmentRequest) String() string

type ChangeViewCompartmentResponse

ChangeViewCompartmentResponse wrapper for the ChangeViewCompartment operation

type ChangeViewCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Unique Oracle-assigned identifier for the asynchronous request.
    // You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

func (ChangeViewCompartmentResponse) HTTPResponse

func (response ChangeViewCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeViewCompartmentResponse) String

func (response ChangeViewCompartmentResponse) String() string

type ChangeViewCompartmentScopeEnum

ChangeViewCompartmentScopeEnum Enum with underlying type: string

type ChangeViewCompartmentScopeEnum string

Set of constants representing the allowable values for ChangeViewCompartmentScopeEnum

const (
    ChangeViewCompartmentScopeGlobal  ChangeViewCompartmentScopeEnum = "GLOBAL"
    ChangeViewCompartmentScopePrivate ChangeViewCompartmentScopeEnum = "PRIVATE"
)

func GetChangeViewCompartmentScopeEnumValues

func GetChangeViewCompartmentScopeEnumValues() []ChangeViewCompartmentScopeEnum

GetChangeViewCompartmentScopeEnumValues Enumerates the set of values for ChangeViewCompartmentScopeEnum

type ChangeZoneCompartmentDetails

ChangeZoneCompartmentDetails The representation of ChangeZoneCompartmentDetails

type ChangeZoneCompartmentDetails struct {

    // The OCID (https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm) of the compartment
    // into which the zone should be moved.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`
}

func (ChangeZoneCompartmentDetails) String

func (m ChangeZoneCompartmentDetails) String() string

type ChangeZoneCompartmentRequest

ChangeZoneCompartmentRequest wrapper for the ChangeZoneCompartment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/ChangeZoneCompartment.go.html to see an example of how to use ChangeZoneCompartmentRequest.

type ChangeZoneCompartmentRequest struct {

    // The OCID of the target zone.
    ZoneId *string `mandatory:"true" contributesTo:"path" name:"zoneId"`

    // Details for moving a zone into a different compartment.
    ChangeZoneCompartmentDetails `contributesTo:"body"`

    // The `If-Match` header field makes the request method conditional on the
    // existence of at least one current representation of the target resource,
    // when the field-value is `*`, or having a current representation of the
    // target resource that has an entity-tag matching a member of the list of
    // entity-tags provided in the field-value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"If-Match"`

    // A token that uniquely identifies a request so it can be retried in case
    // of a timeout or server error without risk of executing that same action
    // again. Retry tokens expire after 24 hours, but can be invalidated before
    // then due to conflicting operations (for example, if a resource has been
    // deleted and purged from the system, then a retry of the original creation
    // request may be rejected).
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope ChangeZoneCompartmentScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ChangeZoneCompartmentRequest) HTTPRequest

func (request ChangeZoneCompartmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeZoneCompartmentRequest) RetryPolicy

func (request ChangeZoneCompartmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ChangeZoneCompartmentRequest) String

func (request ChangeZoneCompartmentRequest) String() string

type ChangeZoneCompartmentResponse

ChangeZoneCompartmentResponse wrapper for the ChangeZoneCompartment operation

type ChangeZoneCompartmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Unique Oracle-assigned identifier for the asynchronous request.
    // You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

func (ChangeZoneCompartmentResponse) HTTPResponse

func (response ChangeZoneCompartmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ChangeZoneCompartmentResponse) String

func (response ChangeZoneCompartmentResponse) String() string

type ChangeZoneCompartmentScopeEnum

ChangeZoneCompartmentScopeEnum Enum with underlying type: string

type ChangeZoneCompartmentScopeEnum string

Set of constants representing the allowable values for ChangeZoneCompartmentScopeEnum

const (
    ChangeZoneCompartmentScopeGlobal  ChangeZoneCompartmentScopeEnum = "GLOBAL"
    ChangeZoneCompartmentScopePrivate ChangeZoneCompartmentScopeEnum = "PRIVATE"
)

func GetChangeZoneCompartmentScopeEnumValues

func GetChangeZoneCompartmentScopeEnumValues() []ChangeZoneCompartmentScopeEnum

GetChangeZoneCompartmentScopeEnumValues Enumerates the set of values for ChangeZoneCompartmentScopeEnum

type CreateMigratedDynectZoneDetails

CreateMigratedDynectZoneDetails The body for migrating a zone from DynECT. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type CreateMigratedDynectZoneDetails struct {

    // The name of the zone.
    Name *string `mandatory:"true" json:"name"`

    // The OCID of the compartment containing the zone.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    DynectMigrationDetails *DynectMigrationDetails `mandatory:"false" json:"dynectMigrationDetails"`
}

func (CreateMigratedDynectZoneDetails) GetCompartmentId

func (m CreateMigratedDynectZoneDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (CreateMigratedDynectZoneDetails) GetDefinedTags

func (m CreateMigratedDynectZoneDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateMigratedDynectZoneDetails) GetFreeformTags

func (m CreateMigratedDynectZoneDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (CreateMigratedDynectZoneDetails) GetName

func (m CreateMigratedDynectZoneDetails) GetName() *string

GetName returns Name

func (CreateMigratedDynectZoneDetails) MarshalJSON

func (m CreateMigratedDynectZoneDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateMigratedDynectZoneDetails) String

func (m CreateMigratedDynectZoneDetails) String() string

type CreateResolverEndpointDetails

CreateResolverEndpointDetails The body for defining a new resolver endpoint. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type CreateResolverEndpointDetails interface {

    // The name of the resolver endpoint. Must be unique within the resolver.
    GetName() *string

    // A Boolean flag indicating whether or not the resolver endpoint is for forwarding.
    GetIsForwarding() *bool

    // A Boolean flag indicating whether or not the resolver endpoint is for listening.
    GetIsListening() *bool

    // An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part
    // of the subnet and will be assigned by the system if unspecified when isForwarding is true.
    GetForwardingAddress() *string

    // An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the
    // subnet and will be assigned by the system if unspecified.
    GetListeningAddress() *string
}

type CreateResolverEndpointDetailsEndpointTypeEnum

CreateResolverEndpointDetailsEndpointTypeEnum Enum with underlying type: string

type CreateResolverEndpointDetailsEndpointTypeEnum string

Set of constants representing the allowable values for CreateResolverEndpointDetailsEndpointTypeEnum

const (
    CreateResolverEndpointDetailsEndpointTypeVnic CreateResolverEndpointDetailsEndpointTypeEnum = "VNIC"
)

func GetCreateResolverEndpointDetailsEndpointTypeEnumValues

func GetCreateResolverEndpointDetailsEndpointTypeEnumValues() []CreateResolverEndpointDetailsEndpointTypeEnum

GetCreateResolverEndpointDetailsEndpointTypeEnumValues Enumerates the set of values for CreateResolverEndpointDetailsEndpointTypeEnum

type CreateResolverEndpointRequest

CreateResolverEndpointRequest wrapper for the CreateResolverEndpoint operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/CreateResolverEndpoint.go.html to see an example of how to use CreateResolverEndpointRequest.

type CreateResolverEndpointRequest struct {

    // The OCID of the target resolver.
    ResolverId *string `mandatory:"true" contributesTo:"path" name:"resolverId"`

    // Details for creating a new resolver endpoint.
    CreateResolverEndpointDetails `contributesTo:"body"`

    // A token that uniquely identifies a request so it can be retried in case
    // of a timeout or server error without risk of executing that same action
    // again. Retry tokens expire after 24 hours, but can be invalidated before
    // then due to conflicting operations (for example, if a resource has been
    // deleted and purged from the system, then a retry of the original creation
    // request may be rejected).
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope CreateResolverEndpointScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (CreateResolverEndpointRequest) HTTPRequest

func (request CreateResolverEndpointRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateResolverEndpointRequest) RetryPolicy

func (request CreateResolverEndpointRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateResolverEndpointRequest) String

func (request CreateResolverEndpointRequest) String() string

type CreateResolverEndpointResponse

CreateResolverEndpointResponse wrapper for the CreateResolverEndpoint operation

type CreateResolverEndpointResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ResolverEndpoint instance
    ResolverEndpoint `presentIn:"body"`

    // The current version of the resource, ending with a
    // representation-specific suffix. This value may be used in If-Match
    // and If-None-Match headers for later requests of the same resource.
    Etag *string `presentIn:"header" name:"etag"`

    // The full URI of the resource related to the request.
    Location *string `presentIn:"header" name:"location"`

    // Unique Oracle-assigned identifier for the request. If you need to
    // contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Unique Oracle-assigned identifier for the asynchronous request.
    // You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

func (CreateResolverEndpointResponse) HTTPResponse

func (response CreateResolverEndpointResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateResolverEndpointResponse) String

func (response CreateResolverEndpointResponse) String() string

type CreateResolverEndpointScopeEnum

CreateResolverEndpointScopeEnum Enum with underlying type: string

type CreateResolverEndpointScopeEnum string

Set of constants representing the allowable values for CreateResolverEndpointScopeEnum

const (
    CreateResolverEndpointScopeGlobal  CreateResolverEndpointScopeEnum = "GLOBAL"
    CreateResolverEndpointScopePrivate CreateResolverEndpointScopeEnum = "PRIVATE"
)

func GetCreateResolverEndpointScopeEnumValues

func GetCreateResolverEndpointScopeEnumValues() []CreateResolverEndpointScopeEnum

GetCreateResolverEndpointScopeEnumValues Enumerates the set of values for CreateResolverEndpointScopeEnum

type CreateResolverVnicEndpointDetails

CreateResolverVnicEndpointDetails The body for defining a new resolver VNIC endpoint. Either isForwarding or isListening must be true but not both. If a listeningAddress is not provided then one will be chosen automatically. If isForwarding is true then a forwardingAddress may be provided. If one is not then one will be chosen automatically. A listeningAddress will be consumed regardless of if the resolver is configured for listening or not. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type CreateResolverVnicEndpointDetails struct {

    // The name of the resolver endpoint. Must be unique within the resolver.
    Name *string `mandatory:"true" json:"name"`

    // A Boolean flag indicating whether or not the resolver endpoint is for forwarding.
    IsForwarding *bool `mandatory:"true" json:"isForwarding"`

    // A Boolean flag indicating whether or not the resolver endpoint is for listening.
    IsListening *bool `mandatory:"true" json:"isListening"`

    // The OCID of a subnet. Must be part of the VCN that the resolver is attached to.
    SubnetId *string `mandatory:"true" json:"subnetId"`

    // An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part
    // of the subnet and will be assigned by the system if unspecified when isForwarding is true.
    ForwardingAddress *string `mandatory:"false" json:"forwardingAddress"`

    // An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the
    // subnet and will be assigned by the system if unspecified.
    ListeningAddress *string `mandatory:"false" json:"listeningAddress"`

    // An array of NSG OCIDs for the resolver endpoint.
    NsgIds []string `mandatory:"false" json:"nsgIds"`
}

func (CreateResolverVnicEndpointDetails) GetForwardingAddress

func (m CreateResolverVnicEndpointDetails) GetForwardingAddress() *string

GetForwardingAddress returns ForwardingAddress

func (CreateResolverVnicEndpointDetails) GetIsForwarding

func (m CreateResolverVnicEndpointDetails) GetIsForwarding() *bool

GetIsForwarding returns IsForwarding

func (CreateResolverVnicEndpointDetails) GetIsListening

func (m CreateResolverVnicEndpointDetails) GetIsListening() *bool

GetIsListening returns IsListening

func (CreateResolverVnicEndpointDetails) GetListeningAddress

func (m CreateResolverVnicEndpointDetails) GetListeningAddress() *string

GetListeningAddress returns ListeningAddress

func (CreateResolverVnicEndpointDetails) GetName

func (m CreateResolverVnicEndpointDetails) GetName() *string

GetName returns Name

func (CreateResolverVnicEndpointDetails) MarshalJSON

func (m CreateResolverVnicEndpointDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateResolverVnicEndpointDetails) String

func (m CreateResolverVnicEndpointDetails) String() string

type CreateSteeringPolicyAttachmentDetails

CreateSteeringPolicyAttachmentDetails The body for defining an attachment between a steering policy and a domain.

**Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type CreateSteeringPolicyAttachmentDetails struct {

    // The OCID of the attached steering policy.
    SteeringPolicyId *string `mandatory:"true" json:"steeringPolicyId"`

    // The OCID of the attached zone.
    ZoneId *string `mandatory:"true" json:"zoneId"`

    // The attached domain within the attached zone.
    DomainName *string `mandatory:"true" json:"domainName"`

    // A user-friendly name for the steering policy attachment.
    // Does not have to be unique and can be changed.
    // Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`
}

func (CreateSteeringPolicyAttachmentDetails) String

func (m CreateSteeringPolicyAttachmentDetails) String() string

type CreateSteeringPolicyAttachmentRequest

CreateSteeringPolicyAttachmentRequest wrapper for the CreateSteeringPolicyAttachment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/CreateSteeringPolicyAttachment.go.html to see an example of how to use CreateSteeringPolicyAttachmentRequest.

type CreateSteeringPolicyAttachmentRequest struct {

    // Details for creating a new steering policy attachment.
    CreateSteeringPolicyAttachmentDetails `contributesTo:"body"`

    // A token that uniquely identifies a request so it can be retried in case
    // of a timeout or server error without risk of executing that same action
    // again. Retry tokens expire after 24 hours, but can be invalidated before
    // then due to conflicting operations (for example, if a resource has been
    // deleted and purged from the system, then a retry of the original creation
    // request may be rejected).
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope CreateSteeringPolicyAttachmentScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (CreateSteeringPolicyAttachmentRequest) HTTPRequest

func (request CreateSteeringPolicyAttachmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateSteeringPolicyAttachmentRequest) RetryPolicy

func (request CreateSteeringPolicyAttachmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateSteeringPolicyAttachmentRequest) String

func (request CreateSteeringPolicyAttachmentRequest) String() string

type CreateSteeringPolicyAttachmentResponse

CreateSteeringPolicyAttachmentResponse wrapper for the CreateSteeringPolicyAttachment operation

type CreateSteeringPolicyAttachmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The SteeringPolicyAttachment instance
    SteeringPolicyAttachment `presentIn:"body"`

    // The current version of the resource, ending with a
    // representation-specific suffix. This value may be used in If-Match
    // and If-None-Match headers for later requests of the same resource.
    ETag *string `presentIn:"header" name:"etag"`

    // The full URI of the resource related to the request.
    Location *string `presentIn:"header" name:"location"`

    // Unique Oracle-assigned identifier for the request. If you need to
    // contact Oracle about a particular request, please provide the request
    // ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (CreateSteeringPolicyAttachmentResponse) HTTPResponse

func (response CreateSteeringPolicyAttachmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateSteeringPolicyAttachmentResponse) String

func (response CreateSteeringPolicyAttachmentResponse) String() string

type CreateSteeringPolicyAttachmentScopeEnum

CreateSteeringPolicyAttachmentScopeEnum Enum with underlying type: string

type CreateSteeringPolicyAttachmentScopeEnum string

Set of constants representing the allowable values for CreateSteeringPolicyAttachmentScopeEnum

const (
    CreateSteeringPolicyAttachmentScopeGlobal  CreateSteeringPolicyAttachmentScopeEnum = "GLOBAL"
    CreateSteeringPolicyAttachmentScopePrivate CreateSteeringPolicyAttachmentScopeEnum = "PRIVATE"
)

func GetCreateSteeringPolicyAttachmentScopeEnumValues

func GetCreateSteeringPolicyAttachmentScopeEnumValues() []CreateSteeringPolicyAttachmentScopeEnum

GetCreateSteeringPolicyAttachmentScopeEnumValues Enumerates the set of values for CreateSteeringPolicyAttachmentScopeEnum

type CreateSteeringPolicyDetails

CreateSteeringPolicyDetails The body for defining a new steering policy. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type CreateSteeringPolicyDetails struct {

    // The OCID of the compartment containing the steering policy.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // A user-friendly name for the steering policy. Does not have to be unique and can be changed.
    // Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // A set of predefined rules based on the desired purpose of the steering policy. Each
    // template utilizes Traffic Management's rules in a different order to produce the desired
    // results when answering DNS queries.
    //
    // **Example:** The `FAILOVER` template determines answers by filtering the policy's answers
    // using the `FILTER` rule first, then the following rules in succession: `HEALTH`, `PRIORITY`,
    // and `LIMIT`. This gives the domain dynamic failover capability.
    //
    // It is **strongly recommended** to use a template other than `CUSTOM` when creating
    // a steering policy.
    //
    // All templates require the rule order to begin with an unconditional `FILTER` rule that keeps
    // answers contingent upon `answer.isDisabled != true`, except for `CUSTOM`. A defined
    // `HEALTH` rule must follow the `FILTER` rule if the policy references a `healthCheckMonitorId`.
    // The last rule of a template must must be a `LIMIT` rule. For more information about templates
    // and code examples, see Traffic Management API Guide (https://docs.cloud.oracle.com/iaas/Content/TrafficManagement/Concepts/trafficmanagementapi.htm).
    // **Template Types**
    // * `FAILOVER` - Uses health check information on your endpoints to determine which DNS answers
    // to serve. If an endpoint fails a health check, the answer for that endpoint will be removed
    // from the list of available answers until the endpoint is detected as healthy.
    //
    // * `LOAD_BALANCE` - Distributes web traffic to specified endpoints based on defined weights.
    //
    // * `ROUTE_BY_GEO` - Answers DNS queries based on the query's geographic location. For a list of geographic
    // locations to route by, see Traffic Management Geographic Locations (https://docs.cloud.oracle.com/iaas/Content/TrafficManagement/Reference/trafficmanagementgeo.htm).
    //
    // * `ROUTE_BY_ASN` - Answers DNS queries based on the query's originating ASN.
    //
    // * `ROUTE_BY_IP` - Answers DNS queries based on the query's IP address.
    //
    // * `CUSTOM` - Allows a customized configuration of rules.
    Template CreateSteeringPolicyDetailsTemplateEnum `mandatory:"true" json:"template"`

    // The Time To Live (TTL) for responses from the steering policy, in seconds.
    // If not specified during creation, a value of 30 seconds will be used.
    Ttl *int `mandatory:"false" json:"ttl"`

    // The OCID of the health check monitor providing health data about the answers of the
    // steering policy. A steering policy answer with `rdata` matching a monitored endpoint
    // will use the health data of that endpoint. A steering policy answer with `rdata` not
    // matching any monitored endpoint will be assumed healthy.
    //
    // **Note:** To use the Health Check monitoring feature in a steering policy, a monitor
    // must be created using the Health Checks service first. For more information on how to
    // create a monitor, please see Managing Health Checks (https://docs.cloud.oracle.com/iaas/Content/HealthChecks/Tasks/managinghealthchecks.htm).
    HealthCheckMonitorId *string `mandatory:"false" json:"healthCheckMonitorId"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // The set of all answers that can potentially issue from the steering policy.
    Answers []SteeringPolicyAnswer `mandatory:"false" json:"answers"`

    // The series of rules that will be processed in sequence to reduce the pool of answers
    // to a response for any given request.
    //
    // The first rule receives a shuffled list of all answers, and every other rule receives
    // the list of answers emitted by the one preceding it. The last rule populates the
    // response.
    Rules []SteeringPolicyRule `mandatory:"false" json:"rules"`
}

func (CreateSteeringPolicyDetails) String

func (m CreateSteeringPolicyDetails) String() string

func (*CreateSteeringPolicyDetails) UnmarshalJSON

func (m *CreateSteeringPolicyDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type CreateSteeringPolicyDetailsTemplateEnum

CreateSteeringPolicyDetailsTemplateEnum Enum with underlying type: string

type CreateSteeringPolicyDetailsTemplateEnum string

Set of constants representing the allowable values for CreateSteeringPolicyDetailsTemplateEnum

const (
    CreateSteeringPolicyDetailsTemplateFailover    CreateSteeringPolicyDetailsTemplateEnum = "FAILOVER"
    CreateSteeringPolicyDetailsTemplateLoadBalance CreateSteeringPolicyDetailsTemplateEnum = "LOAD_BALANCE"
    CreateSteeringPolicyDetailsTemplateRouteByGeo  CreateSteeringPolicyDetailsTemplateEnum = "ROUTE_BY_GEO"
    CreateSteeringPolicyDetailsTemplateRouteByAsn  CreateSteeringPolicyDetailsTemplateEnum = "ROUTE_BY_ASN"
    CreateSteeringPolicyDetailsTemplateRouteByIp   CreateSteeringPolicyDetailsTemplateEnum = "ROUTE_BY_IP"
    CreateSteeringPolicyDetailsTemplateCustom      CreateSteeringPolicyDetailsTemplateEnum = "CUSTOM"
)

func GetCreateSteeringPolicyDetailsTemplateEnumValues

func GetCreateSteeringPolicyDetailsTemplateEnumValues() []CreateSteeringPolicyDetailsTemplateEnum

GetCreateSteeringPolicyDetailsTemplateEnumValues Enumerates the set of values for CreateSteeringPolicyDetailsTemplateEnum

type CreateSteeringPolicyRequest

CreateSteeringPolicyRequest wrapper for the CreateSteeringPolicy operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/CreateSteeringPolicy.go.html to see an example of how to use CreateSteeringPolicyRequest.

type CreateSteeringPolicyRequest struct {

    // Details for creating a new steering policy.
    CreateSteeringPolicyDetails `contributesTo:"body"`

    // A token that uniquely identifies a request so it can be retried in case
    // of a timeout or server error without risk of executing that same action
    // again. Retry tokens expire after 24 hours, but can be invalidated before
    // then due to conflicting operations (for example, if a resource has been
    // deleted and purged from the system, then a retry of the original creation
    // request may be rejected).
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope CreateSteeringPolicyScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (CreateSteeringPolicyRequest) HTTPRequest

func (request CreateSteeringPolicyRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateSteeringPolicyRequest) RetryPolicy

func (request CreateSteeringPolicyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateSteeringPolicyRequest) String

func (request CreateSteeringPolicyRequest) String() string

type CreateSteeringPolicyResponse

CreateSteeringPolicyResponse wrapper for the CreateSteeringPolicy operation

type CreateSteeringPolicyResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The SteeringPolicy instance
    SteeringPolicy `presentIn:"body"`

    // The current version of the resource, ending with a
    // representation-specific suffix. This value may be used in If-Match
    // and If-None-Match headers for later requests of the same resource.
    ETag *string `presentIn:"header" name:"etag"`

    // The full URI of the resource related to the request.
    Location *string `presentIn:"header" name:"location"`

    // Unique Oracle-assigned identifier for the request. If you need to
    // contact Oracle about a particular request, please provide the request
    // ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (CreateSteeringPolicyResponse) HTTPResponse

func (response CreateSteeringPolicyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateSteeringPolicyResponse) String

func (response CreateSteeringPolicyResponse) String() string

type CreateSteeringPolicyScopeEnum

CreateSteeringPolicyScopeEnum Enum with underlying type: string

type CreateSteeringPolicyScopeEnum string

Set of constants representing the allowable values for CreateSteeringPolicyScopeEnum

const (
    CreateSteeringPolicyScopeGlobal  CreateSteeringPolicyScopeEnum = "GLOBAL"
    CreateSteeringPolicyScopePrivate CreateSteeringPolicyScopeEnum = "PRIVATE"
)

func GetCreateSteeringPolicyScopeEnumValues

func GetCreateSteeringPolicyScopeEnumValues() []CreateSteeringPolicyScopeEnum

GetCreateSteeringPolicyScopeEnumValues Enumerates the set of values for CreateSteeringPolicyScopeEnum

type CreateTsigKeyDetails

CreateTsigKeyDetails The body for defining a TSIG key. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type CreateTsigKeyDetails struct {

    // TSIG key algorithms are encoded as domain names, but most consist of only one
    // non-empty label, which is not required to be explicitly absolute.
    // Applicable algorithms include: hmac-sha1, hmac-sha224, hmac-sha256,
    // hmac-sha512. For more information on these algorithms, see RFC 4635 (https://tools.ietf.org/html/rfc4635#section-2).
    Algorithm *string `mandatory:"true" json:"algorithm"`

    // A globally unique domain name identifying the key for a given pair of hosts.
    Name *string `mandatory:"true" json:"name"`

    // The OCID of the compartment containing the TSIG key.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // A base64 string encoding the binary shared secret.
    Secret *string `mandatory:"true" json:"secret"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (CreateTsigKeyDetails) String

func (m CreateTsigKeyDetails) String() string

type CreateTsigKeyRequest

CreateTsigKeyRequest wrapper for the CreateTsigKey operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/CreateTsigKey.go.html to see an example of how to use CreateTsigKeyRequest.

type CreateTsigKeyRequest struct {

    // Details for creating a new TSIG key.
    CreateTsigKeyDetails `contributesTo:"body"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope CreateTsigKeyScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (CreateTsigKeyRequest) HTTPRequest

func (request CreateTsigKeyRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateTsigKeyRequest) RetryPolicy

func (request CreateTsigKeyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateTsigKeyRequest) String

func (request CreateTsigKeyRequest) String() string

type CreateTsigKeyResponse

CreateTsigKeyResponse wrapper for the CreateTsigKey operation

type CreateTsigKeyResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The TsigKey instance
    TsigKey `presentIn:"body"`

    // The current version of the resource, ending with a
    // representation-specific suffix. This value may be used in If-Match
    // and If-None-Match headers for later requests of the same resource.
    ETag *string `presentIn:"header" name:"etag"`

    // The full URI of the resource related to the request.
    Location *string `presentIn:"header" name:"location"`

    // Unique Oracle-assigned identifier for the request. If you need to
    // contact Oracle about a particular request, please provide the request
    // ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Unique Oracle-assigned identifier for the asynchronous request.
    // You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

func (CreateTsigKeyResponse) HTTPResponse

func (response CreateTsigKeyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateTsigKeyResponse) String

func (response CreateTsigKeyResponse) String() string

type CreateTsigKeyScopeEnum

CreateTsigKeyScopeEnum Enum with underlying type: string

type CreateTsigKeyScopeEnum string

Set of constants representing the allowable values for CreateTsigKeyScopeEnum

const (
    CreateTsigKeyScopeGlobal  CreateTsigKeyScopeEnum = "GLOBAL"
    CreateTsigKeyScopePrivate CreateTsigKeyScopeEnum = "PRIVATE"
)

func GetCreateTsigKeyScopeEnumValues

func GetCreateTsigKeyScopeEnumValues() []CreateTsigKeyScopeEnum

GetCreateTsigKeyScopeEnumValues Enumerates the set of values for CreateTsigKeyScopeEnum

type CreateViewDetails

CreateViewDetails The body for defining a new view. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type CreateViewDetails struct {

    // The OCID of the owning compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The display name of the view.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (CreateViewDetails) String

func (m CreateViewDetails) String() string

type CreateViewRequest

CreateViewRequest wrapper for the CreateView operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/CreateView.go.html to see an example of how to use CreateViewRequest.

type CreateViewRequest struct {

    // Details for creating a new view.
    CreateViewDetails `contributesTo:"body"`

    // A token that uniquely identifies a request so it can be retried in case
    // of a timeout or server error without risk of executing that same action
    // again. Retry tokens expire after 24 hours, but can be invalidated before
    // then due to conflicting operations (for example, if a resource has been
    // deleted and purged from the system, then a retry of the original creation
    // request may be rejected).
    OpcRetryToken *string `mandatory:"false" contributesTo:"header" name:"opc-retry-token"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope CreateViewScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (CreateViewRequest) HTTPRequest

func (request CreateViewRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateViewRequest) RetryPolicy

func (request CreateViewRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateViewRequest) String

func (request CreateViewRequest) String() string

type CreateViewResponse

CreateViewResponse wrapper for the CreateView operation

type CreateViewResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The View instance
    View `presentIn:"body"`

    // The current version of the resource, ending with a
    // representation-specific suffix. This value may be used in If-Match
    // and If-None-Match headers for later requests of the same resource.
    Etag *string `presentIn:"header" name:"etag"`

    // The full URI of the resource related to the request.
    Location *string `presentIn:"header" name:"location"`

    // Unique Oracle-assigned identifier for the request. If you need to
    // contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Unique Oracle-assigned identifier for the asynchronous request.
    // You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

func (CreateViewResponse) HTTPResponse

func (response CreateViewResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateViewResponse) String

func (response CreateViewResponse) String() string

type CreateViewScopeEnum

CreateViewScopeEnum Enum with underlying type: string

type CreateViewScopeEnum string

Set of constants representing the allowable values for CreateViewScopeEnum

const (
    CreateViewScopeGlobal  CreateViewScopeEnum = "GLOBAL"
    CreateViewScopePrivate CreateViewScopeEnum = "PRIVATE"
)

func GetCreateViewScopeEnumValues

func GetCreateViewScopeEnumValues() []CreateViewScopeEnum

GetCreateViewScopeEnumValues Enumerates the set of values for CreateViewScopeEnum

type CreateZoneBaseDetails

CreateZoneBaseDetails The body for either defining a new zone or migrating a zone from migrationSource. This is determined by the migrationSource discriminator. NONE indicates creation of a new zone (default). DYNECT indicates migration from a DynECT zone. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type CreateZoneBaseDetails interface {

    // The name of the zone.
    GetName() *string

    // The OCID of the compartment containing the zone.
    GetCompartmentId() *string

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Department": "Finance"}`
    GetFreeformTags() map[string]string

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Operations": {"CostCenter": "42"}}`
    GetDefinedTags() map[string]map[string]interface{}
}

type CreateZoneBaseDetailsMigrationSourceEnum

CreateZoneBaseDetailsMigrationSourceEnum Enum with underlying type: string

type CreateZoneBaseDetailsMigrationSourceEnum string

Set of constants representing the allowable values for CreateZoneBaseDetailsMigrationSourceEnum

const (
    CreateZoneBaseDetailsMigrationSourceNone   CreateZoneBaseDetailsMigrationSourceEnum = "NONE"
    CreateZoneBaseDetailsMigrationSourceDynect CreateZoneBaseDetailsMigrationSourceEnum = "DYNECT"
)

func GetCreateZoneBaseDetailsMigrationSourceEnumValues

func GetCreateZoneBaseDetailsMigrationSourceEnumValues() []CreateZoneBaseDetailsMigrationSourceEnum

GetCreateZoneBaseDetailsMigrationSourceEnumValues Enumerates the set of values for CreateZoneBaseDetailsMigrationSourceEnum

type CreateZoneDetails

CreateZoneDetails The body for defining a new zone. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type CreateZoneDetails struct {

    // The name of the zone.
    Name *string `mandatory:"true" json:"name"`

    // The OCID of the compartment containing the zone.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // This value will be null for zones in the global DNS.
    ViewId *string `mandatory:"false" json:"viewId"`

    // External master servers for the zone. `externalMasters` becomes a
    // required parameter when the `zoneType` value is `SECONDARY`.
    ExternalMasters []ExternalMaster `mandatory:"false" json:"externalMasters"`

    // The type of the zone. Must be either `PRIMARY` or `SECONDARY`. `SECONDARY` is only supported for GLOBAL
    // zones.
    ZoneType CreateZoneDetailsZoneTypeEnum `mandatory:"false" json:"zoneType,omitempty"`

    // The scope of the zone.
    Scope ScopeEnum `mandatory:"false" json:"scope,omitempty"`
}

func (CreateZoneDetails) GetCompartmentId

func (m CreateZoneDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (CreateZoneDetails) GetDefinedTags

func (m CreateZoneDetails) GetDefinedTags() map[string]map[string]interface{}

GetDefinedTags returns DefinedTags

func (CreateZoneDetails) GetFreeformTags

func (m CreateZoneDetails) GetFreeformTags() map[string]string

GetFreeformTags returns FreeformTags

func (CreateZoneDetails) GetName

func (m CreateZoneDetails) GetName() *string

GetName returns Name

func (CreateZoneDetails) MarshalJSON

func (m CreateZoneDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (CreateZoneDetails) String

func (m CreateZoneDetails) String() string

type CreateZoneDetailsZoneTypeEnum

CreateZoneDetailsZoneTypeEnum Enum with underlying type: string

type CreateZoneDetailsZoneTypeEnum string

Set of constants representing the allowable values for CreateZoneDetailsZoneTypeEnum

const (
    CreateZoneDetailsZoneTypePrimary   CreateZoneDetailsZoneTypeEnum = "PRIMARY"
    CreateZoneDetailsZoneTypeSecondary CreateZoneDetailsZoneTypeEnum = "SECONDARY"
)

func GetCreateZoneDetailsZoneTypeEnumValues

func GetCreateZoneDetailsZoneTypeEnumValues() []CreateZoneDetailsZoneTypeEnum

GetCreateZoneDetailsZoneTypeEnumValues Enumerates the set of values for CreateZoneDetailsZoneTypeEnum

type CreateZoneRequest

CreateZoneRequest wrapper for the CreateZone operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/CreateZone.go.html to see an example of how to use CreateZoneRequest.

type CreateZoneRequest struct {

    // Details for creating a new zone.
    CreateZoneDetails CreateZoneBaseDetails `contributesTo:"body"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The OCID of the compartment the resource belongs to.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope CreateZoneScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // The OCID of the view the resource is associated with.
    ViewId *string `mandatory:"false" contributesTo:"query" name:"viewId"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (CreateZoneRequest) HTTPRequest

func (request CreateZoneRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateZoneRequest) RetryPolicy

func (request CreateZoneRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (CreateZoneRequest) String

func (request CreateZoneRequest) String() string

type CreateZoneResponse

CreateZoneResponse wrapper for the CreateZone operation

type CreateZoneResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Zone instance
    Zone `presentIn:"body"`

    // The current version of the zone, ending with a
    // representation-specific suffix. This value may be used in If-Match
    // and If-None-Match headers for later requests of the same resource.
    ETag *string `presentIn:"header" name:"etag"`

    // The full URI of the resource related to the request.
    Location *string `presentIn:"header" name:"location"`

    // Unique Oracle-assigned identifier for the request. If you need to
    // contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Unique Oracle-assigned identifier for the asynchronous request.
    // You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

func (CreateZoneResponse) HTTPResponse

func (response CreateZoneResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (CreateZoneResponse) String

func (response CreateZoneResponse) String() string

type CreateZoneScopeEnum

CreateZoneScopeEnum Enum with underlying type: string

type CreateZoneScopeEnum string

Set of constants representing the allowable values for CreateZoneScopeEnum

const (
    CreateZoneScopeGlobal  CreateZoneScopeEnum = "GLOBAL"
    CreateZoneScopePrivate CreateZoneScopeEnum = "PRIVATE"
)

func GetCreateZoneScopeEnumValues

func GetCreateZoneScopeEnumValues() []CreateZoneScopeEnum

GetCreateZoneScopeEnumValues Enumerates the set of values for CreateZoneScopeEnum

type DeleteDomainRecordsRequest

DeleteDomainRecordsRequest wrapper for the DeleteDomainRecords operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/DeleteDomainRecords.go.html to see an example of how to use DeleteDomainRecordsRequest.

type DeleteDomainRecordsRequest struct {

    // The name or OCID of the target zone.
    ZoneNameOrId *string `mandatory:"true" contributesTo:"path" name:"zoneNameOrId"`

    // The target fully-qualified domain name (FQDN) within the target zone.
    Domain *string `mandatory:"true" contributesTo:"path" name:"domain"`

    // The `If-Match` header field makes the request method conditional on the
    // existence of at least one current representation of the target resource,
    // when the field-value is `*`, or having a current representation of the
    // target resource that has an entity-tag matching a member of the list of
    // entity-tags provided in the field-value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"If-Match"`

    // The `If-Unmodified-Since` header field makes the request method
    // conditional on the selected representation's last modification date being
    // earlier than or equal to the date provided in the field-value.  This
    // field accomplishes the same purpose as If-Match for cases where the user
    // agent does not have an entity-tag for the representation.
    IfUnmodifiedSince *string `mandatory:"false" contributesTo:"header" name:"If-Unmodified-Since"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope DeleteDomainRecordsScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // The OCID of the view the resource is associated with.
    ViewId *string `mandatory:"false" contributesTo:"query" name:"viewId"`

    // The OCID of the compartment the resource belongs to.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteDomainRecordsRequest) HTTPRequest

func (request DeleteDomainRecordsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteDomainRecordsRequest) RetryPolicy

func (request DeleteDomainRecordsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteDomainRecordsRequest) String

func (request DeleteDomainRecordsRequest) String() string

type DeleteDomainRecordsResponse

DeleteDomainRecordsResponse wrapper for the DeleteDomainRecords operation

type DeleteDomainRecordsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (DeleteDomainRecordsResponse) HTTPResponse

func (response DeleteDomainRecordsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteDomainRecordsResponse) String

func (response DeleteDomainRecordsResponse) String() string

type DeleteDomainRecordsScopeEnum

DeleteDomainRecordsScopeEnum Enum with underlying type: string

type DeleteDomainRecordsScopeEnum string

Set of constants representing the allowable values for DeleteDomainRecordsScopeEnum

const (
    DeleteDomainRecordsScopeGlobal  DeleteDomainRecordsScopeEnum = "GLOBAL"
    DeleteDomainRecordsScopePrivate DeleteDomainRecordsScopeEnum = "PRIVATE"
)

func GetDeleteDomainRecordsScopeEnumValues

func GetDeleteDomainRecordsScopeEnumValues() []DeleteDomainRecordsScopeEnum

GetDeleteDomainRecordsScopeEnumValues Enumerates the set of values for DeleteDomainRecordsScopeEnum

type DeleteRRSetRequest

DeleteRRSetRequest wrapper for the DeleteRRSet operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/DeleteRRSet.go.html to see an example of how to use DeleteRRSetRequest.

type DeleteRRSetRequest struct {

    // The name or OCID of the target zone.
    ZoneNameOrId *string `mandatory:"true" contributesTo:"path" name:"zoneNameOrId"`

    // The target fully-qualified domain name (FQDN) within the target zone.
    Domain *string `mandatory:"true" contributesTo:"path" name:"domain"`

    // The type of the target RRSet within the target zone.
    Rtype *string `mandatory:"true" contributesTo:"path" name:"rtype"`

    // The `If-Match` header field makes the request method conditional on the
    // existence of at least one current representation of the target resource,
    // when the field-value is `*`, or having a current representation of the
    // target resource that has an entity-tag matching a member of the list of
    // entity-tags provided in the field-value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"If-Match"`

    // The `If-Unmodified-Since` header field makes the request method
    // conditional on the selected representation's last modification date being
    // earlier than or equal to the date provided in the field-value.  This
    // field accomplishes the same purpose as If-Match for cases where the user
    // agent does not have an entity-tag for the representation.
    IfUnmodifiedSince *string `mandatory:"false" contributesTo:"header" name:"If-Unmodified-Since"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The OCID of the compartment the resource belongs to.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope DeleteRRSetScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // The OCID of the view the resource is associated with.
    ViewId *string `mandatory:"false" contributesTo:"query" name:"viewId"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteRRSetRequest) HTTPRequest

func (request DeleteRRSetRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteRRSetRequest) RetryPolicy

func (request DeleteRRSetRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteRRSetRequest) String

func (request DeleteRRSetRequest) String() string

type DeleteRRSetResponse

DeleteRRSetResponse wrapper for the DeleteRRSet operation

type DeleteRRSetResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (DeleteRRSetResponse) HTTPResponse

func (response DeleteRRSetResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteRRSetResponse) String

func (response DeleteRRSetResponse) String() string

type DeleteRRSetScopeEnum

DeleteRRSetScopeEnum Enum with underlying type: string

type DeleteRRSetScopeEnum string

Set of constants representing the allowable values for DeleteRRSetScopeEnum

const (
    DeleteRRSetScopeGlobal  DeleteRRSetScopeEnum = "GLOBAL"
    DeleteRRSetScopePrivate DeleteRRSetScopeEnum = "PRIVATE"
)

func GetDeleteRRSetScopeEnumValues

func GetDeleteRRSetScopeEnumValues() []DeleteRRSetScopeEnum

GetDeleteRRSetScopeEnumValues Enumerates the set of values for DeleteRRSetScopeEnum

type DeleteResolverEndpointRequest

DeleteResolverEndpointRequest wrapper for the DeleteResolverEndpoint operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/DeleteResolverEndpoint.go.html to see an example of how to use DeleteResolverEndpointRequest.

type DeleteResolverEndpointRequest struct {

    // The OCID of the target resolver.
    ResolverId *string `mandatory:"true" contributesTo:"path" name:"resolverId"`

    // The name of the target resolver endpoint.
    ResolverEndpointName *string `mandatory:"true" contributesTo:"path" name:"resolverEndpointName"`

    // The `If-Match` header field makes the request method conditional on the
    // existence of at least one current representation of the target resource,
    // when the field-value is `*`, or having a current representation of the
    // target resource that has an entity-tag matching a member of the list of
    // entity-tags provided in the field-value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"If-Match"`

    // The `If-Unmodified-Since` header field makes the request method
    // conditional on the selected representation's last modification date being
    // earlier than or equal to the date provided in the field-value.  This
    // field accomplishes the same purpose as If-Match for cases where the user
    // agent does not have an entity-tag for the representation.
    IfUnmodifiedSince *string `mandatory:"false" contributesTo:"header" name:"If-Unmodified-Since"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope DeleteResolverEndpointScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteResolverEndpointRequest) HTTPRequest

func (request DeleteResolverEndpointRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteResolverEndpointRequest) RetryPolicy

func (request DeleteResolverEndpointRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteResolverEndpointRequest) String

func (request DeleteResolverEndpointRequest) String() string

type DeleteResolverEndpointResponse

DeleteResolverEndpointResponse wrapper for the DeleteResolverEndpoint operation

type DeleteResolverEndpointResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Unique Oracle-assigned identifier for the asynchronous request.
    // You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

func (DeleteResolverEndpointResponse) HTTPResponse

func (response DeleteResolverEndpointResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteResolverEndpointResponse) String

func (response DeleteResolverEndpointResponse) String() string

type DeleteResolverEndpointScopeEnum

DeleteResolverEndpointScopeEnum Enum with underlying type: string

type DeleteResolverEndpointScopeEnum string

Set of constants representing the allowable values for DeleteResolverEndpointScopeEnum

const (
    DeleteResolverEndpointScopeGlobal  DeleteResolverEndpointScopeEnum = "GLOBAL"
    DeleteResolverEndpointScopePrivate DeleteResolverEndpointScopeEnum = "PRIVATE"
)

func GetDeleteResolverEndpointScopeEnumValues

func GetDeleteResolverEndpointScopeEnumValues() []DeleteResolverEndpointScopeEnum

GetDeleteResolverEndpointScopeEnumValues Enumerates the set of values for DeleteResolverEndpointScopeEnum

type DeleteSteeringPolicyAttachmentRequest

DeleteSteeringPolicyAttachmentRequest wrapper for the DeleteSteeringPolicyAttachment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/DeleteSteeringPolicyAttachment.go.html to see an example of how to use DeleteSteeringPolicyAttachmentRequest.

type DeleteSteeringPolicyAttachmentRequest struct {

    // The OCID of the target steering policy attachment.
    SteeringPolicyAttachmentId *string `mandatory:"true" contributesTo:"path" name:"steeringPolicyAttachmentId"`

    // The `If-Match` header field makes the request method conditional on the
    // existence of at least one current representation of the target resource,
    // when the field-value is `*`, or having a current representation of the
    // target resource that has an entity-tag matching a member of the list of
    // entity-tags provided in the field-value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"If-Match"`

    // The `If-Unmodified-Since` header field makes the request method
    // conditional on the selected representation's last modification date being
    // earlier than or equal to the date provided in the field-value.  This
    // field accomplishes the same purpose as If-Match for cases where the user
    // agent does not have an entity-tag for the representation.
    IfUnmodifiedSince *string `mandatory:"false" contributesTo:"header" name:"If-Unmodified-Since"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope DeleteSteeringPolicyAttachmentScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteSteeringPolicyAttachmentRequest) HTTPRequest

func (request DeleteSteeringPolicyAttachmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteSteeringPolicyAttachmentRequest) RetryPolicy

func (request DeleteSteeringPolicyAttachmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteSteeringPolicyAttachmentRequest) String

func (request DeleteSteeringPolicyAttachmentRequest) String() string

type DeleteSteeringPolicyAttachmentResponse

DeleteSteeringPolicyAttachmentResponse wrapper for the DeleteSteeringPolicyAttachment operation

type DeleteSteeringPolicyAttachmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (DeleteSteeringPolicyAttachmentResponse) HTTPResponse

func (response DeleteSteeringPolicyAttachmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteSteeringPolicyAttachmentResponse) String

func (response DeleteSteeringPolicyAttachmentResponse) String() string

type DeleteSteeringPolicyAttachmentScopeEnum

DeleteSteeringPolicyAttachmentScopeEnum Enum with underlying type: string

type DeleteSteeringPolicyAttachmentScopeEnum string

Set of constants representing the allowable values for DeleteSteeringPolicyAttachmentScopeEnum

const (
    DeleteSteeringPolicyAttachmentScopeGlobal  DeleteSteeringPolicyAttachmentScopeEnum = "GLOBAL"
    DeleteSteeringPolicyAttachmentScopePrivate DeleteSteeringPolicyAttachmentScopeEnum = "PRIVATE"
)

func GetDeleteSteeringPolicyAttachmentScopeEnumValues

func GetDeleteSteeringPolicyAttachmentScopeEnumValues() []DeleteSteeringPolicyAttachmentScopeEnum

GetDeleteSteeringPolicyAttachmentScopeEnumValues Enumerates the set of values for DeleteSteeringPolicyAttachmentScopeEnum

type DeleteSteeringPolicyRequest

DeleteSteeringPolicyRequest wrapper for the DeleteSteeringPolicy operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/DeleteSteeringPolicy.go.html to see an example of how to use DeleteSteeringPolicyRequest.

type DeleteSteeringPolicyRequest struct {

    // The OCID of the target steering policy.
    SteeringPolicyId *string `mandatory:"true" contributesTo:"path" name:"steeringPolicyId"`

    // The `If-Match` header field makes the request method conditional on the
    // existence of at least one current representation of the target resource,
    // when the field-value is `*`, or having a current representation of the
    // target resource that has an entity-tag matching a member of the list of
    // entity-tags provided in the field-value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"If-Match"`

    // The `If-Unmodified-Since` header field makes the request method
    // conditional on the selected representation's last modification date being
    // earlier than or equal to the date provided in the field-value.  This
    // field accomplishes the same purpose as If-Match for cases where the user
    // agent does not have an entity-tag for the representation.
    IfUnmodifiedSince *string `mandatory:"false" contributesTo:"header" name:"If-Unmodified-Since"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope DeleteSteeringPolicyScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteSteeringPolicyRequest) HTTPRequest

func (request DeleteSteeringPolicyRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteSteeringPolicyRequest) RetryPolicy

func (request DeleteSteeringPolicyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteSteeringPolicyRequest) String

func (request DeleteSteeringPolicyRequest) String() string

type DeleteSteeringPolicyResponse

DeleteSteeringPolicyResponse wrapper for the DeleteSteeringPolicy operation

type DeleteSteeringPolicyResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (DeleteSteeringPolicyResponse) HTTPResponse

func (response DeleteSteeringPolicyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteSteeringPolicyResponse) String

func (response DeleteSteeringPolicyResponse) String() string

type DeleteSteeringPolicyScopeEnum

DeleteSteeringPolicyScopeEnum Enum with underlying type: string

type DeleteSteeringPolicyScopeEnum string

Set of constants representing the allowable values for DeleteSteeringPolicyScopeEnum

const (
    DeleteSteeringPolicyScopeGlobal  DeleteSteeringPolicyScopeEnum = "GLOBAL"
    DeleteSteeringPolicyScopePrivate DeleteSteeringPolicyScopeEnum = "PRIVATE"
)

func GetDeleteSteeringPolicyScopeEnumValues

func GetDeleteSteeringPolicyScopeEnumValues() []DeleteSteeringPolicyScopeEnum

GetDeleteSteeringPolicyScopeEnumValues Enumerates the set of values for DeleteSteeringPolicyScopeEnum

type DeleteTsigKeyRequest

DeleteTsigKeyRequest wrapper for the DeleteTsigKey operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/DeleteTsigKey.go.html to see an example of how to use DeleteTsigKeyRequest.

type DeleteTsigKeyRequest struct {

    // The OCID of the target TSIG key.
    TsigKeyId *string `mandatory:"true" contributesTo:"path" name:"tsigKeyId"`

    // The `If-Match` header field makes the request method conditional on the
    // existence of at least one current representation of the target resource,
    // when the field-value is `*`, or having a current representation of the
    // target resource that has an entity-tag matching a member of the list of
    // entity-tags provided in the field-value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"If-Match"`

    // The `If-Unmodified-Since` header field makes the request method
    // conditional on the selected representation's last modification date being
    // earlier than or equal to the date provided in the field-value.  This
    // field accomplishes the same purpose as If-Match for cases where the user
    // agent does not have an entity-tag for the representation.
    IfUnmodifiedSince *string `mandatory:"false" contributesTo:"header" name:"If-Unmodified-Since"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope DeleteTsigKeyScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteTsigKeyRequest) HTTPRequest

func (request DeleteTsigKeyRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteTsigKeyRequest) RetryPolicy

func (request DeleteTsigKeyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteTsigKeyRequest) String

func (request DeleteTsigKeyRequest) String() string

type DeleteTsigKeyResponse

DeleteTsigKeyResponse wrapper for the DeleteTsigKey operation

type DeleteTsigKeyResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Unique Oracle-assigned identifier for the asynchronous request.
    // You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

func (DeleteTsigKeyResponse) HTTPResponse

func (response DeleteTsigKeyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteTsigKeyResponse) String

func (response DeleteTsigKeyResponse) String() string

type DeleteTsigKeyScopeEnum

DeleteTsigKeyScopeEnum Enum with underlying type: string

type DeleteTsigKeyScopeEnum string

Set of constants representing the allowable values for DeleteTsigKeyScopeEnum

const (
    DeleteTsigKeyScopeGlobal  DeleteTsigKeyScopeEnum = "GLOBAL"
    DeleteTsigKeyScopePrivate DeleteTsigKeyScopeEnum = "PRIVATE"
)

func GetDeleteTsigKeyScopeEnumValues

func GetDeleteTsigKeyScopeEnumValues() []DeleteTsigKeyScopeEnum

GetDeleteTsigKeyScopeEnumValues Enumerates the set of values for DeleteTsigKeyScopeEnum

type DeleteViewRequest

DeleteViewRequest wrapper for the DeleteView operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/DeleteView.go.html to see an example of how to use DeleteViewRequest.

type DeleteViewRequest struct {

    // The OCID of the target view.
    ViewId *string `mandatory:"true" contributesTo:"path" name:"viewId"`

    // The `If-Match` header field makes the request method conditional on the
    // existence of at least one current representation of the target resource,
    // when the field-value is `*`, or having a current representation of the
    // target resource that has an entity-tag matching a member of the list of
    // entity-tags provided in the field-value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"If-Match"`

    // The `If-Unmodified-Since` header field makes the request method
    // conditional on the selected representation's last modification date being
    // earlier than or equal to the date provided in the field-value.  This
    // field accomplishes the same purpose as If-Match for cases where the user
    // agent does not have an entity-tag for the representation.
    IfUnmodifiedSince *string `mandatory:"false" contributesTo:"header" name:"If-Unmodified-Since"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope DeleteViewScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteViewRequest) HTTPRequest

func (request DeleteViewRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteViewRequest) RetryPolicy

func (request DeleteViewRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteViewRequest) String

func (request DeleteViewRequest) String() string

type DeleteViewResponse

DeleteViewResponse wrapper for the DeleteView operation

type DeleteViewResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Unique Oracle-assigned identifier for the asynchronous request.
    // You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

func (DeleteViewResponse) HTTPResponse

func (response DeleteViewResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteViewResponse) String

func (response DeleteViewResponse) String() string

type DeleteViewScopeEnum

DeleteViewScopeEnum Enum with underlying type: string

type DeleteViewScopeEnum string

Set of constants representing the allowable values for DeleteViewScopeEnum

const (
    DeleteViewScopeGlobal  DeleteViewScopeEnum = "GLOBAL"
    DeleteViewScopePrivate DeleteViewScopeEnum = "PRIVATE"
)

func GetDeleteViewScopeEnumValues

func GetDeleteViewScopeEnumValues() []DeleteViewScopeEnum

GetDeleteViewScopeEnumValues Enumerates the set of values for DeleteViewScopeEnum

type DeleteZoneRequest

DeleteZoneRequest wrapper for the DeleteZone operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/DeleteZone.go.html to see an example of how to use DeleteZoneRequest.

type DeleteZoneRequest struct {

    // The name or OCID of the target zone.
    ZoneNameOrId *string `mandatory:"true" contributesTo:"path" name:"zoneNameOrId"`

    // The `If-Match` header field makes the request method conditional on the
    // existence of at least one current representation of the target resource,
    // when the field-value is `*`, or having a current representation of the
    // target resource that has an entity-tag matching a member of the list of
    // entity-tags provided in the field-value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"If-Match"`

    // The `If-Unmodified-Since` header field makes the request method
    // conditional on the selected representation's last modification date being
    // earlier than or equal to the date provided in the field-value.  This
    // field accomplishes the same purpose as If-Match for cases where the user
    // agent does not have an entity-tag for the representation.
    IfUnmodifiedSince *string `mandatory:"false" contributesTo:"header" name:"If-Unmodified-Since"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope DeleteZoneScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // The OCID of the view the resource is associated with.
    ViewId *string `mandatory:"false" contributesTo:"query" name:"viewId"`

    // The OCID of the compartment the resource belongs to.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (DeleteZoneRequest) HTTPRequest

func (request DeleteZoneRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteZoneRequest) RetryPolicy

func (request DeleteZoneRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (DeleteZoneRequest) String

func (request DeleteZoneRequest) String() string

type DeleteZoneResponse

DeleteZoneResponse wrapper for the DeleteZone operation

type DeleteZoneResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Unique Oracle-assigned identifier for the asynchronous request.
    // You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

func (DeleteZoneResponse) HTTPResponse

func (response DeleteZoneResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (DeleteZoneResponse) String

func (response DeleteZoneResponse) String() string

type DeleteZoneScopeEnum

DeleteZoneScopeEnum Enum with underlying type: string

type DeleteZoneScopeEnum string

Set of constants representing the allowable values for DeleteZoneScopeEnum

const (
    DeleteZoneScopeGlobal  DeleteZoneScopeEnum = "GLOBAL"
    DeleteZoneScopePrivate DeleteZoneScopeEnum = "PRIVATE"
)

func GetDeleteZoneScopeEnumValues

func GetDeleteZoneScopeEnumValues() []DeleteZoneScopeEnum

GetDeleteZoneScopeEnumValues Enumerates the set of values for DeleteZoneScopeEnum

type DnsClient

DnsClient a client for Dns

type DnsClient struct {
    common.BaseClient
    // contains filtered or unexported fields
}

func NewDnsClientWithConfigurationProvider

func NewDnsClientWithConfigurationProvider(configProvider common.ConfigurationProvider) (client DnsClient, err error)

NewDnsClientWithConfigurationProvider Creates a new default Dns client with the given configuration provider. the configuration provider will be used for the default signer as well as reading the region

func NewDnsClientWithOboToken

func NewDnsClientWithOboToken(configProvider common.ConfigurationProvider, oboToken string) (client DnsClient, err error)

NewDnsClientWithOboToken Creates a new default Dns client with the given configuration provider. The obotoken will be added to default headers and signed; the configuration provider will be used for the signer

as well as reading the region

func (DnsClient) ChangeResolverCompartment

func (client DnsClient) ChangeResolverCompartment(ctx context.Context, request ChangeResolverCompartmentRequest) (response ChangeResolverCompartmentResponse, err error)

ChangeResolverCompartment Moves a resolver into a different compartment along with its protected default view and any endpoints. Zones in the default view are not moved.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/ChangeResolverCompartment.go.html to see an example of how to use ChangeResolverCompartment API.

func (DnsClient) ChangeSteeringPolicyCompartment

func (client DnsClient) ChangeSteeringPolicyCompartment(ctx context.Context, request ChangeSteeringPolicyCompartmentRequest) (response ChangeSteeringPolicyCompartmentResponse, err error)

ChangeSteeringPolicyCompartment Moves a steering policy into a different compartment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/ChangeSteeringPolicyCompartment.go.html to see an example of how to use ChangeSteeringPolicyCompartment API.

func (DnsClient) ChangeTsigKeyCompartment

func (client DnsClient) ChangeTsigKeyCompartment(ctx context.Context, request ChangeTsigKeyCompartmentRequest) (response ChangeTsigKeyCompartmentResponse, err error)

ChangeTsigKeyCompartment Moves a TSIG key into a different compartment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/ChangeTsigKeyCompartment.go.html to see an example of how to use ChangeTsigKeyCompartment API.

func (DnsClient) ChangeViewCompartment

func (client DnsClient) ChangeViewCompartment(ctx context.Context, request ChangeViewCompartmentRequest) (response ChangeViewCompartmentResponse, err error)

ChangeViewCompartment Moves a view into a different compartment. Protected views cannot have their compartment changed.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/ChangeViewCompartment.go.html to see an example of how to use ChangeViewCompartment API.

func (DnsClient) ChangeZoneCompartment

func (client DnsClient) ChangeZoneCompartment(ctx context.Context, request ChangeZoneCompartmentRequest) (response ChangeZoneCompartmentResponse, err error)

ChangeZoneCompartment Moves 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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/ChangeZoneCompartment.go.html to see an example of how to use ChangeZoneCompartment API.

func (*DnsClient) ConfigurationProvider

func (client *DnsClient) ConfigurationProvider() *common.ConfigurationProvider

ConfigurationProvider the ConfigurationProvider used in this client, or null if none set

func (DnsClient) CreateResolverEndpoint

func (client DnsClient) CreateResolverEndpoint(ctx context.Context, request CreateResolverEndpointRequest) (response CreateResolverEndpointResponse, err error)

CreateResolverEndpoint Creates a new resolver endpoint.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/CreateResolverEndpoint.go.html to see an example of how to use CreateResolverEndpoint API.

func (DnsClient) CreateSteeringPolicy

func (client DnsClient) CreateSteeringPolicy(ctx context.Context, request CreateSteeringPolicyRequest) (response CreateSteeringPolicyResponse, err error)

CreateSteeringPolicy Creates a new steering policy in the specified compartment. For more information on creating policies with templates, see Traffic Management API Guide (https://docs.cloud.oracle.com/iaas/Content/TrafficManagement/Concepts/trafficmanagementapi.htm).

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/CreateSteeringPolicy.go.html to see an example of how to use CreateSteeringPolicy API.

func (DnsClient) CreateSteeringPolicyAttachment

func (client DnsClient) CreateSteeringPolicyAttachment(ctx context.Context, request CreateSteeringPolicyAttachmentRequest) (response CreateSteeringPolicyAttachmentResponse, err error)

CreateSteeringPolicyAttachment Creates 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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/CreateSteeringPolicyAttachment.go.html to see an example of how to use CreateSteeringPolicyAttachment API.

func (DnsClient) CreateTsigKey

func (client DnsClient) CreateTsigKey(ctx context.Context, request CreateTsigKeyRequest) (response CreateTsigKeyResponse, err error)

CreateTsigKey Creates a new TSIG key in the specified compartment. There is no `opc-retry-token` header since TSIG key names must be globally unique.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/CreateTsigKey.go.html to see an example of how to use CreateTsigKey API.

func (DnsClient) CreateView

func (client DnsClient) CreateView(ctx context.Context, request CreateViewRequest) (response CreateViewResponse, err error)

CreateView Creates a new view in the specified compartment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/CreateView.go.html to see an example of how to use CreateView API.

func (DnsClient) CreateZone

func (client DnsClient) CreateZone(ctx context.Context, request CreateZoneRequest) (response CreateZoneResponse, err error)

CreateZone Creates 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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/CreateZone.go.html to see an example of how to use CreateZone API.

func (DnsClient) DeleteDomainRecords

func (client DnsClient) DeleteDomainRecords(ctx context.Context, request DeleteDomainRecordsRequest) (response DeleteDomainRecordsResponse, err error)

DeleteDomainRecords Deletes all records at the specified zone and domain.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/DeleteDomainRecords.go.html to see an example of how to use DeleteDomainRecords API.

func (DnsClient) DeleteRRSet

func (client DnsClient) DeleteRRSet(ctx context.Context, request DeleteRRSetRequest) (response DeleteRRSetResponse, err error)

DeleteRRSet Deletes all records in the specified RRSet.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/DeleteRRSet.go.html to see an example of how to use DeleteRRSet API.

func (DnsClient) DeleteResolverEndpoint

func (client DnsClient) DeleteResolverEndpoint(ctx context.Context, request DeleteResolverEndpointRequest) (response DeleteResolverEndpointResponse, err error)

DeleteResolverEndpoint Deletes 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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/DeleteResolverEndpoint.go.html to see an example of how to use DeleteResolverEndpoint API.

func (DnsClient) DeleteSteeringPolicy

func (client DnsClient) DeleteSteeringPolicy(ctx context.Context, request DeleteSteeringPolicyRequest) (response DeleteSteeringPolicyResponse, err error)

DeleteSteeringPolicy Deletes 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`.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/DeleteSteeringPolicy.go.html to see an example of how to use DeleteSteeringPolicy API.

func (DnsClient) DeleteSteeringPolicyAttachment

func (client DnsClient) DeleteSteeringPolicyAttachment(ctx context.Context, request DeleteSteeringPolicyAttachmentRequest) (response DeleteSteeringPolicyAttachmentResponse, err error)

DeleteSteeringPolicyAttachment Deletes the specified steering policy attachment. A `204` response indicates that the delete has been successful.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/DeleteSteeringPolicyAttachment.go.html to see an example of how to use DeleteSteeringPolicyAttachment API.

func (DnsClient) DeleteTsigKey

func (client DnsClient) DeleteTsigKey(ctx context.Context, request DeleteTsigKeyRequest) (response DeleteTsigKeyResponse, err error)

DeleteTsigKey Deletes the specified TSIG key.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/DeleteTsigKey.go.html to see an example of how to use DeleteTsigKey API.

func (DnsClient) DeleteView

func (client DnsClient) DeleteView(ctx context.Context, request DeleteViewRequest) (response DeleteViewResponse, err error)

DeleteView Deletes 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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/DeleteView.go.html to see an example of how to use DeleteView API.

func (DnsClient) DeleteZone

func (client DnsClient) DeleteZone(ctx context.Context, request DeleteZoneRequest) (response DeleteZoneResponse, err error)

DeleteZone Deletes 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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/DeleteZone.go.html to see an example of how to use DeleteZone API.

func (DnsClient) GetDomainRecords

func (client DnsClient) GetDomainRecords(ctx context.Context, request GetDomainRecordsRequest) (response GetDomainRecordsResponse, err error)

GetDomainRecords Gets 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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/GetDomainRecords.go.html to see an example of how to use GetDomainRecords API.

func (DnsClient) GetRRSet

func (client DnsClient) GetRRSet(ctx context.Context, request GetRRSetRequest) (response GetRRSetResponse, err error)

GetRRSet Gets a list of all records in the specified RRSet. The results are sorted by `recordHash` by default.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/GetRRSet.go.html to see an example of how to use GetRRSet API.

func (DnsClient) GetResolver

func (client DnsClient) GetResolver(ctx context.Context, request GetResolverRequest) (response GetResolverResponse, err error)

GetResolver Get 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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/GetResolver.go.html to see an example of how to use GetResolver API.

func (DnsClient) GetResolverEndpoint

func (client DnsClient) GetResolverEndpoint(ctx context.Context, request GetResolverEndpointRequest) (response GetResolverEndpointResponse, err error)

GetResolverEndpoint Get 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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/GetResolverEndpoint.go.html to see an example of how to use GetResolverEndpoint API.

func (DnsClient) GetSteeringPolicy

func (client DnsClient) GetSteeringPolicy(ctx context.Context, request GetSteeringPolicyRequest) (response GetSteeringPolicyResponse, err error)

GetSteeringPolicy Gets information about the specified steering policy.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/GetSteeringPolicy.go.html to see an example of how to use GetSteeringPolicy API.

func (DnsClient) GetSteeringPolicyAttachment

func (client DnsClient) GetSteeringPolicyAttachment(ctx context.Context, request GetSteeringPolicyAttachmentRequest) (response GetSteeringPolicyAttachmentResponse, err error)

GetSteeringPolicyAttachment Gets information about the specified steering policy attachment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/GetSteeringPolicyAttachment.go.html to see an example of how to use GetSteeringPolicyAttachment API.

func (DnsClient) GetTsigKey

func (client DnsClient) GetTsigKey(ctx context.Context, request GetTsigKeyRequest) (response GetTsigKeyResponse, err error)

GetTsigKey Gets information about the specified TSIG key.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/GetTsigKey.go.html to see an example of how to use GetTsigKey API.

func (DnsClient) GetView

func (client DnsClient) GetView(ctx context.Context, request GetViewRequest) (response GetViewResponse, err error)

GetView Get 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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/GetView.go.html to see an example of how to use GetView API.

func (DnsClient) GetZone

func (client DnsClient) GetZone(ctx context.Context, request GetZoneRequest) (response GetZoneResponse, err error)

GetZone Gets information about the specified zone, including its creation date, zone type, and serial.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/GetZone.go.html to see an example of how to use GetZone API.

func (DnsClient) GetZoneRecords

func (client DnsClient) GetZoneRecords(ctx context.Context, request GetZoneRecordsRequest) (response GetZoneRecordsResponse, err error)

GetZoneRecords Gets 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 (https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4).

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/GetZoneRecords.go.html to see an example of how to use GetZoneRecords API.

func (DnsClient) ListResolverEndpoints

func (client DnsClient) ListResolverEndpoints(ctx context.Context, request ListResolverEndpointsRequest) (response ListResolverEndpointsResponse, err error)

ListResolverEndpoints Gets 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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/ListResolverEndpoints.go.html to see an example of how to use ListResolverEndpoints API.

func (DnsClient) ListResolvers

func (client DnsClient) ListResolvers(ctx context.Context, request ListResolversRequest) (response ListResolversResponse, err error)

ListResolvers Gets 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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/ListResolvers.go.html to see an example of how to use ListResolvers API.

func (DnsClient) ListSteeringPolicies

func (client DnsClient) ListSteeringPolicies(ctx context.Context, request ListSteeringPoliciesRequest) (response ListSteeringPoliciesResponse, err error)

ListSteeringPolicies Gets a list of all steering policies in the specified compartment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/ListSteeringPolicies.go.html to see an example of how to use ListSteeringPolicies API.

func (DnsClient) ListSteeringPolicyAttachments

func (client DnsClient) ListSteeringPolicyAttachments(ctx context.Context, request ListSteeringPolicyAttachmentsRequest) (response ListSteeringPolicyAttachmentsResponse, err error)

ListSteeringPolicyAttachments Lists the steering policy attachments in the specified compartment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/ListSteeringPolicyAttachments.go.html to see an example of how to use ListSteeringPolicyAttachments API.

func (DnsClient) ListTsigKeys

func (client DnsClient) ListTsigKeys(ctx context.Context, request ListTsigKeysRequest) (response ListTsigKeysResponse, err error)

ListTsigKeys Gets a list of all TSIG keys in the specified compartment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/ListTsigKeys.go.html to see an example of how to use ListTsigKeys API.

func (DnsClient) ListViews

func (client DnsClient) ListViews(ctx context.Context, request ListViewsRequest) (response ListViewsResponse, err error)

ListViews Gets 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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/ListViews.go.html to see an example of how to use ListViews API.

func (DnsClient) ListZones

func (client DnsClient) ListZones(ctx context.Context, request ListZonesRequest) (response ListZonesResponse, err error)

ListZones Gets a list of all zones in the specified compartment. The collection can be filtered by name, time created, scope, associated view, and zone type.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/ListZones.go.html to see an example of how to use ListZones API.

func (DnsClient) PatchDomainRecords

func (client DnsClient) PatchDomainRecords(ctx context.Context, request PatchDomainRecordsRequest) (response PatchDomainRecordsResponse, err error)

PatchDomainRecords Updates 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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/PatchDomainRecords.go.html to see an example of how to use PatchDomainRecords API.

func (DnsClient) PatchRRSet

func (client DnsClient) PatchRRSet(ctx context.Context, request PatchRRSetRequest) (response PatchRRSetResponse, err error)

PatchRRSet Updates records in the specified RRSet.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/PatchRRSet.go.html to see an example of how to use PatchRRSet API.

func (DnsClient) PatchZoneRecords

func (client DnsClient) PatchZoneRecords(ctx context.Context, request PatchZoneRecordsRequest) (response PatchZoneRecordsResponse, err error)

PatchZoneRecords Updates 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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/PatchZoneRecords.go.html to see an example of how to use PatchZoneRecords API.

func (*DnsClient) SetRegion

func (client *DnsClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (DnsClient) UpdateDomainRecords

func (client DnsClient) UpdateDomainRecords(ctx context.Context, request UpdateDomainRecordsRequest) (response UpdateDomainRecordsResponse, err error)

UpdateDomainRecords Replaces 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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/UpdateDomainRecords.go.html to see an example of how to use UpdateDomainRecords API.

func (DnsClient) UpdateRRSet

func (client DnsClient) UpdateRRSet(ctx context.Context, request UpdateRRSetRequest) (response UpdateRRSetResponse, err error)

UpdateRRSet Replaces records in the specified RRSet.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/UpdateRRSet.go.html to see an example of how to use UpdateRRSet API.

func (DnsClient) UpdateResolver

func (client DnsClient) UpdateResolver(ctx context.Context, request UpdateResolverRequest) (response UpdateResolverResponse, err error)

UpdateResolver Updates the specified resolver with your new information.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/UpdateResolver.go.html to see an example of how to use UpdateResolver API.

func (DnsClient) UpdateResolverEndpoint

func (client DnsClient) UpdateResolverEndpoint(ctx context.Context, request UpdateResolverEndpointRequest) (response UpdateResolverEndpointResponse, err error)

UpdateResolverEndpoint Updates the specified resolver endpoint with your new information.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/UpdateResolverEndpoint.go.html to see an example of how to use UpdateResolverEndpoint API.

func (DnsClient) UpdateSteeringPolicy

func (client DnsClient) UpdateSteeringPolicy(ctx context.Context, request UpdateSteeringPolicyRequest) (response UpdateSteeringPolicyResponse, err error)

UpdateSteeringPolicy Updates the configuration of the specified steering policy.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/UpdateSteeringPolicy.go.html to see an example of how to use UpdateSteeringPolicy API.

func (DnsClient) UpdateSteeringPolicyAttachment

func (client DnsClient) UpdateSteeringPolicyAttachment(ctx context.Context, request UpdateSteeringPolicyAttachmentRequest) (response UpdateSteeringPolicyAttachmentResponse, err error)

UpdateSteeringPolicyAttachment Updates the specified steering policy attachment with your new information.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/UpdateSteeringPolicyAttachment.go.html to see an example of how to use UpdateSteeringPolicyAttachment API.

func (DnsClient) UpdateTsigKey

func (client DnsClient) UpdateTsigKey(ctx context.Context, request UpdateTsigKeyRequest) (response UpdateTsigKeyResponse, err error)

UpdateTsigKey Updates the specified TSIG key.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/UpdateTsigKey.go.html to see an example of how to use UpdateTsigKey API.

func (DnsClient) UpdateView

func (client DnsClient) UpdateView(ctx context.Context, request UpdateViewRequest) (response UpdateViewResponse, err error)

UpdateView Updates the specified view with your new information.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/UpdateView.go.html to see an example of how to use UpdateView API.

func (DnsClient) UpdateZone

func (client DnsClient) UpdateZone(ctx context.Context, request UpdateZoneRequest) (response UpdateZoneResponse, err error)

UpdateZone Updates the specified secondary zone with your new external master server information. For more information about secondary zone, see Manage DNS Service Zone (https://docs.cloud.oracle.com/iaas/Content/DNS/Tasks/managingdnszones.htm).

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/UpdateZone.go.html to see an example of how to use UpdateZone API.

func (DnsClient) UpdateZoneRecords

func (client DnsClient) UpdateZoneRecords(ctx context.Context, request UpdateZoneRecordsRequest) (response UpdateZoneRecordsResponse, err error)

UpdateZoneRecords Replaces 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.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/UpdateZoneRecords.go.html to see an example of how to use UpdateZoneRecords API.

type DynectMigrationDetails

DynectMigrationDetails Details specific to performing a DynECT zone migration.

type DynectMigrationDetails struct {

    // DynECT customer name the zone belongs to.
    CustomerName *string `mandatory:"true" json:"customerName"`

    // DynECT API username to perform the migration with.
    Username *string `mandatory:"true" json:"username"`

    // DynECT API password for the provided username.
    Password *string `mandatory:"true" json:"password"`

    // A map of fully-qualified domain names (FQDNs) to an array of `MigrationReplacement` objects.
    HttpRedirectReplacements map[string][]MigrationReplacement `mandatory:"false" json:"httpRedirectReplacements"`
}

func (DynectMigrationDetails) String

func (m DynectMigrationDetails) String() string

type ExternalMaster

ExternalMaster An external master name server used as the source of zone data. May either have a zone-embedded TSIG or reference a TSIG key by OCID, but not both.

type ExternalMaster struct {

    // The server's IP address (IPv4 or IPv6).
    Address *string `mandatory:"true" json:"address"`

    // The server's port. Port value must be a value of 53, otherwise omit
    // the port value.
    Port *int `mandatory:"false" json:"port"`

    Tsig *Tsig `mandatory:"false" json:"tsig"`

    // The OCID of the TSIG key.
    TsigKeyId *string `mandatory:"false" json:"tsigKeyId"`
}

func (ExternalMaster) String

func (m ExternalMaster) String() string

type GetDomainRecordsRequest

GetDomainRecordsRequest wrapper for the GetDomainRecords operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/GetDomainRecords.go.html to see an example of how to use GetDomainRecordsRequest.

type GetDomainRecordsRequest struct {

    // The name or OCID of the target zone.
    ZoneNameOrId *string `mandatory:"true" contributesTo:"path" name:"zoneNameOrId"`

    // The target fully-qualified domain name (FQDN) within the target zone.
    Domain *string `mandatory:"true" contributesTo:"path" name:"domain"`

    // The `If-None-Match` header field makes the request method conditional on
    // the absence of any current representation of the target resource, when
    // the field-value is `*`, or having a selected representation with an
    // entity-tag that does not match any of those listed in the field-value.
    IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"If-None-Match"`

    // The `If-Modified-Since` header field makes a GET or HEAD request method
    // conditional on the selected representation's modification date being more
    // recent than the date provided in the field-value.  Transfer of the
    // selected representation's data is avoided if that data has not changed.
    IfModifiedSince *string `mandatory:"false" contributesTo:"header" name:"If-Modified-Since"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The maximum number of items to return in a page of the collection.
    Limit *int64 `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the previous "List" call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The version of the zone for which data is requested.
    ZoneVersion *string `mandatory:"false" contributesTo:"query" name:"zoneVersion"`

    // Search by record type.
    // Will match any record whose type (https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4) (case-insensitive) equals the provided value.
    Rtype *string `mandatory:"false" contributesTo:"query" name:"rtype"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope GetDomainRecordsScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // The OCID of the view the resource is associated with.
    ViewId *string `mandatory:"false" contributesTo:"query" name:"viewId"`

    // The field by which to sort records.
    SortBy GetDomainRecordsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The order to sort the resources.
    SortOrder GetDomainRecordsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The OCID of the compartment the resource belongs to.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetDomainRecordsRequest) HTTPRequest

func (request GetDomainRecordsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDomainRecordsRequest) RetryPolicy

func (request GetDomainRecordsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetDomainRecordsRequest) String

func (request GetDomainRecordsRequest) String() string

type GetDomainRecordsResponse

GetDomainRecordsResponse wrapper for the GetDomainRecords operation

type GetDomainRecordsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of RecordCollection instances
    RecordCollection `presentIn:"body"`

    // For list pagination. When this header appears in the response, additional pages
    // of results remain. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // The total number of items that match the query.
    OpcTotalItems *int `presentIn:"header" name:"opc-total-items"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // The current version of the record collection, ending with a
    // representation-specific suffix. This value may be used in If-Match
    // and If-None-Match headers for later requests of the same resource.
    ETag *string `presentIn:"header" name:"etag"`
}

func (GetDomainRecordsResponse) HTTPResponse

func (response GetDomainRecordsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetDomainRecordsResponse) String

func (response GetDomainRecordsResponse) String() string

type GetDomainRecordsScopeEnum

GetDomainRecordsScopeEnum Enum with underlying type: string

type GetDomainRecordsScopeEnum string

Set of constants representing the allowable values for GetDomainRecordsScopeEnum

const (
    GetDomainRecordsScopeGlobal  GetDomainRecordsScopeEnum = "GLOBAL"
    GetDomainRecordsScopePrivate GetDomainRecordsScopeEnum = "PRIVATE"
)

func GetGetDomainRecordsScopeEnumValues

func GetGetDomainRecordsScopeEnumValues() []GetDomainRecordsScopeEnum

GetGetDomainRecordsScopeEnumValues Enumerates the set of values for GetDomainRecordsScopeEnum

type GetDomainRecordsSortByEnum

GetDomainRecordsSortByEnum Enum with underlying type: string

type GetDomainRecordsSortByEnum string

Set of constants representing the allowable values for GetDomainRecordsSortByEnum

const (
    GetDomainRecordsSortByRtype GetDomainRecordsSortByEnum = "rtype"
    GetDomainRecordsSortByTtl   GetDomainRecordsSortByEnum = "ttl"
)

func GetGetDomainRecordsSortByEnumValues

func GetGetDomainRecordsSortByEnumValues() []GetDomainRecordsSortByEnum

GetGetDomainRecordsSortByEnumValues Enumerates the set of values for GetDomainRecordsSortByEnum

type GetDomainRecordsSortOrderEnum

GetDomainRecordsSortOrderEnum Enum with underlying type: string

type GetDomainRecordsSortOrderEnum string

Set of constants representing the allowable values for GetDomainRecordsSortOrderEnum

const (
    GetDomainRecordsSortOrderAsc  GetDomainRecordsSortOrderEnum = "ASC"
    GetDomainRecordsSortOrderDesc GetDomainRecordsSortOrderEnum = "DESC"
)

func GetGetDomainRecordsSortOrderEnumValues

func GetGetDomainRecordsSortOrderEnumValues() []GetDomainRecordsSortOrderEnum

GetGetDomainRecordsSortOrderEnumValues Enumerates the set of values for GetDomainRecordsSortOrderEnum

type GetRRSetRequest

GetRRSetRequest wrapper for the GetRRSet operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/GetRRSet.go.html to see an example of how to use GetRRSetRequest.

type GetRRSetRequest struct {

    // The name or OCID of the target zone.
    ZoneNameOrId *string `mandatory:"true" contributesTo:"path" name:"zoneNameOrId"`

    // The target fully-qualified domain name (FQDN) within the target zone.
    Domain *string `mandatory:"true" contributesTo:"path" name:"domain"`

    // The type of the target RRSet within the target zone.
    Rtype *string `mandatory:"true" contributesTo:"path" name:"rtype"`

    // The `If-None-Match` header field makes the request method conditional on
    // the absence of any current representation of the target resource, when
    // the field-value is `*`, or having a selected representation with an
    // entity-tag that does not match any of those listed in the field-value.
    IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"If-None-Match"`

    // The `If-Modified-Since` header field makes a GET or HEAD request method
    // conditional on the selected representation's modification date being more
    // recent than the date provided in the field-value.  Transfer of the
    // selected representation's data is avoided if that data has not changed.
    IfModifiedSince *string `mandatory:"false" contributesTo:"header" name:"If-Modified-Since"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The maximum number of items to return in a page of the collection.
    Limit *int64 `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the previous "List" call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The version of the zone for which data is requested.
    ZoneVersion *string `mandatory:"false" contributesTo:"query" name:"zoneVersion"`

    // The OCID of the compartment the resource belongs to.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope GetRRSetScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // The OCID of the view the resource is associated with.
    ViewId *string `mandatory:"false" contributesTo:"query" name:"viewId"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetRRSetRequest) HTTPRequest

func (request GetRRSetRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetRRSetRequest) RetryPolicy

func (request GetRRSetRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetRRSetRequest) String

func (request GetRRSetRequest) String() string

type GetRRSetResponse

GetRRSetResponse wrapper for the GetRRSet operation

type GetRRSetResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of RrSet instances
    RrSet `presentIn:"body"`

    // For list pagination. When this header appears in the response, additional pages
    // of results remain. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // The total number of items that match the query.
    OpcTotalItems *int `presentIn:"header" name:"opc-total-items"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // The current version of the record collection, ending with a
    // representation-specific suffix. This value may be used in If-Match
    // and If-None-Match headers for later requests of the same resource.
    ETag *string `presentIn:"header" name:"etag"`
}

func (GetRRSetResponse) HTTPResponse

func (response GetRRSetResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetRRSetResponse) String

func (response GetRRSetResponse) String() string

type GetRRSetScopeEnum

GetRRSetScopeEnum Enum with underlying type: string

type GetRRSetScopeEnum string

Set of constants representing the allowable values for GetRRSetScopeEnum

const (
    GetRRSetScopeGlobal  GetRRSetScopeEnum = "GLOBAL"
    GetRRSetScopePrivate GetRRSetScopeEnum = "PRIVATE"
)

func GetGetRRSetScopeEnumValues

func GetGetRRSetScopeEnumValues() []GetRRSetScopeEnum

GetGetRRSetScopeEnumValues Enumerates the set of values for GetRRSetScopeEnum

type GetResolverEndpointRequest

GetResolverEndpointRequest wrapper for the GetResolverEndpoint operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/GetResolverEndpoint.go.html to see an example of how to use GetResolverEndpointRequest.

type GetResolverEndpointRequest struct {

    // The OCID of the target resolver.
    ResolverId *string `mandatory:"true" contributesTo:"path" name:"resolverId"`

    // The name of the target resolver endpoint.
    ResolverEndpointName *string `mandatory:"true" contributesTo:"path" name:"resolverEndpointName"`

    // The `If-Modified-Since` header field makes a GET or HEAD request method
    // conditional on the selected representation's modification date being more
    // recent than the date provided in the field-value.  Transfer of the
    // selected representation's data is avoided if that data has not changed.
    IfModifiedSince *string `mandatory:"false" contributesTo:"header" name:"If-Modified-Since"`

    // The `If-None-Match` header field makes the request method conditional on
    // the absence of any current representation of the target resource, when
    // the field-value is `*`, or having a selected representation with an
    // entity-tag that does not match any of those listed in the field-value.
    IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"If-None-Match"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope GetResolverEndpointScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetResolverEndpointRequest) HTTPRequest

func (request GetResolverEndpointRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetResolverEndpointRequest) RetryPolicy

func (request GetResolverEndpointRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetResolverEndpointRequest) String

func (request GetResolverEndpointRequest) String() string

type GetResolverEndpointResponse

GetResolverEndpointResponse wrapper for the GetResolverEndpoint operation

type GetResolverEndpointResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ResolverEndpoint instance
    ResolverEndpoint `presentIn:"body"`

    // The current version of the resource, ending with a
    // representation-specific suffix. This value may be used in If-Match
    // and If-None-Match headers for later requests of the same resource.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to
    // contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Flag to indicate whether or not the object was modified.  If this is true,
    // the getter for the object itself will return null.  Callers should check this
    // if they specified one of the request params that might result in a conditional
    // response (like 'if-match'/'if-none-match').
    IsNotModified bool
}

func (GetResolverEndpointResponse) HTTPResponse

func (response GetResolverEndpointResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetResolverEndpointResponse) String

func (response GetResolverEndpointResponse) String() string

type GetResolverEndpointScopeEnum

GetResolverEndpointScopeEnum Enum with underlying type: string

type GetResolverEndpointScopeEnum string

Set of constants representing the allowable values for GetResolverEndpointScopeEnum

const (
    GetResolverEndpointScopeGlobal  GetResolverEndpointScopeEnum = "GLOBAL"
    GetResolverEndpointScopePrivate GetResolverEndpointScopeEnum = "PRIVATE"
)

func GetGetResolverEndpointScopeEnumValues

func GetGetResolverEndpointScopeEnumValues() []GetResolverEndpointScopeEnum

GetGetResolverEndpointScopeEnumValues Enumerates the set of values for GetResolverEndpointScopeEnum

type GetResolverRequest

GetResolverRequest wrapper for the GetResolver operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/GetResolver.go.html to see an example of how to use GetResolverRequest.

type GetResolverRequest struct {

    // The OCID of the target resolver.
    ResolverId *string `mandatory:"true" contributesTo:"path" name:"resolverId"`

    // The `If-Modified-Since` header field makes a GET or HEAD request method
    // conditional on the selected representation's modification date being more
    // recent than the date provided in the field-value.  Transfer of the
    // selected representation's data is avoided if that data has not changed.
    IfModifiedSince *string `mandatory:"false" contributesTo:"header" name:"If-Modified-Since"`

    // The `If-None-Match` header field makes the request method conditional on
    // the absence of any current representation of the target resource, when
    // the field-value is `*`, or having a selected representation with an
    // entity-tag that does not match any of those listed in the field-value.
    IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"If-None-Match"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope GetResolverScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetResolverRequest) HTTPRequest

func (request GetResolverRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetResolverRequest) RetryPolicy

func (request GetResolverRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetResolverRequest) String

func (request GetResolverRequest) String() string

type GetResolverResponse

GetResolverResponse wrapper for the GetResolver operation

type GetResolverResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Resolver instance
    Resolver `presentIn:"body"`

    // The current version of the resource, ending with a
    // representation-specific suffix. This value may be used in If-Match
    // and If-None-Match headers for later requests of the same resource.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to
    // contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Flag to indicate whether or not the object was modified.  If this is true,
    // the getter for the object itself will return null.  Callers should check this
    // if they specified one of the request params that might result in a conditional
    // response (like 'if-match'/'if-none-match').
    IsNotModified bool
}

func (GetResolverResponse) HTTPResponse

func (response GetResolverResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetResolverResponse) String

func (response GetResolverResponse) String() string

type GetResolverScopeEnum

GetResolverScopeEnum Enum with underlying type: string

type GetResolverScopeEnum string

Set of constants representing the allowable values for GetResolverScopeEnum

const (
    GetResolverScopeGlobal  GetResolverScopeEnum = "GLOBAL"
    GetResolverScopePrivate GetResolverScopeEnum = "PRIVATE"
)

func GetGetResolverScopeEnumValues

func GetGetResolverScopeEnumValues() []GetResolverScopeEnum

GetGetResolverScopeEnumValues Enumerates the set of values for GetResolverScopeEnum

type GetSteeringPolicyAttachmentRequest

GetSteeringPolicyAttachmentRequest wrapper for the GetSteeringPolicyAttachment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/GetSteeringPolicyAttachment.go.html to see an example of how to use GetSteeringPolicyAttachmentRequest.

type GetSteeringPolicyAttachmentRequest struct {

    // The OCID of the target steering policy attachment.
    SteeringPolicyAttachmentId *string `mandatory:"true" contributesTo:"path" name:"steeringPolicyAttachmentId"`

    // The `If-None-Match` header field makes the request method conditional on
    // the absence of any current representation of the target resource, when
    // the field-value is `*`, or having a selected representation with an
    // entity-tag that does not match any of those listed in the field-value.
    IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"If-None-Match"`

    // The `If-Modified-Since` header field makes a GET or HEAD request method
    // conditional on the selected representation's modification date being more
    // recent than the date provided in the field-value.  Transfer of the
    // selected representation's data is avoided if that data has not changed.
    IfModifiedSince *string `mandatory:"false" contributesTo:"header" name:"If-Modified-Since"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope GetSteeringPolicyAttachmentScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetSteeringPolicyAttachmentRequest) HTTPRequest

func (request GetSteeringPolicyAttachmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetSteeringPolicyAttachmentRequest) RetryPolicy

func (request GetSteeringPolicyAttachmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetSteeringPolicyAttachmentRequest) String

func (request GetSteeringPolicyAttachmentRequest) String() string

type GetSteeringPolicyAttachmentResponse

GetSteeringPolicyAttachmentResponse wrapper for the GetSteeringPolicyAttachment operation

type GetSteeringPolicyAttachmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The SteeringPolicyAttachment instance
    SteeringPolicyAttachment `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to
    // contact Oracle about a particular request, please provide the request
    // ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // The current version of the resource, ending with a
    // representation-specific suffix. This value may be used in If-Match
    // and If-None-Match headers for later requests of the same resource.
    ETag *string `presentIn:"header" name:"etag"`

    // Flag to indicate whether or not the object was modified.  If this is true,
    // the getter for the object itself will return null.  Callers should check this
    // if they specified one of the request params that might result in a conditional
    // response (like 'if-match'/'if-none-match').
    IsNotModified bool
}

func (GetSteeringPolicyAttachmentResponse) HTTPResponse

func (response GetSteeringPolicyAttachmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetSteeringPolicyAttachmentResponse) String

func (response GetSteeringPolicyAttachmentResponse) String() string

type GetSteeringPolicyAttachmentScopeEnum

GetSteeringPolicyAttachmentScopeEnum Enum with underlying type: string

type GetSteeringPolicyAttachmentScopeEnum string

Set of constants representing the allowable values for GetSteeringPolicyAttachmentScopeEnum

const (
    GetSteeringPolicyAttachmentScopeGlobal  GetSteeringPolicyAttachmentScopeEnum = "GLOBAL"
    GetSteeringPolicyAttachmentScopePrivate GetSteeringPolicyAttachmentScopeEnum = "PRIVATE"
)

func GetGetSteeringPolicyAttachmentScopeEnumValues

func GetGetSteeringPolicyAttachmentScopeEnumValues() []GetSteeringPolicyAttachmentScopeEnum

GetGetSteeringPolicyAttachmentScopeEnumValues Enumerates the set of values for GetSteeringPolicyAttachmentScopeEnum

type GetSteeringPolicyRequest

GetSteeringPolicyRequest wrapper for the GetSteeringPolicy operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/GetSteeringPolicy.go.html to see an example of how to use GetSteeringPolicyRequest.

type GetSteeringPolicyRequest struct {

    // The OCID of the target steering policy.
    SteeringPolicyId *string `mandatory:"true" contributesTo:"path" name:"steeringPolicyId"`

    // The `If-None-Match` header field makes the request method conditional on
    // the absence of any current representation of the target resource, when
    // the field-value is `*`, or having a selected representation with an
    // entity-tag that does not match any of those listed in the field-value.
    IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"If-None-Match"`

    // The `If-Modified-Since` header field makes a GET or HEAD request method
    // conditional on the selected representation's modification date being more
    // recent than the date provided in the field-value.  Transfer of the
    // selected representation's data is avoided if that data has not changed.
    IfModifiedSince *string `mandatory:"false" contributesTo:"header" name:"If-Modified-Since"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope GetSteeringPolicyScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetSteeringPolicyRequest) HTTPRequest

func (request GetSteeringPolicyRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetSteeringPolicyRequest) RetryPolicy

func (request GetSteeringPolicyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetSteeringPolicyRequest) String

func (request GetSteeringPolicyRequest) String() string

type GetSteeringPolicyResponse

GetSteeringPolicyResponse wrapper for the GetSteeringPolicy operation

type GetSteeringPolicyResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The SteeringPolicy instance
    SteeringPolicy `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to
    // contact Oracle about a particular request, please provide the request
    // ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // The current version of the resource, ending with a
    // representation-specific suffix. This value may be used in If-Match
    // and If-None-Match headers for later requests of the same resource.
    ETag *string `presentIn:"header" name:"etag"`

    // Flag to indicate whether or not the object was modified.  If this is true,
    // the getter for the object itself will return null.  Callers should check this
    // if they specified one of the request params that might result in a conditional
    // response (like 'if-match'/'if-none-match').
    IsNotModified bool
}

func (GetSteeringPolicyResponse) HTTPResponse

func (response GetSteeringPolicyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetSteeringPolicyResponse) String

func (response GetSteeringPolicyResponse) String() string

type GetSteeringPolicyScopeEnum

GetSteeringPolicyScopeEnum Enum with underlying type: string

type GetSteeringPolicyScopeEnum string

Set of constants representing the allowable values for GetSteeringPolicyScopeEnum

const (
    GetSteeringPolicyScopeGlobal  GetSteeringPolicyScopeEnum = "GLOBAL"
    GetSteeringPolicyScopePrivate GetSteeringPolicyScopeEnum = "PRIVATE"
)

func GetGetSteeringPolicyScopeEnumValues

func GetGetSteeringPolicyScopeEnumValues() []GetSteeringPolicyScopeEnum

GetGetSteeringPolicyScopeEnumValues Enumerates the set of values for GetSteeringPolicyScopeEnum

type GetTsigKeyRequest

GetTsigKeyRequest wrapper for the GetTsigKey operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/GetTsigKey.go.html to see an example of how to use GetTsigKeyRequest.

type GetTsigKeyRequest struct {

    // The OCID of the target TSIG key.
    TsigKeyId *string `mandatory:"true" contributesTo:"path" name:"tsigKeyId"`

    // The `If-None-Match` header field makes the request method conditional on
    // the absence of any current representation of the target resource, when
    // the field-value is `*`, or having a selected representation with an
    // entity-tag that does not match any of those listed in the field-value.
    IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"If-None-Match"`

    // The `If-Modified-Since` header field makes a GET or HEAD request method
    // conditional on the selected representation's modification date being more
    // recent than the date provided in the field-value.  Transfer of the
    // selected representation's data is avoided if that data has not changed.
    IfModifiedSince *string `mandatory:"false" contributesTo:"header" name:"If-Modified-Since"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope GetTsigKeyScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetTsigKeyRequest) HTTPRequest

func (request GetTsigKeyRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetTsigKeyRequest) RetryPolicy

func (request GetTsigKeyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetTsigKeyRequest) String

func (request GetTsigKeyRequest) String() string

type GetTsigKeyResponse

GetTsigKeyResponse wrapper for the GetTsigKey operation

type GetTsigKeyResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The TsigKey instance
    TsigKey `presentIn:"body"`

    // The current version of the resource, ending with a
    // representation-specific suffix. This value may be used in If-Match
    // and If-None-Match headers for later requests of the same resource.
    ETag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to
    // contact Oracle about a particular request, please provide the request
    // ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Flag to indicate whether or not the object was modified.  If this is true,
    // the getter for the object itself will return null.  Callers should check this
    // if they specified one of the request params that might result in a conditional
    // response (like 'if-match'/'if-none-match').
    IsNotModified bool
}

func (GetTsigKeyResponse) HTTPResponse

func (response GetTsigKeyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetTsigKeyResponse) String

func (response GetTsigKeyResponse) String() string

type GetTsigKeyScopeEnum

GetTsigKeyScopeEnum Enum with underlying type: string

type GetTsigKeyScopeEnum string

Set of constants representing the allowable values for GetTsigKeyScopeEnum

const (
    GetTsigKeyScopeGlobal  GetTsigKeyScopeEnum = "GLOBAL"
    GetTsigKeyScopePrivate GetTsigKeyScopeEnum = "PRIVATE"
)

func GetGetTsigKeyScopeEnumValues

func GetGetTsigKeyScopeEnumValues() []GetTsigKeyScopeEnum

GetGetTsigKeyScopeEnumValues Enumerates the set of values for GetTsigKeyScopeEnum

type GetViewRequest

GetViewRequest wrapper for the GetView operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/GetView.go.html to see an example of how to use GetViewRequest.

type GetViewRequest struct {

    // The OCID of the target view.
    ViewId *string `mandatory:"true" contributesTo:"path" name:"viewId"`

    // The `If-Modified-Since` header field makes a GET or HEAD request method
    // conditional on the selected representation's modification date being more
    // recent than the date provided in the field-value.  Transfer of the
    // selected representation's data is avoided if that data has not changed.
    IfModifiedSince *string `mandatory:"false" contributesTo:"header" name:"If-Modified-Since"`

    // The `If-None-Match` header field makes the request method conditional on
    // the absence of any current representation of the target resource, when
    // the field-value is `*`, or having a selected representation with an
    // entity-tag that does not match any of those listed in the field-value.
    IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"If-None-Match"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope GetViewScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetViewRequest) HTTPRequest

func (request GetViewRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetViewRequest) RetryPolicy

func (request GetViewRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetViewRequest) String

func (request GetViewRequest) String() string

type GetViewResponse

GetViewResponse wrapper for the GetView operation

type GetViewResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The View instance
    View `presentIn:"body"`

    // The current version of the resource, ending with a
    // representation-specific suffix. This value may be used in If-Match
    // and If-None-Match headers for later requests of the same resource.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to
    // contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Flag to indicate whether or not the object was modified.  If this is true,
    // the getter for the object itself will return null.  Callers should check this
    // if they specified one of the request params that might result in a conditional
    // response (like 'if-match'/'if-none-match').
    IsNotModified bool
}

func (GetViewResponse) HTTPResponse

func (response GetViewResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetViewResponse) String

func (response GetViewResponse) String() string

type GetViewScopeEnum

GetViewScopeEnum Enum with underlying type: string

type GetViewScopeEnum string

Set of constants representing the allowable values for GetViewScopeEnum

const (
    GetViewScopeGlobal  GetViewScopeEnum = "GLOBAL"
    GetViewScopePrivate GetViewScopeEnum = "PRIVATE"
)

func GetGetViewScopeEnumValues

func GetGetViewScopeEnumValues() []GetViewScopeEnum

GetGetViewScopeEnumValues Enumerates the set of values for GetViewScopeEnum

type GetZoneRecordsRequest

GetZoneRecordsRequest wrapper for the GetZoneRecords operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/GetZoneRecords.go.html to see an example of how to use GetZoneRecordsRequest.

type GetZoneRecordsRequest struct {

    // The name or OCID of the target zone.
    ZoneNameOrId *string `mandatory:"true" contributesTo:"path" name:"zoneNameOrId"`

    // The `If-None-Match` header field makes the request method conditional on
    // the absence of any current representation of the target resource, when
    // the field-value is `*`, or having a selected representation with an
    // entity-tag that does not match any of those listed in the field-value.
    IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"If-None-Match"`

    // The `If-Modified-Since` header field makes a GET or HEAD request method
    // conditional on the selected representation's modification date being more
    // recent than the date provided in the field-value.  Transfer of the
    // selected representation's data is avoided if that data has not changed.
    IfModifiedSince *string `mandatory:"false" contributesTo:"header" name:"If-Modified-Since"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The maximum number of items to return in a page of the collection.
    Limit *int64 `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the previous "List" call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The version of the zone for which data is requested.
    ZoneVersion *string `mandatory:"false" contributesTo:"query" name:"zoneVersion"`

    // Search by domain.
    // Will match any record whose domain (case-insensitive) equals the provided value.
    Domain *string `mandatory:"false" contributesTo:"query" name:"domain"`

    // Search by domain.
    // Will match any record whose domain (case-insensitive) contains the provided value.
    DomainContains *string `mandatory:"false" contributesTo:"query" name:"domainContains"`

    // Search by record type.
    // Will match any record whose type (https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4) (case-insensitive) equals the provided value.
    Rtype *string `mandatory:"false" contributesTo:"query" name:"rtype"`

    // The field by which to sort records.
    SortBy GetZoneRecordsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The order to sort the resources.
    SortOrder GetZoneRecordsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The OCID of the compartment the resource belongs to.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope GetZoneRecordsScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // The OCID of the view the resource is associated with.
    ViewId *string `mandatory:"false" contributesTo:"query" name:"viewId"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetZoneRecordsRequest) HTTPRequest

func (request GetZoneRecordsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetZoneRecordsRequest) RetryPolicy

func (request GetZoneRecordsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetZoneRecordsRequest) String

func (request GetZoneRecordsRequest) String() string

type GetZoneRecordsResponse

GetZoneRecordsResponse wrapper for the GetZoneRecords operation

type GetZoneRecordsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of RecordCollection instances
    RecordCollection `presentIn:"body"`

    // For list pagination. When this header appears in the response, additional pages
    // of results remain. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // The total number of items that match the query.
    OpcTotalItems *int `presentIn:"header" name:"opc-total-items"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // The current version of the record collection, ending with a
    // representation-specific suffix. This value may be used in If-Match
    // and If-None-Match headers for later requests of the same resource.
    ETag *string `presentIn:"header" name:"etag"`
}

func (GetZoneRecordsResponse) HTTPResponse

func (response GetZoneRecordsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetZoneRecordsResponse) String

func (response GetZoneRecordsResponse) String() string

type GetZoneRecordsScopeEnum

GetZoneRecordsScopeEnum Enum with underlying type: string

type GetZoneRecordsScopeEnum string

Set of constants representing the allowable values for GetZoneRecordsScopeEnum

const (
    GetZoneRecordsScopeGlobal  GetZoneRecordsScopeEnum = "GLOBAL"
    GetZoneRecordsScopePrivate GetZoneRecordsScopeEnum = "PRIVATE"
)

func GetGetZoneRecordsScopeEnumValues

func GetGetZoneRecordsScopeEnumValues() []GetZoneRecordsScopeEnum

GetGetZoneRecordsScopeEnumValues Enumerates the set of values for GetZoneRecordsScopeEnum

type GetZoneRecordsSortByEnum

GetZoneRecordsSortByEnum Enum with underlying type: string

type GetZoneRecordsSortByEnum string

Set of constants representing the allowable values for GetZoneRecordsSortByEnum

const (
    GetZoneRecordsSortByDomain GetZoneRecordsSortByEnum = "domain"
    GetZoneRecordsSortByRtype  GetZoneRecordsSortByEnum = "rtype"
    GetZoneRecordsSortByTtl    GetZoneRecordsSortByEnum = "ttl"
)

func GetGetZoneRecordsSortByEnumValues

func GetGetZoneRecordsSortByEnumValues() []GetZoneRecordsSortByEnum

GetGetZoneRecordsSortByEnumValues Enumerates the set of values for GetZoneRecordsSortByEnum

type GetZoneRecordsSortOrderEnum

GetZoneRecordsSortOrderEnum Enum with underlying type: string

type GetZoneRecordsSortOrderEnum string

Set of constants representing the allowable values for GetZoneRecordsSortOrderEnum

const (
    GetZoneRecordsSortOrderAsc  GetZoneRecordsSortOrderEnum = "ASC"
    GetZoneRecordsSortOrderDesc GetZoneRecordsSortOrderEnum = "DESC"
)

func GetGetZoneRecordsSortOrderEnumValues

func GetGetZoneRecordsSortOrderEnumValues() []GetZoneRecordsSortOrderEnum

GetGetZoneRecordsSortOrderEnumValues Enumerates the set of values for GetZoneRecordsSortOrderEnum

type GetZoneRequest

GetZoneRequest wrapper for the GetZone operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/GetZone.go.html to see an example of how to use GetZoneRequest.

type GetZoneRequest struct {

    // The name or OCID of the target zone.
    ZoneNameOrId *string `mandatory:"true" contributesTo:"path" name:"zoneNameOrId"`

    // The `If-None-Match` header field makes the request method conditional on
    // the absence of any current representation of the target resource, when
    // the field-value is `*`, or having a selected representation with an
    // entity-tag that does not match any of those listed in the field-value.
    IfNoneMatch *string `mandatory:"false" contributesTo:"header" name:"If-None-Match"`

    // The `If-Modified-Since` header field makes a GET or HEAD request method
    // conditional on the selected representation's modification date being more
    // recent than the date provided in the field-value.  Transfer of the
    // selected representation's data is avoided if that data has not changed.
    IfModifiedSince *string `mandatory:"false" contributesTo:"header" name:"If-Modified-Since"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope GetZoneScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // The OCID of the view the resource is associated with.
    ViewId *string `mandatory:"false" contributesTo:"query" name:"viewId"`

    // The OCID of the compartment the resource belongs to.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (GetZoneRequest) HTTPRequest

func (request GetZoneRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetZoneRequest) RetryPolicy

func (request GetZoneRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (GetZoneRequest) String

func (request GetZoneRequest) String() string

type GetZoneResponse

GetZoneResponse wrapper for the GetZone operation

type GetZoneResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Zone instance
    Zone `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to
    // contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // The current version of the zone, ending with a
    // representation-specific suffix. This value may be used in If-Match
    // and If-None-Match headers for later requests of the same resource.
    ETag *string `presentIn:"header" name:"etag"`
}

func (GetZoneResponse) HTTPResponse

func (response GetZoneResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (GetZoneResponse) String

func (response GetZoneResponse) String() string

type GetZoneScopeEnum

GetZoneScopeEnum Enum with underlying type: string

type GetZoneScopeEnum string

Set of constants representing the allowable values for GetZoneScopeEnum

const (
    GetZoneScopeGlobal  GetZoneScopeEnum = "GLOBAL"
    GetZoneScopePrivate GetZoneScopeEnum = "PRIVATE"
)

func GetGetZoneScopeEnumValues

func GetGetZoneScopeEnumValues() []GetZoneScopeEnum

GetGetZoneScopeEnumValues Enumerates the set of values for GetZoneScopeEnum

type ListResolverEndpointsRequest

ListResolverEndpointsRequest wrapper for the ListResolverEndpoints operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/ListResolverEndpoints.go.html to see an example of how to use ListResolverEndpointsRequest.

type ListResolverEndpointsRequest struct {

    // The OCID of the target resolver.
    ResolverId *string `mandatory:"true" contributesTo:"path" name:"resolverId"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The name of a resource.
    Name *string `mandatory:"false" contributesTo:"query" name:"name"`

    // The value of the `opc-next-page` response header from the previous "List" call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The maximum number of items to return in a page of the collection.
    Limit *int64 `mandatory:"false" contributesTo:"query" name:"limit"`

    // The order to sort the resources.
    SortOrder ListResolverEndpointsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field by which to sort resolver endpoints.
    SortBy ListResolverEndpointsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The state of a resource.
    LifecycleState ResolverEndpointSummaryLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope ListResolverEndpointsScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListResolverEndpointsRequest) HTTPRequest

func (request ListResolverEndpointsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListResolverEndpointsRequest) RetryPolicy

func (request ListResolverEndpointsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListResolverEndpointsRequest) String

func (request ListResolverEndpointsRequest) String() string

type ListResolverEndpointsResponse

ListResolverEndpointsResponse wrapper for the ListResolverEndpoints operation

type ListResolverEndpointsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []ResolverEndpointSummary instances
    Items []ResolverEndpointSummary `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to
    // contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For list pagination. When this header appears in the response, additional pages
    // of results remain. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListResolverEndpointsResponse) HTTPResponse

func (response ListResolverEndpointsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListResolverEndpointsResponse) String

func (response ListResolverEndpointsResponse) String() string

type ListResolverEndpointsScopeEnum

ListResolverEndpointsScopeEnum Enum with underlying type: string

type ListResolverEndpointsScopeEnum string

Set of constants representing the allowable values for ListResolverEndpointsScopeEnum

const (
    ListResolverEndpointsScopeGlobal  ListResolverEndpointsScopeEnum = "GLOBAL"
    ListResolverEndpointsScopePrivate ListResolverEndpointsScopeEnum = "PRIVATE"
)

func GetListResolverEndpointsScopeEnumValues

func GetListResolverEndpointsScopeEnumValues() []ListResolverEndpointsScopeEnum

GetListResolverEndpointsScopeEnumValues Enumerates the set of values for ListResolverEndpointsScopeEnum

type ListResolverEndpointsSortByEnum

ListResolverEndpointsSortByEnum Enum with underlying type: string

type ListResolverEndpointsSortByEnum string

Set of constants representing the allowable values for ListResolverEndpointsSortByEnum

const (
    ListResolverEndpointsSortByName        ListResolverEndpointsSortByEnum = "name"
    ListResolverEndpointsSortByTimecreated ListResolverEndpointsSortByEnum = "timeCreated"
)

func GetListResolverEndpointsSortByEnumValues

func GetListResolverEndpointsSortByEnumValues() []ListResolverEndpointsSortByEnum

GetListResolverEndpointsSortByEnumValues Enumerates the set of values for ListResolverEndpointsSortByEnum

type ListResolverEndpointsSortOrderEnum

ListResolverEndpointsSortOrderEnum Enum with underlying type: string

type ListResolverEndpointsSortOrderEnum string

Set of constants representing the allowable values for ListResolverEndpointsSortOrderEnum

const (
    ListResolverEndpointsSortOrderAsc  ListResolverEndpointsSortOrderEnum = "ASC"
    ListResolverEndpointsSortOrderDesc ListResolverEndpointsSortOrderEnum = "DESC"
)

func GetListResolverEndpointsSortOrderEnumValues

func GetListResolverEndpointsSortOrderEnumValues() []ListResolverEndpointsSortOrderEnum

GetListResolverEndpointsSortOrderEnumValues Enumerates the set of values for ListResolverEndpointsSortOrderEnum

type ListResolversRequest

ListResolversRequest wrapper for the ListResolvers operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/ListResolvers.go.html to see an example of how to use ListResolversRequest.

type ListResolversRequest struct {

    // The OCID of the compartment the resource belongs to.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The displayName of a resource.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // The OCID of a resource.
    Id *string `mandatory:"false" contributesTo:"query" name:"id"`

    // The value of the `opc-next-page` response header from the previous "List" call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The maximum number of items to return in a page of the collection.
    Limit *int64 `mandatory:"false" contributesTo:"query" name:"limit"`

    // The order to sort the resources.
    SortOrder ListResolversSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field by which to sort resolvers.
    SortBy ListResolversSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The state of a resource.
    LifecycleState ResolverSummaryLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope ListResolversScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListResolversRequest) HTTPRequest

func (request ListResolversRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListResolversRequest) RetryPolicy

func (request ListResolversRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListResolversRequest) String

func (request ListResolversRequest) String() string

type ListResolversResponse

ListResolversResponse wrapper for the ListResolvers operation

type ListResolversResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []ResolverSummary instances
    Items []ResolverSummary `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to
    // contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For list pagination. When this header appears in the response, additional pages
    // of results remain. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListResolversResponse) HTTPResponse

func (response ListResolversResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListResolversResponse) String

func (response ListResolversResponse) String() string

type ListResolversScopeEnum

ListResolversScopeEnum Enum with underlying type: string

type ListResolversScopeEnum string

Set of constants representing the allowable values for ListResolversScopeEnum

const (
    ListResolversScopeGlobal  ListResolversScopeEnum = "GLOBAL"
    ListResolversScopePrivate ListResolversScopeEnum = "PRIVATE"
)

func GetListResolversScopeEnumValues

func GetListResolversScopeEnumValues() []ListResolversScopeEnum

GetListResolversScopeEnumValues Enumerates the set of values for ListResolversScopeEnum

type ListResolversSortByEnum

ListResolversSortByEnum Enum with underlying type: string

type ListResolversSortByEnum string

Set of constants representing the allowable values for ListResolversSortByEnum

const (
    ListResolversSortByDisplayname ListResolversSortByEnum = "displayName"
    ListResolversSortByTimecreated ListResolversSortByEnum = "timeCreated"
)

func GetListResolversSortByEnumValues

func GetListResolversSortByEnumValues() []ListResolversSortByEnum

GetListResolversSortByEnumValues Enumerates the set of values for ListResolversSortByEnum

type ListResolversSortOrderEnum

ListResolversSortOrderEnum Enum with underlying type: string

type ListResolversSortOrderEnum string

Set of constants representing the allowable values for ListResolversSortOrderEnum

const (
    ListResolversSortOrderAsc  ListResolversSortOrderEnum = "ASC"
    ListResolversSortOrderDesc ListResolversSortOrderEnum = "DESC"
)

func GetListResolversSortOrderEnumValues

func GetListResolversSortOrderEnumValues() []ListResolversSortOrderEnum

GetListResolversSortOrderEnumValues Enumerates the set of values for ListResolversSortOrderEnum

type ListSteeringPoliciesRequest

ListSteeringPoliciesRequest wrapper for the ListSteeringPolicies operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/ListSteeringPolicies.go.html to see an example of how to use ListSteeringPoliciesRequest.

type ListSteeringPoliciesRequest struct {

    // The OCID of the compartment the resource belongs to.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The maximum number of items to return in a page of the collection.
    Limit *int64 `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the previous "List" call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The OCID of a resource.
    Id *string `mandatory:"false" contributesTo:"query" name:"id"`

    // The displayName of a resource.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // The partial displayName of a resource. Will match any resource whose name
    // (case-insensitive) contains the provided value.
    DisplayNameContains *string `mandatory:"false" contributesTo:"query" name:"displayNameContains"`

    // Search by health check monitor OCID.
    // Will match any resource whose health check monitor ID matches the provided value.
    HealthCheckMonitorId *string `mandatory:"false" contributesTo:"query" name:"healthCheckMonitorId"`

    // An RFC 3339 (https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
    // all returned resources were created on or after the indicated time.
    TimeCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedGreaterThanOrEqualTo"`

    // An RFC 3339 (https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
    // all returned resources were created before the indicated time.
    TimeCreatedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedLessThan"`

    // Search by steering template type.
    // Will match any resource whose template type matches the provided value.
    Template *string `mandatory:"false" contributesTo:"query" name:"template"`

    // The state of a resource.
    LifecycleState SteeringPolicySummaryLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // The field by which to sort steering policies. If unspecified, defaults to `timeCreated`.
    SortBy ListSteeringPoliciesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The order to sort the resources.
    SortOrder ListSteeringPoliciesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope ListSteeringPoliciesScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListSteeringPoliciesRequest) HTTPRequest

func (request ListSteeringPoliciesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSteeringPoliciesRequest) RetryPolicy

func (request ListSteeringPoliciesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListSteeringPoliciesRequest) String

func (request ListSteeringPoliciesRequest) String() string

type ListSteeringPoliciesResponse

ListSteeringPoliciesResponse wrapper for the ListSteeringPolicies operation

type ListSteeringPoliciesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []SteeringPolicySummary instances
    Items []SteeringPolicySummary `presentIn:"body"`

    // For list pagination. When this header appears in the response, additional pages
    // of results remain. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // The total number of items that match the query.
    OpcTotalItems *int `presentIn:"header" name:"opc-total-items"`

    // Unique Oracle-assigned identifier for the request. If you need to
    // contact Oracle about a particular request, please provide the request
    // ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (ListSteeringPoliciesResponse) HTTPResponse

func (response ListSteeringPoliciesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListSteeringPoliciesResponse) String

func (response ListSteeringPoliciesResponse) String() string

type ListSteeringPoliciesScopeEnum

ListSteeringPoliciesScopeEnum Enum with underlying type: string

type ListSteeringPoliciesScopeEnum string

Set of constants representing the allowable values for ListSteeringPoliciesScopeEnum

const (
    ListSteeringPoliciesScopeGlobal  ListSteeringPoliciesScopeEnum = "GLOBAL"
    ListSteeringPoliciesScopePrivate ListSteeringPoliciesScopeEnum = "PRIVATE"
)

func GetListSteeringPoliciesScopeEnumValues

func GetListSteeringPoliciesScopeEnumValues() []ListSteeringPoliciesScopeEnum

GetListSteeringPoliciesScopeEnumValues Enumerates the set of values for ListSteeringPoliciesScopeEnum

type ListSteeringPoliciesSortByEnum

ListSteeringPoliciesSortByEnum Enum with underlying type: string

type ListSteeringPoliciesSortByEnum string

Set of constants representing the allowable values for ListSteeringPoliciesSortByEnum

const (
    ListSteeringPoliciesSortByDisplayname ListSteeringPoliciesSortByEnum = "displayName"
    ListSteeringPoliciesSortByTimecreated ListSteeringPoliciesSortByEnum = "timeCreated"
    ListSteeringPoliciesSortByTemplate    ListSteeringPoliciesSortByEnum = "template"
)

func GetListSteeringPoliciesSortByEnumValues

func GetListSteeringPoliciesSortByEnumValues() []ListSteeringPoliciesSortByEnum

GetListSteeringPoliciesSortByEnumValues Enumerates the set of values for ListSteeringPoliciesSortByEnum

type ListSteeringPoliciesSortOrderEnum

ListSteeringPoliciesSortOrderEnum Enum with underlying type: string

type ListSteeringPoliciesSortOrderEnum string

Set of constants representing the allowable values for ListSteeringPoliciesSortOrderEnum

const (
    ListSteeringPoliciesSortOrderAsc  ListSteeringPoliciesSortOrderEnum = "ASC"
    ListSteeringPoliciesSortOrderDesc ListSteeringPoliciesSortOrderEnum = "DESC"
)

func GetListSteeringPoliciesSortOrderEnumValues

func GetListSteeringPoliciesSortOrderEnumValues() []ListSteeringPoliciesSortOrderEnum

GetListSteeringPoliciesSortOrderEnumValues Enumerates the set of values for ListSteeringPoliciesSortOrderEnum

type ListSteeringPolicyAttachmentsRequest

ListSteeringPolicyAttachmentsRequest wrapper for the ListSteeringPolicyAttachments operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/ListSteeringPolicyAttachments.go.html to see an example of how to use ListSteeringPolicyAttachmentsRequest.

type ListSteeringPolicyAttachmentsRequest struct {

    // The OCID of the compartment the resource belongs to.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The maximum number of items to return in a page of the collection.
    Limit *int64 `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the previous "List" call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The OCID of a resource.
    Id *string `mandatory:"false" contributesTo:"query" name:"id"`

    // The displayName of a resource.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // Search by steering policy OCID.
    // Will match any resource whose steering policy ID matches the provided value.
    SteeringPolicyId *string `mandatory:"false" contributesTo:"query" name:"steeringPolicyId"`

    // Search by zone OCID.
    // Will match any resource whose zone ID matches the provided value.
    ZoneId *string `mandatory:"false" contributesTo:"query" name:"zoneId"`

    // Search by domain.
    // Will match any record whose domain (case-insensitive) equals the provided value.
    Domain *string `mandatory:"false" contributesTo:"query" name:"domain"`

    // Search by domain.
    // Will match any record whose domain (case-insensitive) contains the provided value.
    DomainContains *string `mandatory:"false" contributesTo:"query" name:"domainContains"`

    // An RFC 3339 (https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
    // all returned resources were created on or after the indicated time.
    TimeCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedGreaterThanOrEqualTo"`

    // An RFC 3339 (https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
    // all returned resources were created before the indicated time.
    TimeCreatedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedLessThan"`

    // The state of a resource.
    LifecycleState SteeringPolicyAttachmentSummaryLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // The field by which to sort steering policy attachments. If unspecified, defaults to `timeCreated`.
    SortBy ListSteeringPolicyAttachmentsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The order to sort the resources.
    SortOrder ListSteeringPolicyAttachmentsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope ListSteeringPolicyAttachmentsScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListSteeringPolicyAttachmentsRequest) HTTPRequest

func (request ListSteeringPolicyAttachmentsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSteeringPolicyAttachmentsRequest) RetryPolicy

func (request ListSteeringPolicyAttachmentsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListSteeringPolicyAttachmentsRequest) String

func (request ListSteeringPolicyAttachmentsRequest) String() string

type ListSteeringPolicyAttachmentsResponse

ListSteeringPolicyAttachmentsResponse wrapper for the ListSteeringPolicyAttachments operation

type ListSteeringPolicyAttachmentsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []SteeringPolicyAttachmentSummary instances
    Items []SteeringPolicyAttachmentSummary `presentIn:"body"`

    // For list pagination. When this header appears in the response, additional pages
    // of results remain. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // The total number of items that match the query.
    OpcTotalItems *int `presentIn:"header" name:"opc-total-items"`

    // Unique Oracle-assigned identifier for the request. If you need to
    // contact Oracle about a particular request, please provide the request
    // ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (ListSteeringPolicyAttachmentsResponse) HTTPResponse

func (response ListSteeringPolicyAttachmentsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListSteeringPolicyAttachmentsResponse) String

func (response ListSteeringPolicyAttachmentsResponse) String() string

type ListSteeringPolicyAttachmentsScopeEnum

ListSteeringPolicyAttachmentsScopeEnum Enum with underlying type: string

type ListSteeringPolicyAttachmentsScopeEnum string

Set of constants representing the allowable values for ListSteeringPolicyAttachmentsScopeEnum

const (
    ListSteeringPolicyAttachmentsScopeGlobal  ListSteeringPolicyAttachmentsScopeEnum = "GLOBAL"
    ListSteeringPolicyAttachmentsScopePrivate ListSteeringPolicyAttachmentsScopeEnum = "PRIVATE"
)

func GetListSteeringPolicyAttachmentsScopeEnumValues

func GetListSteeringPolicyAttachmentsScopeEnumValues() []ListSteeringPolicyAttachmentsScopeEnum

GetListSteeringPolicyAttachmentsScopeEnumValues Enumerates the set of values for ListSteeringPolicyAttachmentsScopeEnum

type ListSteeringPolicyAttachmentsSortByEnum

ListSteeringPolicyAttachmentsSortByEnum Enum with underlying type: string

type ListSteeringPolicyAttachmentsSortByEnum string

Set of constants representing the allowable values for ListSteeringPolicyAttachmentsSortByEnum

const (
    ListSteeringPolicyAttachmentsSortByDisplayname ListSteeringPolicyAttachmentsSortByEnum = "displayName"
    ListSteeringPolicyAttachmentsSortByTimecreated ListSteeringPolicyAttachmentsSortByEnum = "timeCreated"
    ListSteeringPolicyAttachmentsSortByDomainname  ListSteeringPolicyAttachmentsSortByEnum = "domainName"
)

func GetListSteeringPolicyAttachmentsSortByEnumValues

func GetListSteeringPolicyAttachmentsSortByEnumValues() []ListSteeringPolicyAttachmentsSortByEnum

GetListSteeringPolicyAttachmentsSortByEnumValues Enumerates the set of values for ListSteeringPolicyAttachmentsSortByEnum

type ListSteeringPolicyAttachmentsSortOrderEnum

ListSteeringPolicyAttachmentsSortOrderEnum Enum with underlying type: string

type ListSteeringPolicyAttachmentsSortOrderEnum string

Set of constants representing the allowable values for ListSteeringPolicyAttachmentsSortOrderEnum

const (
    ListSteeringPolicyAttachmentsSortOrderAsc  ListSteeringPolicyAttachmentsSortOrderEnum = "ASC"
    ListSteeringPolicyAttachmentsSortOrderDesc ListSteeringPolicyAttachmentsSortOrderEnum = "DESC"
)

func GetListSteeringPolicyAttachmentsSortOrderEnumValues

func GetListSteeringPolicyAttachmentsSortOrderEnumValues() []ListSteeringPolicyAttachmentsSortOrderEnum

GetListSteeringPolicyAttachmentsSortOrderEnumValues Enumerates the set of values for ListSteeringPolicyAttachmentsSortOrderEnum

type ListTsigKeysRequest

ListTsigKeysRequest wrapper for the ListTsigKeys operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/ListTsigKeys.go.html to see an example of how to use ListTsigKeysRequest.

type ListTsigKeysRequest struct {

    // The OCID of the compartment the resource belongs to.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The maximum number of items to return in a page of the collection.
    Limit *int64 `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the previous "List" call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The OCID of a resource.
    Id *string `mandatory:"false" contributesTo:"query" name:"id"`

    // The name of a resource.
    Name *string `mandatory:"false" contributesTo:"query" name:"name"`

    // The state of a resource.
    LifecycleState TsigKeySummaryLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // The field by which to sort TSIG keys. If unspecified, defaults to `timeCreated`.
    SortBy ListTsigKeysSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The order to sort the resources.
    SortOrder ListTsigKeysSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope ListTsigKeysScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListTsigKeysRequest) HTTPRequest

func (request ListTsigKeysRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListTsigKeysRequest) RetryPolicy

func (request ListTsigKeysRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListTsigKeysRequest) String

func (request ListTsigKeysRequest) String() string

type ListTsigKeysResponse

ListTsigKeysResponse wrapper for the ListTsigKeys operation

type ListTsigKeysResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []TsigKeySummary instances
    Items []TsigKeySummary `presentIn:"body"`

    // For list pagination. When this header appears in the response, additional pages
    // of results remain. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // Unique Oracle-assigned identifier for the request. If you need to
    // contact Oracle about a particular request, please provide the request
    // ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (ListTsigKeysResponse) HTTPResponse

func (response ListTsigKeysResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListTsigKeysResponse) String

func (response ListTsigKeysResponse) String() string

type ListTsigKeysScopeEnum

ListTsigKeysScopeEnum Enum with underlying type: string

type ListTsigKeysScopeEnum string

Set of constants representing the allowable values for ListTsigKeysScopeEnum

const (
    ListTsigKeysScopeGlobal  ListTsigKeysScopeEnum = "GLOBAL"
    ListTsigKeysScopePrivate ListTsigKeysScopeEnum = "PRIVATE"
)

func GetListTsigKeysScopeEnumValues

func GetListTsigKeysScopeEnumValues() []ListTsigKeysScopeEnum

GetListTsigKeysScopeEnumValues Enumerates the set of values for ListTsigKeysScopeEnum

type ListTsigKeysSortByEnum

ListTsigKeysSortByEnum Enum with underlying type: string

type ListTsigKeysSortByEnum string

Set of constants representing the allowable values for ListTsigKeysSortByEnum

const (
    ListTsigKeysSortByName        ListTsigKeysSortByEnum = "name"
    ListTsigKeysSortByTimecreated ListTsigKeysSortByEnum = "timeCreated"
)

func GetListTsigKeysSortByEnumValues

func GetListTsigKeysSortByEnumValues() []ListTsigKeysSortByEnum

GetListTsigKeysSortByEnumValues Enumerates the set of values for ListTsigKeysSortByEnum

type ListTsigKeysSortOrderEnum

ListTsigKeysSortOrderEnum Enum with underlying type: string

type ListTsigKeysSortOrderEnum string

Set of constants representing the allowable values for ListTsigKeysSortOrderEnum

const (
    ListTsigKeysSortOrderAsc  ListTsigKeysSortOrderEnum = "ASC"
    ListTsigKeysSortOrderDesc ListTsigKeysSortOrderEnum = "DESC"
)

func GetListTsigKeysSortOrderEnumValues

func GetListTsigKeysSortOrderEnumValues() []ListTsigKeysSortOrderEnum

GetListTsigKeysSortOrderEnumValues Enumerates the set of values for ListTsigKeysSortOrderEnum

type ListViewsRequest

ListViewsRequest wrapper for the ListViews operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/ListViews.go.html to see an example of how to use ListViewsRequest.

type ListViewsRequest struct {

    // The OCID of the compartment the resource belongs to.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The displayName of a resource.
    DisplayName *string `mandatory:"false" contributesTo:"query" name:"displayName"`

    // The OCID of a resource.
    Id *string `mandatory:"false" contributesTo:"query" name:"id"`

    // The value of the `opc-next-page` response header from the previous "List" call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // The maximum number of items to return in a page of the collection.
    Limit *int64 `mandatory:"false" contributesTo:"query" name:"limit"`

    // The order to sort the resources.
    SortOrder ListViewsSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // The field by which to sort views.
    SortBy ListViewsSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The state of a resource.
    LifecycleState ViewSummaryLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope ListViewsScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListViewsRequest) HTTPRequest

func (request ListViewsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListViewsRequest) RetryPolicy

func (request ListViewsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListViewsRequest) String

func (request ListViewsRequest) String() string

type ListViewsResponse

ListViewsResponse wrapper for the ListViews operation

type ListViewsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []ViewSummary instances
    Items []ViewSummary `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to
    // contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // For list pagination. When this header appears in the response, additional pages
    // of results remain. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`
}

func (ListViewsResponse) HTTPResponse

func (response ListViewsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListViewsResponse) String

func (response ListViewsResponse) String() string

type ListViewsScopeEnum

ListViewsScopeEnum Enum with underlying type: string

type ListViewsScopeEnum string

Set of constants representing the allowable values for ListViewsScopeEnum

const (
    ListViewsScopeGlobal  ListViewsScopeEnum = "GLOBAL"
    ListViewsScopePrivate ListViewsScopeEnum = "PRIVATE"
)

func GetListViewsScopeEnumValues

func GetListViewsScopeEnumValues() []ListViewsScopeEnum

GetListViewsScopeEnumValues Enumerates the set of values for ListViewsScopeEnum

type ListViewsSortByEnum

ListViewsSortByEnum Enum with underlying type: string

type ListViewsSortByEnum string

Set of constants representing the allowable values for ListViewsSortByEnum

const (
    ListViewsSortByDisplayname ListViewsSortByEnum = "displayName"
    ListViewsSortByTimecreated ListViewsSortByEnum = "timeCreated"
)

func GetListViewsSortByEnumValues

func GetListViewsSortByEnumValues() []ListViewsSortByEnum

GetListViewsSortByEnumValues Enumerates the set of values for ListViewsSortByEnum

type ListViewsSortOrderEnum

ListViewsSortOrderEnum Enum with underlying type: string

type ListViewsSortOrderEnum string

Set of constants representing the allowable values for ListViewsSortOrderEnum

const (
    ListViewsSortOrderAsc  ListViewsSortOrderEnum = "ASC"
    ListViewsSortOrderDesc ListViewsSortOrderEnum = "DESC"
)

func GetListViewsSortOrderEnumValues

func GetListViewsSortOrderEnumValues() []ListViewsSortOrderEnum

GetListViewsSortOrderEnumValues Enumerates the set of values for ListViewsSortOrderEnum

type ListZonesLifecycleStateEnum

ListZonesLifecycleStateEnum Enum with underlying type: string

type ListZonesLifecycleStateEnum string

Set of constants representing the allowable values for ListZonesLifecycleStateEnum

const (
    ListZonesLifecycleStateActive   ListZonesLifecycleStateEnum = "ACTIVE"
    ListZonesLifecycleStateCreating ListZonesLifecycleStateEnum = "CREATING"
    ListZonesLifecycleStateDeleted  ListZonesLifecycleStateEnum = "DELETED"
    ListZonesLifecycleStateDeleting ListZonesLifecycleStateEnum = "DELETING"
    ListZonesLifecycleStateFailed   ListZonesLifecycleStateEnum = "FAILED"
)

func GetListZonesLifecycleStateEnumValues

func GetListZonesLifecycleStateEnumValues() []ListZonesLifecycleStateEnum

GetListZonesLifecycleStateEnumValues Enumerates the set of values for ListZonesLifecycleStateEnum

type ListZonesRequest

ListZonesRequest wrapper for the ListZones operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/ListZones.go.html to see an example of how to use ListZonesRequest.

type ListZonesRequest struct {

    // The OCID of the compartment the resource belongs to.
    CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // The maximum number of items to return in a page of the collection.
    Limit *int64 `mandatory:"false" contributesTo:"query" name:"limit"`

    // The value of the `opc-next-page` response header from the previous "List" call.
    Page *string `mandatory:"false" contributesTo:"query" name:"page"`

    // A case-sensitive filter for zone names.
    // Will match any zone with a name that equals the provided value.
    Name *string `mandatory:"false" contributesTo:"query" name:"name"`

    // Search by zone name.
    // Will match any zone whose name (case-insensitive) contains the provided value.
    NameContains *string `mandatory:"false" contributesTo:"query" name:"nameContains"`

    // Search by zone type, `PRIMARY` or `SECONDARY`.
    // Will match any zone whose type equals the provided value.
    ZoneType ListZonesZoneTypeEnum `mandatory:"false" contributesTo:"query" name:"zoneType" omitEmpty:"true"`

    // An RFC 3339 (https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
    // all returned resources were created on or after the indicated time.
    TimeCreatedGreaterThanOrEqualTo *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedGreaterThanOrEqualTo"`

    // An RFC 3339 (https://www.ietf.org/rfc/rfc3339.txt) timestamp that states
    // all returned resources were created before the indicated time.
    TimeCreatedLessThan *common.SDKTime `mandatory:"false" contributesTo:"query" name:"timeCreatedLessThan"`

    // The state of a resource.
    LifecycleState ListZonesLifecycleStateEnum `mandatory:"false" contributesTo:"query" name:"lifecycleState" omitEmpty:"true"`

    // The field by which to sort zones.
    SortBy ListZonesSortByEnum `mandatory:"false" contributesTo:"query" name:"sortBy" omitEmpty:"true"`

    // The order to sort the resources.
    SortOrder ListZonesSortOrderEnum `mandatory:"false" contributesTo:"query" name:"sortOrder" omitEmpty:"true"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope ListZonesScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // The OCID of the view the resource is associated with.
    ViewId *string `mandatory:"false" contributesTo:"query" name:"viewId"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (ListZonesRequest) HTTPRequest

func (request ListZonesRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListZonesRequest) RetryPolicy

func (request ListZonesRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (ListZonesRequest) String

func (request ListZonesRequest) String() string

type ListZonesResponse

ListZonesResponse wrapper for the ListZones operation

type ListZonesResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // A list of []ZoneSummary instances
    Items []ZoneSummary `presentIn:"body"`

    // For list pagination. When this header appears in the response, additional pages
    // of results remain. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // The total number of items that match the query.
    OpcTotalItems *int `presentIn:"header" name:"opc-total-items"`

    // Unique Oracle-assigned identifier for the request. If you need to
    // contact Oracle about a particular request, please provide the request
    // ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (ListZonesResponse) HTTPResponse

func (response ListZonesResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (ListZonesResponse) String

func (response ListZonesResponse) String() string

type ListZonesScopeEnum

ListZonesScopeEnum Enum with underlying type: string

type ListZonesScopeEnum string

Set of constants representing the allowable values for ListZonesScopeEnum

const (
    ListZonesScopeGlobal  ListZonesScopeEnum = "GLOBAL"
    ListZonesScopePrivate ListZonesScopeEnum = "PRIVATE"
)

func GetListZonesScopeEnumValues

func GetListZonesScopeEnumValues() []ListZonesScopeEnum

GetListZonesScopeEnumValues Enumerates the set of values for ListZonesScopeEnum

type ListZonesSortByEnum

ListZonesSortByEnum Enum with underlying type: string

type ListZonesSortByEnum string

Set of constants representing the allowable values for ListZonesSortByEnum

const (
    ListZonesSortByName        ListZonesSortByEnum = "name"
    ListZonesSortByZonetype    ListZonesSortByEnum = "zoneType"
    ListZonesSortByTimecreated ListZonesSortByEnum = "timeCreated"
)

func GetListZonesSortByEnumValues

func GetListZonesSortByEnumValues() []ListZonesSortByEnum

GetListZonesSortByEnumValues Enumerates the set of values for ListZonesSortByEnum

type ListZonesSortOrderEnum

ListZonesSortOrderEnum Enum with underlying type: string

type ListZonesSortOrderEnum string

Set of constants representing the allowable values for ListZonesSortOrderEnum

const (
    ListZonesSortOrderAsc  ListZonesSortOrderEnum = "ASC"
    ListZonesSortOrderDesc ListZonesSortOrderEnum = "DESC"
)

func GetListZonesSortOrderEnumValues

func GetListZonesSortOrderEnumValues() []ListZonesSortOrderEnum

GetListZonesSortOrderEnumValues Enumerates the set of values for ListZonesSortOrderEnum

type ListZonesZoneTypeEnum

ListZonesZoneTypeEnum Enum with underlying type: string

type ListZonesZoneTypeEnum string

Set of constants representing the allowable values for ListZonesZoneTypeEnum

const (
    ListZonesZoneTypePrimary   ListZonesZoneTypeEnum = "PRIMARY"
    ListZonesZoneTypeSecondary ListZonesZoneTypeEnum = "SECONDARY"
)

func GetListZonesZoneTypeEnumValues

func GetListZonesZoneTypeEnumValues() []ListZonesZoneTypeEnum

GetListZonesZoneTypeEnumValues Enumerates the set of values for ListZonesZoneTypeEnum

type MigrationReplacement

MigrationReplacement A record to add to a zone in replacement of contents that cannot be migrated.

type MigrationReplacement struct {

    // The type of DNS record, such as A or CNAME. For more information, see Resource Record (RR) TYPEs (https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4).
    Rtype *string `mandatory:"true" json:"rtype"`

    // The Time To Live of the replacement record, in seconds.
    Ttl *int `mandatory:"true" json:"ttl"`

    // The record data of the replacement record, as whitespace-delimited tokens in
    // type-specific presentation format.
    Rdata *string `mandatory:"true" json:"rdata"`

    // The canonical name for a substitute type of the replacement record to be used if the specified `rtype` is not allowed at the domain. The specified `ttl` and `rdata` will still apply with the substitute type.
    SubstituteRtype *string `mandatory:"false" json:"substituteRtype"`
}

func (MigrationReplacement) String

func (m MigrationReplacement) String() string

type Nameserver

Nameserver A server that has been set up to answer DNS queries for a zone.

type Nameserver struct {

    // The hostname of the nameserver.
    Hostname *string `mandatory:"true" json:"hostname"`
}

func (Nameserver) String

func (m Nameserver) String() string

type PatchDomainRecordsDetails

PatchDomainRecordsDetails The representation of PatchDomainRecordsDetails

type PatchDomainRecordsDetails struct {
    Items []RecordOperation `mandatory:"false" json:"items"`
}

func (PatchDomainRecordsDetails) String

func (m PatchDomainRecordsDetails) String() string

type PatchDomainRecordsRequest

PatchDomainRecordsRequest wrapper for the PatchDomainRecords operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/PatchDomainRecords.go.html to see an example of how to use PatchDomainRecordsRequest.

type PatchDomainRecordsRequest struct {

    // The name or OCID of the target zone.
    ZoneNameOrId *string `mandatory:"true" contributesTo:"path" name:"zoneNameOrId"`

    // The target fully-qualified domain name (FQDN) within the target zone.
    Domain *string `mandatory:"true" contributesTo:"path" name:"domain"`

    // Operations describing how to modify the collection of records.
    PatchDomainRecordsDetails `contributesTo:"body"`

    // The `If-Match` header field makes the request method conditional on the
    // existence of at least one current representation of the target resource,
    // when the field-value is `*`, or having a current representation of the
    // target resource that has an entity-tag matching a member of the list of
    // entity-tags provided in the field-value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"If-Match"`

    // The `If-Unmodified-Since` header field makes the request method
    // conditional on the selected representation's last modification date being
    // earlier than or equal to the date provided in the field-value.  This
    // field accomplishes the same purpose as If-Match for cases where the user
    // agent does not have an entity-tag for the representation.
    IfUnmodifiedSince *string `mandatory:"false" contributesTo:"header" name:"If-Unmodified-Since"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope PatchDomainRecordsScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // The OCID of the view the resource is associated with.
    ViewId *string `mandatory:"false" contributesTo:"query" name:"viewId"`

    // The OCID of the compartment the resource belongs to.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (PatchDomainRecordsRequest) HTTPRequest

func (request PatchDomainRecordsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (PatchDomainRecordsRequest) RetryPolicy

func (request PatchDomainRecordsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (PatchDomainRecordsRequest) String

func (request PatchDomainRecordsRequest) String() string

type PatchDomainRecordsResponse

PatchDomainRecordsResponse wrapper for the PatchDomainRecords operation

type PatchDomainRecordsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The RecordCollection instance
    RecordCollection `presentIn:"body"`

    // For list pagination. When this header appears in the response, additional pages
    // of results remain. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // The total number of items that match the query.
    OpcTotalItems *int `presentIn:"header" name:"opc-total-items"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // The current version of the record collection, ending with a
    // representation-specific suffix. This value may be used in If-Match
    // and If-None-Match headers for later requests of the same resource.
    ETag *string `presentIn:"header" name:"etag"`
}

func (PatchDomainRecordsResponse) HTTPResponse

func (response PatchDomainRecordsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (PatchDomainRecordsResponse) String

func (response PatchDomainRecordsResponse) String() string

type PatchDomainRecordsScopeEnum

PatchDomainRecordsScopeEnum Enum with underlying type: string

type PatchDomainRecordsScopeEnum string

Set of constants representing the allowable values for PatchDomainRecordsScopeEnum

const (
    PatchDomainRecordsScopeGlobal  PatchDomainRecordsScopeEnum = "GLOBAL"
    PatchDomainRecordsScopePrivate PatchDomainRecordsScopeEnum = "PRIVATE"
)

func GetPatchDomainRecordsScopeEnumValues

func GetPatchDomainRecordsScopeEnumValues() []PatchDomainRecordsScopeEnum

GetPatchDomainRecordsScopeEnumValues Enumerates the set of values for PatchDomainRecordsScopeEnum

type PatchRRSetRequest

PatchRRSetRequest wrapper for the PatchRRSet operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/PatchRRSet.go.html to see an example of how to use PatchRRSetRequest.

type PatchRRSetRequest struct {

    // The name or OCID of the target zone.
    ZoneNameOrId *string `mandatory:"true" contributesTo:"path" name:"zoneNameOrId"`

    // The target fully-qualified domain name (FQDN) within the target zone.
    Domain *string `mandatory:"true" contributesTo:"path" name:"domain"`

    // The type of the target RRSet within the target zone.
    Rtype *string `mandatory:"true" contributesTo:"path" name:"rtype"`

    // Operations describing how to modify the collection of records.
    PatchRrSetDetails `contributesTo:"body"`

    // The `If-Match` header field makes the request method conditional on the
    // existence of at least one current representation of the target resource,
    // when the field-value is `*`, or having a current representation of the
    // target resource that has an entity-tag matching a member of the list of
    // entity-tags provided in the field-value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"If-Match"`

    // The `If-Unmodified-Since` header field makes the request method
    // conditional on the selected representation's last modification date being
    // earlier than or equal to the date provided in the field-value.  This
    // field accomplishes the same purpose as If-Match for cases where the user
    // agent does not have an entity-tag for the representation.
    IfUnmodifiedSince *string `mandatory:"false" contributesTo:"header" name:"If-Unmodified-Since"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope PatchRRSetScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // The OCID of the view the resource is associated with.
    ViewId *string `mandatory:"false" contributesTo:"query" name:"viewId"`

    // The OCID of the compartment the resource belongs to.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (PatchRRSetRequest) HTTPRequest

func (request PatchRRSetRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (PatchRRSetRequest) RetryPolicy

func (request PatchRRSetRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (PatchRRSetRequest) String

func (request PatchRRSetRequest) String() string

type PatchRRSetResponse

PatchRRSetResponse wrapper for the PatchRRSet operation

type PatchRRSetResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The RecordCollection instance
    RecordCollection `presentIn:"body"`

    // For list pagination. When this header appears in the response, additional pages
    // of results remain. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // The total number of items that match the query.
    OpcTotalItems *int `presentIn:"header" name:"opc-total-items"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // The current version of the record collection, ending with a
    // representation-specific suffix. This value may be used in If-Match
    // and If-None-Match headers for later requests of the same resource.
    ETag *string `presentIn:"header" name:"etag"`
}

func (PatchRRSetResponse) HTTPResponse

func (response PatchRRSetResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (PatchRRSetResponse) String

func (response PatchRRSetResponse) String() string

type PatchRRSetScopeEnum

PatchRRSetScopeEnum Enum with underlying type: string

type PatchRRSetScopeEnum string

Set of constants representing the allowable values for PatchRRSetScopeEnum

const (
    PatchRRSetScopeGlobal  PatchRRSetScopeEnum = "GLOBAL"
    PatchRRSetScopePrivate PatchRRSetScopeEnum = "PRIVATE"
)

func GetPatchRRSetScopeEnumValues

func GetPatchRRSetScopeEnumValues() []PatchRRSetScopeEnum

GetPatchRRSetScopeEnumValues Enumerates the set of values for PatchRRSetScopeEnum

type PatchRrSetDetails

PatchRrSetDetails The representation of PatchRrSetDetails

type PatchRrSetDetails struct {
    Items []RecordOperation `mandatory:"false" json:"items"`
}

func (PatchRrSetDetails) String

func (m PatchRrSetDetails) String() string

type PatchZoneRecordsDetails

PatchZoneRecordsDetails The representation of PatchZoneRecordsDetails

type PatchZoneRecordsDetails struct {
    Items []RecordOperation `mandatory:"false" json:"items"`
}

func (PatchZoneRecordsDetails) String

func (m PatchZoneRecordsDetails) String() string

type PatchZoneRecordsRequest

PatchZoneRecordsRequest wrapper for the PatchZoneRecords operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/PatchZoneRecords.go.html to see an example of how to use PatchZoneRecordsRequest.

type PatchZoneRecordsRequest struct {

    // The name or OCID of the target zone.
    ZoneNameOrId *string `mandatory:"true" contributesTo:"path" name:"zoneNameOrId"`

    // The operations describing how to modify the collection of records.
    PatchZoneRecordsDetails `contributesTo:"body"`

    // The `If-Match` header field makes the request method conditional on the
    // existence of at least one current representation of the target resource,
    // when the field-value is `*`, or having a current representation of the
    // target resource that has an entity-tag matching a member of the list of
    // entity-tags provided in the field-value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"If-Match"`

    // The `If-Unmodified-Since` header field makes the request method
    // conditional on the selected representation's last modification date being
    // earlier than or equal to the date provided in the field-value.  This
    // field accomplishes the same purpose as If-Match for cases where the user
    // agent does not have an entity-tag for the representation.
    IfUnmodifiedSince *string `mandatory:"false" contributesTo:"header" name:"If-Unmodified-Since"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope PatchZoneRecordsScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // The OCID of the view the resource is associated with.
    ViewId *string `mandatory:"false" contributesTo:"query" name:"viewId"`

    // The OCID of the compartment the resource belongs to.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (PatchZoneRecordsRequest) HTTPRequest

func (request PatchZoneRecordsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (PatchZoneRecordsRequest) RetryPolicy

func (request PatchZoneRecordsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (PatchZoneRecordsRequest) String

func (request PatchZoneRecordsRequest) String() string

type PatchZoneRecordsResponse

PatchZoneRecordsResponse wrapper for the PatchZoneRecords operation

type PatchZoneRecordsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The RecordCollection instance
    RecordCollection `presentIn:"body"`

    // For list pagination. When this header appears in the response, additional pages
    // of results remain. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // The total number of items that match the query.
    OpcTotalItems *int `presentIn:"header" name:"opc-total-items"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // The current version of the record collection, ending with a
    // representation-specific suffix. This value may be used in If-Match
    // and If-None-Match headers for later requests of the same resource.
    ETag *string `presentIn:"header" name:"etag"`
}

func (PatchZoneRecordsResponse) HTTPResponse

func (response PatchZoneRecordsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (PatchZoneRecordsResponse) String

func (response PatchZoneRecordsResponse) String() string

type PatchZoneRecordsScopeEnum

PatchZoneRecordsScopeEnum Enum with underlying type: string

type PatchZoneRecordsScopeEnum string

Set of constants representing the allowable values for PatchZoneRecordsScopeEnum

const (
    PatchZoneRecordsScopeGlobal  PatchZoneRecordsScopeEnum = "GLOBAL"
    PatchZoneRecordsScopePrivate PatchZoneRecordsScopeEnum = "PRIVATE"
)

func GetPatchZoneRecordsScopeEnumValues

func GetPatchZoneRecordsScopeEnumValues() []PatchZoneRecordsScopeEnum

GetPatchZoneRecordsScopeEnumValues Enumerates the set of values for PatchZoneRecordsScopeEnum

type Record

Record A DNS resource record. For more information, see Supported DNS Resource Record Types (https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm).

type Record struct {

    // The fully qualified domain name where the record can be located.
    Domain *string `mandatory:"false" json:"domain"`

    // A unique identifier for the record within its zone.
    RecordHash *string `mandatory:"false" json:"recordHash"`

    // A Boolean flag indicating whether or not parts of the record
    // are unable to be explicitly managed.
    IsProtected *bool `mandatory:"false" json:"isProtected"`

    // The record's data, as whitespace-delimited tokens in
    // type-specific presentation format. All RDATA is normalized and the
    // returned presentation of your RDATA may differ from its initial input.
    // For more information about RDATA, see Supported DNS Resource Record Types (https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm)
    Rdata *string `mandatory:"false" json:"rdata"`

    // The latest version of the record's zone in which its RRSet differs
    // from the preceding version.
    RrsetVersion *string `mandatory:"false" json:"rrsetVersion"`

    // The type of DNS record, such as A or CNAME. For more information, see Resource Record (RR) TYPEs (https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4).
    Rtype *string `mandatory:"false" json:"rtype"`

    // The Time To Live for the record, in seconds.
    Ttl *int `mandatory:"false" json:"ttl"`
}

func (Record) String

func (m Record) String() string

type RecordCollection

RecordCollection A collection of DNS resource records.

type RecordCollection struct {
    Items []Record `mandatory:"true" json:"items"`
}

func (RecordCollection) String

func (m RecordCollection) String() string

type RecordDetails

RecordDetails A DNS resource record. For more information about records, see RFC 1034 (https://tools.ietf.org/html/rfc1034#section-3.6).

type RecordDetails struct {

    // The fully qualified domain name where the record can be located.
    Domain *string `mandatory:"true" json:"domain"`

    // The record's data, as whitespace-delimited tokens in
    // type-specific presentation format. All RDATA is normalized and the
    // returned presentation of your RDATA may differ from its initial input.
    // For more information about RDATA, see Supported DNS Resource Record Types (https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm)
    Rdata *string `mandatory:"true" json:"rdata"`

    // The type of DNS record, such as A or CNAME. For more information, see Resource Record (RR) TYPEs (https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4).
    Rtype *string `mandatory:"true" json:"rtype"`

    // The Time To Live for the record, in seconds.
    Ttl *int `mandatory:"true" json:"ttl"`

    // A unique identifier for the record within its zone.
    RecordHash *string `mandatory:"false" json:"recordHash"`

    // A Boolean flag indicating whether or not parts of the record
    // are unable to be explicitly managed.
    IsProtected *bool `mandatory:"false" json:"isProtected"`

    // The latest version of the record's zone in which its RRSet differs
    // from the preceding version.
    RrsetVersion *string `mandatory:"false" json:"rrsetVersion"`
}

func (RecordDetails) String

func (m RecordDetails) String() string

type RecordOperation

RecordOperation An extension of the existing record resource, describing either a precondition, an add, or a remove. Preconditions check all fields, including read-only data like `recordHash` and `rrsetVersion`.

type RecordOperation struct {

    // The fully qualified domain name where the record can be located.
    Domain *string `mandatory:"false" json:"domain"`

    // A unique identifier for the record within its zone.
    RecordHash *string `mandatory:"false" json:"recordHash"`

    // A Boolean flag indicating whether or not parts of the record
    // are unable to be explicitly managed.
    IsProtected *bool `mandatory:"false" json:"isProtected"`

    // The record's data, as whitespace-delimited tokens in
    // type-specific presentation format. All RDATA is normalized and the
    // returned presentation of your RDATA may differ from its initial input.
    // For more information about RDATA, see Supported DNS Resource Record Types (https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm)
    Rdata *string `mandatory:"false" json:"rdata"`

    // The latest version of the record's zone in which its RRSet differs
    // from the preceding version.
    RrsetVersion *string `mandatory:"false" json:"rrsetVersion"`

    // The type of DNS record, such as A or CNAME. For more information, see Resource Record (RR) TYPEs (https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4).
    Rtype *string `mandatory:"false" json:"rtype"`

    // The Time To Live for the record, in seconds.
    Ttl *int `mandatory:"false" json:"ttl"`

    // A description of how a record relates to a PATCH operation.
    //
    // - `REQUIRE` indicates a precondition that record data **must** already exist.
    // - `PROHIBIT` indicates a precondition that record data **must not** already exist.
    // - `ADD` indicates that record data **must** exist after successful application.
    // - `REMOVE` indicates that record data **must not** exist after successful application.
    //
    //   **Note:** `ADD` and `REMOVE` operations can succeed even if
    //   they require no changes when applied, such as when the described
    //   records are already present or absent.
    //
    //   **Note:** `ADD` and `REMOVE` operations can describe changes for
    //   more than one record.
    //
    //   **Example:** `{ "domain": "www.example.com", "rtype": "AAAA", "ttl": 60 }`
    //   specifies a new TTL for every record in the www.example.com AAAA RRSet.
    Operation RecordOperationOperationEnum `mandatory:"false" json:"operation,omitempty"`
}

func (RecordOperation) String

func (m RecordOperation) String() string

type RecordOperationOperationEnum

RecordOperationOperationEnum Enum with underlying type: string

type RecordOperationOperationEnum string

Set of constants representing the allowable values for RecordOperationOperationEnum

const (
    RecordOperationOperationRequire  RecordOperationOperationEnum = "REQUIRE"
    RecordOperationOperationProhibit RecordOperationOperationEnum = "PROHIBIT"
    RecordOperationOperationAdd      RecordOperationOperationEnum = "ADD"
    RecordOperationOperationRemove   RecordOperationOperationEnum = "REMOVE"
)

func GetRecordOperationOperationEnumValues

func GetRecordOperationOperationEnumValues() []RecordOperationOperationEnum

GetRecordOperationOperationEnumValues Enumerates the set of values for RecordOperationOperationEnum

type Resolver

Resolver An OCI DNS resolver. If the resolver has an attached VCN then the VCN will attempt to answer queries based on the attached views in priority order. If the query does not match any of the attached views then the query will be evaluated against the default view. If the default view does not match then the rules will be evaluated in priority order. If no rules match the query then answers come from Internet DNS. A resolver may have at most 10 resolver endpoints. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type Resolver struct {

    // The OCID of the owning compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The display name of the resolver.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // The OCID of the resolver.
    Id *string `mandatory:"true" json:"id"`

    // The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format
    // with a Z offset, as defined by RFC 3339.
    // **Example:** `2016-07-22T17:23:59:60Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ"
    // format with a Z offset, as defined by RFC 3339.
    // **Example:** `2016-07-22T17:23:59:60Z`
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // The current state of the resource.
    LifecycleState ResolverLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The canonical absolute URL of the resource.
    Self *string `mandatory:"true" json:"self"`

    // A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
    IsProtected *bool `mandatory:"true" json:"isProtected"`

    // Read-only array of endpoints for the resolver.
    Endpoints []ResolverEndpointSummary `mandatory:"true" json:"endpoints"`

    // The attached views. Views are evaluated in order.
    AttachedViews []AttachedView `mandatory:"true" json:"attachedViews"`

    // The OCID of the attached VCN.
    AttachedVcnId *string `mandatory:"false" json:"attachedVcnId"`

    // The OCID of the default view.
    DefaultViewId *string `mandatory:"false" json:"defaultViewId"`

    // Rules for the resolver. Rules are evaluated in order.
    Rules []ResolverRule `mandatory:"false" json:"rules"`
}

func (Resolver) String

func (m Resolver) String() string

func (*Resolver) UnmarshalJSON

func (m *Resolver) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type ResolverEndpoint

ResolverEndpoint An OCI DNS resolver endpoint. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type ResolverEndpoint interface {

    // The name of the resolver endpoint. Must be unique within the resolver.
    GetName() *string

    // A Boolean flag indicating whether or not the resolver endpoint is for forwarding.
    GetIsForwarding() *bool

    // A Boolean flag indicating whether or not the resolver endpoint is for listening.
    GetIsListening() *bool

    // The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under
    // and will be updated if the resolver's compartment is changed.
    GetCompartmentId() *string

    // The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format
    // with a Z offset, as defined by RFC 3339.
    // **Example:** `2016-07-22T17:23:59:60Z`
    GetTimeCreated() *common.SDKTime

    // The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ"
    // format with a Z offset, as defined by RFC 3339.
    // **Example:** `2016-07-22T17:23:59:60Z`
    GetTimeUpdated() *common.SDKTime

    // The current state of the resource.
    GetLifecycleState() ResolverEndpointLifecycleStateEnum

    // The canonical absolute URL of the resource.
    GetSelf() *string

    // An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part
    // of the subnet and will be assigned by the system if unspecified when isForwarding is true.
    GetForwardingAddress() *string

    // An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the
    // subnet and will be assigned by the system if unspecified.
    GetListeningAddress() *string
}

type ResolverEndpointEndpointTypeEnum

ResolverEndpointEndpointTypeEnum Enum with underlying type: string

type ResolverEndpointEndpointTypeEnum string

Set of constants representing the allowable values for ResolverEndpointEndpointTypeEnum

const (
    ResolverEndpointEndpointTypeVnic ResolverEndpointEndpointTypeEnum = "VNIC"
)

func GetResolverEndpointEndpointTypeEnumValues

func GetResolverEndpointEndpointTypeEnumValues() []ResolverEndpointEndpointTypeEnum

GetResolverEndpointEndpointTypeEnumValues Enumerates the set of values for ResolverEndpointEndpointTypeEnum

type ResolverEndpointLifecycleStateEnum

ResolverEndpointLifecycleStateEnum Enum with underlying type: string

type ResolverEndpointLifecycleStateEnum string

Set of constants representing the allowable values for ResolverEndpointLifecycleStateEnum

const (
    ResolverEndpointLifecycleStateActive   ResolverEndpointLifecycleStateEnum = "ACTIVE"
    ResolverEndpointLifecycleStateCreating ResolverEndpointLifecycleStateEnum = "CREATING"
    ResolverEndpointLifecycleStateDeleted  ResolverEndpointLifecycleStateEnum = "DELETED"
    ResolverEndpointLifecycleStateDeleting ResolverEndpointLifecycleStateEnum = "DELETING"
    ResolverEndpointLifecycleStateFailed   ResolverEndpointLifecycleStateEnum = "FAILED"
    ResolverEndpointLifecycleStateUpdating ResolverEndpointLifecycleStateEnum = "UPDATING"
)

func GetResolverEndpointLifecycleStateEnumValues

func GetResolverEndpointLifecycleStateEnumValues() []ResolverEndpointLifecycleStateEnum

GetResolverEndpointLifecycleStateEnumValues Enumerates the set of values for ResolverEndpointLifecycleStateEnum

type ResolverEndpointSummary

ResolverEndpointSummary An OCI DNS resolver endpoint. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type ResolverEndpointSummary interface {

    // The name of the resolver endpoint. Must be unique within the resolver.
    GetName() *string

    // A Boolean flag indicating whether or not the resolver endpoint is for forwarding.
    GetIsForwarding() *bool

    // A Boolean flag indicating whether or not the resolver endpoint is for listening.
    GetIsListening() *bool

    // The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under
    // and will be updated if the resolver's compartment is changed.
    GetCompartmentId() *string

    // The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format
    // with a Z offset, as defined by RFC 3339.
    // **Example:** `2016-07-22T17:23:59:60Z`
    GetTimeCreated() *common.SDKTime

    // The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ"
    // format with a Z offset, as defined by RFC 3339.
    // **Example:** `2016-07-22T17:23:59:60Z`
    GetTimeUpdated() *common.SDKTime

    // The current state of the resource.
    GetLifecycleState() ResolverEndpointSummaryLifecycleStateEnum

    // The canonical absolute URL of the resource.
    GetSelf() *string

    // An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part
    // of the subnet and will be assigned by the system if unspecified when isForwarding is true.
    GetForwardingAddress() *string

    // An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the
    // subnet and will be assigned by the system if unspecified.
    GetListeningAddress() *string
}

type ResolverEndpointSummaryEndpointTypeEnum

ResolverEndpointSummaryEndpointTypeEnum Enum with underlying type: string

type ResolverEndpointSummaryEndpointTypeEnum string

Set of constants representing the allowable values for ResolverEndpointSummaryEndpointTypeEnum

const (
    ResolverEndpointSummaryEndpointTypeVnic ResolverEndpointSummaryEndpointTypeEnum = "VNIC"
)

func GetResolverEndpointSummaryEndpointTypeEnumValues

func GetResolverEndpointSummaryEndpointTypeEnumValues() []ResolverEndpointSummaryEndpointTypeEnum

GetResolverEndpointSummaryEndpointTypeEnumValues Enumerates the set of values for ResolverEndpointSummaryEndpointTypeEnum

type ResolverEndpointSummaryLifecycleStateEnum

ResolverEndpointSummaryLifecycleStateEnum Enum with underlying type: string

type ResolverEndpointSummaryLifecycleStateEnum string

Set of constants representing the allowable values for ResolverEndpointSummaryLifecycleStateEnum

const (
    ResolverEndpointSummaryLifecycleStateActive   ResolverEndpointSummaryLifecycleStateEnum = "ACTIVE"
    ResolverEndpointSummaryLifecycleStateCreating ResolverEndpointSummaryLifecycleStateEnum = "CREATING"
    ResolverEndpointSummaryLifecycleStateDeleted  ResolverEndpointSummaryLifecycleStateEnum = "DELETED"
    ResolverEndpointSummaryLifecycleStateDeleting ResolverEndpointSummaryLifecycleStateEnum = "DELETING"
    ResolverEndpointSummaryLifecycleStateFailed   ResolverEndpointSummaryLifecycleStateEnum = "FAILED"
    ResolverEndpointSummaryLifecycleStateUpdating ResolverEndpointSummaryLifecycleStateEnum = "UPDATING"
)

func GetResolverEndpointSummaryLifecycleStateEnumValues

func GetResolverEndpointSummaryLifecycleStateEnumValues() []ResolverEndpointSummaryLifecycleStateEnum

GetResolverEndpointSummaryLifecycleStateEnumValues Enumerates the set of values for ResolverEndpointSummaryLifecycleStateEnum

type ResolverForwardRule

ResolverForwardRule The representation of ResolverForwardRule

type ResolverForwardRule struct {

    // A list of CIDR blocks. The query must come from a client within one of the blocks in order for the rule action
    // to apply.
    ClientAddressConditions []string `mandatory:"true" json:"clientAddressConditions"`

    // A list of domain names. The query must be covered by one of the domains in order for the rule action to apply.
    QnameCoverConditions []string `mandatory:"true" json:"qnameCoverConditions"`

    // IP addresses to which queries should be forwarded. Currently limited to a single address.
    DestinationAddresses []string `mandatory:"true" json:"destinationAddresses"`

    // Name of an endpoint, that is a sub-resource of the resolver, to use as the forwarding interface. The
    // endpoint must have isForwarding set to true.
    SourceEndpointName *string `mandatory:"false" json:"sourceEndpointName"`
}

func (ResolverForwardRule) GetClientAddressConditions

func (m ResolverForwardRule) GetClientAddressConditions() []string

GetClientAddressConditions returns ClientAddressConditions

func (ResolverForwardRule) GetQnameCoverConditions

func (m ResolverForwardRule) GetQnameCoverConditions() []string

GetQnameCoverConditions returns QnameCoverConditions

func (ResolverForwardRule) MarshalJSON

func (m ResolverForwardRule) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ResolverForwardRule) String

func (m ResolverForwardRule) String() string

type ResolverForwardRuleDetails

ResolverForwardRuleDetails The representation of ResolverForwardRuleDetails

type ResolverForwardRuleDetails struct {

    // IP addresses to which queries should be forwarded. Currently limited to a single address.
    DestinationAddresses []string `mandatory:"true" json:"destinationAddresses"`

    // Name of an endpoint, that is a sub-resource of the resolver, to use as the forwarding interface. The
    // endpoint must have isForwarding set to true.
    SourceEndpointName *string `mandatory:"true" json:"sourceEndpointName"`

    // A list of CIDR blocks. The query must come from a client within one of the blocks in order for the rule action
    // to apply.
    ClientAddressConditions []string `mandatory:"false" json:"clientAddressConditions"`

    // A list of domain names. The query must be covered by one of the domains in order for the rule action to apply.
    QnameCoverConditions []string `mandatory:"false" json:"qnameCoverConditions"`
}

func (ResolverForwardRuleDetails) GetClientAddressConditions

func (m ResolverForwardRuleDetails) GetClientAddressConditions() []string

GetClientAddressConditions returns ClientAddressConditions

func (ResolverForwardRuleDetails) GetQnameCoverConditions

func (m ResolverForwardRuleDetails) GetQnameCoverConditions() []string

GetQnameCoverConditions returns QnameCoverConditions

func (ResolverForwardRuleDetails) MarshalJSON

func (m ResolverForwardRuleDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ResolverForwardRuleDetails) String

func (m ResolverForwardRuleDetails) String() string

type ResolverLifecycleStateEnum

ResolverLifecycleStateEnum Enum with underlying type: string

type ResolverLifecycleStateEnum string

Set of constants representing the allowable values for ResolverLifecycleStateEnum

const (
    ResolverLifecycleStateActive   ResolverLifecycleStateEnum = "ACTIVE"
    ResolverLifecycleStateCreating ResolverLifecycleStateEnum = "CREATING"
    ResolverLifecycleStateDeleted  ResolverLifecycleStateEnum = "DELETED"
    ResolverLifecycleStateDeleting ResolverLifecycleStateEnum = "DELETING"
    ResolverLifecycleStateFailed   ResolverLifecycleStateEnum = "FAILED"
    ResolverLifecycleStateUpdating ResolverLifecycleStateEnum = "UPDATING"
)

func GetResolverLifecycleStateEnumValues

func GetResolverLifecycleStateEnumValues() []ResolverLifecycleStateEnum

GetResolverLifecycleStateEnumValues Enumerates the set of values for ResolverLifecycleStateEnum

type ResolverRule

ResolverRule A rule for a resolver. Specifying both qnameCoverConditions and clientAddressConditions is not allowed. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type ResolverRule interface {

    // A list of CIDR blocks. The query must come from a client within one of the blocks in order for the rule action
    // to apply.
    GetClientAddressConditions() []string

    // A list of domain names. The query must be covered by one of the domains in order for the rule action to apply.
    GetQnameCoverConditions() []string
}

type ResolverRuleActionEnum

ResolverRuleActionEnum Enum with underlying type: string

type ResolverRuleActionEnum string

Set of constants representing the allowable values for ResolverRuleActionEnum

const (
    ResolverRuleActionForward ResolverRuleActionEnum = "FORWARD"
)

func GetResolverRuleActionEnumValues

func GetResolverRuleActionEnumValues() []ResolverRuleActionEnum

GetResolverRuleActionEnumValues Enumerates the set of values for ResolverRuleActionEnum

type ResolverRuleDetails

ResolverRuleDetails A rule for a resolver. Specifying both qnameCoverConditions and clientAddressConditions is not allowed. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type ResolverRuleDetails interface {

    // A list of CIDR blocks. The query must come from a client within one of the blocks in order for the rule action
    // to apply.
    GetClientAddressConditions() []string

    // A list of domain names. The query must be covered by one of the domains in order for the rule action to apply.
    GetQnameCoverConditions() []string
}

type ResolverRuleDetailsActionEnum

ResolverRuleDetailsActionEnum Enum with underlying type: string

type ResolverRuleDetailsActionEnum string

Set of constants representing the allowable values for ResolverRuleDetailsActionEnum

const (
    ResolverRuleDetailsActionForward ResolverRuleDetailsActionEnum = "FORWARD"
)

func GetResolverRuleDetailsActionEnumValues

func GetResolverRuleDetailsActionEnumValues() []ResolverRuleDetailsActionEnum

GetResolverRuleDetailsActionEnumValues Enumerates the set of values for ResolverRuleDetailsActionEnum

type ResolverSummary

ResolverSummary An OCI DNS resolver. If the resolver has an attached VCN then the VCN will attempt to answer queries based on the attached views in priority order. If the query does not match any of the attached views then the query will be evaluated against the default view. If the default view does not match then the rules will be evaluated in priority order. If no rules match the query then answers come from Internet DNS. A resolver may have at most 10 resolver endpoints. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type ResolverSummary struct {

    // The OCID of the owning compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The display name of the resolver.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // The OCID of the resolver.
    Id *string `mandatory:"true" json:"id"`

    // The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format
    // with a Z offset, as defined by RFC 3339.
    // **Example:** `2016-07-22T17:23:59:60Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ"
    // format with a Z offset, as defined by RFC 3339.
    // **Example:** `2016-07-22T17:23:59:60Z`
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // The current state of the resource.
    LifecycleState ResolverSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The canonical absolute URL of the resource.
    Self *string `mandatory:"true" json:"self"`

    // A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
    IsProtected *bool `mandatory:"true" json:"isProtected"`

    // The OCID of the attached VCN.
    AttachedVcnId *string `mandatory:"false" json:"attachedVcnId"`

    // The OCID of the default view.
    DefaultViewId *string `mandatory:"false" json:"defaultViewId"`
}

func (ResolverSummary) String

func (m ResolverSummary) String() string

type ResolverSummaryLifecycleStateEnum

ResolverSummaryLifecycleStateEnum Enum with underlying type: string

type ResolverSummaryLifecycleStateEnum string

Set of constants representing the allowable values for ResolverSummaryLifecycleStateEnum

const (
    ResolverSummaryLifecycleStateActive   ResolverSummaryLifecycleStateEnum = "ACTIVE"
    ResolverSummaryLifecycleStateCreating ResolverSummaryLifecycleStateEnum = "CREATING"
    ResolverSummaryLifecycleStateDeleted  ResolverSummaryLifecycleStateEnum = "DELETED"
    ResolverSummaryLifecycleStateDeleting ResolverSummaryLifecycleStateEnum = "DELETING"
    ResolverSummaryLifecycleStateFailed   ResolverSummaryLifecycleStateEnum = "FAILED"
    ResolverSummaryLifecycleStateUpdating ResolverSummaryLifecycleStateEnum = "UPDATING"
)

func GetResolverSummaryLifecycleStateEnumValues

func GetResolverSummaryLifecycleStateEnumValues() []ResolverSummaryLifecycleStateEnum

GetResolverSummaryLifecycleStateEnumValues Enumerates the set of values for ResolverSummaryLifecycleStateEnum

type ResolverVnicEndpoint

ResolverVnicEndpoint An OCI DNS resolver VNIC endpoint. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type ResolverVnicEndpoint struct {

    // The name of the resolver endpoint. Must be unique within the resolver.
    Name *string `mandatory:"true" json:"name"`

    // A Boolean flag indicating whether or not the resolver endpoint is for forwarding.
    IsForwarding *bool `mandatory:"true" json:"isForwarding"`

    // A Boolean flag indicating whether or not the resolver endpoint is for listening.
    IsListening *bool `mandatory:"true" json:"isListening"`

    // The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under
    // and will be updated if the resolver's compartment is changed.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format
    // with a Z offset, as defined by RFC 3339.
    // **Example:** `2016-07-22T17:23:59:60Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ"
    // format with a Z offset, as defined by RFC 3339.
    // **Example:** `2016-07-22T17:23:59:60Z`
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // The canonical absolute URL of the resource.
    Self *string `mandatory:"true" json:"self"`

    // An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part
    // of the subnet and will be assigned by the system if unspecified when isForwarding is true.
    ForwardingAddress *string `mandatory:"false" json:"forwardingAddress"`

    // An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the
    // subnet and will be assigned by the system if unspecified.
    ListeningAddress *string `mandatory:"false" json:"listeningAddress"`

    // The OCID of a subnet. Must be part of the VCN that the resolver is attached to.
    SubnetId *string `mandatory:"false" json:"subnetId"`

    // An array of NSG OCIDs for the resolver endpoint.
    NsgIds []string `mandatory:"false" json:"nsgIds"`

    // The current state of the resource.
    LifecycleState ResolverEndpointLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

func (ResolverVnicEndpoint) GetCompartmentId

func (m ResolverVnicEndpoint) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (ResolverVnicEndpoint) GetForwardingAddress

func (m ResolverVnicEndpoint) GetForwardingAddress() *string

GetForwardingAddress returns ForwardingAddress

func (ResolverVnicEndpoint) GetIsForwarding

func (m ResolverVnicEndpoint) GetIsForwarding() *bool

GetIsForwarding returns IsForwarding

func (ResolverVnicEndpoint) GetIsListening

func (m ResolverVnicEndpoint) GetIsListening() *bool

GetIsListening returns IsListening

func (ResolverVnicEndpoint) GetLifecycleState

func (m ResolverVnicEndpoint) GetLifecycleState() ResolverEndpointLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (ResolverVnicEndpoint) GetListeningAddress

func (m ResolverVnicEndpoint) GetListeningAddress() *string

GetListeningAddress returns ListeningAddress

func (ResolverVnicEndpoint) GetName

func (m ResolverVnicEndpoint) GetName() *string

GetName returns Name

func (ResolverVnicEndpoint) GetSelf

func (m ResolverVnicEndpoint) GetSelf() *string

GetSelf returns Self

func (ResolverVnicEndpoint) GetTimeCreated

func (m ResolverVnicEndpoint) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (ResolverVnicEndpoint) GetTimeUpdated

func (m ResolverVnicEndpoint) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (ResolverVnicEndpoint) MarshalJSON

func (m ResolverVnicEndpoint) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ResolverVnicEndpoint) String

func (m ResolverVnicEndpoint) String() string

type ResolverVnicEndpointSummary

ResolverVnicEndpointSummary An OCI DNS resolver VNIC endpoint. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type ResolverVnicEndpointSummary struct {

    // The name of the resolver endpoint. Must be unique within the resolver.
    Name *string `mandatory:"true" json:"name"`

    // A Boolean flag indicating whether or not the resolver endpoint is for forwarding.
    IsForwarding *bool `mandatory:"true" json:"isForwarding"`

    // A Boolean flag indicating whether or not the resolver endpoint is for listening.
    IsListening *bool `mandatory:"true" json:"isListening"`

    // The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under
    // and will be updated if the resolver's compartment is changed.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format
    // with a Z offset, as defined by RFC 3339.
    // **Example:** `2016-07-22T17:23:59:60Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ"
    // format with a Z offset, as defined by RFC 3339.
    // **Example:** `2016-07-22T17:23:59:60Z`
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // The canonical absolute URL of the resource.
    Self *string `mandatory:"true" json:"self"`

    // The OCID of a subnet. Must be part of the VCN that the resolver is attached to.
    SubnetId *string `mandatory:"true" json:"subnetId"`

    // An IP address from which forwarded queries may be sent. For VNIC endpoints, this IP address must be part
    // of the subnet and will be assigned by the system if unspecified when isForwarding is true.
    ForwardingAddress *string `mandatory:"false" json:"forwardingAddress"`

    // An IP address to listen to queries on. For VNIC endpoints this IP address must be part of the
    // subnet and will be assigned by the system if unspecified.
    ListeningAddress *string `mandatory:"false" json:"listeningAddress"`

    // The current state of the resource.
    LifecycleState ResolverEndpointSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

func (ResolverVnicEndpointSummary) GetCompartmentId

func (m ResolverVnicEndpointSummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (ResolverVnicEndpointSummary) GetForwardingAddress

func (m ResolverVnicEndpointSummary) GetForwardingAddress() *string

GetForwardingAddress returns ForwardingAddress

func (ResolverVnicEndpointSummary) GetIsForwarding

func (m ResolverVnicEndpointSummary) GetIsForwarding() *bool

GetIsForwarding returns IsForwarding

func (ResolverVnicEndpointSummary) GetIsListening

func (m ResolverVnicEndpointSummary) GetIsListening() *bool

GetIsListening returns IsListening

func (ResolverVnicEndpointSummary) GetLifecycleState

func (m ResolverVnicEndpointSummary) GetLifecycleState() ResolverEndpointSummaryLifecycleStateEnum

GetLifecycleState returns LifecycleState

func (ResolverVnicEndpointSummary) GetListeningAddress

func (m ResolverVnicEndpointSummary) GetListeningAddress() *string

GetListeningAddress returns ListeningAddress

func (ResolverVnicEndpointSummary) GetName

func (m ResolverVnicEndpointSummary) GetName() *string

GetName returns Name

func (ResolverVnicEndpointSummary) GetSelf

func (m ResolverVnicEndpointSummary) GetSelf() *string

GetSelf returns Self

func (ResolverVnicEndpointSummary) GetTimeCreated

func (m ResolverVnicEndpointSummary) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (ResolverVnicEndpointSummary) GetTimeUpdated

func (m ResolverVnicEndpointSummary) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (ResolverVnicEndpointSummary) MarshalJSON

func (m ResolverVnicEndpointSummary) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (ResolverVnicEndpointSummary) String

func (m ResolverVnicEndpointSummary) String() string

type RrSet

RrSet A collection of DNS records of the same domain and type. For more information about record types, see Resource Record (RR) TYPEs (https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4).

type RrSet struct {
    Items []Record `mandatory:"true" json:"items"`
}

func (RrSet) String

func (m RrSet) String() string

type ScopeEnum

ScopeEnum Enum with underlying type: string

type ScopeEnum string

Set of constants representing the allowable values for ScopeEnum

const (
    ScopeGlobal  ScopeEnum = "GLOBAL"
    ScopePrivate ScopeEnum = "PRIVATE"
)

func GetScopeEnumValues

func GetScopeEnumValues() []ScopeEnum

GetScopeEnumValues Enumerates the set of values for ScopeEnum

type SortOrderEnum

SortOrderEnum Enum with underlying type: string

type SortOrderEnum string

Set of constants representing the allowable values for SortOrderEnum

const (
    SortOrderAsc  SortOrderEnum = "ASC"
    SortOrderDesc SortOrderEnum = "DESC"
)

func GetSortOrderEnumValues

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type SteeringPolicy

SteeringPolicy A DNS steering policy. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type SteeringPolicy struct {

    // The OCID of the compartment containing the steering policy.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // A user-friendly name for the steering policy. Does not have to be unique and can be changed.
    // Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The Time To Live (TTL) for responses from the steering policy, in seconds.
    // If not specified during creation, a value of 30 seconds will be used.
    Ttl *int `mandatory:"true" json:"ttl"`

    // A set of predefined rules based on the desired purpose of the steering policy. Each
    // template utilizes Traffic Management's rules in a different order to produce the desired
    // results when answering DNS queries.
    //
    // **Example:** The `FAILOVER` template determines answers by filtering the policy's answers
    // using the `FILTER` rule first, then the following rules in succession: `HEALTH`, `PRIORITY`,
    // and `LIMIT`. This gives the domain dynamic failover capability.
    //
    // It is **strongly recommended** to use a template other than `CUSTOM` when creating
    // a steering policy.
    //
    // All templates require the rule order to begin with an unconditional `FILTER` rule that keeps
    // answers contingent upon `answer.isDisabled != true`, except for `CUSTOM`. A defined
    // `HEALTH` rule must follow the `FILTER` rule if the policy references a `healthCheckMonitorId`.
    // The last rule of a template must must be a `LIMIT` rule. For more information about templates
    // and code examples, see Traffic Management API Guide (https://docs.cloud.oracle.com/iaas/Content/TrafficManagement/Concepts/trafficmanagementapi.htm).
    // **Template Types**
    // * `FAILOVER` - Uses health check information on your endpoints to determine which DNS answers
    // to serve. If an endpoint fails a health check, the answer for that endpoint will be removed
    // from the list of available answers until the endpoint is detected as healthy.
    //
    // * `LOAD_BALANCE` - Distributes web traffic to specified endpoints based on defined weights.
    //
    // * `ROUTE_BY_GEO` - Answers DNS queries based on the query's geographic location. For a list of geographic
    // locations to route by, see Traffic Management Geographic Locations (https://docs.cloud.oracle.com/iaas/Content/TrafficManagement/Reference/trafficmanagementgeo.htm).
    //
    // * `ROUTE_BY_ASN` - Answers DNS queries based on the query's originating ASN.
    //
    // * `ROUTE_BY_IP` - Answers DNS queries based on the query's IP address.
    //
    // * `CUSTOM` - Allows a customized configuration of rules.
    Template SteeringPolicyTemplateEnum `mandatory:"true" json:"template"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // The set of all answers that can potentially issue from the steering policy.
    Answers []SteeringPolicyAnswer `mandatory:"true" json:"answers"`

    // The series of rules that will be processed in sequence to reduce the pool of answers
    // to a response for any given request.
    //
    // The first rule receives a shuffled list of all answers, and every other rule receives
    // the list of answers emitted by the one preceding it. The last rule populates the
    // response.
    Rules []SteeringPolicyRule `mandatory:"true" json:"rules"`

    // The canonical absolute URL of the resource.
    Self *string `mandatory:"true" json:"self"`

    // The OCID of the resource.
    Id *string `mandatory:"true" json:"id"`

    // The date and time the resource was created, expressed in RFC 3339 timestamp format.
    // **Example:** `2016-07-22T17:23:59:60Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The current state of the resource.
    LifecycleState SteeringPolicyLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The OCID of the health check monitor providing health data about the answers of the
    // steering policy. A steering policy answer with `rdata` matching a monitored endpoint
    // will use the health data of that endpoint. A steering policy answer with `rdata` not
    // matching any monitored endpoint will be assumed healthy.
    //
    // **Note:** To use the Health Check monitoring feature in a steering policy, a monitor
    // must be created using the Health Checks service first. For more information on how to
    // create a monitor, please see Managing Health Checks (https://docs.cloud.oracle.com/iaas/Content/HealthChecks/Tasks/managinghealthchecks.htm).
    HealthCheckMonitorId *string `mandatory:"false" json:"healthCheckMonitorId"`
}

func (SteeringPolicy) String

func (m SteeringPolicy) String() string

func (*SteeringPolicy) UnmarshalJSON

func (m *SteeringPolicy) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type SteeringPolicyAnswer

SteeringPolicyAnswer DNS record data with metadata for processing in a steering policy.

**Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type SteeringPolicyAnswer struct {

    // A user-friendly name for the answer, unique within the steering policy.
    // An answer's `name` property can be referenced in `answerCondition` properties
    // of rules using `answer.name`.
    // **Example:**
    //   "rules": [
    //     {
    //       "ruleType": "FILTER",
    //       "defaultAnswerData":  [
    //         {
    //           "answerCondition": "answer.name == 'server 1'",
    //           "shouldKeep": true
    //         }
    //       ]
    //     }
    //   ]
    Name *string `mandatory:"true" json:"name"`

    // The type of DNS record, such as A or CNAME. Only A, AAAA, and CNAME are supported. For more
    // information, see Supported DNS Resource Record Types (https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm).
    Rtype *string `mandatory:"true" json:"rtype"`

    // The record's data, as whitespace-delimited tokens in
    // type-specific presentation format. All RDATA is normalized and the
    // returned presentation of your RDATA may differ from its initial input.
    // For more information about RDATA, see Supported DNS Resource Record Types (https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm).
    Rdata *string `mandatory:"true" json:"rdata"`

    // The freeform name of a group of one or more records in which this record is included,
    // such as "LAX data center". An answer's `pool` property can be referenced in `answerCondition`
    // properties of rules using `answer.pool`.
    // **Example:**
    //   "rules": [
    //     {
    //       "ruleType": "FILTER",
    //       "defaultAnswerData":  [
    //         {
    //           "answerCondition": "answer.pool == 'US East Servers'",
    //           "shouldKeep": true
    //         }
    //       ]
    //     }
    //   ]
    Pool *string `mandatory:"false" json:"pool"`

    // Set this property to `true` to indicate that the answer is administratively disabled,
    // such as when the corresponding server is down for maintenance. An answer's `isDisabled`
    // property can be referenced in `answerCondition` properties in rules using `answer.isDisabled`.
    // **Example:**
    //   "rules": [
    //     {
    //       "ruleType": "FILTER",
    //       "defaultAnswerData": [
    //         {
    //           "answerCondition": "answer.isDisabled != true",
    //           "shouldKeep": true
    //         }
    //       ]
    //     },
    IsDisabled *bool `mandatory:"false" json:"isDisabled"`
}

func (SteeringPolicyAnswer) String

func (m SteeringPolicyAnswer) String() string

type SteeringPolicyAttachment

SteeringPolicyAttachment An attachment between a steering policy and a domain. An attachment constructs DNS responses using its steering policy instead of the records at its defined domain. Only records of the policy's covered rtype are blocked at the domain. A domain can have a maximum of one attachment covering any given rtype. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type SteeringPolicyAttachment struct {

    // The OCID of the attached steering policy.
    SteeringPolicyId *string `mandatory:"true" json:"steeringPolicyId"`

    // The OCID of the attached zone.
    ZoneId *string `mandatory:"true" json:"zoneId"`

    // The attached domain within the attached zone.
    DomainName *string `mandatory:"true" json:"domainName"`

    // A user-friendly name for the steering policy attachment.
    // Does not have to be unique and can be changed.
    // Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The record types covered by the attachment at the domain. The set of record types is
    // determined by aggregating the record types from the answers defined in the steering
    // policy.
    Rtypes []string `mandatory:"true" json:"rtypes"`

    // The OCID of the compartment containing the steering policy attachment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The canonical absolute URL of the resource.
    Self *string `mandatory:"true" json:"self"`

    // The OCID of the resource.
    Id *string `mandatory:"true" json:"id"`

    // The date and time the resource was created, expressed in RFC 3339 timestamp format.
    // **Example:** `2016-07-22T17:23:59:60Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The current state of the resource.
    LifecycleState SteeringPolicyAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

func (SteeringPolicyAttachment) String

func (m SteeringPolicyAttachment) String() string

type SteeringPolicyAttachmentLifecycleStateEnum

SteeringPolicyAttachmentLifecycleStateEnum Enum with underlying type: string

type SteeringPolicyAttachmentLifecycleStateEnum string

Set of constants representing the allowable values for SteeringPolicyAttachmentLifecycleStateEnum

const (
    SteeringPolicyAttachmentLifecycleStateCreating SteeringPolicyAttachmentLifecycleStateEnum = "CREATING"
    SteeringPolicyAttachmentLifecycleStateActive   SteeringPolicyAttachmentLifecycleStateEnum = "ACTIVE"
    SteeringPolicyAttachmentLifecycleStateDeleting SteeringPolicyAttachmentLifecycleStateEnum = "DELETING"
)

func GetSteeringPolicyAttachmentLifecycleStateEnumValues

func GetSteeringPolicyAttachmentLifecycleStateEnumValues() []SteeringPolicyAttachmentLifecycleStateEnum

GetSteeringPolicyAttachmentLifecycleStateEnumValues Enumerates the set of values for SteeringPolicyAttachmentLifecycleStateEnum

type SteeringPolicyAttachmentSummary

SteeringPolicyAttachmentSummary An attachment between a steering policy and a domain.

type SteeringPolicyAttachmentSummary struct {

    // The OCID of the attached steering policy.
    SteeringPolicyId *string `mandatory:"true" json:"steeringPolicyId"`

    // The OCID of the attached zone.
    ZoneId *string `mandatory:"true" json:"zoneId"`

    // The attached domain within the attached zone.
    DomainName *string `mandatory:"true" json:"domainName"`

    // A user-friendly name for the steering policy attachment.
    // Does not have to be unique and can be changed.
    // Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The record types covered by the attachment at the domain. The set of record types is
    // determined by aggregating the record types from the answers defined in the steering
    // policy.
    Rtypes []string `mandatory:"true" json:"rtypes"`

    // The OCID of the compartment containing the steering policy attachment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The canonical absolute URL of the resource.
    Self *string `mandatory:"true" json:"self"`

    // The OCID of the resource.
    Id *string `mandatory:"true" json:"id"`

    // The date and time the resource was created, expressed in RFC 3339 timestamp format.
    // **Example:** `2016-07-22T17:23:59:60Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The current state of the resource.
    LifecycleState SteeringPolicyAttachmentSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

func (SteeringPolicyAttachmentSummary) String

func (m SteeringPolicyAttachmentSummary) String() string

type SteeringPolicyAttachmentSummaryLifecycleStateEnum

SteeringPolicyAttachmentSummaryLifecycleStateEnum Enum with underlying type: string

type SteeringPolicyAttachmentSummaryLifecycleStateEnum string

Set of constants representing the allowable values for SteeringPolicyAttachmentSummaryLifecycleStateEnum

const (
    SteeringPolicyAttachmentSummaryLifecycleStateCreating SteeringPolicyAttachmentSummaryLifecycleStateEnum = "CREATING"
    SteeringPolicyAttachmentSummaryLifecycleStateActive   SteeringPolicyAttachmentSummaryLifecycleStateEnum = "ACTIVE"
    SteeringPolicyAttachmentSummaryLifecycleStateDeleting SteeringPolicyAttachmentSummaryLifecycleStateEnum = "DELETING"
)

func GetSteeringPolicyAttachmentSummaryLifecycleStateEnumValues

func GetSteeringPolicyAttachmentSummaryLifecycleStateEnumValues() []SteeringPolicyAttachmentSummaryLifecycleStateEnum

GetSteeringPolicyAttachmentSummaryLifecycleStateEnumValues Enumerates the set of values for SteeringPolicyAttachmentSummaryLifecycleStateEnum

type SteeringPolicyFilterAnswerData

SteeringPolicyFilterAnswerData The representation of SteeringPolicyFilterAnswerData

type SteeringPolicyFilterAnswerData struct {

    // An expression that is used to select a set of answers that match a condition. For example, answers with matching pool properties.
    AnswerCondition *string `mandatory:"false" json:"answerCondition"`

    // Keeps the answer only if the value is `true`.
    ShouldKeep *bool `mandatory:"false" json:"shouldKeep"`
}

func (SteeringPolicyFilterAnswerData) String

func (m SteeringPolicyFilterAnswerData) String() string

type SteeringPolicyFilterRule

SteeringPolicyFilterRule The representation of SteeringPolicyFilterRule

type SteeringPolicyFilterRule struct {

    // A user-defined description of the rule's purpose or behavior.
    Description *string `mandatory:"false" json:"description"`

    // An array of `caseConditions`. A rule may optionally include a sequence of cases defining alternate
    // configurations for how it should behave during processing for any given DNS query. When a rule has
    // no sequence of `cases`, it is always evaluated with the same configuration during processing. When
    // a rule has an empty sequence of `cases`, it is always ignored during processing. When a rule has a
    // non-empty sequence of `cases`, its behavior during processing is configured by the first matching
    // `case` in the sequence. When a rule has no matching cases the rule is ignored. A rule case with no
    // `caseCondition` always matches. A rule case with a `caseCondition` matches only when that expression
    // evaluates to true for the given query.
    Cases []SteeringPolicyFilterRuleCase `mandatory:"false" json:"cases"`

    // Defines a default set of answer conditions and values that are applied to an answer when
    // `cases` is not defined for the rule, or a matching case does not have any matching
    // `answerCondition`s in its `answerData`. `defaultAnswerData` is not applied if `cases` is
    // defined and there are no matching cases. In this scenario, the next rule will be processed.
    DefaultAnswerData []SteeringPolicyFilterAnswerData `mandatory:"false" json:"defaultAnswerData"`
}

func (SteeringPolicyFilterRule) GetDescription

func (m SteeringPolicyFilterRule) GetDescription() *string

GetDescription returns Description

func (SteeringPolicyFilterRule) MarshalJSON

func (m SteeringPolicyFilterRule) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (SteeringPolicyFilterRule) String

func (m SteeringPolicyFilterRule) String() string

type SteeringPolicyFilterRuleCase

SteeringPolicyFilterRuleCase The representation of SteeringPolicyFilterRuleCase

type SteeringPolicyFilterRuleCase struct {

    // An expression that uses conditions at the time of a DNS query to indicate
    // whether a case matches. Conditions may include the geographical location, IP
    // subnet, or ASN the DNS query originated. **Example:** If you have an
    // office that uses the subnet `192.0.2.0/24` you could use a `caseCondition`
    // expression `query.client.subnet in ('192.0.2.0/24')` to define a case that
    // matches queries from that office.
    CaseCondition *string `mandatory:"false" json:"caseCondition"`

    // An array of `SteeringPolicyFilterAnswerData` objects.
    AnswerData []SteeringPolicyFilterAnswerData `mandatory:"false" json:"answerData"`
}

func (SteeringPolicyFilterRuleCase) String

func (m SteeringPolicyFilterRuleCase) String() string

type SteeringPolicyHealthRule

SteeringPolicyHealthRule The representation of SteeringPolicyHealthRule

type SteeringPolicyHealthRule struct {

    // A user-defined description of the rule's purpose or behavior.
    Description *string `mandatory:"false" json:"description"`

    // An array of `caseConditions`. A rule may optionally include a sequence of cases defining alternate
    // configurations for how it should behave during processing for any given DNS query. When a rule has
    // no sequence of `cases`, it is always evaluated with the same configuration during processing. When
    // a rule has an empty sequence of `cases`, it is always ignored during processing. When a rule has a
    // non-empty sequence of `cases`, its behavior during processing is configured by the first matching
    // `case` in the sequence. When a rule has no matching cases the rule is ignored. A rule case with no
    // `caseCondition` always matches. A rule case with a `caseCondition` matches only when that expression
    // evaluates to true for the given query.
    Cases []SteeringPolicyHealthRuleCase `mandatory:"false" json:"cases"`
}

func (SteeringPolicyHealthRule) GetDescription

func (m SteeringPolicyHealthRule) GetDescription() *string

GetDescription returns Description

func (SteeringPolicyHealthRule) MarshalJSON

func (m SteeringPolicyHealthRule) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (SteeringPolicyHealthRule) String

func (m SteeringPolicyHealthRule) String() string

type SteeringPolicyHealthRuleCase

SteeringPolicyHealthRuleCase The representation of SteeringPolicyHealthRuleCase

type SteeringPolicyHealthRuleCase struct {

    // An expression that uses conditions at the time of a DNS query to indicate
    // whether a case matches. Conditions may include the geographical location, IP
    // subnet, or ASN the DNS query originated. **Example:** If you have an
    // office that uses the subnet `192.0.2.0/24` you could use a `caseCondition`
    // expression `query.client.subnet in ('192.0.2.0/24')` to define a case that
    // matches queries from that office.
    CaseCondition *string `mandatory:"false" json:"caseCondition"`
}

func (SteeringPolicyHealthRuleCase) String

func (m SteeringPolicyHealthRuleCase) String() string

type SteeringPolicyLifecycleStateEnum

SteeringPolicyLifecycleStateEnum Enum with underlying type: string

type SteeringPolicyLifecycleStateEnum string

Set of constants representing the allowable values for SteeringPolicyLifecycleStateEnum

const (
    SteeringPolicyLifecycleStateActive   SteeringPolicyLifecycleStateEnum = "ACTIVE"
    SteeringPolicyLifecycleStateCreating SteeringPolicyLifecycleStateEnum = "CREATING"
    SteeringPolicyLifecycleStateDeleted  SteeringPolicyLifecycleStateEnum = "DELETED"
    SteeringPolicyLifecycleStateDeleting SteeringPolicyLifecycleStateEnum = "DELETING"
)

func GetSteeringPolicyLifecycleStateEnumValues

func GetSteeringPolicyLifecycleStateEnumValues() []SteeringPolicyLifecycleStateEnum

GetSteeringPolicyLifecycleStateEnumValues Enumerates the set of values for SteeringPolicyLifecycleStateEnum

type SteeringPolicyLimitRule

SteeringPolicyLimitRule The representation of SteeringPolicyLimitRule

type SteeringPolicyLimitRule struct {

    // A user-defined description of the rule's purpose or behavior.
    Description *string `mandatory:"false" json:"description"`

    // An array of `caseConditions`. A rule may optionally include a sequence of cases defining alternate
    // configurations for how it should behave during processing for any given DNS query. When a rule has
    // no sequence of `cases`, it is always evaluated with the same configuration during processing. When
    // a rule has an empty sequence of `cases`, it is always ignored during processing. When a rule has a
    // non-empty sequence of `cases`, its behavior during processing is configured by the first matching
    // `case` in the sequence. When a rule has no matching cases the rule is ignored. A rule case with no
    // `caseCondition` always matches. A rule case with a `caseCondition` matches only when that expression
    // evaluates to true for the given query.
    Cases []SteeringPolicyLimitRuleCase `mandatory:"false" json:"cases"`

    // Defines a default count if `cases` is not defined for the rule or a matching case does
    // not define `count`. `defaultCount` is **not** applied if `cases` is defined and there
    // are no matching cases. In this scenario, the next rule will be processed. If no rules
    // remain to be processed, the answer will be chosen from the remaining list of answers.
    DefaultCount *int `mandatory:"false" json:"defaultCount"`
}

func (SteeringPolicyLimitRule) GetDescription

func (m SteeringPolicyLimitRule) GetDescription() *string

GetDescription returns Description

func (SteeringPolicyLimitRule) MarshalJSON

func (m SteeringPolicyLimitRule) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (SteeringPolicyLimitRule) String

func (m SteeringPolicyLimitRule) String() string

type SteeringPolicyLimitRuleCase

SteeringPolicyLimitRuleCase The representation of SteeringPolicyLimitRuleCase

type SteeringPolicyLimitRuleCase struct {

    // The number of answers allowed to remain after the limit rule has been processed, keeping only the
    // first of the remaining answers in the list. Example: If the `count` property is set to `2` and
    // four answers remain before the limit rule is processed, only the first two answers in the list will
    // remain after the limit rule has been processed.
    Count *int `mandatory:"true" json:"count"`

    // An expression that uses conditions at the time of a DNS query to indicate
    // whether a case matches. Conditions may include the geographical location, IP
    // subnet, or ASN the DNS query originated. **Example:** If you have an
    // office that uses the subnet `192.0.2.0/24` you could use a `caseCondition`
    // expression `query.client.subnet in ('192.0.2.0/24')` to define a case that
    // matches queries from that office.
    CaseCondition *string `mandatory:"false" json:"caseCondition"`
}

func (SteeringPolicyLimitRuleCase) String

func (m SteeringPolicyLimitRuleCase) String() string

type SteeringPolicyPriorityAnswerData

SteeringPolicyPriorityAnswerData The representation of SteeringPolicyPriorityAnswerData

type SteeringPolicyPriorityAnswerData struct {

    // The rank assigned to the set of answers that match the expression in `answerCondition`.
    // Answers with the lowest values move to the beginning of the list without changing the
    // relative order of those with the same value. Answers can be given a value between `0` and `255`.
    Value *int `mandatory:"true" json:"value"`

    // An expression that is used to select a set of answers that match a condition. For example, answers with matching pool properties.
    AnswerCondition *string `mandatory:"false" json:"answerCondition"`
}

func (SteeringPolicyPriorityAnswerData) String

func (m SteeringPolicyPriorityAnswerData) String() string

type SteeringPolicyPriorityRule

SteeringPolicyPriorityRule The representation of SteeringPolicyPriorityRule

type SteeringPolicyPriorityRule struct {

    // A user-defined description of the rule's purpose or behavior.
    Description *string `mandatory:"false" json:"description"`

    // An array of `caseConditions`. A rule may optionally include a sequence of cases defining alternate
    // configurations for how it should behave during processing for any given DNS query. When a rule has
    // no sequence of `cases`, it is always evaluated with the same configuration during processing. When
    // a rule has an empty sequence of `cases`, it is always ignored during processing. When a rule has a
    // non-empty sequence of `cases`, its behavior during processing is configured by the first matching
    // `case` in the sequence. When a rule has no matching cases the rule is ignored. A rule case with no
    // `caseCondition` always matches. A rule case with a `caseCondition` matches only when that expression
    // evaluates to true for the given query.
    Cases []SteeringPolicyPriorityRuleCase `mandatory:"false" json:"cases"`

    // Defines a default set of answer conditions and values that are applied to an answer when
    // `cases` is not defined for the rule or a matching case does not have any matching
    // `answerCondition`s in its `answerData`. `defaultAnswerData` is not applied if `cases` is
    // defined and there are no matching cases. In this scenario, the next rule will be processed.
    DefaultAnswerData []SteeringPolicyPriorityAnswerData `mandatory:"false" json:"defaultAnswerData"`
}

func (SteeringPolicyPriorityRule) GetDescription

func (m SteeringPolicyPriorityRule) GetDescription() *string

GetDescription returns Description

func (SteeringPolicyPriorityRule) MarshalJSON

func (m SteeringPolicyPriorityRule) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (SteeringPolicyPriorityRule) String

func (m SteeringPolicyPriorityRule) String() string

type SteeringPolicyPriorityRuleCase

SteeringPolicyPriorityRuleCase The representation of SteeringPolicyPriorityRuleCase

type SteeringPolicyPriorityRuleCase struct {

    // An expression that uses conditions at the time of a DNS query to indicate
    // whether a case matches. Conditions may include the geographical location, IP
    // subnet, or ASN the DNS query originated. **Example:** If you have an
    // office that uses the subnet `192.0.2.0/24` you could use a `caseCondition`
    // expression `query.client.subnet in ('192.0.2.0/24')` to define a case that
    // matches queries from that office.
    CaseCondition *string `mandatory:"false" json:"caseCondition"`

    // An array of `SteeringPolicyPriorityAnswerData` objects.
    AnswerData []SteeringPolicyPriorityAnswerData `mandatory:"false" json:"answerData"`
}

func (SteeringPolicyPriorityRuleCase) String

func (m SteeringPolicyPriorityRuleCase) String() string

type SteeringPolicyRule

SteeringPolicyRule The configuration of the sorting and filtering behaviors in a steering policy. Rules can filter and sort answers based on weight, priority, endpoint health, and other data.

A rule may optionally include a sequence of cases, each with an optional `caseCondition` expression. Cases allow a sequence of conditions to be defined that will apply different parameters to the rule when the conditions are met. For more information about cases, see Traffic Management API Guide (https://docs.cloud.oracle.com/iaas/Content/TrafficManagement/Concepts/trafficmanagementapi.htm).

**Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type SteeringPolicyRule interface {

    // A user-defined description of the rule's purpose or behavior.
    GetDescription() *string
}

type SteeringPolicyRuleRuleTypeEnum

SteeringPolicyRuleRuleTypeEnum Enum with underlying type: string

type SteeringPolicyRuleRuleTypeEnum string

Set of constants representing the allowable values for SteeringPolicyRuleRuleTypeEnum

const (
    SteeringPolicyRuleRuleTypeFilter   SteeringPolicyRuleRuleTypeEnum = "FILTER"
    SteeringPolicyRuleRuleTypeHealth   SteeringPolicyRuleRuleTypeEnum = "HEALTH"
    SteeringPolicyRuleRuleTypeWeighted SteeringPolicyRuleRuleTypeEnum = "WEIGHTED"
    SteeringPolicyRuleRuleTypePriority SteeringPolicyRuleRuleTypeEnum = "PRIORITY"
    SteeringPolicyRuleRuleTypeLimit    SteeringPolicyRuleRuleTypeEnum = "LIMIT"
)

func GetSteeringPolicyRuleRuleTypeEnumValues

func GetSteeringPolicyRuleRuleTypeEnumValues() []SteeringPolicyRuleRuleTypeEnum

GetSteeringPolicyRuleRuleTypeEnumValues Enumerates the set of values for SteeringPolicyRuleRuleTypeEnum

type SteeringPolicySummary

SteeringPolicySummary A DNS steering policy. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type SteeringPolicySummary struct {

    // The OCID of the compartment containing the steering policy.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // A user-friendly name for the steering policy. Does not have to be unique and can be changed.
    // Avoid entering confidential information.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // The Time To Live (TTL) for responses from the steering policy, in seconds.
    // If not specified during creation, a value of 30 seconds will be used.
    Ttl *int `mandatory:"true" json:"ttl"`

    // A set of predefined rules based on the desired purpose of the steering policy. Each
    // template utilizes Traffic Management's rules in a different order to produce the desired
    // results when answering DNS queries.
    //
    // **Example:** The `FAILOVER` template determines answers by filtering the policy's answers
    // using the `FILTER` rule first, then the following rules in succession: `HEALTH`, `PRIORITY`,
    // and `LIMIT`. This gives the domain dynamic failover capability.
    //
    // It is **strongly recommended** to use a template other than `CUSTOM` when creating
    // a steering policy.
    //
    // All templates require the rule order to begin with an unconditional `FILTER` rule that keeps
    // answers contingent upon `answer.isDisabled != true`, except for `CUSTOM`. A defined
    // `HEALTH` rule must follow the `FILTER` rule if the policy references a `healthCheckMonitorId`.
    // The last rule of a template must must be a `LIMIT` rule. For more information about templates
    // and code examples, see Traffic Management API Guide (https://docs.cloud.oracle.com/iaas/Content/TrafficManagement/Concepts/trafficmanagementapi.htm).
    // **Template Types**
    // * `FAILOVER` - Uses health check information on your endpoints to determine which DNS answers
    // to serve. If an endpoint fails a health check, the answer for that endpoint will be removed
    // from the list of available answers until the endpoint is detected as healthy.
    //
    // * `LOAD_BALANCE` - Distributes web traffic to specified endpoints based on defined weights.
    //
    // * `ROUTE_BY_GEO` - Answers DNS queries based on the query's geographic location. For a list of geographic
    // locations to route by, see Traffic Management Geographic Locations (https://docs.cloud.oracle.com/iaas/Content/TrafficManagement/Reference/trafficmanagementgeo.htm).
    //
    // * `ROUTE_BY_ASN` - Answers DNS queries based on the query's originating ASN.
    //
    // * `ROUTE_BY_IP` - Answers DNS queries based on the query's IP address.
    //
    // * `CUSTOM` - Allows a customized configuration of rules.
    Template SteeringPolicySummaryTemplateEnum `mandatory:"true" json:"template"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // The canonical absolute URL of the resource.
    Self *string `mandatory:"true" json:"self"`

    // The OCID of the resource.
    Id *string `mandatory:"true" json:"id"`

    // The date and time the resource was created, expressed in RFC 3339 timestamp format.
    // **Example:** `2016-07-22T17:23:59:60Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The current state of the resource.
    LifecycleState SteeringPolicySummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The OCID of the health check monitor providing health data about the answers of the
    // steering policy. A steering policy answer with `rdata` matching a monitored endpoint
    // will use the health data of that endpoint. A steering policy answer with `rdata` not
    // matching any monitored endpoint will be assumed healthy.
    //
    // **Note:** To use the Health Check monitoring feature in a steering policy, a monitor
    // must be created using the Health Checks service first. For more information on how to
    // create a monitor, please see Managing Health Checks (https://docs.cloud.oracle.com/iaas/Content/HealthChecks/Tasks/managinghealthchecks.htm).
    HealthCheckMonitorId *string `mandatory:"false" json:"healthCheckMonitorId"`
}

func (SteeringPolicySummary) String

func (m SteeringPolicySummary) String() string

type SteeringPolicySummaryLifecycleStateEnum

SteeringPolicySummaryLifecycleStateEnum Enum with underlying type: string

type SteeringPolicySummaryLifecycleStateEnum string

Set of constants representing the allowable values for SteeringPolicySummaryLifecycleStateEnum

const (
    SteeringPolicySummaryLifecycleStateActive   SteeringPolicySummaryLifecycleStateEnum = "ACTIVE"
    SteeringPolicySummaryLifecycleStateCreating SteeringPolicySummaryLifecycleStateEnum = "CREATING"
    SteeringPolicySummaryLifecycleStateDeleted  SteeringPolicySummaryLifecycleStateEnum = "DELETED"
    SteeringPolicySummaryLifecycleStateDeleting SteeringPolicySummaryLifecycleStateEnum = "DELETING"
)

func GetSteeringPolicySummaryLifecycleStateEnumValues

func GetSteeringPolicySummaryLifecycleStateEnumValues() []SteeringPolicySummaryLifecycleStateEnum

GetSteeringPolicySummaryLifecycleStateEnumValues Enumerates the set of values for SteeringPolicySummaryLifecycleStateEnum

type SteeringPolicySummaryTemplateEnum

SteeringPolicySummaryTemplateEnum Enum with underlying type: string

type SteeringPolicySummaryTemplateEnum string

Set of constants representing the allowable values for SteeringPolicySummaryTemplateEnum

const (
    SteeringPolicySummaryTemplateFailover    SteeringPolicySummaryTemplateEnum = "FAILOVER"
    SteeringPolicySummaryTemplateLoadBalance SteeringPolicySummaryTemplateEnum = "LOAD_BALANCE"
    SteeringPolicySummaryTemplateRouteByGeo  SteeringPolicySummaryTemplateEnum = "ROUTE_BY_GEO"
    SteeringPolicySummaryTemplateRouteByAsn  SteeringPolicySummaryTemplateEnum = "ROUTE_BY_ASN"
    SteeringPolicySummaryTemplateRouteByIp   SteeringPolicySummaryTemplateEnum = "ROUTE_BY_IP"
    SteeringPolicySummaryTemplateCustom      SteeringPolicySummaryTemplateEnum = "CUSTOM"
)

func GetSteeringPolicySummaryTemplateEnumValues

func GetSteeringPolicySummaryTemplateEnumValues() []SteeringPolicySummaryTemplateEnum

GetSteeringPolicySummaryTemplateEnumValues Enumerates the set of values for SteeringPolicySummaryTemplateEnum

type SteeringPolicyTemplateEnum

SteeringPolicyTemplateEnum Enum with underlying type: string

type SteeringPolicyTemplateEnum string

Set of constants representing the allowable values for SteeringPolicyTemplateEnum

const (
    SteeringPolicyTemplateFailover    SteeringPolicyTemplateEnum = "FAILOVER"
    SteeringPolicyTemplateLoadBalance SteeringPolicyTemplateEnum = "LOAD_BALANCE"
    SteeringPolicyTemplateRouteByGeo  SteeringPolicyTemplateEnum = "ROUTE_BY_GEO"
    SteeringPolicyTemplateRouteByAsn  SteeringPolicyTemplateEnum = "ROUTE_BY_ASN"
    SteeringPolicyTemplateRouteByIp   SteeringPolicyTemplateEnum = "ROUTE_BY_IP"
    SteeringPolicyTemplateCustom      SteeringPolicyTemplateEnum = "CUSTOM"
)

func GetSteeringPolicyTemplateEnumValues

func GetSteeringPolicyTemplateEnumValues() []SteeringPolicyTemplateEnum

GetSteeringPolicyTemplateEnumValues Enumerates the set of values for SteeringPolicyTemplateEnum

type SteeringPolicyWeightedAnswerData

SteeringPolicyWeightedAnswerData The representation of SteeringPolicyWeightedAnswerData

type SteeringPolicyWeightedAnswerData struct {

    // The weight assigned to the set of selected answers. Answers with a higher weight will be served
    // more frequently. Answers can be given a value between `0` and `255`.
    Value *int `mandatory:"true" json:"value"`

    // An expression that is used to select a set of answers that match a condition. For example, answers with matching pool properties.
    AnswerCondition *string `mandatory:"false" json:"answerCondition"`
}

func (SteeringPolicyWeightedAnswerData) String

func (m SteeringPolicyWeightedAnswerData) String() string

type SteeringPolicyWeightedRule

SteeringPolicyWeightedRule The representation of SteeringPolicyWeightedRule

type SteeringPolicyWeightedRule struct {

    // A user-defined description of the rule's purpose or behavior.
    Description *string `mandatory:"false" json:"description"`

    // An array of `caseConditions`. A rule may optionally include a sequence of cases defining alternate
    // configurations for how it should behave during processing for any given DNS query. When a rule has
    // no sequence of `cases`, it is always evaluated with the same configuration during processing. When
    // a rule has an empty sequence of `cases`, it is always ignored during processing. When a rule has a
    // non-empty sequence of `cases`, its behavior during processing is configured by the first matching
    // `case` in the sequence. When a rule has no matching cases the rule is ignored. A rule case with no
    // `caseCondition` always matches. A rule case with a `caseCondition` matches only when that expression
    // evaluates to true for the given query.
    Cases []SteeringPolicyWeightedRuleCase `mandatory:"false" json:"cases"`

    // Defines a default set of answer conditions and values that are applied to an answer when
    // `cases` is not defined for the rule or a matching case does not have any matching
    // `answerCondition`s in its `answerData`. `defaultAnswerData` is not applied if `cases` is
    // defined and there are no matching cases. In this scenario, the next rule will be processed.
    DefaultAnswerData []SteeringPolicyWeightedAnswerData `mandatory:"false" json:"defaultAnswerData"`
}

func (SteeringPolicyWeightedRule) GetDescription

func (m SteeringPolicyWeightedRule) GetDescription() *string

GetDescription returns Description

func (SteeringPolicyWeightedRule) MarshalJSON

func (m SteeringPolicyWeightedRule) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (SteeringPolicyWeightedRule) String

func (m SteeringPolicyWeightedRule) String() string

type SteeringPolicyWeightedRuleCase

SteeringPolicyWeightedRuleCase The representation of SteeringPolicyWeightedRuleCase

type SteeringPolicyWeightedRuleCase struct {

    // An expression that uses conditions at the time of a DNS query to indicate
    // whether a case matches. Conditions may include the geographical location, IP
    // subnet, or ASN the DNS query originated. **Example:** If you have an
    // office that uses the subnet `192.0.2.0/24` you could use a `caseCondition`
    // expression `query.client.subnet in ('192.0.2.0/24')` to define a case that
    // matches queries from that office.
    CaseCondition *string `mandatory:"false" json:"caseCondition"`

    // An array of `SteeringPolicyWeightedAnswerData` objects.
    AnswerData []SteeringPolicyWeightedAnswerData `mandatory:"false" json:"answerData"`
}

func (SteeringPolicyWeightedRuleCase) String

func (m SteeringPolicyWeightedRuleCase) String() string

type Tsig

Tsig A TSIG (https://tools.ietf.org/html/rfc2845) key.

type Tsig struct {

    // A domain name identifying the key for a given pair of hosts.
    Name *string `mandatory:"true" json:"name"`

    // A base64 string encoding the binary shared secret.
    Secret *string `mandatory:"true" json:"secret"`

    // TSIG Algorithms are encoded as domain names, but most consist of only one
    // non-empty label, which is not required to be explicitly absolute.
    // Applicable algorithms include: hmac-sha1, hmac-sha224, hmac-sha256,
    // hmac-sha512. For more information on these algorithms, see RFC 4635 (https://tools.ietf.org/html/rfc4635#section-2).
    Algorithm *string `mandatory:"true" json:"algorithm"`
}

func (Tsig) String

func (m Tsig) String() string

type TsigKey

TsigKey A TSIG key. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type TsigKey struct {

    // TSIG key algorithms are encoded as domain names, but most consist of only one
    // non-empty label, which is not required to be explicitly absolute.
    // Applicable algorithms include: hmac-sha1, hmac-sha224, hmac-sha256,
    // hmac-sha512. For more information on these algorithms, see RFC 4635 (https://tools.ietf.org/html/rfc4635#section-2).
    Algorithm *string `mandatory:"true" json:"algorithm"`

    // A globally unique domain name identifying the key for a given pair of hosts.
    Name *string `mandatory:"true" json:"name"`

    // The OCID of the compartment containing the TSIG key.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // A base64 string encoding the binary shared secret.
    Secret *string `mandatory:"true" json:"secret"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // The OCID of the resource.
    Id *string `mandatory:"true" json:"id"`

    // The canonical absolute URL of the resource.
    Self *string `mandatory:"true" json:"self"`

    // The date and time the resource was created, expressed in RFC 3339 timestamp format.
    // **Example:** `2016-07-22T17:23:59:60Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The current state of the resource.
    LifecycleState TsigKeyLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // The date and time the resource was last updated, expressed in RFC 3339 timestamp format.
    // **Example:** `2016-07-22T17:23:59:60Z`
    TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}

func (TsigKey) String

func (m TsigKey) String() string

type TsigKeyLifecycleStateEnum

TsigKeyLifecycleStateEnum Enum with underlying type: string

type TsigKeyLifecycleStateEnum string

Set of constants representing the allowable values for TsigKeyLifecycleStateEnum

const (
    TsigKeyLifecycleStateActive   TsigKeyLifecycleStateEnum = "ACTIVE"
    TsigKeyLifecycleStateCreating TsigKeyLifecycleStateEnum = "CREATING"
)

func GetTsigKeyLifecycleStateEnumValues

func GetTsigKeyLifecycleStateEnumValues() []TsigKeyLifecycleStateEnum

GetTsigKeyLifecycleStateEnumValues Enumerates the set of values for TsigKeyLifecycleStateEnum

type TsigKeySummary

TsigKeySummary A TSIG key.

type TsigKeySummary struct {

    // TSIG key algorithms are encoded as domain names, but most consist of only one
    // non-empty label, which is not required to be explicitly absolute.
    // Applicable algorithms include: hmac-sha1, hmac-sha224, hmac-sha256,
    // hmac-sha512. For more information on these algorithms, see RFC 4635 (https://tools.ietf.org/html/rfc4635#section-2).
    Algorithm *string `mandatory:"true" json:"algorithm"`

    // A globally unique domain name identifying the key for a given pair of hosts.
    Name *string `mandatory:"true" json:"name"`

    // The OCID of the compartment containing the TSIG key.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // The OCID of the resource.
    Id *string `mandatory:"true" json:"id"`

    // The canonical absolute URL of the resource.
    Self *string `mandatory:"true" json:"self"`

    // The date and time the resource was created, expressed in RFC 3339 timestamp format.
    // **Example:** `2016-07-22T17:23:59:60Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The current state of the resource.
    LifecycleState TsigKeySummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

func (TsigKeySummary) String

func (m TsigKeySummary) String() string

type TsigKeySummaryLifecycleStateEnum

TsigKeySummaryLifecycleStateEnum Enum with underlying type: string

type TsigKeySummaryLifecycleStateEnum string

Set of constants representing the allowable values for TsigKeySummaryLifecycleStateEnum

const (
    TsigKeySummaryLifecycleStateActive   TsigKeySummaryLifecycleStateEnum = "ACTIVE"
    TsigKeySummaryLifecycleStateCreating TsigKeySummaryLifecycleStateEnum = "CREATING"
)

func GetTsigKeySummaryLifecycleStateEnumValues

func GetTsigKeySummaryLifecycleStateEnumValues() []TsigKeySummaryLifecycleStateEnum

GetTsigKeySummaryLifecycleStateEnumValues Enumerates the set of values for TsigKeySummaryLifecycleStateEnum

type UpdateDomainRecordsDetails

UpdateDomainRecordsDetails The representation of UpdateDomainRecordsDetails

type UpdateDomainRecordsDetails struct {
    Items []RecordDetails `mandatory:"false" json:"items"`
}

func (UpdateDomainRecordsDetails) String

func (m UpdateDomainRecordsDetails) String() string

type UpdateDomainRecordsRequest

UpdateDomainRecordsRequest wrapper for the UpdateDomainRecords operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/UpdateDomainRecords.go.html to see an example of how to use UpdateDomainRecordsRequest.

type UpdateDomainRecordsRequest struct {

    // The name or OCID of the target zone.
    ZoneNameOrId *string `mandatory:"true" contributesTo:"path" name:"zoneNameOrId"`

    // The target fully-qualified domain name (FQDN) within the target zone.
    Domain *string `mandatory:"true" contributesTo:"path" name:"domain"`

    // A full list of records for the domain.
    UpdateDomainRecordsDetails `contributesTo:"body"`

    // The `If-Match` header field makes the request method conditional on the
    // existence of at least one current representation of the target resource,
    // when the field-value is `*`, or having a current representation of the
    // target resource that has an entity-tag matching a member of the list of
    // entity-tags provided in the field-value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"If-Match"`

    // The `If-Unmodified-Since` header field makes the request method
    // conditional on the selected representation's last modification date being
    // earlier than or equal to the date provided in the field-value.  This
    // field accomplishes the same purpose as If-Match for cases where the user
    // agent does not have an entity-tag for the representation.
    IfUnmodifiedSince *string `mandatory:"false" contributesTo:"header" name:"If-Unmodified-Since"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope UpdateDomainRecordsScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // The OCID of the view the resource is associated with.
    ViewId *string `mandatory:"false" contributesTo:"query" name:"viewId"`

    // The OCID of the compartment the resource belongs to.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateDomainRecordsRequest) HTTPRequest

func (request UpdateDomainRecordsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateDomainRecordsRequest) RetryPolicy

func (request UpdateDomainRecordsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateDomainRecordsRequest) String

func (request UpdateDomainRecordsRequest) String() string

type UpdateDomainRecordsResponse

UpdateDomainRecordsResponse wrapper for the UpdateDomainRecords operation

type UpdateDomainRecordsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The RecordCollection instance
    RecordCollection `presentIn:"body"`

    // For list pagination. When this header appears in the response, additional pages
    // of results remain. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // The total number of items that match the query.
    OpcTotalItems *int `presentIn:"header" name:"opc-total-items"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // The current version of the record collection, ending with a
    // representation-specific suffix. This value may be used in If-Match
    // and If-None-Match headers for later requests of the same resource.
    ETag *string `presentIn:"header" name:"etag"`
}

func (UpdateDomainRecordsResponse) HTTPResponse

func (response UpdateDomainRecordsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateDomainRecordsResponse) String

func (response UpdateDomainRecordsResponse) String() string

type UpdateDomainRecordsScopeEnum

UpdateDomainRecordsScopeEnum Enum with underlying type: string

type UpdateDomainRecordsScopeEnum string

Set of constants representing the allowable values for UpdateDomainRecordsScopeEnum

const (
    UpdateDomainRecordsScopeGlobal  UpdateDomainRecordsScopeEnum = "GLOBAL"
    UpdateDomainRecordsScopePrivate UpdateDomainRecordsScopeEnum = "PRIVATE"
)

func GetUpdateDomainRecordsScopeEnumValues

func GetUpdateDomainRecordsScopeEnumValues() []UpdateDomainRecordsScopeEnum

GetUpdateDomainRecordsScopeEnumValues Enumerates the set of values for UpdateDomainRecordsScopeEnum

type UpdateRRSetRequest

UpdateRRSetRequest wrapper for the UpdateRRSet operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/UpdateRRSet.go.html to see an example of how to use UpdateRRSetRequest.

type UpdateRRSetRequest struct {

    // The name or OCID of the target zone.
    ZoneNameOrId *string `mandatory:"true" contributesTo:"path" name:"zoneNameOrId"`

    // The target fully-qualified domain name (FQDN) within the target zone.
    Domain *string `mandatory:"true" contributesTo:"path" name:"domain"`

    // The type of the target RRSet within the target zone.
    Rtype *string `mandatory:"true" contributesTo:"path" name:"rtype"`

    // A full list of records for the RRSet.
    UpdateRrSetDetails `contributesTo:"body"`

    // The `If-Match` header field makes the request method conditional on the
    // existence of at least one current representation of the target resource,
    // when the field-value is `*`, or having a current representation of the
    // target resource that has an entity-tag matching a member of the list of
    // entity-tags provided in the field-value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"If-Match"`

    // The `If-Unmodified-Since` header field makes the request method
    // conditional on the selected representation's last modification date being
    // earlier than or equal to the date provided in the field-value.  This
    // field accomplishes the same purpose as If-Match for cases where the user
    // agent does not have an entity-tag for the representation.
    IfUnmodifiedSince *string `mandatory:"false" contributesTo:"header" name:"If-Unmodified-Since"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope UpdateRRSetScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // The OCID of the view the resource is associated with.
    ViewId *string `mandatory:"false" contributesTo:"query" name:"viewId"`

    // The OCID of the compartment the resource belongs to.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateRRSetRequest) HTTPRequest

func (request UpdateRRSetRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateRRSetRequest) RetryPolicy

func (request UpdateRRSetRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateRRSetRequest) String

func (request UpdateRRSetRequest) String() string

type UpdateRRSetResponse

UpdateRRSetResponse wrapper for the UpdateRRSet operation

type UpdateRRSetResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The RecordCollection instance
    RecordCollection `presentIn:"body"`

    // For list pagination. When this header appears in the response, additional pages
    // of results remain. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // The total number of items that match the query.
    OpcTotalItems *int `presentIn:"header" name:"opc-total-items"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // The current version of the record collection, ending with a
    // representation-specific suffix. This value may be used in If-Match
    // and If-None-Match headers for later requests of the same resource.
    ETag *string `presentIn:"header" name:"etag"`
}

func (UpdateRRSetResponse) HTTPResponse

func (response UpdateRRSetResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateRRSetResponse) String

func (response UpdateRRSetResponse) String() string

type UpdateRRSetScopeEnum

UpdateRRSetScopeEnum Enum with underlying type: string

type UpdateRRSetScopeEnum string

Set of constants representing the allowable values for UpdateRRSetScopeEnum

const (
    UpdateRRSetScopeGlobal  UpdateRRSetScopeEnum = "GLOBAL"
    UpdateRRSetScopePrivate UpdateRRSetScopeEnum = "PRIVATE"
)

func GetUpdateRRSetScopeEnumValues

func GetUpdateRRSetScopeEnumValues() []UpdateRRSetScopeEnum

GetUpdateRRSetScopeEnumValues Enumerates the set of values for UpdateRRSetScopeEnum

type UpdateResolverDetails

UpdateResolverDetails The body for updating an existing resolver. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type UpdateResolverDetails struct {

    // The display name of the resolver.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // The attached views. Views are evaluated in order.
    AttachedViews []AttachedViewDetails `mandatory:"false" json:"attachedViews"`

    // Rules for the resolver. Rules are evaluated in order.
    Rules []ResolverRuleDetails `mandatory:"false" json:"rules"`
}

func (UpdateResolverDetails) String

func (m UpdateResolverDetails) String() string

func (*UpdateResolverDetails) UnmarshalJSON

func (m *UpdateResolverDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type UpdateResolverEndpointDetails

UpdateResolverEndpointDetails The body for updating an existing resolver endpoint. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type UpdateResolverEndpointDetails interface {
}

type UpdateResolverEndpointDetailsEndpointTypeEnum

UpdateResolverEndpointDetailsEndpointTypeEnum Enum with underlying type: string

type UpdateResolverEndpointDetailsEndpointTypeEnum string

Set of constants representing the allowable values for UpdateResolverEndpointDetailsEndpointTypeEnum

const (
    UpdateResolverEndpointDetailsEndpointTypeVnic UpdateResolverEndpointDetailsEndpointTypeEnum = "VNIC"
)

func GetUpdateResolverEndpointDetailsEndpointTypeEnumValues

func GetUpdateResolverEndpointDetailsEndpointTypeEnumValues() []UpdateResolverEndpointDetailsEndpointTypeEnum

GetUpdateResolverEndpointDetailsEndpointTypeEnumValues Enumerates the set of values for UpdateResolverEndpointDetailsEndpointTypeEnum

type UpdateResolverEndpointRequest

UpdateResolverEndpointRequest wrapper for the UpdateResolverEndpoint operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/UpdateResolverEndpoint.go.html to see an example of how to use UpdateResolverEndpointRequest.

type UpdateResolverEndpointRequest struct {

    // The OCID of the target resolver.
    ResolverId *string `mandatory:"true" contributesTo:"path" name:"resolverId"`

    // The name of the target resolver endpoint.
    ResolverEndpointName *string `mandatory:"true" contributesTo:"path" name:"resolverEndpointName"`

    // New data for the resolver endpoint.
    UpdateResolverEndpointDetails `contributesTo:"body"`

    // The `If-Match` header field makes the request method conditional on the
    // existence of at least one current representation of the target resource,
    // when the field-value is `*`, or having a current representation of the
    // target resource that has an entity-tag matching a member of the list of
    // entity-tags provided in the field-value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"If-Match"`

    // The `If-Unmodified-Since` header field makes the request method
    // conditional on the selected representation's last modification date being
    // earlier than or equal to the date provided in the field-value.  This
    // field accomplishes the same purpose as If-Match for cases where the user
    // agent does not have an entity-tag for the representation.
    IfUnmodifiedSince *string `mandatory:"false" contributesTo:"header" name:"If-Unmodified-Since"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope UpdateResolverEndpointScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateResolverEndpointRequest) HTTPRequest

func (request UpdateResolverEndpointRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateResolverEndpointRequest) RetryPolicy

func (request UpdateResolverEndpointRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateResolverEndpointRequest) String

func (request UpdateResolverEndpointRequest) String() string

type UpdateResolverEndpointResponse

UpdateResolverEndpointResponse wrapper for the UpdateResolverEndpoint operation

type UpdateResolverEndpointResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The ResolverEndpoint instance
    ResolverEndpoint `presentIn:"body"`

    // The current version of the resource, ending with a
    // representation-specific suffix. This value may be used in If-Match
    // and If-None-Match headers for later requests of the same resource.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to
    // contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Unique Oracle-assigned identifier for the asynchronous request.
    // You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

func (UpdateResolverEndpointResponse) HTTPResponse

func (response UpdateResolverEndpointResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateResolverEndpointResponse) String

func (response UpdateResolverEndpointResponse) String() string

type UpdateResolverEndpointScopeEnum

UpdateResolverEndpointScopeEnum Enum with underlying type: string

type UpdateResolverEndpointScopeEnum string

Set of constants representing the allowable values for UpdateResolverEndpointScopeEnum

const (
    UpdateResolverEndpointScopeGlobal  UpdateResolverEndpointScopeEnum = "GLOBAL"
    UpdateResolverEndpointScopePrivate UpdateResolverEndpointScopeEnum = "PRIVATE"
)

func GetUpdateResolverEndpointScopeEnumValues

func GetUpdateResolverEndpointScopeEnumValues() []UpdateResolverEndpointScopeEnum

GetUpdateResolverEndpointScopeEnumValues Enumerates the set of values for UpdateResolverEndpointScopeEnum

type UpdateResolverRequest

UpdateResolverRequest wrapper for the UpdateResolver operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/UpdateResolver.go.html to see an example of how to use UpdateResolverRequest.

type UpdateResolverRequest struct {

    // The OCID of the target resolver.
    ResolverId *string `mandatory:"true" contributesTo:"path" name:"resolverId"`

    // New data for the resolver.
    UpdateResolverDetails `contributesTo:"body"`

    // The `If-Match` header field makes the request method conditional on the
    // existence of at least one current representation of the target resource,
    // when the field-value is `*`, or having a current representation of the
    // target resource that has an entity-tag matching a member of the list of
    // entity-tags provided in the field-value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"If-Match"`

    // The `If-Unmodified-Since` header field makes the request method
    // conditional on the selected representation's last modification date being
    // earlier than or equal to the date provided in the field-value.  This
    // field accomplishes the same purpose as If-Match for cases where the user
    // agent does not have an entity-tag for the representation.
    IfUnmodifiedSince *string `mandatory:"false" contributesTo:"header" name:"If-Unmodified-Since"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope UpdateResolverScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateResolverRequest) HTTPRequest

func (request UpdateResolverRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateResolverRequest) RetryPolicy

func (request UpdateResolverRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateResolverRequest) String

func (request UpdateResolverRequest) String() string

type UpdateResolverResponse

UpdateResolverResponse wrapper for the UpdateResolver operation

type UpdateResolverResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Resolver instance
    Resolver `presentIn:"body"`

    // The current version of the resource, ending with a
    // representation-specific suffix. This value may be used in If-Match
    // and If-None-Match headers for later requests of the same resource.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to
    // contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Unique Oracle-assigned identifier for the asynchronous request.
    // You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

func (UpdateResolverResponse) HTTPResponse

func (response UpdateResolverResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateResolverResponse) String

func (response UpdateResolverResponse) String() string

type UpdateResolverScopeEnum

UpdateResolverScopeEnum Enum with underlying type: string

type UpdateResolverScopeEnum string

Set of constants representing the allowable values for UpdateResolverScopeEnum

const (
    UpdateResolverScopeGlobal  UpdateResolverScopeEnum = "GLOBAL"
    UpdateResolverScopePrivate UpdateResolverScopeEnum = "PRIVATE"
)

func GetUpdateResolverScopeEnumValues

func GetUpdateResolverScopeEnumValues() []UpdateResolverScopeEnum

GetUpdateResolverScopeEnumValues Enumerates the set of values for UpdateResolverScopeEnum

type UpdateResolverVnicEndpointDetails

UpdateResolverVnicEndpointDetails The body for updating an existing resolver VNIC endpoint. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type UpdateResolverVnicEndpointDetails struct {

    // An array of NSG OCIDs for the resolver endpoint.
    NsgIds []string `mandatory:"false" json:"nsgIds"`
}

func (UpdateResolverVnicEndpointDetails) MarshalJSON

func (m UpdateResolverVnicEndpointDetails) MarshalJSON() (buff []byte, e error)

MarshalJSON marshals to json representation

func (UpdateResolverVnicEndpointDetails) String

func (m UpdateResolverVnicEndpointDetails) String() string

type UpdateRrSetDetails

UpdateRrSetDetails The representation of UpdateRrSetDetails

type UpdateRrSetDetails struct {
    Items []RecordDetails `mandatory:"false" json:"items"`
}

func (UpdateRrSetDetails) String

func (m UpdateRrSetDetails) String() string

type UpdateSteeringPolicyAttachmentDetails

UpdateSteeringPolicyAttachmentDetails The body for updating a steering policy attachment.

**Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type UpdateSteeringPolicyAttachmentDetails struct {

    // A user-friendly name for the steering policy attachment.
    // Does not have to be unique and can be changed.
    // Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`
}

func (UpdateSteeringPolicyAttachmentDetails) String

func (m UpdateSteeringPolicyAttachmentDetails) String() string

type UpdateSteeringPolicyAttachmentRequest

UpdateSteeringPolicyAttachmentRequest wrapper for the UpdateSteeringPolicyAttachment operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/UpdateSteeringPolicyAttachment.go.html to see an example of how to use UpdateSteeringPolicyAttachmentRequest.

type UpdateSteeringPolicyAttachmentRequest struct {

    // The OCID of the target steering policy attachment.
    SteeringPolicyAttachmentId *string `mandatory:"true" contributesTo:"path" name:"steeringPolicyAttachmentId"`

    // New data for the steering policy attachment.
    UpdateSteeringPolicyAttachmentDetails `contributesTo:"body"`

    // The `If-Match` header field makes the request method conditional on the
    // existence of at least one current representation of the target resource,
    // when the field-value is `*`, or having a current representation of the
    // target resource that has an entity-tag matching a member of the list of
    // entity-tags provided in the field-value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"If-Match"`

    // The `If-Unmodified-Since` header field makes the request method
    // conditional on the selected representation's last modification date being
    // earlier than or equal to the date provided in the field-value.  This
    // field accomplishes the same purpose as If-Match for cases where the user
    // agent does not have an entity-tag for the representation.
    IfUnmodifiedSince *string `mandatory:"false" contributesTo:"header" name:"If-Unmodified-Since"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope UpdateSteeringPolicyAttachmentScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateSteeringPolicyAttachmentRequest) HTTPRequest

func (request UpdateSteeringPolicyAttachmentRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateSteeringPolicyAttachmentRequest) RetryPolicy

func (request UpdateSteeringPolicyAttachmentRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateSteeringPolicyAttachmentRequest) String

func (request UpdateSteeringPolicyAttachmentRequest) String() string

type UpdateSteeringPolicyAttachmentResponse

UpdateSteeringPolicyAttachmentResponse wrapper for the UpdateSteeringPolicyAttachment operation

type UpdateSteeringPolicyAttachmentResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The SteeringPolicyAttachment instance
    SteeringPolicyAttachment `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to
    // contact Oracle about a particular request, please provide the request
    // ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // The current version of the resource, ending with a
    // representation-specific suffix. This value may be used in If-Match
    // and If-None-Match headers for later requests of the same resource.
    ETag *string `presentIn:"header" name:"etag"`
}

func (UpdateSteeringPolicyAttachmentResponse) HTTPResponse

func (response UpdateSteeringPolicyAttachmentResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateSteeringPolicyAttachmentResponse) String

func (response UpdateSteeringPolicyAttachmentResponse) String() string

type UpdateSteeringPolicyAttachmentScopeEnum

UpdateSteeringPolicyAttachmentScopeEnum Enum with underlying type: string

type UpdateSteeringPolicyAttachmentScopeEnum string

Set of constants representing the allowable values for UpdateSteeringPolicyAttachmentScopeEnum

const (
    UpdateSteeringPolicyAttachmentScopeGlobal  UpdateSteeringPolicyAttachmentScopeEnum = "GLOBAL"
    UpdateSteeringPolicyAttachmentScopePrivate UpdateSteeringPolicyAttachmentScopeEnum = "PRIVATE"
)

func GetUpdateSteeringPolicyAttachmentScopeEnumValues

func GetUpdateSteeringPolicyAttachmentScopeEnumValues() []UpdateSteeringPolicyAttachmentScopeEnum

GetUpdateSteeringPolicyAttachmentScopeEnumValues Enumerates the set of values for UpdateSteeringPolicyAttachmentScopeEnum

type UpdateSteeringPolicyDetails

UpdateSteeringPolicyDetails The body for updating a steering policy. New rules and answers provided in the request will replace the existing rules and answers in the policy.

**Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type UpdateSteeringPolicyDetails struct {

    // A user-friendly name for the steering policy. Does not have to be unique and can be changed.
    // Avoid entering confidential information.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // The Time To Live (TTL) for responses from the steering policy, in seconds.
    // If not specified during creation, a value of 30 seconds will be used.
    Ttl *int `mandatory:"false" json:"ttl"`

    // The OCID of the health check monitor providing health data about the answers of the
    // steering policy. A steering policy answer with `rdata` matching a monitored endpoint
    // will use the health data of that endpoint. A steering policy answer with `rdata` not
    // matching any monitored endpoint will be assumed healthy.
    //
    // **Note:** To use the Health Check monitoring feature in a steering policy, a monitor
    // must be created using the Health Checks service first. For more information on how to
    // create a monitor, please see Managing Health Checks (https://docs.cloud.oracle.com/iaas/Content/HealthChecks/Tasks/managinghealthchecks.htm).
    HealthCheckMonitorId *string `mandatory:"false" json:"healthCheckMonitorId"`

    // A set of predefined rules based on the desired purpose of the steering policy. Each
    // template utilizes Traffic Management's rules in a different order to produce the desired
    // results when answering DNS queries.
    //
    // **Example:** The `FAILOVER` template determines answers by filtering the policy's answers
    // using the `FILTER` rule first, then the following rules in succession: `HEALTH`, `PRIORITY`,
    // and `LIMIT`. This gives the domain dynamic failover capability.
    //
    // It is **strongly recommended** to use a template other than `CUSTOM` when creating
    // a steering policy.
    //
    // All templates require the rule order to begin with an unconditional `FILTER` rule that keeps
    // answers contingent upon `answer.isDisabled != true`, except for `CUSTOM`. A defined
    // `HEALTH` rule must follow the `FILTER` rule if the policy references a `healthCheckMonitorId`.
    // The last rule of a template must must be a `LIMIT` rule. For more information about templates
    // and code examples, see Traffic Management API Guide (https://docs.cloud.oracle.com/iaas/Content/TrafficManagement/Concepts/trafficmanagementapi.htm).
    // **Template Types**
    // * `FAILOVER` - Uses health check information on your endpoints to determine which DNS answers
    // to serve. If an endpoint fails a health check, the answer for that endpoint will be removed
    // from the list of available answers until the endpoint is detected as healthy.
    //
    // * `LOAD_BALANCE` - Distributes web traffic to specified endpoints based on defined weights.
    //
    // * `ROUTE_BY_GEO` - Answers DNS queries based on the query's geographic location. For a list of geographic
    // locations to route by, see Traffic Management Geographic Locations (https://docs.cloud.oracle.com/iaas/Content/TrafficManagement/Reference/trafficmanagementgeo.htm).
    //
    // * `ROUTE_BY_ASN` - Answers DNS queries based on the query's originating ASN.
    //
    // * `ROUTE_BY_IP` - Answers DNS queries based on the query's IP address.
    //
    // * `CUSTOM` - Allows a customized configuration of rules.
    Template UpdateSteeringPolicyDetailsTemplateEnum `mandatory:"false" json:"template,omitempty"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // The set of all answers that can potentially issue from the steering policy.
    Answers []SteeringPolicyAnswer `mandatory:"false" json:"answers"`

    // The series of rules that will be processed in sequence to reduce the pool of answers
    // to a response for any given request.
    //
    // The first rule receives a shuffled list of all answers, and every other rule receives
    // the list of answers emitted by the one preceding it. The last rule populates the
    // response.
    Rules []SteeringPolicyRule `mandatory:"false" json:"rules"`
}

func (UpdateSteeringPolicyDetails) String

func (m UpdateSteeringPolicyDetails) String() string

func (*UpdateSteeringPolicyDetails) UnmarshalJSON

func (m *UpdateSteeringPolicyDetails) UnmarshalJSON(data []byte) (e error)

UnmarshalJSON unmarshals from json

type UpdateSteeringPolicyDetailsTemplateEnum

UpdateSteeringPolicyDetailsTemplateEnum Enum with underlying type: string

type UpdateSteeringPolicyDetailsTemplateEnum string

Set of constants representing the allowable values for UpdateSteeringPolicyDetailsTemplateEnum

const (
    UpdateSteeringPolicyDetailsTemplateFailover    UpdateSteeringPolicyDetailsTemplateEnum = "FAILOVER"
    UpdateSteeringPolicyDetailsTemplateLoadBalance UpdateSteeringPolicyDetailsTemplateEnum = "LOAD_BALANCE"
    UpdateSteeringPolicyDetailsTemplateRouteByGeo  UpdateSteeringPolicyDetailsTemplateEnum = "ROUTE_BY_GEO"
    UpdateSteeringPolicyDetailsTemplateRouteByAsn  UpdateSteeringPolicyDetailsTemplateEnum = "ROUTE_BY_ASN"
    UpdateSteeringPolicyDetailsTemplateRouteByIp   UpdateSteeringPolicyDetailsTemplateEnum = "ROUTE_BY_IP"
    UpdateSteeringPolicyDetailsTemplateCustom      UpdateSteeringPolicyDetailsTemplateEnum = "CUSTOM"
)

func GetUpdateSteeringPolicyDetailsTemplateEnumValues

func GetUpdateSteeringPolicyDetailsTemplateEnumValues() []UpdateSteeringPolicyDetailsTemplateEnum

GetUpdateSteeringPolicyDetailsTemplateEnumValues Enumerates the set of values for UpdateSteeringPolicyDetailsTemplateEnum

type UpdateSteeringPolicyRequest

UpdateSteeringPolicyRequest wrapper for the UpdateSteeringPolicy operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/UpdateSteeringPolicy.go.html to see an example of how to use UpdateSteeringPolicyRequest.

type UpdateSteeringPolicyRequest struct {

    // The OCID of the target steering policy.
    SteeringPolicyId *string `mandatory:"true" contributesTo:"path" name:"steeringPolicyId"`

    // New data for the steering policy.
    UpdateSteeringPolicyDetails `contributesTo:"body"`

    // The `If-Match` header field makes the request method conditional on the
    // existence of at least one current representation of the target resource,
    // when the field-value is `*`, or having a current representation of the
    // target resource that has an entity-tag matching a member of the list of
    // entity-tags provided in the field-value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"If-Match"`

    // The `If-Unmodified-Since` header field makes the request method
    // conditional on the selected representation's last modification date being
    // earlier than or equal to the date provided in the field-value.  This
    // field accomplishes the same purpose as If-Match for cases where the user
    // agent does not have an entity-tag for the representation.
    IfUnmodifiedSince *string `mandatory:"false" contributesTo:"header" name:"If-Unmodified-Since"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope UpdateSteeringPolicyScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateSteeringPolicyRequest) HTTPRequest

func (request UpdateSteeringPolicyRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateSteeringPolicyRequest) RetryPolicy

func (request UpdateSteeringPolicyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateSteeringPolicyRequest) String

func (request UpdateSteeringPolicyRequest) String() string

type UpdateSteeringPolicyResponse

UpdateSteeringPolicyResponse wrapper for the UpdateSteeringPolicy operation

type UpdateSteeringPolicyResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The SteeringPolicy instance
    SteeringPolicy `presentIn:"body"`

    // Unique Oracle-assigned identifier for the request. If you need to
    // contact Oracle about a particular request, please provide the request
    // ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // The current version of the resource, ending with a
    // representation-specific suffix. This value may be used in If-Match
    // and If-None-Match headers for later requests of the same resource.
    ETag *string `presentIn:"header" name:"etag"`
}

func (UpdateSteeringPolicyResponse) HTTPResponse

func (response UpdateSteeringPolicyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateSteeringPolicyResponse) String

func (response UpdateSteeringPolicyResponse) String() string

type UpdateSteeringPolicyScopeEnum

UpdateSteeringPolicyScopeEnum Enum with underlying type: string

type UpdateSteeringPolicyScopeEnum string

Set of constants representing the allowable values for UpdateSteeringPolicyScopeEnum

const (
    UpdateSteeringPolicyScopeGlobal  UpdateSteeringPolicyScopeEnum = "GLOBAL"
    UpdateSteeringPolicyScopePrivate UpdateSteeringPolicyScopeEnum = "PRIVATE"
)

func GetUpdateSteeringPolicyScopeEnumValues

func GetUpdateSteeringPolicyScopeEnumValues() []UpdateSteeringPolicyScopeEnum

GetUpdateSteeringPolicyScopeEnumValues Enumerates the set of values for UpdateSteeringPolicyScopeEnum

type UpdateTsigKeyDetails

UpdateTsigKeyDetails The body for updating a TSIG key. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type UpdateTsigKeyDetails struct {

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (UpdateTsigKeyDetails) String

func (m UpdateTsigKeyDetails) String() string

type UpdateTsigKeyRequest

UpdateTsigKeyRequest wrapper for the UpdateTsigKey operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/UpdateTsigKey.go.html to see an example of how to use UpdateTsigKeyRequest.

type UpdateTsigKeyRequest struct {

    // The OCID of the target TSIG key.
    TsigKeyId *string `mandatory:"true" contributesTo:"path" name:"tsigKeyId"`

    // New data for the TSIG key.
    UpdateTsigKeyDetails `contributesTo:"body"`

    // The `If-Match` header field makes the request method conditional on the
    // existence of at least one current representation of the target resource,
    // when the field-value is `*`, or having a current representation of the
    // target resource that has an entity-tag matching a member of the list of
    // entity-tags provided in the field-value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"If-Match"`

    // The `If-Unmodified-Since` header field makes the request method
    // conditional on the selected representation's last modification date being
    // earlier than or equal to the date provided in the field-value.  This
    // field accomplishes the same purpose as If-Match for cases where the user
    // agent does not have an entity-tag for the representation.
    IfUnmodifiedSince *string `mandatory:"false" contributesTo:"header" name:"If-Unmodified-Since"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope UpdateTsigKeyScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateTsigKeyRequest) HTTPRequest

func (request UpdateTsigKeyRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateTsigKeyRequest) RetryPolicy

func (request UpdateTsigKeyRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateTsigKeyRequest) String

func (request UpdateTsigKeyRequest) String() string

type UpdateTsigKeyResponse

UpdateTsigKeyResponse wrapper for the UpdateTsigKey operation

type UpdateTsigKeyResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The TsigKey instance
    TsigKey `presentIn:"body"`

    // The current version of the resource, ending with a
    // representation-specific suffix. This value may be used in If-Match
    // and If-None-Match headers for later requests of the same resource.
    ETag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to
    // contact Oracle about a particular request, please provide the request
    // ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`
}

func (UpdateTsigKeyResponse) HTTPResponse

func (response UpdateTsigKeyResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateTsigKeyResponse) String

func (response UpdateTsigKeyResponse) String() string

type UpdateTsigKeyScopeEnum

UpdateTsigKeyScopeEnum Enum with underlying type: string

type UpdateTsigKeyScopeEnum string

Set of constants representing the allowable values for UpdateTsigKeyScopeEnum

const (
    UpdateTsigKeyScopeGlobal  UpdateTsigKeyScopeEnum = "GLOBAL"
    UpdateTsigKeyScopePrivate UpdateTsigKeyScopeEnum = "PRIVATE"
)

func GetUpdateTsigKeyScopeEnumValues

func GetUpdateTsigKeyScopeEnumValues() []UpdateTsigKeyScopeEnum

GetUpdateTsigKeyScopeEnumValues Enumerates the set of values for UpdateTsigKeyScopeEnum

type UpdateViewDetails

UpdateViewDetails The body for updating an existing view. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type UpdateViewDetails struct {

    // The display name of the view.
    DisplayName *string `mandatory:"false" json:"displayName"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`
}

func (UpdateViewDetails) String

func (m UpdateViewDetails) String() string

type UpdateViewRequest

UpdateViewRequest wrapper for the UpdateView operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/UpdateView.go.html to see an example of how to use UpdateViewRequest.

type UpdateViewRequest struct {

    // The OCID of the target view.
    ViewId *string `mandatory:"true" contributesTo:"path" name:"viewId"`

    // New data for the view.
    UpdateViewDetails `contributesTo:"body"`

    // The `If-Match` header field makes the request method conditional on the
    // existence of at least one current representation of the target resource,
    // when the field-value is `*`, or having a current representation of the
    // target resource that has an entity-tag matching a member of the list of
    // entity-tags provided in the field-value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"If-Match"`

    // The `If-Unmodified-Since` header field makes the request method
    // conditional on the selected representation's last modification date being
    // earlier than or equal to the date provided in the field-value.  This
    // field accomplishes the same purpose as If-Match for cases where the user
    // agent does not have an entity-tag for the representation.
    IfUnmodifiedSince *string `mandatory:"false" contributesTo:"header" name:"If-Unmodified-Since"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope UpdateViewScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateViewRequest) HTTPRequest

func (request UpdateViewRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateViewRequest) RetryPolicy

func (request UpdateViewRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateViewRequest) String

func (request UpdateViewRequest) String() string

type UpdateViewResponse

UpdateViewResponse wrapper for the UpdateView operation

type UpdateViewResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The View instance
    View `presentIn:"body"`

    // The current version of the resource, ending with a
    // representation-specific suffix. This value may be used in If-Match
    // and If-None-Match headers for later requests of the same resource.
    Etag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to
    // contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Unique Oracle-assigned identifier for the asynchronous request.
    // You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

func (UpdateViewResponse) HTTPResponse

func (response UpdateViewResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateViewResponse) String

func (response UpdateViewResponse) String() string

type UpdateViewScopeEnum

UpdateViewScopeEnum Enum with underlying type: string

type UpdateViewScopeEnum string

Set of constants representing the allowable values for UpdateViewScopeEnum

const (
    UpdateViewScopeGlobal  UpdateViewScopeEnum = "GLOBAL"
    UpdateViewScopePrivate UpdateViewScopeEnum = "PRIVATE"
)

func GetUpdateViewScopeEnumValues

func GetUpdateViewScopeEnumValues() []UpdateViewScopeEnum

GetUpdateViewScopeEnumValues Enumerates the set of values for UpdateViewScopeEnum

type UpdateZoneDetails

UpdateZoneDetails The body for updating a zone. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type UpdateZoneDetails struct {

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"false" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"false" json:"definedTags"`

    // External master servers for the zone. `externalMasters` becomes a
    // required parameter when the `zoneType` value is `SECONDARY`.
    ExternalMasters []ExternalMaster `mandatory:"false" json:"externalMasters"`
}

func (UpdateZoneDetails) String

func (m UpdateZoneDetails) String() string

type UpdateZoneRecordsDetails

UpdateZoneRecordsDetails The representation of UpdateZoneRecordsDetails

type UpdateZoneRecordsDetails struct {
    Items []RecordDetails `mandatory:"false" json:"items"`
}

func (UpdateZoneRecordsDetails) String

func (m UpdateZoneRecordsDetails) String() string

type UpdateZoneRecordsRequest

UpdateZoneRecordsRequest wrapper for the UpdateZoneRecords operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/UpdateZoneRecords.go.html to see an example of how to use UpdateZoneRecordsRequest.

type UpdateZoneRecordsRequest struct {

    // The name or OCID of the target zone.
    ZoneNameOrId *string `mandatory:"true" contributesTo:"path" name:"zoneNameOrId"`

    // A full list of records for the zone.
    UpdateZoneRecordsDetails `contributesTo:"body"`

    // The `If-Match` header field makes the request method conditional on the
    // existence of at least one current representation of the target resource,
    // when the field-value is `*`, or having a current representation of the
    // target resource that has an entity-tag matching a member of the list of
    // entity-tags provided in the field-value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"If-Match"`

    // The `If-Unmodified-Since` header field makes the request method
    // conditional on the selected representation's last modification date being
    // earlier than or equal to the date provided in the field-value.  This
    // field accomplishes the same purpose as If-Match for cases where the user
    // agent does not have an entity-tag for the representation.
    IfUnmodifiedSince *string `mandatory:"false" contributesTo:"header" name:"If-Unmodified-Since"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope UpdateZoneRecordsScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // The OCID of the view the resource is associated with.
    ViewId *string `mandatory:"false" contributesTo:"query" name:"viewId"`

    // The OCID of the compartment the resource belongs to.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateZoneRecordsRequest) HTTPRequest

func (request UpdateZoneRecordsRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateZoneRecordsRequest) RetryPolicy

func (request UpdateZoneRecordsRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateZoneRecordsRequest) String

func (request UpdateZoneRecordsRequest) String() string

type UpdateZoneRecordsResponse

UpdateZoneRecordsResponse wrapper for the UpdateZoneRecords operation

type UpdateZoneRecordsResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The RecordCollection instance
    RecordCollection `presentIn:"body"`

    // For list pagination. When this header appears in the response, additional pages
    // of results remain. For important details about how pagination works,
    // see List Pagination (https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine).
    OpcNextPage *string `presentIn:"header" name:"opc-next-page"`

    // The total number of items that match the query.
    OpcTotalItems *int `presentIn:"header" name:"opc-total-items"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // The current version of the record collection, ending with a
    // representation-specific suffix. This value may be used in If-Match
    // and If-None-Match headers for later requests of the same resource.
    ETag *string `presentIn:"header" name:"etag"`
}

func (UpdateZoneRecordsResponse) HTTPResponse

func (response UpdateZoneRecordsResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateZoneRecordsResponse) String

func (response UpdateZoneRecordsResponse) String() string

type UpdateZoneRecordsScopeEnum

UpdateZoneRecordsScopeEnum Enum with underlying type: string

type UpdateZoneRecordsScopeEnum string

Set of constants representing the allowable values for UpdateZoneRecordsScopeEnum

const (
    UpdateZoneRecordsScopeGlobal  UpdateZoneRecordsScopeEnum = "GLOBAL"
    UpdateZoneRecordsScopePrivate UpdateZoneRecordsScopeEnum = "PRIVATE"
)

func GetUpdateZoneRecordsScopeEnumValues

func GetUpdateZoneRecordsScopeEnumValues() []UpdateZoneRecordsScopeEnum

GetUpdateZoneRecordsScopeEnumValues Enumerates the set of values for UpdateZoneRecordsScopeEnum

type UpdateZoneRequest

UpdateZoneRequest wrapper for the UpdateZone operation

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/36.1.0/dns/UpdateZone.go.html to see an example of how to use UpdateZoneRequest.

type UpdateZoneRequest struct {

    // The name or OCID of the target zone.
    ZoneNameOrId *string `mandatory:"true" contributesTo:"path" name:"zoneNameOrId"`

    // New data for the zone.
    UpdateZoneDetails `contributesTo:"body"`

    // The `If-Match` header field makes the request method conditional on the
    // existence of at least one current representation of the target resource,
    // when the field-value is `*`, or having a current representation of the
    // target resource that has an entity-tag matching a member of the list of
    // entity-tags provided in the field-value.
    IfMatch *string `mandatory:"false" contributesTo:"header" name:"If-Match"`

    // The `If-Unmodified-Since` header field makes the request method
    // conditional on the selected representation's last modification date being
    // earlier than or equal to the date provided in the field-value.  This
    // field accomplishes the same purpose as If-Match for cases where the user
    // agent does not have an entity-tag for the representation.
    IfUnmodifiedSince *string `mandatory:"false" contributesTo:"header" name:"If-Unmodified-Since"`

    // Unique Oracle-assigned identifier for the request. If you need
    // to contact Oracle about a particular request, please provide
    // the request ID.
    OpcRequestId *string `mandatory:"false" contributesTo:"header" name:"opc-request-id"`

    // Specifies to operate only on resources that have a matching DNS scope.
    Scope UpdateZoneScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"`

    // The OCID of the view the resource is associated with.
    ViewId *string `mandatory:"false" contributesTo:"query" name:"viewId"`

    // The OCID of the compartment the resource belongs to.
    CompartmentId *string `mandatory:"false" contributesTo:"query" name:"compartmentId"`

    // Metadata about the request. This information will not be transmitted to the service, but
    // represents information that the SDK will consume to drive retry behavior.
    RequestMetadata common.RequestMetadata
}

func (UpdateZoneRequest) HTTPRequest

func (request UpdateZoneRequest) HTTPRequest(method, path string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateZoneRequest) RetryPolicy

func (request UpdateZoneRequest) RetryPolicy() *common.RetryPolicy

RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.

func (UpdateZoneRequest) String

func (request UpdateZoneRequest) String() string

type UpdateZoneResponse

UpdateZoneResponse wrapper for the UpdateZone operation

type UpdateZoneResponse struct {

    // The underlying http response
    RawResponse *http.Response

    // The Zone instance
    Zone `presentIn:"body"`

    // The current version of the zone, ending with a
    // representation-specific suffix. This value may be used in If-Match
    // and If-None-Match headers for later requests of the same resource.
    ETag *string `presentIn:"header" name:"etag"`

    // Unique Oracle-assigned identifier for the request. If you need to
    // contact Oracle about a particular request, please provide the request ID.
    OpcRequestId *string `presentIn:"header" name:"opc-request-id"`

    // Unique Oracle-assigned identifier for the asynchronous request.
    // You can use this to query status of the asynchronous operation.
    OpcWorkRequestId *string `presentIn:"header" name:"opc-work-request-id"`
}

func (UpdateZoneResponse) HTTPResponse

func (response UpdateZoneResponse) HTTPResponse() *http.Response

HTTPResponse implements the OCIResponse interface

func (UpdateZoneResponse) String

func (response UpdateZoneResponse) String() string

type UpdateZoneScopeEnum

UpdateZoneScopeEnum Enum with underlying type: string

type UpdateZoneScopeEnum string

Set of constants representing the allowable values for UpdateZoneScopeEnum

const (
    UpdateZoneScopeGlobal  UpdateZoneScopeEnum = "GLOBAL"
    UpdateZoneScopePrivate UpdateZoneScopeEnum = "PRIVATE"
)

func GetUpdateZoneScopeEnumValues

func GetUpdateZoneScopeEnumValues() []UpdateZoneScopeEnum

GetUpdateZoneScopeEnumValues Enumerates the set of values for UpdateZoneScopeEnum

type View

View An OCI DNS view. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type View struct {

    // The OCID of the owning compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The display name of the view.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // The OCID of the view.
    Id *string `mandatory:"true" json:"id"`

    // The canonical absolute URL of the resource.
    Self *string `mandatory:"true" json:"self"`

    // The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format
    // with a Z offset, as defined by RFC 3339.
    // **Example:** `2016-07-22T17:23:59:60Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ"
    // format with a Z offset, as defined by RFC 3339.
    // **Example:** `2016-07-22T17:23:59:60Z`
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // The current state of the resource.
    LifecycleState ViewLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
    IsProtected *bool `mandatory:"true" json:"isProtected"`
}

func (View) String

func (m View) String() string

type ViewLifecycleStateEnum

ViewLifecycleStateEnum Enum with underlying type: string

type ViewLifecycleStateEnum string

Set of constants representing the allowable values for ViewLifecycleStateEnum

const (
    ViewLifecycleStateActive   ViewLifecycleStateEnum = "ACTIVE"
    ViewLifecycleStateDeleted  ViewLifecycleStateEnum = "DELETED"
    ViewLifecycleStateDeleting ViewLifecycleStateEnum = "DELETING"
    ViewLifecycleStateUpdating ViewLifecycleStateEnum = "UPDATING"
)

func GetViewLifecycleStateEnumValues

func GetViewLifecycleStateEnumValues() []ViewLifecycleStateEnum

GetViewLifecycleStateEnumValues Enumerates the set of values for ViewLifecycleStateEnum

type ViewSummary

ViewSummary An OCI DNS view. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type ViewSummary struct {

    // The OCID of the owning compartment.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The display name of the view.
    DisplayName *string `mandatory:"true" json:"displayName"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // The OCID of the view.
    Id *string `mandatory:"true" json:"id"`

    // The canonical absolute URL of the resource.
    Self *string `mandatory:"true" json:"self"`

    // The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format
    // with a Z offset, as defined by RFC 3339.
    // **Example:** `2016-07-22T17:23:59:60Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ"
    // format with a Z offset, as defined by RFC 3339.
    // **Example:** `2016-07-22T17:23:59:60Z`
    TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

    // The current state of the resource.
    LifecycleState ViewSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
    IsProtected *bool `mandatory:"true" json:"isProtected"`
}

func (ViewSummary) String

func (m ViewSummary) String() string

type ViewSummaryLifecycleStateEnum

ViewSummaryLifecycleStateEnum Enum with underlying type: string

type ViewSummaryLifecycleStateEnum string

Set of constants representing the allowable values for ViewSummaryLifecycleStateEnum

const (
    ViewSummaryLifecycleStateActive   ViewSummaryLifecycleStateEnum = "ACTIVE"
    ViewSummaryLifecycleStateDeleted  ViewSummaryLifecycleStateEnum = "DELETED"
    ViewSummaryLifecycleStateDeleting ViewSummaryLifecycleStateEnum = "DELETING"
    ViewSummaryLifecycleStateUpdating ViewSummaryLifecycleStateEnum = "UPDATING"
)

func GetViewSummaryLifecycleStateEnumValues

func GetViewSummaryLifecycleStateEnumValues() []ViewSummaryLifecycleStateEnum

GetViewSummaryLifecycleStateEnumValues Enumerates the set of values for ViewSummaryLifecycleStateEnum

type Zone

Zone A DNS zone. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type Zone struct {

    // The name of the zone.
    Name *string `mandatory:"true" json:"name"`

    // The type of the zone. Must be either `PRIMARY` or `SECONDARY`. `SECONDARY` is only supported for GLOBAL zones.
    ZoneType ZoneZoneTypeEnum `mandatory:"true" json:"zoneType"`

    // The OCID of the compartment containing the zone.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The scope of the zone.
    Scope ScopeEnum `mandatory:"true" json:"scope"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // External master servers for the zone. `externalMasters` becomes a
    // required parameter when the `zoneType` value is `SECONDARY`.
    ExternalMasters []ExternalMaster `mandatory:"true" json:"externalMasters"`

    // The canonical absolute URL of the resource.
    Self *string `mandatory:"true" json:"self"`

    // The OCID of the zone.
    Id *string `mandatory:"true" json:"id"`

    // The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format
    // with a Z offset, as defined by RFC 3339.
    // **Example:** `2016-07-22T17:23:59:60Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // Version is the never-repeating, totally-orderable, version of the
    // zone, from which the serial field of the zone's SOA record is
    // derived.
    Version *string `mandatory:"true" json:"version"`

    // The current serial of the zone. As seen in the zone's SOA record.
    Serial *int64 `mandatory:"true" json:"serial"`

    // The current state of the zone resource.
    LifecycleState ZoneLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
    IsProtected *bool `mandatory:"true" json:"isProtected"`

    // The authoritative nameservers for the zone.
    Nameservers []Nameserver `mandatory:"true" json:"nameservers"`

    // The OCID of the private view containing the zone. This value will
    // be null for zones in the global DNS, which are publicly resolvable and
    // not part of a private view.
    ViewId *string `mandatory:"false" json:"viewId"`
}

func (Zone) String

func (m Zone) String() string

type ZoneLifecycleStateEnum

ZoneLifecycleStateEnum Enum with underlying type: string

type ZoneLifecycleStateEnum string

Set of constants representing the allowable values for ZoneLifecycleStateEnum

const (
    ZoneLifecycleStateActive   ZoneLifecycleStateEnum = "ACTIVE"
    ZoneLifecycleStateCreating ZoneLifecycleStateEnum = "CREATING"
    ZoneLifecycleStateDeleted  ZoneLifecycleStateEnum = "DELETED"
    ZoneLifecycleStateDeleting ZoneLifecycleStateEnum = "DELETING"
    ZoneLifecycleStateFailed   ZoneLifecycleStateEnum = "FAILED"
)

func GetZoneLifecycleStateEnumValues

func GetZoneLifecycleStateEnumValues() []ZoneLifecycleStateEnum

GetZoneLifecycleStateEnumValues Enumerates the set of values for ZoneLifecycleStateEnum

type ZoneSummary

ZoneSummary A DNS zone. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type ZoneSummary struct {

    // The name of the zone.
    Name *string `mandatory:"true" json:"name"`

    // The type of the zone. Must be either `PRIMARY` or `SECONDARY`. `SECONDARY` is only supported for GLOBAL zones.
    ZoneType ZoneSummaryZoneTypeEnum `mandatory:"true" json:"zoneType"`

    // The OCID of the compartment containing the zone.
    CompartmentId *string `mandatory:"true" json:"compartmentId"`

    // The scope of the zone.
    Scope ScopeEnum `mandatory:"true" json:"scope"`

    // Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Department": "Finance"}`
    FreeformTags map[string]string `mandatory:"true" json:"freeformTags"`

    // Defined tags for this resource. Each key is predefined and scoped to a namespace.
    // For more information, see Resource Tags (https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm).
    //
    // **Example:** `{"Operations": {"CostCenter": "42"}}`
    DefinedTags map[string]map[string]interface{} `mandatory:"true" json:"definedTags"`

    // The canonical absolute URL of the resource.
    Self *string `mandatory:"true" json:"self"`

    // The OCID of the zone.
    Id *string `mandatory:"true" json:"id"`

    // The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format
    // with a Z offset, as defined by RFC 3339.
    // **Example:** `2016-07-22T17:23:59:60Z`
    TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

    // Version is the never-repeating, totally-orderable, version of the
    // zone, from which the serial field of the zone's SOA record is
    // derived.
    Version *string `mandatory:"true" json:"version"`

    // The current serial of the zone. As seen in the zone's SOA record.
    Serial *int64 `mandatory:"true" json:"serial"`

    // The current state of the zone resource.
    LifecycleState ZoneSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

    // A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
    IsProtected *bool `mandatory:"true" json:"isProtected"`

    // The OCID of the private view containing the zone. This value will
    // be null for zones in the global DNS, which are publicly resolvable and
    // not part of a private view.
    ViewId *string `mandatory:"false" json:"viewId"`
}

func (ZoneSummary) String

func (m ZoneSummary) String() string

type ZoneSummaryLifecycleStateEnum

ZoneSummaryLifecycleStateEnum Enum with underlying type: string

type ZoneSummaryLifecycleStateEnum string

Set of constants representing the allowable values for ZoneSummaryLifecycleStateEnum

const (
    ZoneSummaryLifecycleStateActive   ZoneSummaryLifecycleStateEnum = "ACTIVE"
    ZoneSummaryLifecycleStateCreating ZoneSummaryLifecycleStateEnum = "CREATING"
    ZoneSummaryLifecycleStateDeleted  ZoneSummaryLifecycleStateEnum = "DELETED"
    ZoneSummaryLifecycleStateDeleting ZoneSummaryLifecycleStateEnum = "DELETING"
    ZoneSummaryLifecycleStateFailed   ZoneSummaryLifecycleStateEnum = "FAILED"
)

func GetZoneSummaryLifecycleStateEnumValues

func GetZoneSummaryLifecycleStateEnumValues() []ZoneSummaryLifecycleStateEnum

GetZoneSummaryLifecycleStateEnumValues Enumerates the set of values for ZoneSummaryLifecycleStateEnum

type ZoneSummaryZoneTypeEnum

ZoneSummaryZoneTypeEnum Enum with underlying type: string

type ZoneSummaryZoneTypeEnum string

Set of constants representing the allowable values for ZoneSummaryZoneTypeEnum

const (
    ZoneSummaryZoneTypePrimary   ZoneSummaryZoneTypeEnum = "PRIMARY"
    ZoneSummaryZoneTypeSecondary ZoneSummaryZoneTypeEnum = "SECONDARY"
)

func GetZoneSummaryZoneTypeEnumValues

func GetZoneSummaryZoneTypeEnumValues() []ZoneSummaryZoneTypeEnum

GetZoneSummaryZoneTypeEnumValues Enumerates the set of values for ZoneSummaryZoneTypeEnum

type ZoneZoneTypeEnum

ZoneZoneTypeEnum Enum with underlying type: string

type ZoneZoneTypeEnum string

Set of constants representing the allowable values for ZoneZoneTypeEnum

const (
    ZoneZoneTypePrimary   ZoneZoneTypeEnum = "PRIMARY"
    ZoneZoneTypeSecondary ZoneZoneTypeEnum = "SECONDARY"
)

func GetZoneZoneTypeEnumValues

func GetZoneZoneTypeEnumValues() []ZoneZoneTypeEnum

GetZoneZoneTypeEnumValues Enumerates the set of values for ZoneZoneTypeEnum