func GetChangeResolverCompartmentScopeEnumStringValues() []string
GetChangeResolverCompartmentScopeEnumStringValues Enumerates the set of values in String for ChangeResolverCompartmentScopeEnum
func GetChangeSteeringPolicyCompartmentScopeEnumStringValues() []string
GetChangeSteeringPolicyCompartmentScopeEnumStringValues Enumerates the set of values in String for ChangeSteeringPolicyCompartmentScopeEnum
func GetChangeTsigKeyCompartmentScopeEnumStringValues() []string
GetChangeTsigKeyCompartmentScopeEnumStringValues Enumerates the set of values in String for ChangeTsigKeyCompartmentScopeEnum
func GetChangeViewCompartmentScopeEnumStringValues() []string
GetChangeViewCompartmentScopeEnumStringValues Enumerates the set of values in String for ChangeViewCompartmentScopeEnum
func GetChangeZoneCompartmentScopeEnumStringValues() []string
GetChangeZoneCompartmentScopeEnumStringValues Enumerates the set of values in String for ChangeZoneCompartmentScopeEnum
func GetCreateResolverEndpointDetailsEndpointTypeEnumStringValues() []string
GetCreateResolverEndpointDetailsEndpointTypeEnumStringValues Enumerates the set of values in String for CreateResolverEndpointDetailsEndpointTypeEnum
func GetCreateResolverEndpointScopeEnumStringValues() []string
GetCreateResolverEndpointScopeEnumStringValues Enumerates the set of values in String for CreateResolverEndpointScopeEnum
func GetCreateSteeringPolicyAttachmentScopeEnumStringValues() []string
GetCreateSteeringPolicyAttachmentScopeEnumStringValues Enumerates the set of values in String for CreateSteeringPolicyAttachmentScopeEnum
func GetCreateSteeringPolicyDetailsTemplateEnumStringValues() []string
GetCreateSteeringPolicyDetailsTemplateEnumStringValues Enumerates the set of values in String for CreateSteeringPolicyDetailsTemplateEnum
func GetCreateSteeringPolicyScopeEnumStringValues() []string
GetCreateSteeringPolicyScopeEnumStringValues Enumerates the set of values in String for CreateSteeringPolicyScopeEnum
func GetCreateTsigKeyScopeEnumStringValues() []string
GetCreateTsigKeyScopeEnumStringValues Enumerates the set of values in String for CreateTsigKeyScopeEnum
func GetCreateViewScopeEnumStringValues() []string
GetCreateViewScopeEnumStringValues Enumerates the set of values in String for CreateViewScopeEnum
func GetCreateZoneBaseDetailsMigrationSourceEnumStringValues() []string
GetCreateZoneBaseDetailsMigrationSourceEnumStringValues Enumerates the set of values in String for CreateZoneBaseDetailsMigrationSourceEnum
func GetCreateZoneDetailsZoneTypeEnumStringValues() []string
GetCreateZoneDetailsZoneTypeEnumStringValues Enumerates the set of values in String for CreateZoneDetailsZoneTypeEnum
func GetCreateZoneFromZoneFileScopeEnumStringValues() []string
GetCreateZoneFromZoneFileScopeEnumStringValues Enumerates the set of values in String for CreateZoneFromZoneFileScopeEnum
func GetCreateZoneScopeEnumStringValues() []string
GetCreateZoneScopeEnumStringValues Enumerates the set of values in String for CreateZoneScopeEnum
func GetDeleteDomainRecordsScopeEnumStringValues() []string
GetDeleteDomainRecordsScopeEnumStringValues Enumerates the set of values in String for DeleteDomainRecordsScopeEnum
func GetDeleteRRSetScopeEnumStringValues() []string
GetDeleteRRSetScopeEnumStringValues Enumerates the set of values in String for DeleteRRSetScopeEnum
func GetDeleteResolverEndpointScopeEnumStringValues() []string
GetDeleteResolverEndpointScopeEnumStringValues Enumerates the set of values in String for DeleteResolverEndpointScopeEnum
func GetDeleteSteeringPolicyAttachmentScopeEnumStringValues() []string
GetDeleteSteeringPolicyAttachmentScopeEnumStringValues Enumerates the set of values in String for DeleteSteeringPolicyAttachmentScopeEnum
func GetDeleteSteeringPolicyScopeEnumStringValues() []string
GetDeleteSteeringPolicyScopeEnumStringValues Enumerates the set of values in String for DeleteSteeringPolicyScopeEnum
func GetDeleteTsigKeyScopeEnumStringValues() []string
GetDeleteTsigKeyScopeEnumStringValues Enumerates the set of values in String for DeleteTsigKeyScopeEnum
func GetDeleteViewScopeEnumStringValues() []string
GetDeleteViewScopeEnumStringValues Enumerates the set of values in String for DeleteViewScopeEnum
func GetDeleteZoneScopeEnumStringValues() []string
GetDeleteZoneScopeEnumStringValues Enumerates the set of values in String for DeleteZoneScopeEnum
func GetGetDomainRecordsScopeEnumStringValues() []string
GetGetDomainRecordsScopeEnumStringValues Enumerates the set of values in String for GetDomainRecordsScopeEnum
func GetGetDomainRecordsSortByEnumStringValues() []string
GetGetDomainRecordsSortByEnumStringValues Enumerates the set of values in String for GetDomainRecordsSortByEnum
func GetGetDomainRecordsSortOrderEnumStringValues() []string
GetGetDomainRecordsSortOrderEnumStringValues Enumerates the set of values in String for GetDomainRecordsSortOrderEnum
func GetGetRRSetScopeEnumStringValues() []string
GetGetRRSetScopeEnumStringValues Enumerates the set of values in String for GetRRSetScopeEnum
func GetGetResolverEndpointScopeEnumStringValues() []string
GetGetResolverEndpointScopeEnumStringValues Enumerates the set of values in String for GetResolverEndpointScopeEnum
func GetGetResolverScopeEnumStringValues() []string
GetGetResolverScopeEnumStringValues Enumerates the set of values in String for GetResolverScopeEnum
func GetGetSteeringPolicyAttachmentScopeEnumStringValues() []string
GetGetSteeringPolicyAttachmentScopeEnumStringValues Enumerates the set of values in String for GetSteeringPolicyAttachmentScopeEnum
func GetGetSteeringPolicyScopeEnumStringValues() []string
GetGetSteeringPolicyScopeEnumStringValues Enumerates the set of values in String for GetSteeringPolicyScopeEnum
func GetGetTsigKeyScopeEnumStringValues() []string
GetGetTsigKeyScopeEnumStringValues Enumerates the set of values in String for GetTsigKeyScopeEnum
func GetGetViewScopeEnumStringValues() []string
GetGetViewScopeEnumStringValues Enumerates the set of values in String for GetViewScopeEnum
func GetGetZoneContentScopeEnumStringValues() []string
GetGetZoneContentScopeEnumStringValues Enumerates the set of values in String for GetZoneContentScopeEnum
func GetGetZoneRecordsScopeEnumStringValues() []string
GetGetZoneRecordsScopeEnumStringValues Enumerates the set of values in String for GetZoneRecordsScopeEnum
func GetGetZoneRecordsSortByEnumStringValues() []string
GetGetZoneRecordsSortByEnumStringValues Enumerates the set of values in String for GetZoneRecordsSortByEnum
func GetGetZoneRecordsSortOrderEnumStringValues() []string
GetGetZoneRecordsSortOrderEnumStringValues Enumerates the set of values in String for GetZoneRecordsSortOrderEnum
func GetGetZoneScopeEnumStringValues() []string
GetGetZoneScopeEnumStringValues Enumerates the set of values in String for GetZoneScopeEnum
func GetListResolverEndpointsScopeEnumStringValues() []string
GetListResolverEndpointsScopeEnumStringValues Enumerates the set of values in String for ListResolverEndpointsScopeEnum
func GetListResolverEndpointsSortByEnumStringValues() []string
GetListResolverEndpointsSortByEnumStringValues Enumerates the set of values in String for ListResolverEndpointsSortByEnum
func GetListResolverEndpointsSortOrderEnumStringValues() []string
GetListResolverEndpointsSortOrderEnumStringValues Enumerates the set of values in String for ListResolverEndpointsSortOrderEnum
func GetListResolversScopeEnumStringValues() []string
GetListResolversScopeEnumStringValues Enumerates the set of values in String for ListResolversScopeEnum
func GetListResolversSortByEnumStringValues() []string
GetListResolversSortByEnumStringValues Enumerates the set of values in String for ListResolversSortByEnum
func GetListResolversSortOrderEnumStringValues() []string
GetListResolversSortOrderEnumStringValues Enumerates the set of values in String for ListResolversSortOrderEnum
func GetListSteeringPoliciesScopeEnumStringValues() []string
GetListSteeringPoliciesScopeEnumStringValues Enumerates the set of values in String for ListSteeringPoliciesScopeEnum
func GetListSteeringPoliciesSortByEnumStringValues() []string
GetListSteeringPoliciesSortByEnumStringValues Enumerates the set of values in String for ListSteeringPoliciesSortByEnum
func GetListSteeringPoliciesSortOrderEnumStringValues() []string
GetListSteeringPoliciesSortOrderEnumStringValues Enumerates the set of values in String for ListSteeringPoliciesSortOrderEnum
func GetListSteeringPolicyAttachmentsScopeEnumStringValues() []string
GetListSteeringPolicyAttachmentsScopeEnumStringValues Enumerates the set of values in String for ListSteeringPolicyAttachmentsScopeEnum
func GetListSteeringPolicyAttachmentsSortByEnumStringValues() []string
GetListSteeringPolicyAttachmentsSortByEnumStringValues Enumerates the set of values in String for ListSteeringPolicyAttachmentsSortByEnum
func GetListSteeringPolicyAttachmentsSortOrderEnumStringValues() []string
GetListSteeringPolicyAttachmentsSortOrderEnumStringValues Enumerates the set of values in String for ListSteeringPolicyAttachmentsSortOrderEnum
func GetListTsigKeysScopeEnumStringValues() []string
GetListTsigKeysScopeEnumStringValues Enumerates the set of values in String for ListTsigKeysScopeEnum
func GetListTsigKeysSortByEnumStringValues() []string
GetListTsigKeysSortByEnumStringValues Enumerates the set of values in String for ListTsigKeysSortByEnum
func GetListTsigKeysSortOrderEnumStringValues() []string
GetListTsigKeysSortOrderEnumStringValues Enumerates the set of values in String for ListTsigKeysSortOrderEnum
func GetListViewsScopeEnumStringValues() []string
GetListViewsScopeEnumStringValues Enumerates the set of values in String for ListViewsScopeEnum
func GetListViewsSortByEnumStringValues() []string
GetListViewsSortByEnumStringValues Enumerates the set of values in String for ListViewsSortByEnum
func GetListViewsSortOrderEnumStringValues() []string
GetListViewsSortOrderEnumStringValues Enumerates the set of values in String for ListViewsSortOrderEnum
func GetListZoneTransferServersScopeEnumStringValues() []string
GetListZoneTransferServersScopeEnumStringValues Enumerates the set of values in String for ListZoneTransferServersScopeEnum
func GetListZonesLifecycleStateEnumStringValues() []string
GetListZonesLifecycleStateEnumStringValues Enumerates the set of values in String for ListZonesLifecycleStateEnum
func GetListZonesScopeEnumStringValues() []string
GetListZonesScopeEnumStringValues Enumerates the set of values in String for ListZonesScopeEnum
func GetListZonesSortByEnumStringValues() []string
GetListZonesSortByEnumStringValues Enumerates the set of values in String for ListZonesSortByEnum
func GetListZonesSortOrderEnumStringValues() []string
GetListZonesSortOrderEnumStringValues Enumerates the set of values in String for ListZonesSortOrderEnum
func GetListZonesZoneTypeEnumStringValues() []string
GetListZonesZoneTypeEnumStringValues Enumerates the set of values in String for ListZonesZoneTypeEnum
func GetPatchDomainRecordsScopeEnumStringValues() []string
GetPatchDomainRecordsScopeEnumStringValues Enumerates the set of values in String for PatchDomainRecordsScopeEnum
func GetPatchRRSetScopeEnumStringValues() []string
GetPatchRRSetScopeEnumStringValues Enumerates the set of values in String for PatchRRSetScopeEnum
func GetPatchZoneRecordsScopeEnumStringValues() []string
GetPatchZoneRecordsScopeEnumStringValues Enumerates the set of values in String for PatchZoneRecordsScopeEnum
func GetRecordOperationOperationEnumStringValues() []string
GetRecordOperationOperationEnumStringValues Enumerates the set of values in String for RecordOperationOperationEnum
func GetResolverEndpointEndpointTypeEnumStringValues() []string
GetResolverEndpointEndpointTypeEnumStringValues Enumerates the set of values in String for ResolverEndpointEndpointTypeEnum
func GetResolverEndpointLifecycleStateEnumStringValues() []string
GetResolverEndpointLifecycleStateEnumStringValues Enumerates the set of values in String for ResolverEndpointLifecycleStateEnum
func GetResolverEndpointSummaryEndpointTypeEnumStringValues() []string
GetResolverEndpointSummaryEndpointTypeEnumStringValues Enumerates the set of values in String for ResolverEndpointSummaryEndpointTypeEnum
func GetResolverEndpointSummaryLifecycleStateEnumStringValues() []string
GetResolverEndpointSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for ResolverEndpointSummaryLifecycleStateEnum
func GetResolverLifecycleStateEnumStringValues() []string
GetResolverLifecycleStateEnumStringValues Enumerates the set of values in String for ResolverLifecycleStateEnum
func GetResolverRuleActionEnumStringValues() []string
GetResolverRuleActionEnumStringValues Enumerates the set of values in String for ResolverRuleActionEnum
func GetResolverRuleDetailsActionEnumStringValues() []string
GetResolverRuleDetailsActionEnumStringValues Enumerates the set of values in String for ResolverRuleDetailsActionEnum
func GetResolverSummaryLifecycleStateEnumStringValues() []string
GetResolverSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for ResolverSummaryLifecycleStateEnum
func GetScopeEnumStringValues() []string
GetScopeEnumStringValues Enumerates the set of values in String for ScopeEnum
func GetSortOrderEnumStringValues() []string
GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum
func GetSteeringPolicyAttachmentLifecycleStateEnumStringValues() []string
GetSteeringPolicyAttachmentLifecycleStateEnumStringValues Enumerates the set of values in String for SteeringPolicyAttachmentLifecycleStateEnum
func GetSteeringPolicyAttachmentSummaryLifecycleStateEnumStringValues() []string
GetSteeringPolicyAttachmentSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for SteeringPolicyAttachmentSummaryLifecycleStateEnum
func GetSteeringPolicyLifecycleStateEnumStringValues() []string
GetSteeringPolicyLifecycleStateEnumStringValues Enumerates the set of values in String for SteeringPolicyLifecycleStateEnum
func GetSteeringPolicyRuleRuleTypeEnumStringValues() []string
GetSteeringPolicyRuleRuleTypeEnumStringValues Enumerates the set of values in String for SteeringPolicyRuleRuleTypeEnum
func GetSteeringPolicySummaryLifecycleStateEnumStringValues() []string
GetSteeringPolicySummaryLifecycleStateEnumStringValues Enumerates the set of values in String for SteeringPolicySummaryLifecycleStateEnum
func GetSteeringPolicySummaryTemplateEnumStringValues() []string
GetSteeringPolicySummaryTemplateEnumStringValues Enumerates the set of values in String for SteeringPolicySummaryTemplateEnum
func GetSteeringPolicyTemplateEnumStringValues() []string
GetSteeringPolicyTemplateEnumStringValues Enumerates the set of values in String for SteeringPolicyTemplateEnum
func GetTsigKeyLifecycleStateEnumStringValues() []string
GetTsigKeyLifecycleStateEnumStringValues Enumerates the set of values in String for TsigKeyLifecycleStateEnum
func GetTsigKeySummaryLifecycleStateEnumStringValues() []string
GetTsigKeySummaryLifecycleStateEnumStringValues Enumerates the set of values in String for TsigKeySummaryLifecycleStateEnum
func GetUpdateDomainRecordsScopeEnumStringValues() []string
GetUpdateDomainRecordsScopeEnumStringValues Enumerates the set of values in String for UpdateDomainRecordsScopeEnum
func GetUpdateRRSetScopeEnumStringValues() []string
GetUpdateRRSetScopeEnumStringValues Enumerates the set of values in String for UpdateRRSetScopeEnum
func GetUpdateResolverEndpointDetailsEndpointTypeEnumStringValues() []string
GetUpdateResolverEndpointDetailsEndpointTypeEnumStringValues Enumerates the set of values in String for UpdateResolverEndpointDetailsEndpointTypeEnum
func GetUpdateResolverEndpointScopeEnumStringValues() []string
GetUpdateResolverEndpointScopeEnumStringValues Enumerates the set of values in String for UpdateResolverEndpointScopeEnum
func GetUpdateResolverScopeEnumStringValues() []string
GetUpdateResolverScopeEnumStringValues Enumerates the set of values in String for UpdateResolverScopeEnum
func GetUpdateSteeringPolicyAttachmentScopeEnumStringValues() []string
GetUpdateSteeringPolicyAttachmentScopeEnumStringValues Enumerates the set of values in String for UpdateSteeringPolicyAttachmentScopeEnum
func GetUpdateSteeringPolicyDetailsTemplateEnumStringValues() []string
GetUpdateSteeringPolicyDetailsTemplateEnumStringValues Enumerates the set of values in String for UpdateSteeringPolicyDetailsTemplateEnum
func GetUpdateSteeringPolicyScopeEnumStringValues() []string
GetUpdateSteeringPolicyScopeEnumStringValues Enumerates the set of values in String for UpdateSteeringPolicyScopeEnum
func GetUpdateTsigKeyScopeEnumStringValues() []string
GetUpdateTsigKeyScopeEnumStringValues Enumerates the set of values in String for UpdateTsigKeyScopeEnum
func GetUpdateViewScopeEnumStringValues() []string
GetUpdateViewScopeEnumStringValues Enumerates the set of values in String for UpdateViewScopeEnum
func GetUpdateZoneRecordsScopeEnumStringValues() []string
GetUpdateZoneRecordsScopeEnumStringValues Enumerates the set of values in String for UpdateZoneRecordsScopeEnum
func GetUpdateZoneScopeEnumStringValues() []string
GetUpdateZoneScopeEnumStringValues Enumerates the set of values in String for UpdateZoneScopeEnum
func GetViewLifecycleStateEnumStringValues() []string
GetViewLifecycleStateEnumStringValues Enumerates the set of values in String for ViewLifecycleStateEnum
func GetViewSummaryLifecycleStateEnumStringValues() []string
GetViewSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for ViewSummaryLifecycleStateEnum
func GetZoneLifecycleStateEnumStringValues() []string
GetZoneLifecycleStateEnumStringValues Enumerates the set of values in String for ZoneLifecycleStateEnum
func GetZoneSummaryLifecycleStateEnumStringValues() []string
GetZoneSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for ZoneSummaryLifecycleStateEnum
func GetZoneSummaryZoneTypeEnumStringValues() []string
GetZoneSummaryZoneTypeEnumStringValues Enumerates the set of values in String for ZoneSummaryZoneTypeEnum
func GetZoneZoneTypeEnumStringValues() []string
GetZoneZoneTypeEnumStringValues Enumerates the set of values in String for ZoneZoneTypeEnum
AttachedView Properties of an attached view.
type AttachedView struct { // The OCID of the view. ViewId *string `mandatory:"true" json:"viewId"` }
func (m AttachedView) String() string
func (m AttachedView) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
AttachedViewDetails Properties for defining an attached view.
type AttachedViewDetails struct { // The OCID of the view. ViewId *string `mandatory:"true" json:"viewId"` }
func (m AttachedViewDetails) String() string
func (m AttachedViewDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (m ChangeResolverCompartmentDetails) String() string
func (m ChangeResolverCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeResolverCompartmentRequest wrapper for the ChangeResolverCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 (request ChangeResolverCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeResolverCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeResolverCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeResolverCompartmentRequest) String() string
func (request ChangeResolverCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response ChangeResolverCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeResolverCompartmentResponse) String() string
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() []ChangeResolverCompartmentScopeEnum
GetChangeResolverCompartmentScopeEnumValues Enumerates the set of values for ChangeResolverCompartmentScopeEnum
func GetMappingChangeResolverCompartmentScopeEnum(val string) (ChangeResolverCompartmentScopeEnum, bool)
GetMappingChangeResolverCompartmentScopeEnum performs case Insensitive comparison on enum value and return the desired enum
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 (m ChangeSteeringPolicyCompartmentDetails) String() string
func (m ChangeSteeringPolicyCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeSteeringPolicyCompartmentRequest wrapper for the ChangeSteeringPolicyCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 (request ChangeSteeringPolicyCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeSteeringPolicyCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeSteeringPolicyCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeSteeringPolicyCompartmentRequest) String() string
func (request ChangeSteeringPolicyCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response ChangeSteeringPolicyCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeSteeringPolicyCompartmentResponse) String() string
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() []ChangeSteeringPolicyCompartmentScopeEnum
GetChangeSteeringPolicyCompartmentScopeEnumValues Enumerates the set of values for ChangeSteeringPolicyCompartmentScopeEnum
func GetMappingChangeSteeringPolicyCompartmentScopeEnum(val string) (ChangeSteeringPolicyCompartmentScopeEnum, bool)
GetMappingChangeSteeringPolicyCompartmentScopeEnum performs case Insensitive comparison on enum value and return the desired enum
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 (m ChangeTsigKeyCompartmentDetails) String() string
func (m ChangeTsigKeyCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeTsigKeyCompartmentRequest wrapper for the ChangeTsigKeyCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 (request ChangeTsigKeyCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeTsigKeyCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeTsigKeyCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeTsigKeyCompartmentRequest) String() string
func (request ChangeTsigKeyCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response ChangeTsigKeyCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeTsigKeyCompartmentResponse) String() string
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() []ChangeTsigKeyCompartmentScopeEnum
GetChangeTsigKeyCompartmentScopeEnumValues Enumerates the set of values for ChangeTsigKeyCompartmentScopeEnum
func GetMappingChangeTsigKeyCompartmentScopeEnum(val string) (ChangeTsigKeyCompartmentScopeEnum, bool)
GetMappingChangeTsigKeyCompartmentScopeEnum performs case Insensitive comparison on enum value and return the desired enum
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 (m ChangeViewCompartmentDetails) String() string
func (m ChangeViewCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeViewCompartmentRequest wrapper for the ChangeViewCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 (request ChangeViewCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeViewCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeViewCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeViewCompartmentRequest) String() string
func (request ChangeViewCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response ChangeViewCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeViewCompartmentResponse) String() string
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() []ChangeViewCompartmentScopeEnum
GetChangeViewCompartmentScopeEnumValues Enumerates the set of values for ChangeViewCompartmentScopeEnum
func GetMappingChangeViewCompartmentScopeEnum(val string) (ChangeViewCompartmentScopeEnum, bool)
GetMappingChangeViewCompartmentScopeEnum performs case Insensitive comparison on enum value and return the desired enum
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 (m ChangeZoneCompartmentDetails) String() string
func (m ChangeZoneCompartmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ChangeZoneCompartmentRequest wrapper for the ChangeZoneCompartment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 (request ChangeZoneCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ChangeZoneCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ChangeZoneCompartmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ChangeZoneCompartmentRequest) String() string
func (request ChangeZoneCompartmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response ChangeZoneCompartmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ChangeZoneCompartmentResponse) String() string
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() []ChangeZoneCompartmentScopeEnum
GetChangeZoneCompartmentScopeEnumValues Enumerates the set of values for ChangeZoneCompartmentScopeEnum
func GetMappingChangeZoneCompartmentScopeEnum(val string) (ChangeZoneCompartmentScopeEnum, bool)
GetMappingChangeZoneCompartmentScopeEnum performs case Insensitive comparison on enum value and return the desired enum
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 (m CreateMigratedDynectZoneDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateMigratedDynectZoneDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateMigratedDynectZoneDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateMigratedDynectZoneDetails) GetName() *string
GetName returns Name
func (m CreateMigratedDynectZoneDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateMigratedDynectZoneDetails) String() string
func (m CreateMigratedDynectZoneDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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, case-insensitive, 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 when isListening is true. GetListeningAddress() *string }
CreateResolverEndpointDetailsEndpointTypeEnum Enum with underlying type: string
type CreateResolverEndpointDetailsEndpointTypeEnum string
Set of constants representing the allowable values for CreateResolverEndpointDetailsEndpointTypeEnum
const ( CreateResolverEndpointDetailsEndpointTypeVnic CreateResolverEndpointDetailsEndpointTypeEnum = "VNIC" )
func GetCreateResolverEndpointDetailsEndpointTypeEnumValues() []CreateResolverEndpointDetailsEndpointTypeEnum
GetCreateResolverEndpointDetailsEndpointTypeEnumValues Enumerates the set of values for CreateResolverEndpointDetailsEndpointTypeEnum
func GetMappingCreateResolverEndpointDetailsEndpointTypeEnum(val string) (CreateResolverEndpointDetailsEndpointTypeEnum, bool)
GetMappingCreateResolverEndpointDetailsEndpointTypeEnum performs case Insensitive comparison on enum value and return the desired enum
CreateResolverEndpointRequest wrapper for the CreateResolverEndpoint operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 (request CreateResolverEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateResolverEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateResolverEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateResolverEndpointRequest) String() string
func (request CreateResolverEndpointRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response CreateResolverEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateResolverEndpointResponse) String() string
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() []CreateResolverEndpointScopeEnum
GetCreateResolverEndpointScopeEnumValues Enumerates the set of values for CreateResolverEndpointScopeEnum
func GetMappingCreateResolverEndpointScopeEnum(val string) (CreateResolverEndpointScopeEnum, bool)
GetMappingCreateResolverEndpointScopeEnum performs case Insensitive comparison on enum value and return the desired enum
CreateResolverVnicEndpointDetails The body for defining a new resolver VNIC endpoint. Either isForwarding or isListening must be true, but not both. If isListening is true, a listeningAddress may be provided. If isForwarding is true, a forwardingAddress may be provided. When not provided, an address will be chosen automatically. **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, case-insensitive, 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 when isListening is true. ListeningAddress *string `mandatory:"false" json:"listeningAddress"` // An array of network security group OCIDs for the resolver endpoint. These must be part of the VCN that the // resolver endpoint is a part of. NsgIds []string `mandatory:"false" json:"nsgIds"` }
func (m CreateResolverVnicEndpointDetails) GetForwardingAddress() *string
GetForwardingAddress returns ForwardingAddress
func (m CreateResolverVnicEndpointDetails) GetIsForwarding() *bool
GetIsForwarding returns IsForwarding
func (m CreateResolverVnicEndpointDetails) GetIsListening() *bool
GetIsListening returns IsListening
func (m CreateResolverVnicEndpointDetails) GetListeningAddress() *string
GetListeningAddress returns ListeningAddress
func (m CreateResolverVnicEndpointDetails) GetName() *string
GetName returns Name
func (m CreateResolverVnicEndpointDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateResolverVnicEndpointDetails) String() string
func (m CreateResolverVnicEndpointDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (m CreateSteeringPolicyAttachmentDetails) String() string
func (m CreateSteeringPolicyAttachmentDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateSteeringPolicyAttachmentRequest wrapper for the CreateSteeringPolicyAttachment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 (request CreateSteeringPolicyAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateSteeringPolicyAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateSteeringPolicyAttachmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateSteeringPolicyAttachmentRequest) String() string
func (request CreateSteeringPolicyAttachmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response CreateSteeringPolicyAttachmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateSteeringPolicyAttachmentResponse) String() string
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() []CreateSteeringPolicyAttachmentScopeEnum
GetCreateSteeringPolicyAttachmentScopeEnumValues Enumerates the set of values for CreateSteeringPolicyAttachmentScopeEnum
func GetMappingCreateSteeringPolicyAttachmentScopeEnum(val string) (CreateSteeringPolicyAttachmentScopeEnum, bool)
GetMappingCreateSteeringPolicyAttachmentScopeEnum performs case Insensitive comparison on enum value and return the desired enum
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 (m CreateSteeringPolicyDetails) String() string
func (m *CreateSteeringPolicyDetails) UnmarshalJSON(data []byte) (e error)
UnmarshalJSON unmarshals from json
func (m CreateSteeringPolicyDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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() []CreateSteeringPolicyDetailsTemplateEnum
GetCreateSteeringPolicyDetailsTemplateEnumValues Enumerates the set of values for CreateSteeringPolicyDetailsTemplateEnum
func GetMappingCreateSteeringPolicyDetailsTemplateEnum(val string) (CreateSteeringPolicyDetailsTemplateEnum, bool)
GetMappingCreateSteeringPolicyDetailsTemplateEnum performs case Insensitive comparison on enum value and return the desired enum
CreateSteeringPolicyRequest wrapper for the CreateSteeringPolicy operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 (request CreateSteeringPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateSteeringPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateSteeringPolicyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateSteeringPolicyRequest) String() string
func (request CreateSteeringPolicyRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response CreateSteeringPolicyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateSteeringPolicyResponse) String() string
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() []CreateSteeringPolicyScopeEnum
GetCreateSteeringPolicyScopeEnumValues Enumerates the set of values for CreateSteeringPolicyScopeEnum
func GetMappingCreateSteeringPolicyScopeEnum(val string) (CreateSteeringPolicyScopeEnum, bool)
GetMappingCreateSteeringPolicyScopeEnum performs case Insensitive comparison on enum value and return the desired enum
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 (m CreateTsigKeyDetails) String() string
func (m CreateTsigKeyDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateTsigKeyRequest wrapper for the CreateTsigKey operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 (request CreateTsigKeyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateTsigKeyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateTsigKeyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateTsigKeyRequest) String() string
func (request CreateTsigKeyRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response CreateTsigKeyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateTsigKeyResponse) String() string
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() []CreateTsigKeyScopeEnum
GetCreateTsigKeyScopeEnumValues Enumerates the set of values for CreateTsigKeyScopeEnum
func GetMappingCreateTsigKeyScopeEnum(val string) (CreateTsigKeyScopeEnum, bool)
GetMappingCreateTsigKeyScopeEnum performs case Insensitive comparison on enum value and return the desired enum
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 (m CreateViewDetails) String() string
func (m CreateViewDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateViewRequest wrapper for the CreateView operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 (request CreateViewRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateViewRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateViewRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateViewRequest) String() string
func (request CreateViewRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response CreateViewResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateViewResponse) String() string
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() []CreateViewScopeEnum
GetCreateViewScopeEnumValues Enumerates the set of values for CreateViewScopeEnum
func GetMappingCreateViewScopeEnum(val string) (CreateViewScopeEnum, bool)
GetMappingCreateViewScopeEnum performs case Insensitive comparison on enum value and return the desired enum
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{} }
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() []CreateZoneBaseDetailsMigrationSourceEnum
GetCreateZoneBaseDetailsMigrationSourceEnumValues Enumerates the set of values for CreateZoneBaseDetailsMigrationSourceEnum
func GetMappingCreateZoneBaseDetailsMigrationSourceEnum(val string) (CreateZoneBaseDetailsMigrationSourceEnum, bool)
GetMappingCreateZoneBaseDetailsMigrationSourceEnum performs case Insensitive comparison on enum value and return the desired enum
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"` // External secondary servers for the zone. // This field is currently not supported when `zoneType` is `SECONDARY` or `scope` is `PRIVATE`. ExternalDownstreams []ExternalDownstream `mandatory:"false" json:"externalDownstreams"` // 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 (m CreateZoneDetails) GetCompartmentId() *string
GetCompartmentId returns CompartmentId
func (m CreateZoneDetails) GetDefinedTags() map[string]map[string]interface{}
GetDefinedTags returns DefinedTags
func (m CreateZoneDetails) GetFreeformTags() map[string]string
GetFreeformTags returns FreeformTags
func (m CreateZoneDetails) GetName() *string
GetName returns Name
func (m CreateZoneDetails) MarshalJSON() (buff []byte, e error)
MarshalJSON marshals to json representation
func (m CreateZoneDetails) String() string
func (m CreateZoneDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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() []CreateZoneDetailsZoneTypeEnum
GetCreateZoneDetailsZoneTypeEnumValues Enumerates the set of values for CreateZoneDetailsZoneTypeEnum
func GetMappingCreateZoneDetailsZoneTypeEnum(val string) (CreateZoneDetailsZoneTypeEnum, bool)
GetMappingCreateZoneDetailsZoneTypeEnum performs case Insensitive comparison on enum value and return the desired enum
CreateZoneFromZoneFileRequest wrapper for the CreateZoneFromZoneFile operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/dns/CreateZoneFromZoneFile.go.html to see an example of how to use CreateZoneFromZoneFileRequest.
type CreateZoneFromZoneFileRequest struct { // The OCID of the compartment the resource belongs to. CompartmentId *string `mandatory:"true" contributesTo:"query" name:"compartmentId"` // The zone file contents. CreateZoneFromZoneFileDetails io.ReadCloser `mandatory:"true" contributesTo:"body" encoding:"binary"` // 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 CreateZoneFromZoneFileScopeEnum `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 (request CreateZoneFromZoneFileRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateZoneFromZoneFileRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateZoneFromZoneFileRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateZoneFromZoneFileRequest) String() string
func (request CreateZoneFromZoneFileRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
CreateZoneFromZoneFileResponse wrapper for the CreateZoneFromZoneFile operation
type CreateZoneFromZoneFileResponse struct { // The underlying http response RawResponse *http.Response // The Zone instance Zone `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 (response CreateZoneFromZoneFileResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateZoneFromZoneFileResponse) String() string
CreateZoneFromZoneFileScopeEnum Enum with underlying type: string
type CreateZoneFromZoneFileScopeEnum string
Set of constants representing the allowable values for CreateZoneFromZoneFileScopeEnum
const ( CreateZoneFromZoneFileScopeGlobal CreateZoneFromZoneFileScopeEnum = "GLOBAL" CreateZoneFromZoneFileScopePrivate CreateZoneFromZoneFileScopeEnum = "PRIVATE" )
func GetCreateZoneFromZoneFileScopeEnumValues() []CreateZoneFromZoneFileScopeEnum
GetCreateZoneFromZoneFileScopeEnumValues Enumerates the set of values for CreateZoneFromZoneFileScopeEnum
func GetMappingCreateZoneFromZoneFileScopeEnum(val string) (CreateZoneFromZoneFileScopeEnum, bool)
GetMappingCreateZoneFromZoneFileScopeEnum performs case Insensitive comparison on enum value and return the desired enum
CreateZoneRequest wrapper for the CreateZone operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 zone belongs to. // This parameter is deprecated and should be omitted. 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 (request CreateZoneRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request CreateZoneRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request CreateZoneRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request CreateZoneRequest) String() string
func (request CreateZoneRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 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 (response CreateZoneResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response CreateZoneResponse) String() string
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() []CreateZoneScopeEnum
GetCreateZoneScopeEnumValues Enumerates the set of values for CreateZoneScopeEnum
func GetMappingCreateZoneScopeEnum(val string) (CreateZoneScopeEnum, bool)
GetMappingCreateZoneScopeEnum performs case Insensitive comparison on enum value and return the desired enum
DeleteDomainRecordsRequest wrapper for the DeleteDomainRecords operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 zone belongs to. // This parameter is deprecated and should be omitted. 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 (request DeleteDomainRecordsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteDomainRecordsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteDomainRecordsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteDomainRecordsRequest) String() string
func (request DeleteDomainRecordsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response DeleteDomainRecordsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteDomainRecordsResponse) String() string
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() []DeleteDomainRecordsScopeEnum
GetDeleteDomainRecordsScopeEnumValues Enumerates the set of values for DeleteDomainRecordsScopeEnum
func GetMappingDeleteDomainRecordsScopeEnum(val string) (DeleteDomainRecordsScopeEnum, bool)
GetMappingDeleteDomainRecordsScopeEnum performs case Insensitive comparison on enum value and return the desired enum
DeleteRRSetRequest wrapper for the DeleteRRSet operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 zone belongs to. // This parameter is deprecated and should be omitted. 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 (request DeleteRRSetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteRRSetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteRRSetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteRRSetRequest) String() string
func (request DeleteRRSetRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response DeleteRRSetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteRRSetResponse) String() string
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() []DeleteRRSetScopeEnum
GetDeleteRRSetScopeEnumValues Enumerates the set of values for DeleteRRSetScopeEnum
func GetMappingDeleteRRSetScopeEnum(val string) (DeleteRRSetScopeEnum, bool)
GetMappingDeleteRRSetScopeEnum performs case Insensitive comparison on enum value and return the desired enum
DeleteResolverEndpointRequest wrapper for the DeleteResolverEndpoint operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 (request DeleteResolverEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteResolverEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteResolverEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteResolverEndpointRequest) String() string
func (request DeleteResolverEndpointRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response DeleteResolverEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteResolverEndpointResponse) String() string
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() []DeleteResolverEndpointScopeEnum
GetDeleteResolverEndpointScopeEnumValues Enumerates the set of values for DeleteResolverEndpointScopeEnum
func GetMappingDeleteResolverEndpointScopeEnum(val string) (DeleteResolverEndpointScopeEnum, bool)
GetMappingDeleteResolverEndpointScopeEnum performs case Insensitive comparison on enum value and return the desired enum
DeleteSteeringPolicyAttachmentRequest wrapper for the DeleteSteeringPolicyAttachment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 (request DeleteSteeringPolicyAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteSteeringPolicyAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteSteeringPolicyAttachmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteSteeringPolicyAttachmentRequest) String() string
func (request DeleteSteeringPolicyAttachmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response DeleteSteeringPolicyAttachmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteSteeringPolicyAttachmentResponse) String() string
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() []DeleteSteeringPolicyAttachmentScopeEnum
GetDeleteSteeringPolicyAttachmentScopeEnumValues Enumerates the set of values for DeleteSteeringPolicyAttachmentScopeEnum
func GetMappingDeleteSteeringPolicyAttachmentScopeEnum(val string) (DeleteSteeringPolicyAttachmentScopeEnum, bool)
GetMappingDeleteSteeringPolicyAttachmentScopeEnum performs case Insensitive comparison on enum value and return the desired enum
DeleteSteeringPolicyRequest wrapper for the DeleteSteeringPolicy operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 (request DeleteSteeringPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteSteeringPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteSteeringPolicyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteSteeringPolicyRequest) String() string
func (request DeleteSteeringPolicyRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response DeleteSteeringPolicyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteSteeringPolicyResponse) String() string
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() []DeleteSteeringPolicyScopeEnum
GetDeleteSteeringPolicyScopeEnumValues Enumerates the set of values for DeleteSteeringPolicyScopeEnum
func GetMappingDeleteSteeringPolicyScopeEnum(val string) (DeleteSteeringPolicyScopeEnum, bool)
GetMappingDeleteSteeringPolicyScopeEnum performs case Insensitive comparison on enum value and return the desired enum
DeleteTsigKeyRequest wrapper for the DeleteTsigKey operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 (request DeleteTsigKeyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteTsigKeyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteTsigKeyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteTsigKeyRequest) String() string
func (request DeleteTsigKeyRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response DeleteTsigKeyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteTsigKeyResponse) String() string
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() []DeleteTsigKeyScopeEnum
GetDeleteTsigKeyScopeEnumValues Enumerates the set of values for DeleteTsigKeyScopeEnum
func GetMappingDeleteTsigKeyScopeEnum(val string) (DeleteTsigKeyScopeEnum, bool)
GetMappingDeleteTsigKeyScopeEnum performs case Insensitive comparison on enum value and return the desired enum
DeleteViewRequest wrapper for the DeleteView operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 (request DeleteViewRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteViewRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteViewRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteViewRequest) String() string
func (request DeleteViewRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response DeleteViewResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteViewResponse) String() string
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() []DeleteViewScopeEnum
GetDeleteViewScopeEnumValues Enumerates the set of values for DeleteViewScopeEnum
func GetMappingDeleteViewScopeEnum(val string) (DeleteViewScopeEnum, bool)
GetMappingDeleteViewScopeEnum performs case Insensitive comparison on enum value and return the desired enum
DeleteZoneRequest wrapper for the DeleteZone operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 zone belongs to. // This parameter is deprecated and should be omitted. 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 (request DeleteZoneRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request DeleteZoneRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request DeleteZoneRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request DeleteZoneRequest) String() string
func (request DeleteZoneRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response DeleteZoneResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response DeleteZoneResponse) String() string
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() []DeleteZoneScopeEnum
GetDeleteZoneScopeEnumValues Enumerates the set of values for DeleteZoneScopeEnum
func GetMappingDeleteZoneScopeEnum(val string) (DeleteZoneScopeEnum, bool)
GetMappingDeleteZoneScopeEnum performs case Insensitive comparison on enum value and return the desired enum
DnsClient a client for Dns
type DnsClient struct { common.BaseClient // contains filtered or unexported fields }
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(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 (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. VCN-dedicated resolvers are initially created in the same compartment as their corresponding VCN, but can then be moved to a different compartment.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/dns/ChangeResolverCompartment.go.html to see an example of how to use ChangeResolverCompartment API. A default retry strategy applies to this operation ChangeResolverCompartment()
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/65.53.0/dns/ChangeSteeringPolicyCompartment.go.html to see an example of how to use ChangeSteeringPolicyCompartment API. A default retry strategy applies to this operation ChangeSteeringPolicyCompartment()
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/65.53.0/dns/ChangeTsigKeyCompartment.go.html to see an example of how to use ChangeTsigKeyCompartment API. A default retry strategy applies to this operation ChangeTsigKeyCompartment()
func (client DnsClient) ChangeViewCompartment(ctx context.Context, request ChangeViewCompartmentRequest) (response ChangeViewCompartmentResponse, err error)
ChangeViewCompartment Moves a view into a different compartment. To change the compartment of a protected view, change the compartment of its corresponding resolver.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/dns/ChangeViewCompartment.go.html to see an example of how to use ChangeViewCompartment API. A default retry strategy applies to this operation ChangeViewCompartment()
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. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required. **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/65.53.0/dns/ChangeZoneCompartment.go.html to see an example of how to use ChangeZoneCompartment API. A default retry strategy applies to this operation ChangeZoneCompartment()
func (client *DnsClient) ConfigurationProvider() *common.ConfigurationProvider
ConfigurationProvider the ConfigurationProvider used in this client, or null if none set
func (client DnsClient) CreateResolverEndpoint(ctx context.Context, request CreateResolverEndpointRequest) (response CreateResolverEndpointResponse, err error)
CreateResolverEndpoint Creates a new resolver endpoint in the same compartment as the resolver.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/dns/CreateResolverEndpoint.go.html to see an example of how to use CreateResolverEndpoint API. A default retry strategy applies to this operation CreateResolverEndpoint()
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/65.53.0/dns/CreateSteeringPolicy.go.html to see an example of how to use CreateSteeringPolicy API. A default retry strategy applies to this operation CreateSteeringPolicy()
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/65.53.0/dns/CreateSteeringPolicyAttachment.go.html to see an example of how to use CreateSteeringPolicyAttachment API. A default retry strategy applies to this operation CreateSteeringPolicyAttachment()
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/65.53.0/dns/CreateTsigKey.go.html to see an example of how to use CreateTsigKey API. A default retry strategy applies to this operation CreateTsigKey()
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/65.53.0/dns/CreateView.go.html to see an example of how to use CreateView API. A default retry strategy applies to this operation CreateView()
func (client DnsClient) CreateZone(ctx context.Context, request CreateZoneRequest) (response CreateZoneResponse, err error)
CreateZone Creates a new zone in the specified compartment. Private zones must have a zone type of `PRIMARY`. Creating a private zone at or under `oraclevcn.com` within the default protected view of a VCN-dedicated resolver is not permitted.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/dns/CreateZone.go.html to see an example of how to use CreateZone API.
func (client DnsClient) CreateZoneFromZoneFile(ctx context.Context, request CreateZoneFromZoneFileRequest) (response CreateZoneFromZoneFileResponse, err error)
CreateZoneFromZoneFile Creates a new zone from a zone file in the specified compartment. Not supported for private zones.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/dns/CreateZoneFromZoneFile.go.html to see an example of how to use CreateZoneFromZoneFile API.
func (client DnsClient) DeleteDomainRecords(ctx context.Context, request DeleteDomainRecordsRequest) (response DeleteDomainRecordsResponse, err error)
DeleteDomainRecords Deletes all records at the specified zone and domain. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/dns/DeleteDomainRecords.go.html to see an example of how to use DeleteDomainRecords API. A default retry strategy applies to this operation DeleteDomainRecords()
func (client DnsClient) DeleteRRSet(ctx context.Context, request DeleteRRSetRequest) (response DeleteRRSetResponse, err error)
DeleteRRSet Deletes all records in the specified RRSet. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/dns/DeleteRRSet.go.html to see an example of how to use DeleteRRSet API. A default retry strategy applies to this operation DeleteRRSet()
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` response 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/65.53.0/dns/DeleteResolverEndpoint.go.html to see an example of how to use DeleteResolverEndpoint API. A default retry strategy applies to this operation DeleteResolverEndpoint()
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/65.53.0/dns/DeleteSteeringPolicy.go.html to see an example of how to use DeleteSteeringPolicy API. A default retry strategy applies to this operation DeleteSteeringPolicy()
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/65.53.0/dns/DeleteSteeringPolicyAttachment.go.html to see an example of how to use DeleteSteeringPolicyAttachment API. A default retry strategy applies to this operation DeleteSteeringPolicyAttachment()
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/65.53.0/dns/DeleteTsigKey.go.html to see an example of how to use DeleteTsigKey API. A default retry strategy applies to this operation DeleteTsigKey()
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` response to be consistent with other operations of the API. Views cannot 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/65.53.0/dns/DeleteView.go.html to see an example of how to use DeleteView API. A default retry strategy applies to this operation DeleteView()
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. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/dns/DeleteZone.go.html to see an example of how to use DeleteZone API.
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. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/dns/GetDomainRecords.go.html to see an example of how to use GetDomainRecords API. A default retry strategy applies to this operation GetDomainRecords()
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. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/dns/GetRRSet.go.html to see an example of how to use GetRRSet API. A default retry strategy applies to this operation GetRRSet()
func (client DnsClient) GetResolver(ctx context.Context, request GetResolverRequest) (response GetResolverResponse, err error)
GetResolver Gets information about a specific resolver. Note that attempting to get a resolver in the DELETED lifecycleState will result in a `404` response to be consistent with other operations of the API.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/dns/GetResolver.go.html to see an example of how to use GetResolver API. A default retry strategy applies to this operation GetResolver()
func (client DnsClient) GetResolverEndpoint(ctx context.Context, request GetResolverEndpointRequest) (response GetResolverEndpointResponse, err error)
GetResolverEndpoint Gets information about a specific resolver endpoint. Note that attempting to get a resolver endpoint in the DELETED lifecycle state will result in a `404` response to be consistent with other operations of the API.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/dns/GetResolverEndpoint.go.html to see an example of how to use GetResolverEndpoint API. A default retry strategy applies to this operation GetResolverEndpoint()
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/65.53.0/dns/GetSteeringPolicy.go.html to see an example of how to use GetSteeringPolicy API. A default retry strategy applies to this operation GetSteeringPolicy()
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/65.53.0/dns/GetSteeringPolicyAttachment.go.html to see an example of how to use GetSteeringPolicyAttachment API. A default retry strategy applies to this operation GetSteeringPolicyAttachment()
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/65.53.0/dns/GetTsigKey.go.html to see an example of how to use GetTsigKey API. A default retry strategy applies to this operation GetTsigKey()
func (client DnsClient) GetView(ctx context.Context, request GetViewRequest) (response GetViewResponse, err error)
GetView Gets information about a specific view. Note that attempting to get a view in the DELETED lifecycleState will result in a `404` response to be consistent with other operations of the API.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/dns/GetView.go.html to see an example of how to use GetView API. A default retry strategy applies to this operation GetView()
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. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/dns/GetZone.go.html to see an example of how to use GetZone API. A default retry strategy applies to this operation GetZone()
func (client DnsClient) GetZoneContent(ctx context.Context, request GetZoneContentRequest) (response GetZoneContentResponse, err error)
GetZoneContent Gets the requested zone's zone file.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/dns/GetZoneContent.go.html to see an example of how to use GetZoneContent API. A default retry strategy applies to this operation GetZoneContent()
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). When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/dns/GetZoneRecords.go.html to see an example of how to use GetZoneRecords API. A default retry strategy applies to this operation GetZoneRecords()
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, 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/65.53.0/dns/ListResolverEndpoints.go.html to see an example of how to use ListResolverEndpoints API. A default retry strategy applies to this operation ListResolverEndpoints()
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, 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/65.53.0/dns/ListResolvers.go.html to see an example of how to use ListResolvers API. A default retry strategy applies to this operation ListResolvers()
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/65.53.0/dns/ListSteeringPolicies.go.html to see an example of how to use ListSteeringPolicies API. A default retry strategy applies to this operation ListSteeringPolicies()
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/65.53.0/dns/ListSteeringPolicyAttachments.go.html to see an example of how to use ListSteeringPolicyAttachments API. A default retry strategy applies to this operation ListSteeringPolicyAttachments()
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/65.53.0/dns/ListTsigKeys.go.html to see an example of how to use ListTsigKeys API. A default retry strategy applies to this operation ListTsigKeys()
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, 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/65.53.0/dns/ListViews.go.html to see an example of how to use ListViews API. A default retry strategy applies to this operation ListViews()
func (client DnsClient) ListZoneTransferServers(ctx context.Context, request ListZoneTransferServersRequest) (response ListZoneTransferServersResponse, err error)
ListZoneTransferServers Gets a list of IP addresses of OCI nameservers for inbound and outbound transfer of zones in the specified compartment (which must be the root compartment of a tenancy) that transfer zone data with external master or downstream nameservers.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/dns/ListZoneTransferServers.go.html to see an example of how to use ListZoneTransferServers API. A default retry strategy applies to this operation ListZoneTransferServers()
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. Filtering by view is only supported for private zones.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/dns/ListZones.go.html to see an example of how to use ListZones API. A default retry strategy applies to this operation ListZones()
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. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/dns/PatchDomainRecords.go.html to see an example of how to use PatchDomainRecords API. A default retry strategy applies to this operation PatchDomainRecords()
func (client DnsClient) PatchRRSet(ctx context.Context, request PatchRRSetRequest) (response PatchRRSetResponse, err error)
PatchRRSet Updates records in the specified RRSet. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/dns/PatchRRSet.go.html to see an example of how to use PatchRRSet API. A default retry strategy applies to this operation PatchRRSet()
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. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/dns/PatchZoneRecords.go.html to see an example of how to use PatchZoneRecords API. A default retry strategy applies to this operation PatchZoneRecords()
func (client *DnsClient) SetRegion(region string)
SetRegion overrides the region of this client.
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. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/dns/UpdateDomainRecords.go.html to see an example of how to use UpdateDomainRecords API. A default retry strategy applies to this operation UpdateDomainRecords()
func (client DnsClient) UpdateRRSet(ctx context.Context, request UpdateRRSetRequest) (response UpdateRRSetResponse, err error)
UpdateRRSet Replaces records in the specified RRSet. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/dns/UpdateRRSet.go.html to see an example of how to use UpdateRRSet API. A default retry strategy applies to this operation UpdateRRSet()
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/65.53.0/dns/UpdateResolver.go.html to see an example of how to use UpdateResolver API. A default retry strategy applies to this operation UpdateResolver()
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/65.53.0/dns/UpdateResolverEndpoint.go.html to see an example of how to use UpdateResolverEndpoint API. A default retry strategy applies to this operation UpdateResolverEndpoint()
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/65.53.0/dns/UpdateSteeringPolicy.go.html to see an example of how to use UpdateSteeringPolicy API. A default retry strategy applies to this operation UpdateSteeringPolicy()
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/65.53.0/dns/UpdateSteeringPolicyAttachment.go.html to see an example of how to use UpdateSteeringPolicyAttachment API. A default retry strategy applies to this operation UpdateSteeringPolicyAttachment()
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/65.53.0/dns/UpdateTsigKey.go.html to see an example of how to use UpdateTsigKey API. A default retry strategy applies to this operation UpdateTsigKey()
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/65.53.0/dns/UpdateView.go.html to see an example of how to use UpdateView API. A default retry strategy applies to this operation UpdateView()
func (client DnsClient) UpdateZone(ctx context.Context, request UpdateZoneRequest) (response UpdateZoneResponse, err error)
UpdateZone Updates the zone with the specified information. Global secondary zones may have their external masters updated. For more information about secondary zones, see Manage DNS Service Zone (https://docs.cloud.oracle.com/iaas/Content/DNS/Tasks/managingdnszones.htm). When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/dns/UpdateZone.go.html to see an example of how to use UpdateZone API. A default retry strategy applies to this operation UpdateZone()
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. When the zone name is provided as a path parameter and `PRIVATE` is used for the scope query parameter then the viewId query parameter is required.
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/dns/UpdateZoneRecords.go.html to see an example of how to use UpdateZoneRecords API. A default retry strategy applies to this operation UpdateZoneRecords()
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 (m DynectMigrationDetails) String() string
func (m DynectMigrationDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExternalDownstream External downstream nameserver for the zone. This field is currently not supported when `zoneType` is `SECONDARY` or `scope` is `PRIVATE`.
type ExternalDownstream 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"` // The OCID of the TSIG key. // A TSIG key is used to secure DNS messages (in this case, zone transfers) between two systems that both have the (shared) secret. TsigKeyId *string `mandatory:"false" json:"tsigKeyId"` }
func (m ExternalDownstream) String() string
func (m ExternalDownstream) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ExternalMaster An external master name server used as the source of zone data.
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"` // The OCID of the TSIG key. TsigKeyId *string `mandatory:"false" json:"tsigKeyId"` }
func (m ExternalMaster) String() string
func (m ExternalMaster) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetDomainRecordsRequest wrapper for the GetDomainRecords operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 zone belongs to. // This parameter is deprecated and should be omitted. 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 (request GetDomainRecordsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetDomainRecordsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetDomainRecordsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetDomainRecordsRequest) String() string
func (request GetDomainRecordsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 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 (response GetDomainRecordsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetDomainRecordsResponse) String() string
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() []GetDomainRecordsScopeEnum
GetGetDomainRecordsScopeEnumValues Enumerates the set of values for GetDomainRecordsScopeEnum
func GetMappingGetDomainRecordsScopeEnum(val string) (GetDomainRecordsScopeEnum, bool)
GetMappingGetDomainRecordsScopeEnum performs case Insensitive comparison on enum value and return the desired enum
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() []GetDomainRecordsSortByEnum
GetGetDomainRecordsSortByEnumValues Enumerates the set of values for GetDomainRecordsSortByEnum
func GetMappingGetDomainRecordsSortByEnum(val string) (GetDomainRecordsSortByEnum, bool)
GetMappingGetDomainRecordsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []GetDomainRecordsSortOrderEnum
GetGetDomainRecordsSortOrderEnumValues Enumerates the set of values for GetDomainRecordsSortOrderEnum
func GetMappingGetDomainRecordsSortOrderEnum(val string) (GetDomainRecordsSortOrderEnum, bool)
GetMappingGetDomainRecordsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
GetRRSetRequest wrapper for the GetRRSet operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 zone belongs to. // This parameter is deprecated and should be omitted. 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 (request GetRRSetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetRRSetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetRRSetRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetRRSetRequest) String() string
func (request GetRRSetRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 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 (response GetRRSetResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetRRSetResponse) String() string
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() []GetRRSetScopeEnum
GetGetRRSetScopeEnumValues Enumerates the set of values for GetRRSetScopeEnum
func GetMappingGetRRSetScopeEnum(val string) (GetRRSetScopeEnum, bool)
GetMappingGetRRSetScopeEnum performs case Insensitive comparison on enum value and return the desired enum
GetResolverEndpointRequest wrapper for the GetResolverEndpoint operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 (request GetResolverEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetResolverEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetResolverEndpointRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetResolverEndpointRequest) String() string
func (request GetResolverEndpointRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response GetResolverEndpointResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetResolverEndpointResponse) String() string
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() []GetResolverEndpointScopeEnum
GetGetResolverEndpointScopeEnumValues Enumerates the set of values for GetResolverEndpointScopeEnum
func GetMappingGetResolverEndpointScopeEnum(val string) (GetResolverEndpointScopeEnum, bool)
GetMappingGetResolverEndpointScopeEnum performs case Insensitive comparison on enum value and return the desired enum
GetResolverRequest wrapper for the GetResolver operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 (request GetResolverRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetResolverRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetResolverRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetResolverRequest) String() string
func (request GetResolverRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response GetResolverResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetResolverResponse) String() string
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() []GetResolverScopeEnum
GetGetResolverScopeEnumValues Enumerates the set of values for GetResolverScopeEnum
func GetMappingGetResolverScopeEnum(val string) (GetResolverScopeEnum, bool)
GetMappingGetResolverScopeEnum performs case Insensitive comparison on enum value and return the desired enum
GetSteeringPolicyAttachmentRequest wrapper for the GetSteeringPolicyAttachment operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 (request GetSteeringPolicyAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetSteeringPolicyAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetSteeringPolicyAttachmentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetSteeringPolicyAttachmentRequest) String() string
func (request GetSteeringPolicyAttachmentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response GetSteeringPolicyAttachmentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetSteeringPolicyAttachmentResponse) String() string
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() []GetSteeringPolicyAttachmentScopeEnum
GetGetSteeringPolicyAttachmentScopeEnumValues Enumerates the set of values for GetSteeringPolicyAttachmentScopeEnum
func GetMappingGetSteeringPolicyAttachmentScopeEnum(val string) (GetSteeringPolicyAttachmentScopeEnum, bool)
GetMappingGetSteeringPolicyAttachmentScopeEnum performs case Insensitive comparison on enum value and return the desired enum
GetSteeringPolicyRequest wrapper for the GetSteeringPolicy operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 (request GetSteeringPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetSteeringPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetSteeringPolicyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetSteeringPolicyRequest) String() string
func (request GetSteeringPolicyRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response GetSteeringPolicyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetSteeringPolicyResponse) String() string
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() []GetSteeringPolicyScopeEnum
GetGetSteeringPolicyScopeEnumValues Enumerates the set of values for GetSteeringPolicyScopeEnum
func GetMappingGetSteeringPolicyScopeEnum(val string) (GetSteeringPolicyScopeEnum, bool)
GetMappingGetSteeringPolicyScopeEnum performs case Insensitive comparison on enum value and return the desired enum
GetTsigKeyRequest wrapper for the GetTsigKey operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 (request GetTsigKeyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetTsigKeyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetTsigKeyRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetTsigKeyRequest) String() string
func (request GetTsigKeyRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response GetTsigKeyResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetTsigKeyResponse) String() string
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() []GetTsigKeyScopeEnum
GetGetTsigKeyScopeEnumValues Enumerates the set of values for GetTsigKeyScopeEnum
func GetMappingGetTsigKeyScopeEnum(val string) (GetTsigKeyScopeEnum, bool)
GetMappingGetTsigKeyScopeEnum performs case Insensitive comparison on enum value and return the desired enum
GetViewRequest wrapper for the GetView operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 (request GetViewRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetViewRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetViewRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetViewRequest) String() string
func (request GetViewRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response GetViewResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetViewResponse) String() string
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() []GetViewScopeEnum
GetGetViewScopeEnumValues Enumerates the set of values for GetViewScopeEnum
func GetMappingGetViewScopeEnum(val string) (GetViewScopeEnum, bool)
GetMappingGetViewScopeEnum performs case Insensitive comparison on enum value and return the desired enum
GetZoneContentRequest wrapper for the GetZoneContent operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/dns/GetZoneContent.go.html to see an example of how to use GetZoneContentRequest.
type GetZoneContentRequest 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 GetZoneContentScopeEnum `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 (request GetZoneContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetZoneContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetZoneContentRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetZoneContentRequest) String() string
func (request GetZoneContentRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
GetZoneContentResponse wrapper for the GetZoneContent operation
type GetZoneContentResponse struct { // The underlying http response RawResponse *http.Response // The io.ReadCloser instance Content io.ReadCloser `presentIn:"body" encoding:"binary"` // 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 (response GetZoneContentResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetZoneContentResponse) String() string
GetZoneContentScopeEnum Enum with underlying type: string
type GetZoneContentScopeEnum string
Set of constants representing the allowable values for GetZoneContentScopeEnum
const ( GetZoneContentScopeGlobal GetZoneContentScopeEnum = "GLOBAL" GetZoneContentScopePrivate GetZoneContentScopeEnum = "PRIVATE" )
func GetGetZoneContentScopeEnumValues() []GetZoneContentScopeEnum
GetGetZoneContentScopeEnumValues Enumerates the set of values for GetZoneContentScopeEnum
func GetMappingGetZoneContentScopeEnum(val string) (GetZoneContentScopeEnum, bool)
GetMappingGetZoneContentScopeEnum performs case Insensitive comparison on enum value and return the desired enum
GetZoneRecordsRequest wrapper for the GetZoneRecords operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 zone belongs to. // This parameter is deprecated and should be omitted. 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 (request GetZoneRecordsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetZoneRecordsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetZoneRecordsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetZoneRecordsRequest) String() string
func (request GetZoneRecordsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 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 (response GetZoneRecordsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetZoneRecordsResponse) String() string
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() []GetZoneRecordsScopeEnum
GetGetZoneRecordsScopeEnumValues Enumerates the set of values for GetZoneRecordsScopeEnum
func GetMappingGetZoneRecordsScopeEnum(val string) (GetZoneRecordsScopeEnum, bool)
GetMappingGetZoneRecordsScopeEnum performs case Insensitive comparison on enum value and return the desired enum
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() []GetZoneRecordsSortByEnum
GetGetZoneRecordsSortByEnumValues Enumerates the set of values for GetZoneRecordsSortByEnum
func GetMappingGetZoneRecordsSortByEnum(val string) (GetZoneRecordsSortByEnum, bool)
GetMappingGetZoneRecordsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []GetZoneRecordsSortOrderEnum
GetGetZoneRecordsSortOrderEnumValues Enumerates the set of values for GetZoneRecordsSortOrderEnum
func GetMappingGetZoneRecordsSortOrderEnum(val string) (GetZoneRecordsSortOrderEnum, bool)
GetMappingGetZoneRecordsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
GetZoneRequest wrapper for the GetZone operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 zone belongs to. // This parameter is deprecated and should be omitted. 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 (request GetZoneRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request GetZoneRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request GetZoneRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request GetZoneRequest) String() string
func (request GetZoneRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 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 (response GetZoneResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response GetZoneResponse) String() string
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() []GetZoneScopeEnum
GetGetZoneScopeEnumValues Enumerates the set of values for GetZoneScopeEnum
func GetMappingGetZoneScopeEnum(val string) (GetZoneScopeEnum, bool)
GetMappingGetZoneScopeEnum performs case Insensitive comparison on enum value and return the desired enum
ListResolverEndpointsRequest wrapper for the ListResolverEndpoints operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 (request ListResolverEndpointsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListResolverEndpointsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListResolverEndpointsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListResolverEndpointsRequest) String() string
func (request ListResolverEndpointsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response ListResolverEndpointsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListResolverEndpointsResponse) String() string
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() []ListResolverEndpointsScopeEnum
GetListResolverEndpointsScopeEnumValues Enumerates the set of values for ListResolverEndpointsScopeEnum
func GetMappingListResolverEndpointsScopeEnum(val string) (ListResolverEndpointsScopeEnum, bool)
GetMappingListResolverEndpointsScopeEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListResolverEndpointsSortByEnum
GetListResolverEndpointsSortByEnumValues Enumerates the set of values for ListResolverEndpointsSortByEnum
func GetMappingListResolverEndpointsSortByEnum(val string) (ListResolverEndpointsSortByEnum, bool)
GetMappingListResolverEndpointsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListResolverEndpointsSortOrderEnum
GetListResolverEndpointsSortOrderEnumValues Enumerates the set of values for ListResolverEndpointsSortOrderEnum
func GetMappingListResolverEndpointsSortOrderEnum(val string) (ListResolverEndpointsSortOrderEnum, bool)
GetMappingListResolverEndpointsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListResolversRequest wrapper for the ListResolvers operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 (request ListResolversRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListResolversRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListResolversRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListResolversRequest) String() string
func (request ListResolversRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response ListResolversResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListResolversResponse) String() string
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() []ListResolversScopeEnum
GetListResolversScopeEnumValues Enumerates the set of values for ListResolversScopeEnum
func GetMappingListResolversScopeEnum(val string) (ListResolversScopeEnum, bool)
GetMappingListResolversScopeEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListResolversSortByEnum
GetListResolversSortByEnumValues Enumerates the set of values for ListResolversSortByEnum
func GetMappingListResolversSortByEnum(val string) (ListResolversSortByEnum, bool)
GetMappingListResolversSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListResolversSortOrderEnum
GetListResolversSortOrderEnumValues Enumerates the set of values for ListResolversSortOrderEnum
func GetMappingListResolversSortOrderEnum(val string) (ListResolversSortOrderEnum, bool)
GetMappingListResolversSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListSteeringPoliciesRequest wrapper for the ListSteeringPolicies operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 (request ListSteeringPoliciesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListSteeringPoliciesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListSteeringPoliciesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListSteeringPoliciesRequest) String() string
func (request ListSteeringPoliciesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response ListSteeringPoliciesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListSteeringPoliciesResponse) String() string
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() []ListSteeringPoliciesScopeEnum
GetListSteeringPoliciesScopeEnumValues Enumerates the set of values for ListSteeringPoliciesScopeEnum
func GetMappingListSteeringPoliciesScopeEnum(val string) (ListSteeringPoliciesScopeEnum, bool)
GetMappingListSteeringPoliciesScopeEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListSteeringPoliciesSortByEnum
GetListSteeringPoliciesSortByEnumValues Enumerates the set of values for ListSteeringPoliciesSortByEnum
func GetMappingListSteeringPoliciesSortByEnum(val string) (ListSteeringPoliciesSortByEnum, bool)
GetMappingListSteeringPoliciesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListSteeringPoliciesSortOrderEnum
GetListSteeringPoliciesSortOrderEnumValues Enumerates the set of values for ListSteeringPoliciesSortOrderEnum
func GetMappingListSteeringPoliciesSortOrderEnum(val string) (ListSteeringPoliciesSortOrderEnum, bool)
GetMappingListSteeringPoliciesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListSteeringPolicyAttachmentsRequest wrapper for the ListSteeringPolicyAttachments operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 (request ListSteeringPolicyAttachmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListSteeringPolicyAttachmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListSteeringPolicyAttachmentsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListSteeringPolicyAttachmentsRequest) String() string
func (request ListSteeringPolicyAttachmentsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response ListSteeringPolicyAttachmentsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListSteeringPolicyAttachmentsResponse) String() string
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() []ListSteeringPolicyAttachmentsScopeEnum
GetListSteeringPolicyAttachmentsScopeEnumValues Enumerates the set of values for ListSteeringPolicyAttachmentsScopeEnum
func GetMappingListSteeringPolicyAttachmentsScopeEnum(val string) (ListSteeringPolicyAttachmentsScopeEnum, bool)
GetMappingListSteeringPolicyAttachmentsScopeEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListSteeringPolicyAttachmentsSortByEnum
GetListSteeringPolicyAttachmentsSortByEnumValues Enumerates the set of values for ListSteeringPolicyAttachmentsSortByEnum
func GetMappingListSteeringPolicyAttachmentsSortByEnum(val string) (ListSteeringPolicyAttachmentsSortByEnum, bool)
GetMappingListSteeringPolicyAttachmentsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListSteeringPolicyAttachmentsSortOrderEnum
GetListSteeringPolicyAttachmentsSortOrderEnumValues Enumerates the set of values for ListSteeringPolicyAttachmentsSortOrderEnum
func GetMappingListSteeringPolicyAttachmentsSortOrderEnum(val string) (ListSteeringPolicyAttachmentsSortOrderEnum, bool)
GetMappingListSteeringPolicyAttachmentsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListTsigKeysRequest wrapper for the ListTsigKeys operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 (request ListTsigKeysRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListTsigKeysRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListTsigKeysRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListTsigKeysRequest) String() string
func (request ListTsigKeysRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response ListTsigKeysResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListTsigKeysResponse) String() string
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() []ListTsigKeysScopeEnum
GetListTsigKeysScopeEnumValues Enumerates the set of values for ListTsigKeysScopeEnum
func GetMappingListTsigKeysScopeEnum(val string) (ListTsigKeysScopeEnum, bool)
GetMappingListTsigKeysScopeEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListTsigKeysSortByEnum
GetListTsigKeysSortByEnumValues Enumerates the set of values for ListTsigKeysSortByEnum
func GetMappingListTsigKeysSortByEnum(val string) (ListTsigKeysSortByEnum, bool)
GetMappingListTsigKeysSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListTsigKeysSortOrderEnum
GetListTsigKeysSortOrderEnumValues Enumerates the set of values for ListTsigKeysSortOrderEnum
func GetMappingListTsigKeysSortOrderEnum(val string) (ListTsigKeysSortOrderEnum, bool)
GetMappingListTsigKeysSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListViewsRequest wrapper for the ListViews operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 (request ListViewsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListViewsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListViewsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListViewsRequest) String() string
func (request ListViewsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response ListViewsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListViewsResponse) String() string
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() []ListViewsScopeEnum
GetListViewsScopeEnumValues Enumerates the set of values for ListViewsScopeEnum
func GetMappingListViewsScopeEnum(val string) (ListViewsScopeEnum, bool)
GetMappingListViewsScopeEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListViewsSortByEnum
GetListViewsSortByEnumValues Enumerates the set of values for ListViewsSortByEnum
func GetMappingListViewsSortByEnum(val string) (ListViewsSortByEnum, bool)
GetMappingListViewsSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListViewsSortOrderEnum
GetListViewsSortOrderEnumValues Enumerates the set of values for ListViewsSortOrderEnum
func GetMappingListViewsSortOrderEnum(val string) (ListViewsSortOrderEnum, bool)
GetMappingListViewsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
ListZoneTransferServersRequest wrapper for the ListZoneTransferServers operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.0/dns/ListZoneTransferServers.go.html to see an example of how to use ListZoneTransferServersRequest.
type ListZoneTransferServersRequest 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"` // Specifies to operate only on resources that have a matching DNS scope. Scope ListZoneTransferServersScopeEnum `mandatory:"false" contributesTo:"query" name:"scope" omitEmpty:"true"` // The value of the `opc-next-page` response header from the previous "List" call. Page *string `mandatory:"false" contributesTo:"query" name:"page"` // 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 (request ListZoneTransferServersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListZoneTransferServersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListZoneTransferServersRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListZoneTransferServersRequest) String() string
func (request ListZoneTransferServersRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
ListZoneTransferServersResponse wrapper for the ListZoneTransferServers operation
type ListZoneTransferServersResponse struct { // The underlying http response RawResponse *http.Response // A list of []ZoneTransferServer instances Items []ZoneTransferServer `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 (response ListZoneTransferServersResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListZoneTransferServersResponse) String() string
ListZoneTransferServersScopeEnum Enum with underlying type: string
type ListZoneTransferServersScopeEnum string
Set of constants representing the allowable values for ListZoneTransferServersScopeEnum
const ( ListZoneTransferServersScopeGlobal ListZoneTransferServersScopeEnum = "GLOBAL" ListZoneTransferServersScopePrivate ListZoneTransferServersScopeEnum = "PRIVATE" )
func GetListZoneTransferServersScopeEnumValues() []ListZoneTransferServersScopeEnum
GetListZoneTransferServersScopeEnumValues Enumerates the set of values for ListZoneTransferServersScopeEnum
func GetMappingListZoneTransferServersScopeEnum(val string) (ListZoneTransferServersScopeEnum, bool)
GetMappingListZoneTransferServersScopeEnum performs case Insensitive comparison on enum value and return the desired enum
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" ListZonesLifecycleStateUpdating ListZonesLifecycleStateEnum = "UPDATING" )
func GetListZonesLifecycleStateEnumValues() []ListZonesLifecycleStateEnum
GetListZonesLifecycleStateEnumValues Enumerates the set of values for ListZonesLifecycleStateEnum
func GetMappingListZonesLifecycleStateEnum(val string) (ListZonesLifecycleStateEnum, bool)
GetMappingListZonesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum
ListZonesRequest wrapper for the ListZones operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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"` // Search for zones that are associated with a TSIG key. TsigKeyId *string `mandatory:"false" contributesTo:"query" name:"tsigKeyId"` // 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 (request ListZonesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request ListZonesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request ListZonesRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request ListZonesRequest) String() string
func (request ListZonesRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (response ListZonesResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interface
func (response ListZonesResponse) String() string
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() []ListZonesScopeEnum
GetListZonesScopeEnumValues Enumerates the set of values for ListZonesScopeEnum
func GetMappingListZonesScopeEnum(val string) (ListZonesScopeEnum, bool)
GetMappingListZonesScopeEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListZonesSortByEnum
GetListZonesSortByEnumValues Enumerates the set of values for ListZonesSortByEnum
func GetMappingListZonesSortByEnum(val string) (ListZonesSortByEnum, bool)
GetMappingListZonesSortByEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListZonesSortOrderEnum
GetListZonesSortOrderEnumValues Enumerates the set of values for ListZonesSortOrderEnum
func GetMappingListZonesSortOrderEnum(val string) (ListZonesSortOrderEnum, bool)
GetMappingListZonesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum
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() []ListZonesZoneTypeEnum
GetListZonesZoneTypeEnumValues Enumerates the set of values for ListZonesZoneTypeEnum
func GetMappingListZonesZoneTypeEnum(val string) (ListZonesZoneTypeEnum, bool)
GetMappingListZonesZoneTypeEnum performs case Insensitive comparison on enum value and return the desired enum
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 (m MigrationReplacement) String() string
func (m MigrationReplacement) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 (m Nameserver) String() string
func (m Nameserver) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
PatchDomainRecordsDetails The representation of PatchDomainRecordsDetails
type PatchDomainRecordsDetails struct { Items []RecordOperation `mandatory:"false" json:"items"` }
func (m PatchDomainRecordsDetails) String() string
func (m PatchDomainRecordsDetails) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
PatchDomainRecordsRequest wrapper for the PatchDomainRecords operation
# See also
Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/65.53.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 zone belongs to. // This parameter is deprecated and should be omitted. 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 (request PatchDomainRecordsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)
BinaryRequestBody implements the OCIRequest interface
func (request PatchDomainRecordsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)
HTTPRequest implements the OCIRequest interface
func (request PatchDomainRecordsRequest) RetryPolicy() *common.RetryPolicy
RetryPolicy implements the OCIRetryableRequest interface. This retrieves the specified retry policy.
func (request PatchDomainRecordsRequest) String() string
func (request PatchDomainRecordsRequest) ValidateEnumValue() (bool, error)
ValidateEnumValue returns an error when providing an unsupported enum value This function is being called during constructing API request process Not recommended for calling this function directly
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 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 (response PatchDomainRecordsResponse) HTTPResponse() *http.Response
HTTPResponse implements the OCIResponse interfac