dns

package
v65.81.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2024 License: Apache-2.0, UPL-1.0 Imports: 8 Imported by: 16

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetChangeResolverCompartmentScopeEnumStringValues

func GetChangeResolverCompartmentScopeEnumStringValues() []string

GetChangeResolverCompartmentScopeEnumStringValues Enumerates the set of values in String for ChangeResolverCompartmentScopeEnum

func GetChangeSteeringPolicyCompartmentScopeEnumStringValues

func GetChangeSteeringPolicyCompartmentScopeEnumStringValues() []string

GetChangeSteeringPolicyCompartmentScopeEnumStringValues Enumerates the set of values in String for ChangeSteeringPolicyCompartmentScopeEnum

func GetChangeTsigKeyCompartmentScopeEnumStringValues

func GetChangeTsigKeyCompartmentScopeEnumStringValues() []string

GetChangeTsigKeyCompartmentScopeEnumStringValues Enumerates the set of values in String for ChangeTsigKeyCompartmentScopeEnum

func GetChangeViewCompartmentScopeEnumStringValues

func GetChangeViewCompartmentScopeEnumStringValues() []string

GetChangeViewCompartmentScopeEnumStringValues Enumerates the set of values in String for ChangeViewCompartmentScopeEnum

func GetChangeZoneCompartmentScopeEnumStringValues

func GetChangeZoneCompartmentScopeEnumStringValues() []string

GetChangeZoneCompartmentScopeEnumStringValues Enumerates the set of values in String for ChangeZoneCompartmentScopeEnum

func GetCreateResolverEndpointDetailsEndpointTypeEnumStringValues

func GetCreateResolverEndpointDetailsEndpointTypeEnumStringValues() []string

GetCreateResolverEndpointDetailsEndpointTypeEnumStringValues Enumerates the set of values in String for CreateResolverEndpointDetailsEndpointTypeEnum

func GetCreateResolverEndpointScopeEnumStringValues

func GetCreateResolverEndpointScopeEnumStringValues() []string

GetCreateResolverEndpointScopeEnumStringValues Enumerates the set of values in String for CreateResolverEndpointScopeEnum

func GetCreateSteeringPolicyAttachmentScopeEnumStringValues

func GetCreateSteeringPolicyAttachmentScopeEnumStringValues() []string

GetCreateSteeringPolicyAttachmentScopeEnumStringValues Enumerates the set of values in String for CreateSteeringPolicyAttachmentScopeEnum

func GetCreateSteeringPolicyDetailsTemplateEnumStringValues

func GetCreateSteeringPolicyDetailsTemplateEnumStringValues() []string

GetCreateSteeringPolicyDetailsTemplateEnumStringValues Enumerates the set of values in String for CreateSteeringPolicyDetailsTemplateEnum

func GetCreateSteeringPolicyScopeEnumStringValues

func GetCreateSteeringPolicyScopeEnumStringValues() []string

GetCreateSteeringPolicyScopeEnumStringValues Enumerates the set of values in String for CreateSteeringPolicyScopeEnum

func GetCreateTsigKeyScopeEnumStringValues

func GetCreateTsigKeyScopeEnumStringValues() []string

GetCreateTsigKeyScopeEnumStringValues Enumerates the set of values in String for CreateTsigKeyScopeEnum

func GetCreateViewScopeEnumStringValues

func GetCreateViewScopeEnumStringValues() []string

GetCreateViewScopeEnumStringValues Enumerates the set of values in String for CreateViewScopeEnum

func GetCreateZoneBaseDetailsMigrationSourceEnumStringValues

func GetCreateZoneBaseDetailsMigrationSourceEnumStringValues() []string

GetCreateZoneBaseDetailsMigrationSourceEnumStringValues Enumerates the set of values in String for CreateZoneBaseDetailsMigrationSourceEnum

func GetCreateZoneDetailsZoneTypeEnumStringValues

func GetCreateZoneDetailsZoneTypeEnumStringValues() []string

GetCreateZoneDetailsZoneTypeEnumStringValues Enumerates the set of values in String for CreateZoneDetailsZoneTypeEnum

func GetCreateZoneFromZoneFileScopeEnumStringValues added in v65.39.0

func GetCreateZoneFromZoneFileScopeEnumStringValues() []string

GetCreateZoneFromZoneFileScopeEnumStringValues Enumerates the set of values in String for CreateZoneFromZoneFileScopeEnum

func GetCreateZoneScopeEnumStringValues

func GetCreateZoneScopeEnumStringValues() []string

GetCreateZoneScopeEnumStringValues Enumerates the set of values in String for CreateZoneScopeEnum

func GetDeleteDomainRecordsScopeEnumStringValues

func GetDeleteDomainRecordsScopeEnumStringValues() []string

GetDeleteDomainRecordsScopeEnumStringValues Enumerates the set of values in String for DeleteDomainRecordsScopeEnum

func GetDeleteRRSetScopeEnumStringValues

func GetDeleteRRSetScopeEnumStringValues() []string

GetDeleteRRSetScopeEnumStringValues Enumerates the set of values in String for DeleteRRSetScopeEnum

func GetDeleteResolverEndpointScopeEnumStringValues

func GetDeleteResolverEndpointScopeEnumStringValues() []string

GetDeleteResolverEndpointScopeEnumStringValues Enumerates the set of values in String for DeleteResolverEndpointScopeEnum

func GetDeleteSteeringPolicyAttachmentScopeEnumStringValues

func GetDeleteSteeringPolicyAttachmentScopeEnumStringValues() []string

GetDeleteSteeringPolicyAttachmentScopeEnumStringValues Enumerates the set of values in String for DeleteSteeringPolicyAttachmentScopeEnum

func GetDeleteSteeringPolicyScopeEnumStringValues

func GetDeleteSteeringPolicyScopeEnumStringValues() []string

GetDeleteSteeringPolicyScopeEnumStringValues Enumerates the set of values in String for DeleteSteeringPolicyScopeEnum

func GetDeleteTsigKeyScopeEnumStringValues

func GetDeleteTsigKeyScopeEnumStringValues() []string

GetDeleteTsigKeyScopeEnumStringValues Enumerates the set of values in String for DeleteTsigKeyScopeEnum

func GetDeleteViewScopeEnumStringValues

func GetDeleteViewScopeEnumStringValues() []string

GetDeleteViewScopeEnumStringValues Enumerates the set of values in String for DeleteViewScopeEnum

func GetDeleteZoneScopeEnumStringValues

func GetDeleteZoneScopeEnumStringValues() []string

GetDeleteZoneScopeEnumStringValues Enumerates the set of values in String for DeleteZoneScopeEnum

func GetDnssecDigestTypeEnumStringValues added in v65.76.0

func GetDnssecDigestTypeEnumStringValues() []string

GetDnssecDigestTypeEnumStringValues Enumerates the set of values in String for DnssecDigestTypeEnum

func GetDnssecSigningAlgorithmEnumStringValues added in v65.76.0

func GetDnssecSigningAlgorithmEnumStringValues() []string

GetDnssecSigningAlgorithmEnumStringValues Enumerates the set of values in String for DnssecSigningAlgorithmEnum

func GetGetDomainRecordsScopeEnumStringValues

func GetGetDomainRecordsScopeEnumStringValues() []string

GetGetDomainRecordsScopeEnumStringValues Enumerates the set of values in String for GetDomainRecordsScopeEnum

func GetGetDomainRecordsSortByEnumStringValues

func GetGetDomainRecordsSortByEnumStringValues() []string

GetGetDomainRecordsSortByEnumStringValues Enumerates the set of values in String for GetDomainRecordsSortByEnum

func GetGetDomainRecordsSortOrderEnumStringValues

func GetGetDomainRecordsSortOrderEnumStringValues() []string

GetGetDomainRecordsSortOrderEnumStringValues Enumerates the set of values in String for GetDomainRecordsSortOrderEnum

func GetGetRRSetScopeEnumStringValues

func GetGetRRSetScopeEnumStringValues() []string

GetGetRRSetScopeEnumStringValues Enumerates the set of values in String for GetRRSetScopeEnum

func GetGetResolverEndpointScopeEnumStringValues

func GetGetResolverEndpointScopeEnumStringValues() []string

GetGetResolverEndpointScopeEnumStringValues Enumerates the set of values in String for GetResolverEndpointScopeEnum

func GetGetResolverScopeEnumStringValues

func GetGetResolverScopeEnumStringValues() []string

GetGetResolverScopeEnumStringValues Enumerates the set of values in String for GetResolverScopeEnum

func GetGetSteeringPolicyAttachmentScopeEnumStringValues

func GetGetSteeringPolicyAttachmentScopeEnumStringValues() []string

GetGetSteeringPolicyAttachmentScopeEnumStringValues Enumerates the set of values in String for GetSteeringPolicyAttachmentScopeEnum

func GetGetSteeringPolicyScopeEnumStringValues

func GetGetSteeringPolicyScopeEnumStringValues() []string

GetGetSteeringPolicyScopeEnumStringValues Enumerates the set of values in String for GetSteeringPolicyScopeEnum

func GetGetTsigKeyScopeEnumStringValues

func GetGetTsigKeyScopeEnumStringValues() []string

GetGetTsigKeyScopeEnumStringValues Enumerates the set of values in String for GetTsigKeyScopeEnum

func GetGetViewScopeEnumStringValues

func GetGetViewScopeEnumStringValues() []string

GetGetViewScopeEnumStringValues Enumerates the set of values in String for GetViewScopeEnum

func GetGetZoneContentScopeEnumStringValues

func GetGetZoneContentScopeEnumStringValues() []string

GetGetZoneContentScopeEnumStringValues Enumerates the set of values in String for GetZoneContentScopeEnum

func GetGetZoneRecordsScopeEnumStringValues

func GetGetZoneRecordsScopeEnumStringValues() []string

GetGetZoneRecordsScopeEnumStringValues Enumerates the set of values in String for GetZoneRecordsScopeEnum

func GetGetZoneRecordsSortByEnumStringValues

func GetGetZoneRecordsSortByEnumStringValues() []string

GetGetZoneRecordsSortByEnumStringValues Enumerates the set of values in String for GetZoneRecordsSortByEnum

func GetGetZoneRecordsSortOrderEnumStringValues

func GetGetZoneRecordsSortOrderEnumStringValues() []string

GetGetZoneRecordsSortOrderEnumStringValues Enumerates the set of values in String for GetZoneRecordsSortOrderEnum

func GetGetZoneScopeEnumStringValues

func GetGetZoneScopeEnumStringValues() []string

GetGetZoneScopeEnumStringValues Enumerates the set of values in String for GetZoneScopeEnum

func GetListResolverEndpointsScopeEnumStringValues

func GetListResolverEndpointsScopeEnumStringValues() []string

GetListResolverEndpointsScopeEnumStringValues Enumerates the set of values in String for ListResolverEndpointsScopeEnum

func GetListResolverEndpointsSortByEnumStringValues

func GetListResolverEndpointsSortByEnumStringValues() []string

GetListResolverEndpointsSortByEnumStringValues Enumerates the set of values in String for ListResolverEndpointsSortByEnum

func GetListResolverEndpointsSortOrderEnumStringValues

func GetListResolverEndpointsSortOrderEnumStringValues() []string

GetListResolverEndpointsSortOrderEnumStringValues Enumerates the set of values in String for ListResolverEndpointsSortOrderEnum

func GetListResolversScopeEnumStringValues

func GetListResolversScopeEnumStringValues() []string

GetListResolversScopeEnumStringValues Enumerates the set of values in String for ListResolversScopeEnum

func GetListResolversSortByEnumStringValues

func GetListResolversSortByEnumStringValues() []string

GetListResolversSortByEnumStringValues Enumerates the set of values in String for ListResolversSortByEnum

func GetListResolversSortOrderEnumStringValues

func GetListResolversSortOrderEnumStringValues() []string

GetListResolversSortOrderEnumStringValues Enumerates the set of values in String for ListResolversSortOrderEnum

func GetListSteeringPoliciesScopeEnumStringValues

func GetListSteeringPoliciesScopeEnumStringValues() []string

GetListSteeringPoliciesScopeEnumStringValues Enumerates the set of values in String for ListSteeringPoliciesScopeEnum

func GetListSteeringPoliciesSortByEnumStringValues

func GetListSteeringPoliciesSortByEnumStringValues() []string

GetListSteeringPoliciesSortByEnumStringValues Enumerates the set of values in String for ListSteeringPoliciesSortByEnum

func GetListSteeringPoliciesSortOrderEnumStringValues

func GetListSteeringPoliciesSortOrderEnumStringValues() []string

GetListSteeringPoliciesSortOrderEnumStringValues Enumerates the set of values in String for ListSteeringPoliciesSortOrderEnum

func GetListSteeringPolicyAttachmentsScopeEnumStringValues

func GetListSteeringPolicyAttachmentsScopeEnumStringValues() []string

GetListSteeringPolicyAttachmentsScopeEnumStringValues Enumerates the set of values in String for ListSteeringPolicyAttachmentsScopeEnum

func GetListSteeringPolicyAttachmentsSortByEnumStringValues

func GetListSteeringPolicyAttachmentsSortByEnumStringValues() []string

GetListSteeringPolicyAttachmentsSortByEnumStringValues Enumerates the set of values in String for ListSteeringPolicyAttachmentsSortByEnum

func GetListSteeringPolicyAttachmentsSortOrderEnumStringValues

func GetListSteeringPolicyAttachmentsSortOrderEnumStringValues() []string

GetListSteeringPolicyAttachmentsSortOrderEnumStringValues Enumerates the set of values in String for ListSteeringPolicyAttachmentsSortOrderEnum

func GetListTsigKeysScopeEnumStringValues

func GetListTsigKeysScopeEnumStringValues() []string

GetListTsigKeysScopeEnumStringValues Enumerates the set of values in String for ListTsigKeysScopeEnum

func GetListTsigKeysSortByEnumStringValues

func GetListTsigKeysSortByEnumStringValues() []string

GetListTsigKeysSortByEnumStringValues Enumerates the set of values in String for ListTsigKeysSortByEnum

func GetListTsigKeysSortOrderEnumStringValues

func GetListTsigKeysSortOrderEnumStringValues() []string

GetListTsigKeysSortOrderEnumStringValues Enumerates the set of values in String for ListTsigKeysSortOrderEnum

func GetListViewsScopeEnumStringValues

func GetListViewsScopeEnumStringValues() []string

GetListViewsScopeEnumStringValues Enumerates the set of values in String for ListViewsScopeEnum

func GetListViewsSortByEnumStringValues

func GetListViewsSortByEnumStringValues() []string

GetListViewsSortByEnumStringValues Enumerates the set of values in String for ListViewsSortByEnum

func GetListViewsSortOrderEnumStringValues

func GetListViewsSortOrderEnumStringValues() []string

GetListViewsSortOrderEnumStringValues Enumerates the set of values in String for ListViewsSortOrderEnum

func GetListZoneTransferServersScopeEnumStringValues

func GetListZoneTransferServersScopeEnumStringValues() []string

GetListZoneTransferServersScopeEnumStringValues Enumerates the set of values in String for ListZoneTransferServersScopeEnum

func GetListZonesDnssecStateEnumStringValues added in v65.76.0

func GetListZonesDnssecStateEnumStringValues() []string

GetListZonesDnssecStateEnumStringValues Enumerates the set of values in String for ListZonesDnssecStateEnum

func GetListZonesLifecycleStateEnumStringValues

func GetListZonesLifecycleStateEnumStringValues() []string

GetListZonesLifecycleStateEnumStringValues Enumerates the set of values in String for ListZonesLifecycleStateEnum

func GetListZonesScopeEnumStringValues

func GetListZonesScopeEnumStringValues() []string

GetListZonesScopeEnumStringValues Enumerates the set of values in String for ListZonesScopeEnum

func GetListZonesSortByEnumStringValues

func GetListZonesSortByEnumStringValues() []string

GetListZonesSortByEnumStringValues Enumerates the set of values in String for ListZonesSortByEnum

func GetListZonesSortOrderEnumStringValues

func GetListZonesSortOrderEnumStringValues() []string

GetListZonesSortOrderEnumStringValues Enumerates the set of values in String for ListZonesSortOrderEnum

func GetListZonesZoneTypeEnumStringValues

func GetListZonesZoneTypeEnumStringValues() []string

GetListZonesZoneTypeEnumStringValues Enumerates the set of values in String for ListZonesZoneTypeEnum

func GetPatchDomainRecordsScopeEnumStringValues

func GetPatchDomainRecordsScopeEnumStringValues() []string

GetPatchDomainRecordsScopeEnumStringValues Enumerates the set of values in String for PatchDomainRecordsScopeEnum

func GetPatchRRSetScopeEnumStringValues

func GetPatchRRSetScopeEnumStringValues() []string

GetPatchRRSetScopeEnumStringValues Enumerates the set of values in String for PatchRRSetScopeEnum

func GetPatchZoneRecordsScopeEnumStringValues

func GetPatchZoneRecordsScopeEnumStringValues() []string

GetPatchZoneRecordsScopeEnumStringValues Enumerates the set of values in String for PatchZoneRecordsScopeEnum

func GetPromoteZoneDnssecKeyVersionScopeEnumStringValues added in v65.76.0

func GetPromoteZoneDnssecKeyVersionScopeEnumStringValues() []string

GetPromoteZoneDnssecKeyVersionScopeEnumStringValues Enumerates the set of values in String for PromoteZoneDnssecKeyVersionScopeEnum

func GetRecordOperationOperationEnumStringValues

func GetRecordOperationOperationEnumStringValues() []string

GetRecordOperationOperationEnumStringValues Enumerates the set of values in String for RecordOperationOperationEnum

func GetResolverEndpointEndpointTypeEnumStringValues

func GetResolverEndpointEndpointTypeEnumStringValues() []string

GetResolverEndpointEndpointTypeEnumStringValues Enumerates the set of values in String for ResolverEndpointEndpointTypeEnum

func GetResolverEndpointLifecycleStateEnumStringValues

func GetResolverEndpointLifecycleStateEnumStringValues() []string

GetResolverEndpointLifecycleStateEnumStringValues Enumerates the set of values in String for ResolverEndpointLifecycleStateEnum

func GetResolverEndpointSummaryEndpointTypeEnumStringValues

func GetResolverEndpointSummaryEndpointTypeEnumStringValues() []string

GetResolverEndpointSummaryEndpointTypeEnumStringValues Enumerates the set of values in String for ResolverEndpointSummaryEndpointTypeEnum

func GetResolverEndpointSummaryLifecycleStateEnumStringValues

func GetResolverEndpointSummaryLifecycleStateEnumStringValues() []string

GetResolverEndpointSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for ResolverEndpointSummaryLifecycleStateEnum

func GetResolverLifecycleStateEnumStringValues

func GetResolverLifecycleStateEnumStringValues() []string

GetResolverLifecycleStateEnumStringValues Enumerates the set of values in String for ResolverLifecycleStateEnum

func GetResolverRuleActionEnumStringValues

func GetResolverRuleActionEnumStringValues() []string

GetResolverRuleActionEnumStringValues Enumerates the set of values in String for ResolverRuleActionEnum

func GetResolverRuleDetailsActionEnumStringValues

func GetResolverRuleDetailsActionEnumStringValues() []string

GetResolverRuleDetailsActionEnumStringValues Enumerates the set of values in String for ResolverRuleDetailsActionEnum

func GetResolverSummaryLifecycleStateEnumStringValues

func GetResolverSummaryLifecycleStateEnumStringValues() []string

GetResolverSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for ResolverSummaryLifecycleStateEnum

func GetScopeEnumStringValues

func GetScopeEnumStringValues() []string

GetScopeEnumStringValues Enumerates the set of values in String for ScopeEnum

func GetSortOrderEnumStringValues

func GetSortOrderEnumStringValues() []string

GetSortOrderEnumStringValues Enumerates the set of values in String for SortOrderEnum

func GetStageZoneDnssecKeyVersionScopeEnumStringValues added in v65.76.0

func GetStageZoneDnssecKeyVersionScopeEnumStringValues() []string

GetStageZoneDnssecKeyVersionScopeEnumStringValues Enumerates the set of values in String for StageZoneDnssecKeyVersionScopeEnum

func GetSteeringPolicyAttachmentLifecycleStateEnumStringValues

func GetSteeringPolicyAttachmentLifecycleStateEnumStringValues() []string

GetSteeringPolicyAttachmentLifecycleStateEnumStringValues Enumerates the set of values in String for SteeringPolicyAttachmentLifecycleStateEnum

func GetSteeringPolicyAttachmentSummaryLifecycleStateEnumStringValues

func GetSteeringPolicyAttachmentSummaryLifecycleStateEnumStringValues() []string

GetSteeringPolicyAttachmentSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for SteeringPolicyAttachmentSummaryLifecycleStateEnum

func GetSteeringPolicyLifecycleStateEnumStringValues

func GetSteeringPolicyLifecycleStateEnumStringValues() []string

GetSteeringPolicyLifecycleStateEnumStringValues Enumerates the set of values in String for SteeringPolicyLifecycleStateEnum

func GetSteeringPolicyRuleRuleTypeEnumStringValues

func GetSteeringPolicyRuleRuleTypeEnumStringValues() []string

GetSteeringPolicyRuleRuleTypeEnumStringValues Enumerates the set of values in String for SteeringPolicyRuleRuleTypeEnum

func GetSteeringPolicySummaryLifecycleStateEnumStringValues

func GetSteeringPolicySummaryLifecycleStateEnumStringValues() []string

GetSteeringPolicySummaryLifecycleStateEnumStringValues Enumerates the set of values in String for SteeringPolicySummaryLifecycleStateEnum

func GetSteeringPolicySummaryTemplateEnumStringValues

func GetSteeringPolicySummaryTemplateEnumStringValues() []string

GetSteeringPolicySummaryTemplateEnumStringValues Enumerates the set of values in String for SteeringPolicySummaryTemplateEnum

func GetSteeringPolicyTemplateEnumStringValues

func GetSteeringPolicyTemplateEnumStringValues() []string

GetSteeringPolicyTemplateEnumStringValues Enumerates the set of values in String for SteeringPolicyTemplateEnum

func GetTsigKeyLifecycleStateEnumStringValues

func GetTsigKeyLifecycleStateEnumStringValues() []string

GetTsigKeyLifecycleStateEnumStringValues Enumerates the set of values in String for TsigKeyLifecycleStateEnum

func GetTsigKeySummaryLifecycleStateEnumStringValues

func GetTsigKeySummaryLifecycleStateEnumStringValues() []string

GetTsigKeySummaryLifecycleStateEnumStringValues Enumerates the set of values in String for TsigKeySummaryLifecycleStateEnum

func GetUpdateDomainRecordsScopeEnumStringValues

func GetUpdateDomainRecordsScopeEnumStringValues() []string

GetUpdateDomainRecordsScopeEnumStringValues Enumerates the set of values in String for UpdateDomainRecordsScopeEnum

func GetUpdateRRSetScopeEnumStringValues

func GetUpdateRRSetScopeEnumStringValues() []string

GetUpdateRRSetScopeEnumStringValues Enumerates the set of values in String for UpdateRRSetScopeEnum

func GetUpdateResolverEndpointDetailsEndpointTypeEnumStringValues

func GetUpdateResolverEndpointDetailsEndpointTypeEnumStringValues() []string

GetUpdateResolverEndpointDetailsEndpointTypeEnumStringValues Enumerates the set of values in String for UpdateResolverEndpointDetailsEndpointTypeEnum

func GetUpdateResolverEndpointScopeEnumStringValues

func GetUpdateResolverEndpointScopeEnumStringValues() []string

GetUpdateResolverEndpointScopeEnumStringValues Enumerates the set of values in String for UpdateResolverEndpointScopeEnum

func GetUpdateResolverScopeEnumStringValues

func GetUpdateResolverScopeEnumStringValues() []string

GetUpdateResolverScopeEnumStringValues Enumerates the set of values in String for UpdateResolverScopeEnum

func GetUpdateSteeringPolicyAttachmentScopeEnumStringValues

func GetUpdateSteeringPolicyAttachmentScopeEnumStringValues() []string

GetUpdateSteeringPolicyAttachmentScopeEnumStringValues Enumerates the set of values in String for UpdateSteeringPolicyAttachmentScopeEnum

func GetUpdateSteeringPolicyDetailsTemplateEnumStringValues

func GetUpdateSteeringPolicyDetailsTemplateEnumStringValues() []string

GetUpdateSteeringPolicyDetailsTemplateEnumStringValues Enumerates the set of values in String for UpdateSteeringPolicyDetailsTemplateEnum

func GetUpdateSteeringPolicyScopeEnumStringValues

func GetUpdateSteeringPolicyScopeEnumStringValues() []string

GetUpdateSteeringPolicyScopeEnumStringValues Enumerates the set of values in String for UpdateSteeringPolicyScopeEnum

func GetUpdateTsigKeyScopeEnumStringValues

func GetUpdateTsigKeyScopeEnumStringValues() []string

GetUpdateTsigKeyScopeEnumStringValues Enumerates the set of values in String for UpdateTsigKeyScopeEnum

func GetUpdateViewScopeEnumStringValues

func GetUpdateViewScopeEnumStringValues() []string

GetUpdateViewScopeEnumStringValues Enumerates the set of values in String for UpdateViewScopeEnum

func GetUpdateZoneRecordsScopeEnumStringValues

func GetUpdateZoneRecordsScopeEnumStringValues() []string

GetUpdateZoneRecordsScopeEnumStringValues Enumerates the set of values in String for UpdateZoneRecordsScopeEnum

func GetUpdateZoneScopeEnumStringValues

func GetUpdateZoneScopeEnumStringValues() []string

GetUpdateZoneScopeEnumStringValues Enumerates the set of values in String for UpdateZoneScopeEnum

func GetViewLifecycleStateEnumStringValues

func GetViewLifecycleStateEnumStringValues() []string

GetViewLifecycleStateEnumStringValues Enumerates the set of values in String for ViewLifecycleStateEnum

func GetViewSummaryLifecycleStateEnumStringValues

func GetViewSummaryLifecycleStateEnumStringValues() []string

GetViewSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for ViewSummaryLifecycleStateEnum

func GetZoneDnssecStateEnumStringValues added in v65.76.0

func GetZoneDnssecStateEnumStringValues() []string

GetZoneDnssecStateEnumStringValues Enumerates the set of values in String for ZoneDnssecStateEnum

func GetZoneLifecycleStateEnumStringValues

func GetZoneLifecycleStateEnumStringValues() []string

GetZoneLifecycleStateEnumStringValues Enumerates the set of values in String for ZoneLifecycleStateEnum

func GetZoneSummaryLifecycleStateEnumStringValues

func GetZoneSummaryLifecycleStateEnumStringValues() []string

GetZoneSummaryLifecycleStateEnumStringValues Enumerates the set of values in String for ZoneSummaryLifecycleStateEnum

func GetZoneSummaryZoneTypeEnumStringValues

func GetZoneSummaryZoneTypeEnumStringValues() []string

GetZoneSummaryZoneTypeEnumStringValues Enumerates the set of values in String for ZoneSummaryZoneTypeEnum

func GetZoneZoneTypeEnumStringValues

func GetZoneZoneTypeEnumStringValues() []string

GetZoneZoneTypeEnumStringValues Enumerates the set of values in String for ZoneZoneTypeEnum

Types

type AttachedView

type AttachedView struct {

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

AttachedView Properties of an attached view.

func (AttachedView) String

func (m AttachedView) String() string

func (AttachedView) ValidateEnumValue

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

type AttachedViewDetails

type AttachedViewDetails struct {

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

AttachedViewDetails Properties for defining an attached view.

func (AttachedViewDetails) String

func (m AttachedViewDetails) String() string

func (AttachedViewDetails) ValidateEnumValue

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

type 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"`
}

ChangeResolverCompartmentDetails The representation of ChangeResolverCompartmentDetails

func (ChangeResolverCompartmentDetails) String

func (ChangeResolverCompartmentDetails) ValidateEnumValue

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

type 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
}

ChangeResolverCompartmentRequest wrapper for the ChangeResolverCompartment operation

See also

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

func (ChangeResolverCompartmentRequest) BinaryRequestBody

func (request ChangeResolverCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeResolverCompartmentRequest) HTTPRequest

func (request ChangeResolverCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeResolverCompartmentRequest) RetryPolicy

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

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

func (ChangeResolverCompartmentRequest) String

func (request ChangeResolverCompartmentRequest) String() string

func (ChangeResolverCompartmentRequest) ValidateEnumValue

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

type ChangeResolverCompartmentResponse

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"`
}

ChangeResolverCompartmentResponse wrapper for the ChangeResolverCompartment operation

func (ChangeResolverCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeResolverCompartmentResponse) String

func (response ChangeResolverCompartmentResponse) String() string

type ChangeResolverCompartmentScopeEnum

type ChangeResolverCompartmentScopeEnum string

ChangeResolverCompartmentScopeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ChangeResolverCompartmentScopeEnum

func GetChangeResolverCompartmentScopeEnumValues

func GetChangeResolverCompartmentScopeEnumValues() []ChangeResolverCompartmentScopeEnum

GetChangeResolverCompartmentScopeEnumValues Enumerates the set of values for ChangeResolverCompartmentScopeEnum

func GetMappingChangeResolverCompartmentScopeEnum

func GetMappingChangeResolverCompartmentScopeEnum(val string) (ChangeResolverCompartmentScopeEnum, bool)

GetMappingChangeResolverCompartmentScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type 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"`
}

ChangeSteeringPolicyCompartmentDetails The representation of ChangeSteeringPolicyCompartmentDetails

func (ChangeSteeringPolicyCompartmentDetails) String

func (ChangeSteeringPolicyCompartmentDetails) ValidateEnumValue

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

type 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
}

ChangeSteeringPolicyCompartmentRequest wrapper for the ChangeSteeringPolicyCompartment operation

See also

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

func (ChangeSteeringPolicyCompartmentRequest) BinaryRequestBody

func (request ChangeSteeringPolicyCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeSteeringPolicyCompartmentRequest) HTTPRequest

func (request ChangeSteeringPolicyCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeSteeringPolicyCompartmentRequest) RetryPolicy

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

func (ChangeSteeringPolicyCompartmentRequest) String

func (ChangeSteeringPolicyCompartmentRequest) ValidateEnumValue

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

type ChangeSteeringPolicyCompartmentResponse

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"`

	// 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"`
}

ChangeSteeringPolicyCompartmentResponse wrapper for the ChangeSteeringPolicyCompartment operation

func (ChangeSteeringPolicyCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeSteeringPolicyCompartmentResponse) String

type ChangeSteeringPolicyCompartmentScopeEnum

type ChangeSteeringPolicyCompartmentScopeEnum string

ChangeSteeringPolicyCompartmentScopeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ChangeSteeringPolicyCompartmentScopeEnum

func GetChangeSteeringPolicyCompartmentScopeEnumValues

func GetChangeSteeringPolicyCompartmentScopeEnumValues() []ChangeSteeringPolicyCompartmentScopeEnum

GetChangeSteeringPolicyCompartmentScopeEnumValues Enumerates the set of values for ChangeSteeringPolicyCompartmentScopeEnum

func GetMappingChangeSteeringPolicyCompartmentScopeEnum

func GetMappingChangeSteeringPolicyCompartmentScopeEnum(val string) (ChangeSteeringPolicyCompartmentScopeEnum, bool)

GetMappingChangeSteeringPolicyCompartmentScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type 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"`
}

ChangeTsigKeyCompartmentDetails The representation of ChangeTsigKeyCompartmentDetails

func (ChangeTsigKeyCompartmentDetails) String

func (ChangeTsigKeyCompartmentDetails) ValidateEnumValue

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

type 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
}

ChangeTsigKeyCompartmentRequest wrapper for the ChangeTsigKeyCompartment operation

See also

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

func (ChangeTsigKeyCompartmentRequest) BinaryRequestBody

func (request ChangeTsigKeyCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeTsigKeyCompartmentRequest) HTTPRequest

func (request ChangeTsigKeyCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeTsigKeyCompartmentRequest) RetryPolicy

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

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

func (ChangeTsigKeyCompartmentRequest) String

func (request ChangeTsigKeyCompartmentRequest) String() string

func (ChangeTsigKeyCompartmentRequest) ValidateEnumValue

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

type ChangeTsigKeyCompartmentResponse

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"`
}

ChangeTsigKeyCompartmentResponse wrapper for the ChangeTsigKeyCompartment operation

func (ChangeTsigKeyCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeTsigKeyCompartmentResponse) String

func (response ChangeTsigKeyCompartmentResponse) String() string

type ChangeTsigKeyCompartmentScopeEnum

type ChangeTsigKeyCompartmentScopeEnum string

ChangeTsigKeyCompartmentScopeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ChangeTsigKeyCompartmentScopeEnum

func GetChangeTsigKeyCompartmentScopeEnumValues

func GetChangeTsigKeyCompartmentScopeEnumValues() []ChangeTsigKeyCompartmentScopeEnum

GetChangeTsigKeyCompartmentScopeEnumValues Enumerates the set of values for ChangeTsigKeyCompartmentScopeEnum

func GetMappingChangeTsigKeyCompartmentScopeEnum

func GetMappingChangeTsigKeyCompartmentScopeEnum(val string) (ChangeTsigKeyCompartmentScopeEnum, bool)

GetMappingChangeTsigKeyCompartmentScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type 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"`
}

ChangeViewCompartmentDetails The representation of ChangeViewCompartmentDetails

func (ChangeViewCompartmentDetails) String

func (ChangeViewCompartmentDetails) ValidateEnumValue

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

type 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
}

ChangeViewCompartmentRequest wrapper for the ChangeViewCompartment operation

See also

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

func (ChangeViewCompartmentRequest) BinaryRequestBody

func (request ChangeViewCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeViewCompartmentRequest) HTTPRequest

func (request ChangeViewCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeViewCompartmentRequest) RetryPolicy

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

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

func (ChangeViewCompartmentRequest) String

func (request ChangeViewCompartmentRequest) String() string

func (ChangeViewCompartmentRequest) ValidateEnumValue

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

type ChangeViewCompartmentResponse

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"`
}

ChangeViewCompartmentResponse wrapper for the ChangeViewCompartment operation

func (ChangeViewCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeViewCompartmentResponse) String

func (response ChangeViewCompartmentResponse) String() string

type ChangeViewCompartmentScopeEnum

type ChangeViewCompartmentScopeEnum string

ChangeViewCompartmentScopeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ChangeViewCompartmentScopeEnum

func GetChangeViewCompartmentScopeEnumValues

func GetChangeViewCompartmentScopeEnumValues() []ChangeViewCompartmentScopeEnum

GetChangeViewCompartmentScopeEnumValues Enumerates the set of values for ChangeViewCompartmentScopeEnum

func GetMappingChangeViewCompartmentScopeEnum

func GetMappingChangeViewCompartmentScopeEnum(val string) (ChangeViewCompartmentScopeEnum, bool)

GetMappingChangeViewCompartmentScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type 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"`
}

ChangeZoneCompartmentDetails The representation of ChangeZoneCompartmentDetails

func (ChangeZoneCompartmentDetails) String

func (ChangeZoneCompartmentDetails) ValidateEnumValue

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

type 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
}

ChangeZoneCompartmentRequest wrapper for the ChangeZoneCompartment operation

See also

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

func (ChangeZoneCompartmentRequest) BinaryRequestBody

func (request ChangeZoneCompartmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ChangeZoneCompartmentRequest) HTTPRequest

func (request ChangeZoneCompartmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ChangeZoneCompartmentRequest) RetryPolicy

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

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

func (ChangeZoneCompartmentRequest) String

func (request ChangeZoneCompartmentRequest) String() string

func (ChangeZoneCompartmentRequest) ValidateEnumValue

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

type ChangeZoneCompartmentResponse

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"`
}

ChangeZoneCompartmentResponse wrapper for the ChangeZoneCompartment operation

func (ChangeZoneCompartmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ChangeZoneCompartmentResponse) String

func (response ChangeZoneCompartmentResponse) String() string

type ChangeZoneCompartmentScopeEnum

type ChangeZoneCompartmentScopeEnum string

ChangeZoneCompartmentScopeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ChangeZoneCompartmentScopeEnum

func GetChangeZoneCompartmentScopeEnumValues

func GetChangeZoneCompartmentScopeEnumValues() []ChangeZoneCompartmentScopeEnum

GetChangeZoneCompartmentScopeEnumValues Enumerates the set of values for ChangeZoneCompartmentScopeEnum

func GetMappingChangeZoneCompartmentScopeEnum

func GetMappingChangeZoneCompartmentScopeEnum(val string) (ChangeZoneCompartmentScopeEnum, bool)

GetMappingChangeZoneCompartmentScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateMigratedDynectZoneDetails

type CreateMigratedDynectZoneDetails struct {

	// The name of the zone.
	// Global zone names must be unique across all other zones within the realm. Private zone names must be unique
	// within their view.
	// Unicode characters will be converted into punycode, see RFC 3492 (https://tools.ietf.org/html/rfc3492).
	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"`
}

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.

func (CreateMigratedDynectZoneDetails) GetCompartmentId

func (m CreateMigratedDynectZoneDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (CreateMigratedDynectZoneDetails) GetDefinedTags

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

GetDefinedTags returns DefinedTags

func (CreateMigratedDynectZoneDetails) GetFreeformTags

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

GetFreeformTags returns FreeformTags

func (CreateMigratedDynectZoneDetails) GetName

GetName returns Name

func (CreateMigratedDynectZoneDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CreateMigratedDynectZoneDetails) String

func (CreateMigratedDynectZoneDetails) ValidateEnumValue

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

type CreateResolverEndpointDetails

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
}

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 CreateResolverEndpointDetailsEndpointTypeEnum

type CreateResolverEndpointDetailsEndpointTypeEnum string

CreateResolverEndpointDetailsEndpointTypeEnum Enum with underlying type: string

const (
	CreateResolverEndpointDetailsEndpointTypeVnic CreateResolverEndpointDetailsEndpointTypeEnum = "VNIC"
)

Set of constants representing the allowable values for CreateResolverEndpointDetailsEndpointTypeEnum

func GetCreateResolverEndpointDetailsEndpointTypeEnumValues

func GetCreateResolverEndpointDetailsEndpointTypeEnumValues() []CreateResolverEndpointDetailsEndpointTypeEnum

GetCreateResolverEndpointDetailsEndpointTypeEnumValues Enumerates the set of values for CreateResolverEndpointDetailsEndpointTypeEnum

func GetMappingCreateResolverEndpointDetailsEndpointTypeEnum

func GetMappingCreateResolverEndpointDetailsEndpointTypeEnum(val string) (CreateResolverEndpointDetailsEndpointTypeEnum, bool)

GetMappingCreateResolverEndpointDetailsEndpointTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type 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
}

CreateResolverEndpointRequest wrapper for the CreateResolverEndpoint operation

See also

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

func (CreateResolverEndpointRequest) BinaryRequestBody

func (request CreateResolverEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateResolverEndpointRequest) HTTPRequest

func (request CreateResolverEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateResolverEndpointRequest) RetryPolicy

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

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

func (CreateResolverEndpointRequest) String

func (request CreateResolverEndpointRequest) String() string

func (CreateResolverEndpointRequest) ValidateEnumValue

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

type CreateResolverEndpointResponse

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"`
}

CreateResolverEndpointResponse wrapper for the CreateResolverEndpoint operation

func (CreateResolverEndpointResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateResolverEndpointResponse) String

func (response CreateResolverEndpointResponse) String() string

type CreateResolverEndpointScopeEnum

type CreateResolverEndpointScopeEnum string

CreateResolverEndpointScopeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for CreateResolverEndpointScopeEnum

func GetCreateResolverEndpointScopeEnumValues

func GetCreateResolverEndpointScopeEnumValues() []CreateResolverEndpointScopeEnum

GetCreateResolverEndpointScopeEnumValues Enumerates the set of values for CreateResolverEndpointScopeEnum

func GetMappingCreateResolverEndpointScopeEnum

func GetMappingCreateResolverEndpointScopeEnum(val string) (CreateResolverEndpointScopeEnum, bool)

GetMappingCreateResolverEndpointScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateResolverVnicEndpointDetails

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"`
}

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.

func (CreateResolverVnicEndpointDetails) GetForwardingAddress

func (m CreateResolverVnicEndpointDetails) GetForwardingAddress() *string

GetForwardingAddress returns ForwardingAddress

func (CreateResolverVnicEndpointDetails) GetIsForwarding

func (m CreateResolverVnicEndpointDetails) GetIsForwarding() *bool

GetIsForwarding returns IsForwarding

func (CreateResolverVnicEndpointDetails) GetIsListening

func (m CreateResolverVnicEndpointDetails) GetIsListening() *bool

GetIsListening returns IsListening

func (CreateResolverVnicEndpointDetails) GetListeningAddress

func (m CreateResolverVnicEndpointDetails) GetListeningAddress() *string

GetListeningAddress returns ListeningAddress

func (CreateResolverVnicEndpointDetails) GetName

GetName returns Name

func (CreateResolverVnicEndpointDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CreateResolverVnicEndpointDetails) String

func (CreateResolverVnicEndpointDetails) ValidateEnumValue

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

type CreateSteeringPolicyAttachmentDetails

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"`
}

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.

func (CreateSteeringPolicyAttachmentDetails) String

func (CreateSteeringPolicyAttachmentDetails) ValidateEnumValue

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

type 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
}

CreateSteeringPolicyAttachmentRequest wrapper for the CreateSteeringPolicyAttachment operation

See also

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

func (CreateSteeringPolicyAttachmentRequest) BinaryRequestBody

func (request CreateSteeringPolicyAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateSteeringPolicyAttachmentRequest) HTTPRequest

func (request CreateSteeringPolicyAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateSteeringPolicyAttachmentRequest) RetryPolicy

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

func (CreateSteeringPolicyAttachmentRequest) String

func (CreateSteeringPolicyAttachmentRequest) ValidateEnumValue

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

type CreateSteeringPolicyAttachmentResponse

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"`

	// 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"`
}

CreateSteeringPolicyAttachmentResponse wrapper for the CreateSteeringPolicyAttachment operation

func (CreateSteeringPolicyAttachmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateSteeringPolicyAttachmentResponse) String

type CreateSteeringPolicyAttachmentScopeEnum

type CreateSteeringPolicyAttachmentScopeEnum string

CreateSteeringPolicyAttachmentScopeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for CreateSteeringPolicyAttachmentScopeEnum

func GetCreateSteeringPolicyAttachmentScopeEnumValues

func GetCreateSteeringPolicyAttachmentScopeEnumValues() []CreateSteeringPolicyAttachmentScopeEnum

GetCreateSteeringPolicyAttachmentScopeEnumValues Enumerates the set of values for CreateSteeringPolicyAttachmentScopeEnum

func GetMappingCreateSteeringPolicyAttachmentScopeEnum

func GetMappingCreateSteeringPolicyAttachmentScopeEnum(val string) (CreateSteeringPolicyAttachmentScopeEnum, bool)

GetMappingCreateSteeringPolicyAttachmentScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateSteeringPolicyDetails

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"`
}

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.

func (CreateSteeringPolicyDetails) String

func (*CreateSteeringPolicyDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (CreateSteeringPolicyDetails) ValidateEnumValue

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

type CreateSteeringPolicyDetailsTemplateEnum

type CreateSteeringPolicyDetailsTemplateEnum string

CreateSteeringPolicyDetailsTemplateEnum Enum with underlying type: string

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"
)

Set of constants representing the allowable values for CreateSteeringPolicyDetailsTemplateEnum

func GetCreateSteeringPolicyDetailsTemplateEnumValues

func GetCreateSteeringPolicyDetailsTemplateEnumValues() []CreateSteeringPolicyDetailsTemplateEnum

GetCreateSteeringPolicyDetailsTemplateEnumValues Enumerates the set of values for CreateSteeringPolicyDetailsTemplateEnum

func GetMappingCreateSteeringPolicyDetailsTemplateEnum

func GetMappingCreateSteeringPolicyDetailsTemplateEnum(val string) (CreateSteeringPolicyDetailsTemplateEnum, bool)

GetMappingCreateSteeringPolicyDetailsTemplateEnum performs case Insensitive comparison on enum value and return the desired enum

type 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
}

CreateSteeringPolicyRequest wrapper for the CreateSteeringPolicy operation

See also

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

func (CreateSteeringPolicyRequest) BinaryRequestBody

func (request CreateSteeringPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateSteeringPolicyRequest) HTTPRequest

func (request CreateSteeringPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateSteeringPolicyRequest) RetryPolicy

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

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

func (CreateSteeringPolicyRequest) String

func (request CreateSteeringPolicyRequest) String() string

func (CreateSteeringPolicyRequest) ValidateEnumValue

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

type CreateSteeringPolicyResponse

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"`

	// 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"`
}

CreateSteeringPolicyResponse wrapper for the CreateSteeringPolicy operation

func (CreateSteeringPolicyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateSteeringPolicyResponse) String

func (response CreateSteeringPolicyResponse) String() string

type CreateSteeringPolicyScopeEnum

type CreateSteeringPolicyScopeEnum string

CreateSteeringPolicyScopeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for CreateSteeringPolicyScopeEnum

func GetCreateSteeringPolicyScopeEnumValues

func GetCreateSteeringPolicyScopeEnumValues() []CreateSteeringPolicyScopeEnum

GetCreateSteeringPolicyScopeEnumValues Enumerates the set of values for CreateSteeringPolicyScopeEnum

func GetMappingCreateSteeringPolicyScopeEnum

func GetMappingCreateSteeringPolicyScopeEnum(val string) (CreateSteeringPolicyScopeEnum, bool)

GetMappingCreateSteeringPolicyScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateTsigKeyDetails

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"`
}

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.

func (CreateTsigKeyDetails) String

func (m CreateTsigKeyDetails) String() string

func (CreateTsigKeyDetails) ValidateEnumValue

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

type 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
}

CreateTsigKeyRequest wrapper for the CreateTsigKey operation

See also

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

func (CreateTsigKeyRequest) BinaryRequestBody

func (request CreateTsigKeyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateTsigKeyRequest) HTTPRequest

func (request CreateTsigKeyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateTsigKeyRequest) RetryPolicy

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

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

func (CreateTsigKeyRequest) String

func (request CreateTsigKeyRequest) String() string

func (CreateTsigKeyRequest) ValidateEnumValue

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

type CreateTsigKeyResponse

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"`
}

CreateTsigKeyResponse wrapper for the CreateTsigKey operation

func (CreateTsigKeyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateTsigKeyResponse) String

func (response CreateTsigKeyResponse) String() string

type CreateTsigKeyScopeEnum

type CreateTsigKeyScopeEnum string

CreateTsigKeyScopeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for CreateTsigKeyScopeEnum

func GetCreateTsigKeyScopeEnumValues

func GetCreateTsigKeyScopeEnumValues() []CreateTsigKeyScopeEnum

GetCreateTsigKeyScopeEnumValues Enumerates the set of values for CreateTsigKeyScopeEnum

func GetMappingCreateTsigKeyScopeEnum

func GetMappingCreateTsigKeyScopeEnum(val string) (CreateTsigKeyScopeEnum, bool)

GetMappingCreateTsigKeyScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateViewDetails

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"`
}

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.

func (CreateViewDetails) String

func (m CreateViewDetails) String() string

func (CreateViewDetails) ValidateEnumValue

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

type 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
}

CreateViewRequest wrapper for the CreateView operation

See also

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

func (CreateViewRequest) BinaryRequestBody

func (request CreateViewRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateViewRequest) HTTPRequest

func (request CreateViewRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateViewRequest) RetryPolicy

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

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

func (CreateViewRequest) String

func (request CreateViewRequest) String() string

func (CreateViewRequest) ValidateEnumValue

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

type CreateViewResponse

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"`
}

CreateViewResponse wrapper for the CreateView operation

func (CreateViewResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateViewResponse) String

func (response CreateViewResponse) String() string

type CreateViewScopeEnum

type CreateViewScopeEnum string

CreateViewScopeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for CreateViewScopeEnum

func GetCreateViewScopeEnumValues

func GetCreateViewScopeEnumValues() []CreateViewScopeEnum

GetCreateViewScopeEnumValues Enumerates the set of values for CreateViewScopeEnum

func GetMappingCreateViewScopeEnum

func GetMappingCreateViewScopeEnum(val string) (CreateViewScopeEnum, bool)

GetMappingCreateViewScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateZoneBaseDetails

type CreateZoneBaseDetails interface {

	// The name of the zone.
	// Global zone names must be unique across all other zones within the realm. Private zone names must be unique
	// within their view.
	// Unicode characters will be converted into punycode, see RFC 3492 (https://tools.ietf.org/html/rfc3492).
	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{}
}

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 CreateZoneBaseDetailsMigrationSourceEnum

type CreateZoneBaseDetailsMigrationSourceEnum string

CreateZoneBaseDetailsMigrationSourceEnum Enum with underlying type: string

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

Set of constants representing the allowable values for CreateZoneBaseDetailsMigrationSourceEnum

func GetCreateZoneBaseDetailsMigrationSourceEnumValues

func GetCreateZoneBaseDetailsMigrationSourceEnumValues() []CreateZoneBaseDetailsMigrationSourceEnum

GetCreateZoneBaseDetailsMigrationSourceEnumValues Enumerates the set of values for CreateZoneBaseDetailsMigrationSourceEnum

func GetMappingCreateZoneBaseDetailsMigrationSourceEnum

func GetMappingCreateZoneBaseDetailsMigrationSourceEnum(val string) (CreateZoneBaseDetailsMigrationSourceEnum, bool)

GetMappingCreateZoneBaseDetailsMigrationSourceEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateZoneDetails

type CreateZoneDetails struct {

	// The name of the zone.
	// Global zone names must be unique across all other zones within the realm. Private zone names must be unique
	// within their view.
	// Unicode characters will be converted into punycode, see RFC 3492 (https://tools.ietf.org/html/rfc3492).
	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"`

	// The state of DNSSEC on the zone.
	// For DNSSEC to function, every parent zone in the DNS tree up to the top-level domain (or an independent
	// trust anchor) must also have DNSSEC correctly set up.
	// After enabling DNSSEC, you must add a DS record to the zone's parent zone containing the
	// `KskDnssecKeyVersion` data. You can find the DS data in the `dsData` attribute of the `KskDnssecKeyVersion`.
	// Then, use the `PromoteZoneDnssecKeyVersion` operation to promote the `KskDnssecKeyVersion`.
	// New `KskDnssecKeyVersion`s are generated annually, a week before the existing `KskDnssecKeyVersion`'s expiration.
	// To rollover a `KskDnssecKeyVersion`, you must replace the parent zone's DS record containing the old
	// `KskDnssecKeyVersion` data with the data from the new `KskDnssecKeyVersion`.
	// To remove the old DS record without causing service disruption, wait until the old DS record's TTL has
	// expired, and the new DS record has propagated. After the DS replacement has been completed, then the
	// `PromoteZoneDnssecKeyVersion` operation must be called.
	// Metrics are emitted in the `oci_dns` namespace daily for each `KskDnssecKeyVersion` indicating how many
	// days are left until expiration.
	// We recommend that you set up alarms and notifications for KskDnssecKeyVersion expiration so that the
	// necessary parent zone updates can be made and the `PromoteZoneDnssecKeyVersion` operation can be called.
	// Enabling DNSSEC results in additional records in DNS responses which increases their size and can
	// cause higher response latency.
	// For more information, see DNSSEC (https://docs.cloud.oracle.com/iaas/Content/DNS/Concepts/dnssec.htm).
	DnssecState ZoneDnssecStateEnum `mandatory:"false" json:"dnssecState,omitempty"`
}

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.

func (CreateZoneDetails) GetCompartmentId

func (m CreateZoneDetails) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (CreateZoneDetails) GetDefinedTags

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

GetDefinedTags returns DefinedTags

func (CreateZoneDetails) GetFreeformTags

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

GetFreeformTags returns FreeformTags

func (CreateZoneDetails) GetName

func (m CreateZoneDetails) GetName() *string

GetName returns Name

func (CreateZoneDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (CreateZoneDetails) String

func (m CreateZoneDetails) String() string

func (CreateZoneDetails) ValidateEnumValue

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

type CreateZoneDetailsZoneTypeEnum

type CreateZoneDetailsZoneTypeEnum string

CreateZoneDetailsZoneTypeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for CreateZoneDetailsZoneTypeEnum

func GetCreateZoneDetailsZoneTypeEnumValues

func GetCreateZoneDetailsZoneTypeEnumValues() []CreateZoneDetailsZoneTypeEnum

GetCreateZoneDetailsZoneTypeEnumValues Enumerates the set of values for CreateZoneDetailsZoneTypeEnum

func GetMappingCreateZoneDetailsZoneTypeEnum

func GetMappingCreateZoneDetailsZoneTypeEnum(val string) (CreateZoneDetailsZoneTypeEnum, bool)

GetMappingCreateZoneDetailsZoneTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type CreateZoneFromZoneFileRequest added in v65.39.0

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
}

CreateZoneFromZoneFileRequest wrapper for the CreateZoneFromZoneFile operation

See also

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

func (CreateZoneFromZoneFileRequest) BinaryRequestBody added in v65.39.0

func (request CreateZoneFromZoneFileRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateZoneFromZoneFileRequest) HTTPRequest added in v65.39.0

func (request CreateZoneFromZoneFileRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateZoneFromZoneFileRequest) RetryPolicy added in v65.39.0

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

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

func (CreateZoneFromZoneFileRequest) String added in v65.39.0

func (request CreateZoneFromZoneFileRequest) String() string

func (CreateZoneFromZoneFileRequest) ValidateEnumValue added in v65.39.0

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

type CreateZoneFromZoneFileResponse added in v65.39.0

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"`
}

CreateZoneFromZoneFileResponse wrapper for the CreateZoneFromZoneFile operation

func (CreateZoneFromZoneFileResponse) HTTPResponse added in v65.39.0

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

HTTPResponse implements the OCIResponse interface

func (CreateZoneFromZoneFileResponse) String added in v65.39.0

func (response CreateZoneFromZoneFileResponse) String() string

type CreateZoneFromZoneFileScopeEnum added in v65.39.0

type CreateZoneFromZoneFileScopeEnum string

CreateZoneFromZoneFileScopeEnum Enum with underlying type: string

const (
	CreateZoneFromZoneFileScopeGlobal  CreateZoneFromZoneFileScopeEnum = "GLOBAL"
	CreateZoneFromZoneFileScopePrivate CreateZoneFromZoneFileScopeEnum = "PRIVATE"
)

Set of constants representing the allowable values for CreateZoneFromZoneFileScopeEnum

func GetCreateZoneFromZoneFileScopeEnumValues added in v65.39.0

func GetCreateZoneFromZoneFileScopeEnumValues() []CreateZoneFromZoneFileScopeEnum

GetCreateZoneFromZoneFileScopeEnumValues Enumerates the set of values for CreateZoneFromZoneFileScopeEnum

func GetMappingCreateZoneFromZoneFileScopeEnum added in v65.39.0

func GetMappingCreateZoneFromZoneFileScopeEnum(val string) (CreateZoneFromZoneFileScopeEnum, bool)

GetMappingCreateZoneFromZoneFileScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type 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
}

CreateZoneRequest wrapper for the CreateZone operation

See also

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

func (CreateZoneRequest) BinaryRequestBody

func (request CreateZoneRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (CreateZoneRequest) HTTPRequest

func (request CreateZoneRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (CreateZoneRequest) RetryPolicy

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

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

func (CreateZoneRequest) String

func (request CreateZoneRequest) String() string

func (CreateZoneRequest) ValidateEnumValue

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

type CreateZoneResponse

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"`
}

CreateZoneResponse wrapper for the CreateZone operation

func (CreateZoneResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (CreateZoneResponse) String

func (response CreateZoneResponse) String() string

type CreateZoneScopeEnum

type CreateZoneScopeEnum string

CreateZoneScopeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for CreateZoneScopeEnum

func GetCreateZoneScopeEnumValues

func GetCreateZoneScopeEnumValues() []CreateZoneScopeEnum

GetCreateZoneScopeEnumValues Enumerates the set of values for CreateZoneScopeEnum

func GetMappingCreateZoneScopeEnum

func GetMappingCreateZoneScopeEnum(val string) (CreateZoneScopeEnum, bool)

GetMappingCreateZoneScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type 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 zone is associated with. Required when accessing a private zone by name.
	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
}

DeleteDomainRecordsRequest wrapper for the DeleteDomainRecords operation

See also

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

func (DeleteDomainRecordsRequest) BinaryRequestBody

func (request DeleteDomainRecordsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteDomainRecordsRequest) HTTPRequest

func (request DeleteDomainRecordsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteDomainRecordsRequest) RetryPolicy

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

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

func (DeleteDomainRecordsRequest) String

func (request DeleteDomainRecordsRequest) String() string

func (DeleteDomainRecordsRequest) ValidateEnumValue

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

type DeleteDomainRecordsResponse

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"`
}

DeleteDomainRecordsResponse wrapper for the DeleteDomainRecords operation

func (DeleteDomainRecordsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteDomainRecordsResponse) String

func (response DeleteDomainRecordsResponse) String() string

type DeleteDomainRecordsScopeEnum

type DeleteDomainRecordsScopeEnum string

DeleteDomainRecordsScopeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for DeleteDomainRecordsScopeEnum

func GetDeleteDomainRecordsScopeEnumValues

func GetDeleteDomainRecordsScopeEnumValues() []DeleteDomainRecordsScopeEnum

GetDeleteDomainRecordsScopeEnumValues Enumerates the set of values for DeleteDomainRecordsScopeEnum

func GetMappingDeleteDomainRecordsScopeEnum

func GetMappingDeleteDomainRecordsScopeEnum(val string) (DeleteDomainRecordsScopeEnum, bool)

GetMappingDeleteDomainRecordsScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type 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 zone is associated with. Required when accessing a private zone by name.
	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
}

DeleteRRSetRequest wrapper for the DeleteRRSet operation

See also

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

func (DeleteRRSetRequest) BinaryRequestBody

func (request DeleteRRSetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteRRSetRequest) HTTPRequest

func (request DeleteRRSetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteRRSetRequest) RetryPolicy

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

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

func (DeleteRRSetRequest) String

func (request DeleteRRSetRequest) String() string

func (DeleteRRSetRequest) ValidateEnumValue

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

type DeleteRRSetResponse

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"`
}

DeleteRRSetResponse wrapper for the DeleteRRSet operation

func (DeleteRRSetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteRRSetResponse) String

func (response DeleteRRSetResponse) String() string

type DeleteRRSetScopeEnum

type DeleteRRSetScopeEnum string

DeleteRRSetScopeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for DeleteRRSetScopeEnum

func GetDeleteRRSetScopeEnumValues

func GetDeleteRRSetScopeEnumValues() []DeleteRRSetScopeEnum

GetDeleteRRSetScopeEnumValues Enumerates the set of values for DeleteRRSetScopeEnum

func GetMappingDeleteRRSetScopeEnum

func GetMappingDeleteRRSetScopeEnum(val string) (DeleteRRSetScopeEnum, bool)

GetMappingDeleteRRSetScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type 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
}

DeleteResolverEndpointRequest wrapper for the DeleteResolverEndpoint operation

See also

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

func (DeleteResolverEndpointRequest) BinaryRequestBody

func (request DeleteResolverEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteResolverEndpointRequest) HTTPRequest

func (request DeleteResolverEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteResolverEndpointRequest) RetryPolicy

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

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

func (DeleteResolverEndpointRequest) String

func (request DeleteResolverEndpointRequest) String() string

func (DeleteResolverEndpointRequest) ValidateEnumValue

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

type DeleteResolverEndpointResponse

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"`
}

DeleteResolverEndpointResponse wrapper for the DeleteResolverEndpoint operation

func (DeleteResolverEndpointResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteResolverEndpointResponse) String

func (response DeleteResolverEndpointResponse) String() string

type DeleteResolverEndpointScopeEnum

type DeleteResolverEndpointScopeEnum string

DeleteResolverEndpointScopeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for DeleteResolverEndpointScopeEnum

func GetDeleteResolverEndpointScopeEnumValues

func GetDeleteResolverEndpointScopeEnumValues() []DeleteResolverEndpointScopeEnum

GetDeleteResolverEndpointScopeEnumValues Enumerates the set of values for DeleteResolverEndpointScopeEnum

func GetMappingDeleteResolverEndpointScopeEnum

func GetMappingDeleteResolverEndpointScopeEnum(val string) (DeleteResolverEndpointScopeEnum, bool)

GetMappingDeleteResolverEndpointScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type 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
}

DeleteSteeringPolicyAttachmentRequest wrapper for the DeleteSteeringPolicyAttachment operation

See also

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

func (DeleteSteeringPolicyAttachmentRequest) BinaryRequestBody

func (request DeleteSteeringPolicyAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteSteeringPolicyAttachmentRequest) HTTPRequest

func (request DeleteSteeringPolicyAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteSteeringPolicyAttachmentRequest) RetryPolicy

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

func (DeleteSteeringPolicyAttachmentRequest) String

func (DeleteSteeringPolicyAttachmentRequest) ValidateEnumValue

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

type DeleteSteeringPolicyAttachmentResponse

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"`

	// 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"`
}

DeleteSteeringPolicyAttachmentResponse wrapper for the DeleteSteeringPolicyAttachment operation

func (DeleteSteeringPolicyAttachmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteSteeringPolicyAttachmentResponse) String

type DeleteSteeringPolicyAttachmentScopeEnum

type DeleteSteeringPolicyAttachmentScopeEnum string

DeleteSteeringPolicyAttachmentScopeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for DeleteSteeringPolicyAttachmentScopeEnum

func GetDeleteSteeringPolicyAttachmentScopeEnumValues

func GetDeleteSteeringPolicyAttachmentScopeEnumValues() []DeleteSteeringPolicyAttachmentScopeEnum

GetDeleteSteeringPolicyAttachmentScopeEnumValues Enumerates the set of values for DeleteSteeringPolicyAttachmentScopeEnum

func GetMappingDeleteSteeringPolicyAttachmentScopeEnum

func GetMappingDeleteSteeringPolicyAttachmentScopeEnum(val string) (DeleteSteeringPolicyAttachmentScopeEnum, bool)

GetMappingDeleteSteeringPolicyAttachmentScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type 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
}

DeleteSteeringPolicyRequest wrapper for the DeleteSteeringPolicy operation

See also

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

func (DeleteSteeringPolicyRequest) BinaryRequestBody

func (request DeleteSteeringPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteSteeringPolicyRequest) HTTPRequest

func (request DeleteSteeringPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteSteeringPolicyRequest) RetryPolicy

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

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

func (DeleteSteeringPolicyRequest) String

func (request DeleteSteeringPolicyRequest) String() string

func (DeleteSteeringPolicyRequest) ValidateEnumValue

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

type DeleteSteeringPolicyResponse

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"`

	// 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"`
}

DeleteSteeringPolicyResponse wrapper for the DeleteSteeringPolicy operation

func (DeleteSteeringPolicyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteSteeringPolicyResponse) String

func (response DeleteSteeringPolicyResponse) String() string

type DeleteSteeringPolicyScopeEnum

type DeleteSteeringPolicyScopeEnum string

DeleteSteeringPolicyScopeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for DeleteSteeringPolicyScopeEnum

func GetDeleteSteeringPolicyScopeEnumValues

func GetDeleteSteeringPolicyScopeEnumValues() []DeleteSteeringPolicyScopeEnum

GetDeleteSteeringPolicyScopeEnumValues Enumerates the set of values for DeleteSteeringPolicyScopeEnum

func GetMappingDeleteSteeringPolicyScopeEnum

func GetMappingDeleteSteeringPolicyScopeEnum(val string) (DeleteSteeringPolicyScopeEnum, bool)

GetMappingDeleteSteeringPolicyScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type 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
}

DeleteTsigKeyRequest wrapper for the DeleteTsigKey operation

See also

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

func (DeleteTsigKeyRequest) BinaryRequestBody

func (request DeleteTsigKeyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteTsigKeyRequest) HTTPRequest

func (request DeleteTsigKeyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteTsigKeyRequest) RetryPolicy

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

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

func (DeleteTsigKeyRequest) String

func (request DeleteTsigKeyRequest) String() string

func (DeleteTsigKeyRequest) ValidateEnumValue

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

type DeleteTsigKeyResponse

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"`
}

DeleteTsigKeyResponse wrapper for the DeleteTsigKey operation

func (DeleteTsigKeyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteTsigKeyResponse) String

func (response DeleteTsigKeyResponse) String() string

type DeleteTsigKeyScopeEnum

type DeleteTsigKeyScopeEnum string

DeleteTsigKeyScopeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for DeleteTsigKeyScopeEnum

func GetDeleteTsigKeyScopeEnumValues

func GetDeleteTsigKeyScopeEnumValues() []DeleteTsigKeyScopeEnum

GetDeleteTsigKeyScopeEnumValues Enumerates the set of values for DeleteTsigKeyScopeEnum

func GetMappingDeleteTsigKeyScopeEnum

func GetMappingDeleteTsigKeyScopeEnum(val string) (DeleteTsigKeyScopeEnum, bool)

GetMappingDeleteTsigKeyScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type 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
}

DeleteViewRequest wrapper for the DeleteView operation

See also

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

func (DeleteViewRequest) BinaryRequestBody

func (request DeleteViewRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteViewRequest) HTTPRequest

func (request DeleteViewRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteViewRequest) RetryPolicy

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

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

func (DeleteViewRequest) String

func (request DeleteViewRequest) String() string

func (DeleteViewRequest) ValidateEnumValue

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

type DeleteViewResponse

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"`
}

DeleteViewResponse wrapper for the DeleteView operation

func (DeleteViewResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteViewResponse) String

func (response DeleteViewResponse) String() string

type DeleteViewScopeEnum

type DeleteViewScopeEnum string

DeleteViewScopeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for DeleteViewScopeEnum

func GetDeleteViewScopeEnumValues

func GetDeleteViewScopeEnumValues() []DeleteViewScopeEnum

GetDeleteViewScopeEnumValues Enumerates the set of values for DeleteViewScopeEnum

func GetMappingDeleteViewScopeEnum

func GetMappingDeleteViewScopeEnum(val string) (DeleteViewScopeEnum, bool)

GetMappingDeleteViewScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type 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 zone is associated with. Required when accessing a private zone by name.
	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
}

DeleteZoneRequest wrapper for the DeleteZone operation

See also

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

func (DeleteZoneRequest) BinaryRequestBody

func (request DeleteZoneRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (DeleteZoneRequest) HTTPRequest

func (request DeleteZoneRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (DeleteZoneRequest) RetryPolicy

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

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

func (DeleteZoneRequest) String

func (request DeleteZoneRequest) String() string

func (DeleteZoneRequest) ValidateEnumValue

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

type DeleteZoneResponse

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"`
}

DeleteZoneResponse wrapper for the DeleteZone operation

func (DeleteZoneResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (DeleteZoneResponse) String

func (response DeleteZoneResponse) String() string

type DeleteZoneScopeEnum

type DeleteZoneScopeEnum string

DeleteZoneScopeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for DeleteZoneScopeEnum

func GetDeleteZoneScopeEnumValues

func GetDeleteZoneScopeEnumValues() []DeleteZoneScopeEnum

GetDeleteZoneScopeEnumValues Enumerates the set of values for DeleteZoneScopeEnum

func GetMappingDeleteZoneScopeEnum

func GetMappingDeleteZoneScopeEnum(val string) (DeleteZoneScopeEnum, bool)

GetMappingDeleteZoneScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type DnsClient

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

DnsClient a client for Dns

func NewDnsClientWithConfigurationProvider

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

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

func NewDnsClientWithOboToken

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

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

as well as reading the region

func (DnsClient) ChangeResolverCompartment

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

ChangeResolverCompartment Moves a resolver into a different compartment along with its protected default view and any endpoints. Zones in the default view are not moved. 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/latest/dns/ChangeResolverCompartment.go.html to see an example of how to use ChangeResolverCompartment API. A default retry strategy applies to this operation ChangeResolverCompartment()

func (DnsClient) ChangeSteeringPolicyCompartment

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

ChangeSteeringPolicyCompartment Moves a steering policy into a different compartment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dns/ChangeSteeringPolicyCompartment.go.html to see an example of how to use ChangeSteeringPolicyCompartment API. A default retry strategy applies to this operation ChangeSteeringPolicyCompartment()

func (DnsClient) ChangeTsigKeyCompartment

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

ChangeTsigKeyCompartment Moves a TSIG key into a different compartment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dns/ChangeTsigKeyCompartment.go.html to see an example of how to use ChangeTsigKeyCompartment API. A default retry strategy applies to this operation ChangeTsigKeyCompartment()

func (DnsClient) ChangeViewCompartment

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/latest/dns/ChangeViewCompartment.go.html to see an example of how to use ChangeViewCompartment API. A default retry strategy applies to this operation ChangeViewCompartment()

func (DnsClient) ChangeZoneCompartment

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

ChangeZoneCompartment Moves a zone into a different compartment. Protected zones cannot have their compartment changed. 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/latest/dns/ChangeZoneCompartment.go.html to see an example of how to use ChangeZoneCompartment API. A default retry strategy applies to this operation ChangeZoneCompartment()

func (*DnsClient) ConfigurationProvider

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

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

func (DnsClient) CreateResolverEndpoint

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

CreateResolverEndpoint Creates a new resolver endpoint in the same compartment as the resolver.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dns/CreateResolverEndpoint.go.html to see an example of how to use CreateResolverEndpoint API. A default retry strategy applies to this operation CreateResolverEndpoint()

func (DnsClient) CreateSteeringPolicy

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

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

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dns/CreateSteeringPolicy.go.html to see an example of how to use CreateSteeringPolicy API. A default retry strategy applies to this operation CreateSteeringPolicy()

func (DnsClient) CreateSteeringPolicyAttachment

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

CreateSteeringPolicyAttachment Creates a new attachment between a steering policy and a domain, giving the policy permission to answer queries for the specified domain. A steering policy must be attached to a domain for the policy to answer DNS queries for that domain. For the purposes of access control, the attachment is automatically placed into the same compartment as the domain's zone.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dns/CreateSteeringPolicyAttachment.go.html to see an example of how to use CreateSteeringPolicyAttachment API. A default retry strategy applies to this operation CreateSteeringPolicyAttachment()

func (DnsClient) CreateTsigKey

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

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

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dns/CreateTsigKey.go.html to see an example of how to use CreateTsigKey API. A default retry strategy applies to this operation CreateTsigKey()

func (DnsClient) CreateView

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

CreateView Creates a new view in the specified compartment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dns/CreateView.go.html to see an example of how to use CreateView API. A default retry strategy applies to this operation CreateView()

func (DnsClient) CreateZone

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

CreateZone Creates a new zone in the specified compartment. 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/latest/dns/CreateZone.go.html to see an example of how to use CreateZone API.

func (DnsClient) CreateZoneFromZoneFile added in v65.39.0

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/latest/dns/CreateZoneFromZoneFile.go.html to see an example of how to use CreateZoneFromZoneFile API.

func (DnsClient) DeleteDomainRecords

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

DeleteDomainRecords Deletes all records at the specified zone and domain. 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/latest/dns/DeleteDomainRecords.go.html to see an example of how to use DeleteDomainRecords API. A default retry strategy applies to this operation DeleteDomainRecords()

func (DnsClient) DeleteRRSet

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/latest/dns/DeleteRRSet.go.html to see an example of how to use DeleteRRSet API. A default retry strategy applies to this operation DeleteRRSet()

func (DnsClient) DeleteResolverEndpoint

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

DeleteResolverEndpoint Deletes the specified resolver endpoint. Note that attempting to delete a resolver endpoint in the DELETED lifecycle state will result in a `404` 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/latest/dns/DeleteResolverEndpoint.go.html to see an example of how to use DeleteResolverEndpoint API.

func (DnsClient) DeleteSteeringPolicy

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

DeleteSteeringPolicy Deletes the specified steering policy. A `204` response indicates that the delete has been successful. Deletion will fail if the policy is attached to any zones. To detach a policy from a zone, see `DeleteSteeringPolicyAttachment`.

See also

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

func (DnsClient) DeleteSteeringPolicyAttachment

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

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

See also

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

func (DnsClient) DeleteTsigKey

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

DeleteTsigKey Deletes the specified TSIG key.

See also

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

func (DnsClient) DeleteView

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

DeleteView Deletes the specified view. Note that attempting to delete a view in the DELETED lifecycleState will result in a `404` 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/latest/dns/DeleteView.go.html to see an example of how to use DeleteView API.

func (DnsClient) DeleteZone

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

DeleteZone Deletes the specified zone and all its steering policy attachments. A `204` response indicates that the zone has been successfully deleted. Protected zones cannot be deleted. 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/latest/dns/DeleteZone.go.html to see an example of how to use DeleteZone API.

func (DnsClient) GetDomainRecords

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

GetDomainRecords Gets a list of all records at the specified zone and domain. The results are sorted by `rtype` in alphabetical order by default. You can optionally filter and/or sort the results using the listed parameters. 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/latest/dns/GetDomainRecords.go.html to see an example of how to use GetDomainRecords API. A default retry strategy applies to this operation GetDomainRecords()

func (DnsClient) GetRRSet

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

GetRRSet Gets a list of all records in the specified RRSet. The results are sorted by `recordHash` by default. 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/latest/dns/GetRRSet.go.html to see an example of how to use GetRRSet API. A default retry strategy applies to this operation GetRRSet()

func (DnsClient) GetResolver

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/latest/dns/GetResolver.go.html to see an example of how to use GetResolver API. A default retry strategy applies to this operation GetResolver()

func (DnsClient) GetResolverEndpoint

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/latest/dns/GetResolverEndpoint.go.html to see an example of how to use GetResolverEndpoint API. A default retry strategy applies to this operation GetResolverEndpoint()

func (DnsClient) GetSteeringPolicy

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

GetSteeringPolicy Gets information about the specified steering policy.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dns/GetSteeringPolicy.go.html to see an example of how to use GetSteeringPolicy API. A default retry strategy applies to this operation GetSteeringPolicy()

func (DnsClient) GetSteeringPolicyAttachment

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

GetSteeringPolicyAttachment Gets information about the specified steering policy attachment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dns/GetSteeringPolicyAttachment.go.html to see an example of how to use GetSteeringPolicyAttachment API. A default retry strategy applies to this operation GetSteeringPolicyAttachment()

func (DnsClient) GetTsigKey

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

GetTsigKey Gets information about the specified TSIG key.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dns/GetTsigKey.go.html to see an example of how to use GetTsigKey API. A default retry strategy applies to this operation GetTsigKey()

func (DnsClient) GetView

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/latest/dns/GetView.go.html to see an example of how to use GetView API. A default retry strategy applies to this operation GetView()

func (DnsClient) GetZone

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

GetZone Gets information about the specified zone, including its creation date, zone type, and serial. 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/latest/dns/GetZone.go.html to see an example of how to use GetZone API. A default retry strategy applies to this operation GetZone()

func (DnsClient) GetZoneContent

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/latest/dns/GetZoneContent.go.html to see an example of how to use GetZoneContent API. A default retry strategy applies to this operation GetZoneContent()

func (DnsClient) GetZoneRecords

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

GetZoneRecords Gets all records in the specified zone. The results are sorted by `domain` in alphabetical order by default. For more information about records, see Resource Record (RR) TYPEs (https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4). 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/latest/dns/GetZoneRecords.go.html to see an example of how to use GetZoneRecords API. A default retry strategy applies to this operation GetZoneRecords()

func (DnsClient) ListResolverEndpoints

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

ListResolverEndpoints Gets a list of all endpoints within a resolver. The collection can be filtered by name or lifecycle state. It can be sorted on creation time or name both in ASC or DESC order. Note that when no lifecycleState query parameter is provided, 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/latest/dns/ListResolverEndpoints.go.html to see an example of how to use ListResolverEndpoints API. A default retry strategy applies to this operation ListResolverEndpoints()

func (DnsClient) ListResolvers

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

ListResolvers Gets a list of all resolvers within a compartment. The collection can be filtered by display name, id, or lifecycle state. It can be sorted on creation time or displayName both in ASC or DESC order. Note that when no lifecycleState query parameter is provided, 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/latest/dns/ListResolvers.go.html to see an example of how to use ListResolvers API. A default retry strategy applies to this operation ListResolvers()

func (DnsClient) ListSteeringPolicies

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

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

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dns/ListSteeringPolicies.go.html to see an example of how to use ListSteeringPolicies API. A default retry strategy applies to this operation ListSteeringPolicies()

func (DnsClient) ListSteeringPolicyAttachments

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

ListSteeringPolicyAttachments Lists the steering policy attachments in the specified compartment.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dns/ListSteeringPolicyAttachments.go.html to see an example of how to use ListSteeringPolicyAttachments API. A default retry strategy applies to this operation ListSteeringPolicyAttachments()

func (DnsClient) ListTsigKeys

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

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

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dns/ListTsigKeys.go.html to see an example of how to use ListTsigKeys API. A default retry strategy applies to this operation ListTsigKeys()

func (DnsClient) ListViews

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

ListViews Gets a list of all views within a compartment. The collection can be filtered by display name, id, or lifecycle state. It can be sorted on creation time or displayName both in ASC or DESC order. Note that when no lifecycleState query parameter is provided, 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/latest/dns/ListViews.go.html to see an example of how to use ListViews API. A default retry strategy applies to this operation ListViews()

func (DnsClient) ListZoneTransferServers

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/latest/dns/ListZoneTransferServers.go.html to see an example of how to use ListZoneTransferServers API. A default retry strategy applies to this operation ListZoneTransferServers()

func (DnsClient) ListZones

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

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

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dns/ListZones.go.html to see an example of how to use ListZones API. A default retry strategy applies to this operation ListZones()

func (DnsClient) PatchDomainRecords

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

PatchDomainRecords Updates records in the specified zone at a domain. You can update one record or all records for the specified zone depending on the changes provided in the request body. You can also add or remove records using this function. 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/latest/dns/PatchDomainRecords.go.html to see an example of how to use PatchDomainRecords API. A default retry strategy applies to this operation PatchDomainRecords()

func (DnsClient) PatchRRSet

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/latest/dns/PatchRRSet.go.html to see an example of how to use PatchRRSet API. A default retry strategy applies to this operation PatchRRSet()

func (DnsClient) PatchZoneRecords

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

PatchZoneRecords Updates a collection of records in the specified zone. You can update one record or all records for the specified zone depending on the changes provided in the request body. You can also add or remove records using this function. 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/latest/dns/PatchZoneRecords.go.html to see an example of how to use PatchZoneRecords API. A default retry strategy applies to this operation PatchZoneRecords()

func (DnsClient) PromoteZoneDnssecKeyVersion added in v65.76.0

func (client DnsClient) PromoteZoneDnssecKeyVersion(ctx context.Context, request PromoteZoneDnssecKeyVersionRequest) (response PromoteZoneDnssecKeyVersionResponse, err error)

PromoteZoneDnssecKeyVersion Promotes a specified `DnssecKeyVersion` on the zone. If the `DnssecKeyVersion` identified in the request body is a key signing key (KSK) that is replacing another `DnssecKeyVersion`, then the old `DnssecKeyVersion` is scheduled for removal from the zone. For key signing keys (KSKs), you must create the DS record with the new key information **before** promoting the new key to establish a chain of trust. To avoid a service disruption, remove the old DS record as soon as its TTL (time to live) expires. For more information, see DNSSEC (https://docs.cloud.oracle.com/iaas/Content/DNS/Concepts/dnssec.htm).

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dns/PromoteZoneDnssecKeyVersion.go.html to see an example of how to use PromoteZoneDnssecKeyVersion API. A default retry strategy applies to this operation PromoteZoneDnssecKeyVersion()

func (*DnsClient) SetRegion

func (client *DnsClient) SetRegion(region string)

SetRegion overrides the region of this client.

func (DnsClient) StageZoneDnssecKeyVersion added in v65.76.0

func (client DnsClient) StageZoneDnssecKeyVersion(ctx context.Context, request StageZoneDnssecKeyVersionRequest) (response StageZoneDnssecKeyVersionResponse, err error)

StageZoneDnssecKeyVersion Stages a new `DnssecKeyVersion` on the zone. Staging is a process that generates a new "successor" key version that replaces an existing "predecessor" key version. **Note:** A new key-signing key (KSK) version is inert until you update the parent zone DS records. For more information, see the DNSSEC (https://docs.cloud.oracle.com/iaas/Content/DNS/Concepts/dnssec.htm) documentation.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dns/StageZoneDnssecKeyVersion.go.html to see an example of how to use StageZoneDnssecKeyVersion API. A default retry strategy applies to this operation StageZoneDnssecKeyVersion()

func (DnsClient) UpdateDomainRecords

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

UpdateDomainRecords Replaces records in the specified zone at a domain with the records specified in the request body. If a specified record does not exist, it will be created. If the record exists, then it will be updated to represent the record in the body of the request. If a record in the zone does not exist in the request body, the record will be removed from the zone. 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/latest/dns/UpdateDomainRecords.go.html to see an example of how to use UpdateDomainRecords API. A default retry strategy applies to this operation UpdateDomainRecords()

func (DnsClient) UpdateRRSet

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/latest/dns/UpdateRRSet.go.html to see an example of how to use UpdateRRSet API. A default retry strategy applies to this operation UpdateRRSet()

func (DnsClient) UpdateResolver

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

UpdateResolver Updates the specified resolver with your new information.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dns/UpdateResolver.go.html to see an example of how to use UpdateResolver API. A default retry strategy applies to this operation UpdateResolver()

func (DnsClient) UpdateResolverEndpoint

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

UpdateResolverEndpoint Updates the specified resolver endpoint with your new information.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dns/UpdateResolverEndpoint.go.html to see an example of how to use UpdateResolverEndpoint API. A default retry strategy applies to this operation UpdateResolverEndpoint()

func (DnsClient) UpdateSteeringPolicy

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

UpdateSteeringPolicy Updates the configuration of the specified steering policy.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dns/UpdateSteeringPolicy.go.html to see an example of how to use UpdateSteeringPolicy API. A default retry strategy applies to this operation UpdateSteeringPolicy()

func (DnsClient) UpdateSteeringPolicyAttachment

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

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

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dns/UpdateSteeringPolicyAttachment.go.html to see an example of how to use UpdateSteeringPolicyAttachment API. A default retry strategy applies to this operation UpdateSteeringPolicyAttachment()

func (DnsClient) UpdateTsigKey

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

UpdateTsigKey Updates the specified TSIG key.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dns/UpdateTsigKey.go.html to see an example of how to use UpdateTsigKey API. A default retry strategy applies to this operation UpdateTsigKey()

func (DnsClient) UpdateView

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

UpdateView Updates the specified view with your new information.

See also

Click https://docs.cloud.oracle.com/en-us/iaas/tools/go-sdk-examples/latest/dns/UpdateView.go.html to see an example of how to use UpdateView API. A default retry strategy applies to this operation UpdateView()

func (DnsClient) UpdateZone

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/latest/dns/UpdateZone.go.html to see an example of how to use UpdateZone API. A default retry strategy applies to this operation UpdateZone()

func (DnsClient) UpdateZoneRecords

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

UpdateZoneRecords Replaces records in the specified zone with the records specified in the request body. If a specified record does not exist, it will be created. If the record exists, then it will be updated to represent the record in the body of the request. If a record in the zone does not exist in the request body, the record will be removed from the zone. 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/latest/dns/UpdateZoneRecords.go.html to see an example of how to use UpdateZoneRecords API. A default retry strategy applies to this operation UpdateZoneRecords()

type DnssecConfig added in v65.76.0

type DnssecConfig struct {

	// A read-only array of key signing key (KSK) versions.
	KskDnssecKeyVersions []KskDnssecKeyVersion `mandatory:"false" json:"kskDnssecKeyVersions"`

	// A read-only array of zone signing key (ZSK) versions.
	ZskDnssecKeyVersions []ZskDnssecKeyVersion `mandatory:"false" json:"zskDnssecKeyVersions"`
}

DnssecConfig DNSSEC configuration data. A zone may have a maximum of 10 `DnssecKeyVersions`, regardless of signing key type.

func (DnssecConfig) String added in v65.76.0

func (m DnssecConfig) String() string

func (DnssecConfig) ValidateEnumValue added in v65.76.0

func (m DnssecConfig) 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

type DnssecDigestTypeEnum added in v65.76.0

type DnssecDigestTypeEnum string

DnssecDigestTypeEnum Enum with underlying type: string

const (
	DnssecDigestTypeSha256 DnssecDigestTypeEnum = "SHA_256"
)

Set of constants representing the allowable values for DnssecDigestTypeEnum

func GetDnssecDigestTypeEnumValues added in v65.76.0

func GetDnssecDigestTypeEnumValues() []DnssecDigestTypeEnum

GetDnssecDigestTypeEnumValues Enumerates the set of values for DnssecDigestTypeEnum

func GetMappingDnssecDigestTypeEnum added in v65.76.0

func GetMappingDnssecDigestTypeEnum(val string) (DnssecDigestTypeEnum, bool)

GetMappingDnssecDigestTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type DnssecKeyVersionDsData added in v65.76.0

type DnssecKeyVersionDsData struct {

	// Presentation-format DS record data that must be added to the parent zone. For more information about RDATA,
	// see Supported DNS Resource Record Types (https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm)
	Rdata *string `mandatory:"false" json:"rdata"`

	// The type of the digest associated with the rdata.
	DigestType DnssecDigestTypeEnum `mandatory:"false" json:"digestType,omitempty"`
}

DnssecKeyVersionDsData Data for a parent zone DS record corresponding to this key-signing key (KSK).

func (DnssecKeyVersionDsData) String added in v65.76.0

func (m DnssecKeyVersionDsData) String() string

func (DnssecKeyVersionDsData) ValidateEnumValue added in v65.76.0

func (m DnssecKeyVersionDsData) 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

type DnssecSigningAlgorithmEnum added in v65.76.0

type DnssecSigningAlgorithmEnum string

DnssecSigningAlgorithmEnum Enum with underlying type: string

const (
	DnssecSigningAlgorithmRsasha256 DnssecSigningAlgorithmEnum = "RSASHA256"
)

Set of constants representing the allowable values for DnssecSigningAlgorithmEnum

func GetDnssecSigningAlgorithmEnumValues added in v65.76.0

func GetDnssecSigningAlgorithmEnumValues() []DnssecSigningAlgorithmEnum

GetDnssecSigningAlgorithmEnumValues Enumerates the set of values for DnssecSigningAlgorithmEnum

func GetMappingDnssecSigningAlgorithmEnum added in v65.76.0

func GetMappingDnssecSigningAlgorithmEnum(val string) (DnssecSigningAlgorithmEnum, bool)

GetMappingDnssecSigningAlgorithmEnum performs case Insensitive comparison on enum value and return the desired enum

type DynectMigrationDetails

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"`
}

DynectMigrationDetails Details specific to performing a DynECT zone migration.

func (DynectMigrationDetails) String

func (m DynectMigrationDetails) String() string

func (DynectMigrationDetails) ValidateEnumValue

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

type ExternalDownstream added in v65.39.0

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"`
}

ExternalDownstream External downstream nameserver for the zone. This field is currently not supported when `zoneType` is `SECONDARY` or `scope` is `PRIVATE`.

func (ExternalDownstream) String added in v65.39.0

func (m ExternalDownstream) String() string

func (ExternalDownstream) ValidateEnumValue added in v65.39.0

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

type ExternalMaster

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"`
}

ExternalMaster An external master name server used as the source of zone data.

func (ExternalMaster) String

func (m ExternalMaster) String() string

func (ExternalMaster) ValidateEnumValue

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

type 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 zone is associated with. Required when accessing a private zone by name.
	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
}

GetDomainRecordsRequest wrapper for the GetDomainRecords operation

See also

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

func (GetDomainRecordsRequest) BinaryRequestBody

func (request GetDomainRecordsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetDomainRecordsRequest) HTTPRequest

func (request GetDomainRecordsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetDomainRecordsRequest) RetryPolicy

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

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

func (GetDomainRecordsRequest) String

func (request GetDomainRecordsRequest) String() string

func (GetDomainRecordsRequest) ValidateEnumValue

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

type GetDomainRecordsResponse

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"`
}

GetDomainRecordsResponse wrapper for the GetDomainRecords operation

func (GetDomainRecordsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetDomainRecordsResponse) String

func (response GetDomainRecordsResponse) String() string

type GetDomainRecordsScopeEnum

type GetDomainRecordsScopeEnum string

GetDomainRecordsScopeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for GetDomainRecordsScopeEnum

func GetGetDomainRecordsScopeEnumValues

func GetGetDomainRecordsScopeEnumValues() []GetDomainRecordsScopeEnum

GetGetDomainRecordsScopeEnumValues Enumerates the set of values for GetDomainRecordsScopeEnum

func GetMappingGetDomainRecordsScopeEnum

func GetMappingGetDomainRecordsScopeEnum(val string) (GetDomainRecordsScopeEnum, bool)

GetMappingGetDomainRecordsScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type GetDomainRecordsSortByEnum

type GetDomainRecordsSortByEnum string

GetDomainRecordsSortByEnum Enum with underlying type: string

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

Set of constants representing the allowable values for GetDomainRecordsSortByEnum

func GetGetDomainRecordsSortByEnumValues

func GetGetDomainRecordsSortByEnumValues() []GetDomainRecordsSortByEnum

GetGetDomainRecordsSortByEnumValues Enumerates the set of values for GetDomainRecordsSortByEnum

func GetMappingGetDomainRecordsSortByEnum

func GetMappingGetDomainRecordsSortByEnum(val string) (GetDomainRecordsSortByEnum, bool)

GetMappingGetDomainRecordsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type GetDomainRecordsSortOrderEnum

type GetDomainRecordsSortOrderEnum string

GetDomainRecordsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for GetDomainRecordsSortOrderEnum

func GetGetDomainRecordsSortOrderEnumValues

func GetGetDomainRecordsSortOrderEnumValues() []GetDomainRecordsSortOrderEnum

GetGetDomainRecordsSortOrderEnumValues Enumerates the set of values for GetDomainRecordsSortOrderEnum

func GetMappingGetDomainRecordsSortOrderEnum

func GetMappingGetDomainRecordsSortOrderEnum(val string) (GetDomainRecordsSortOrderEnum, bool)

GetMappingGetDomainRecordsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type 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 zone is associated with. Required when accessing a private zone by name.
	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
}

GetRRSetRequest wrapper for the GetRRSet operation

See also

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

func (GetRRSetRequest) BinaryRequestBody

func (request GetRRSetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetRRSetRequest) HTTPRequest

func (request GetRRSetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetRRSetRequest) RetryPolicy

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

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

func (GetRRSetRequest) String

func (request GetRRSetRequest) String() string

func (GetRRSetRequest) ValidateEnumValue

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

type GetRRSetResponse

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"`
}

GetRRSetResponse wrapper for the GetRRSet operation

func (GetRRSetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetRRSetResponse) String

func (response GetRRSetResponse) String() string

type GetRRSetScopeEnum

type GetRRSetScopeEnum string

GetRRSetScopeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for GetRRSetScopeEnum

func GetGetRRSetScopeEnumValues

func GetGetRRSetScopeEnumValues() []GetRRSetScopeEnum

GetGetRRSetScopeEnumValues Enumerates the set of values for GetRRSetScopeEnum

func GetMappingGetRRSetScopeEnum

func GetMappingGetRRSetScopeEnum(val string) (GetRRSetScopeEnum, bool)

GetMappingGetRRSetScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type 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
}

GetResolverEndpointRequest wrapper for the GetResolverEndpoint operation

See also

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

func (GetResolverEndpointRequest) BinaryRequestBody

func (request GetResolverEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetResolverEndpointRequest) HTTPRequest

func (request GetResolverEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetResolverEndpointRequest) RetryPolicy

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

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

func (GetResolverEndpointRequest) String

func (request GetResolverEndpointRequest) String() string

func (GetResolverEndpointRequest) ValidateEnumValue

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

type GetResolverEndpointResponse

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
}

GetResolverEndpointResponse wrapper for the GetResolverEndpoint operation

func (GetResolverEndpointResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetResolverEndpointResponse) String

func (response GetResolverEndpointResponse) String() string

type GetResolverEndpointScopeEnum

type GetResolverEndpointScopeEnum string

GetResolverEndpointScopeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for GetResolverEndpointScopeEnum

func GetGetResolverEndpointScopeEnumValues

func GetGetResolverEndpointScopeEnumValues() []GetResolverEndpointScopeEnum

GetGetResolverEndpointScopeEnumValues Enumerates the set of values for GetResolverEndpointScopeEnum

func GetMappingGetResolverEndpointScopeEnum

func GetMappingGetResolverEndpointScopeEnum(val string) (GetResolverEndpointScopeEnum, bool)

GetMappingGetResolverEndpointScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type 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
}

GetResolverRequest wrapper for the GetResolver operation

See also

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

func (GetResolverRequest) BinaryRequestBody

func (request GetResolverRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetResolverRequest) HTTPRequest

func (request GetResolverRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetResolverRequest) RetryPolicy

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

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

func (GetResolverRequest) String

func (request GetResolverRequest) String() string

func (GetResolverRequest) ValidateEnumValue

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

type GetResolverResponse

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
}

GetResolverResponse wrapper for the GetResolver operation

func (GetResolverResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetResolverResponse) String

func (response GetResolverResponse) String() string

type GetResolverScopeEnum

type GetResolverScopeEnum string

GetResolverScopeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for GetResolverScopeEnum

func GetGetResolverScopeEnumValues

func GetGetResolverScopeEnumValues() []GetResolverScopeEnum

GetGetResolverScopeEnumValues Enumerates the set of values for GetResolverScopeEnum

func GetMappingGetResolverScopeEnum

func GetMappingGetResolverScopeEnum(val string) (GetResolverScopeEnum, bool)

GetMappingGetResolverScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type 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
}

GetSteeringPolicyAttachmentRequest wrapper for the GetSteeringPolicyAttachment operation

See also

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

func (GetSteeringPolicyAttachmentRequest) BinaryRequestBody

func (request GetSteeringPolicyAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetSteeringPolicyAttachmentRequest) HTTPRequest

func (request GetSteeringPolicyAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetSteeringPolicyAttachmentRequest) RetryPolicy

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

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

func (GetSteeringPolicyAttachmentRequest) String

func (request GetSteeringPolicyAttachmentRequest) String() string

func (GetSteeringPolicyAttachmentRequest) ValidateEnumValue

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

type GetSteeringPolicyAttachmentResponse

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
}

GetSteeringPolicyAttachmentResponse wrapper for the GetSteeringPolicyAttachment operation

func (GetSteeringPolicyAttachmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetSteeringPolicyAttachmentResponse) String

func (response GetSteeringPolicyAttachmentResponse) String() string

type GetSteeringPolicyAttachmentScopeEnum

type GetSteeringPolicyAttachmentScopeEnum string

GetSteeringPolicyAttachmentScopeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for GetSteeringPolicyAttachmentScopeEnum

func GetGetSteeringPolicyAttachmentScopeEnumValues

func GetGetSteeringPolicyAttachmentScopeEnumValues() []GetSteeringPolicyAttachmentScopeEnum

GetGetSteeringPolicyAttachmentScopeEnumValues Enumerates the set of values for GetSteeringPolicyAttachmentScopeEnum

func GetMappingGetSteeringPolicyAttachmentScopeEnum

func GetMappingGetSteeringPolicyAttachmentScopeEnum(val string) (GetSteeringPolicyAttachmentScopeEnum, bool)

GetMappingGetSteeringPolicyAttachmentScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type 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
}

GetSteeringPolicyRequest wrapper for the GetSteeringPolicy operation

See also

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

func (GetSteeringPolicyRequest) BinaryRequestBody

func (request GetSteeringPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetSteeringPolicyRequest) HTTPRequest

func (request GetSteeringPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetSteeringPolicyRequest) RetryPolicy

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

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

func (GetSteeringPolicyRequest) String

func (request GetSteeringPolicyRequest) String() string

func (GetSteeringPolicyRequest) ValidateEnumValue

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

type GetSteeringPolicyResponse

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
}

GetSteeringPolicyResponse wrapper for the GetSteeringPolicy operation

func (GetSteeringPolicyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetSteeringPolicyResponse) String

func (response GetSteeringPolicyResponse) String() string

type GetSteeringPolicyScopeEnum

type GetSteeringPolicyScopeEnum string

GetSteeringPolicyScopeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for GetSteeringPolicyScopeEnum

func GetGetSteeringPolicyScopeEnumValues

func GetGetSteeringPolicyScopeEnumValues() []GetSteeringPolicyScopeEnum

GetGetSteeringPolicyScopeEnumValues Enumerates the set of values for GetSteeringPolicyScopeEnum

func GetMappingGetSteeringPolicyScopeEnum

func GetMappingGetSteeringPolicyScopeEnum(val string) (GetSteeringPolicyScopeEnum, bool)

GetMappingGetSteeringPolicyScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type 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
}

GetTsigKeyRequest wrapper for the GetTsigKey operation

See also

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

func (GetTsigKeyRequest) BinaryRequestBody

func (request GetTsigKeyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetTsigKeyRequest) HTTPRequest

func (request GetTsigKeyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetTsigKeyRequest) RetryPolicy

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

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

func (GetTsigKeyRequest) String

func (request GetTsigKeyRequest) String() string

func (GetTsigKeyRequest) ValidateEnumValue

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

type GetTsigKeyResponse

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
}

GetTsigKeyResponse wrapper for the GetTsigKey operation

func (GetTsigKeyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetTsigKeyResponse) String

func (response GetTsigKeyResponse) String() string

type GetTsigKeyScopeEnum

type GetTsigKeyScopeEnum string

GetTsigKeyScopeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for GetTsigKeyScopeEnum

func GetGetTsigKeyScopeEnumValues

func GetGetTsigKeyScopeEnumValues() []GetTsigKeyScopeEnum

GetGetTsigKeyScopeEnumValues Enumerates the set of values for GetTsigKeyScopeEnum

func GetMappingGetTsigKeyScopeEnum

func GetMappingGetTsigKeyScopeEnum(val string) (GetTsigKeyScopeEnum, bool)

GetMappingGetTsigKeyScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type 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
}

GetViewRequest wrapper for the GetView operation

See also

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

func (GetViewRequest) BinaryRequestBody

func (request GetViewRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetViewRequest) HTTPRequest

func (request GetViewRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetViewRequest) RetryPolicy

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

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

func (GetViewRequest) String

func (request GetViewRequest) String() string

func (GetViewRequest) ValidateEnumValue

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

type GetViewResponse

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
}

GetViewResponse wrapper for the GetView operation

func (GetViewResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetViewResponse) String

func (response GetViewResponse) String() string

type GetViewScopeEnum

type GetViewScopeEnum string

GetViewScopeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for GetViewScopeEnum

func GetGetViewScopeEnumValues

func GetGetViewScopeEnumValues() []GetViewScopeEnum

GetGetViewScopeEnumValues Enumerates the set of values for GetViewScopeEnum

func GetMappingGetViewScopeEnum

func GetMappingGetViewScopeEnum(val string) (GetViewScopeEnum, bool)

GetMappingGetViewScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type 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 zone is associated with. Required when accessing a private zone by name.
	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
}

GetZoneContentRequest wrapper for the GetZoneContent operation

See also

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

func (GetZoneContentRequest) BinaryRequestBody

func (request GetZoneContentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetZoneContentRequest) HTTPRequest

func (request GetZoneContentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetZoneContentRequest) RetryPolicy

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

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

func (GetZoneContentRequest) String

func (request GetZoneContentRequest) String() string

func (GetZoneContentRequest) ValidateEnumValue

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

type GetZoneContentResponse

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"`
}

GetZoneContentResponse wrapper for the GetZoneContent operation

func (GetZoneContentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetZoneContentResponse) String

func (response GetZoneContentResponse) String() string

type GetZoneContentScopeEnum

type GetZoneContentScopeEnum string

GetZoneContentScopeEnum Enum with underlying type: string

const (
	GetZoneContentScopeGlobal  GetZoneContentScopeEnum = "GLOBAL"
	GetZoneContentScopePrivate GetZoneContentScopeEnum = "PRIVATE"
)

Set of constants representing the allowable values for GetZoneContentScopeEnum

func GetGetZoneContentScopeEnumValues

func GetGetZoneContentScopeEnumValues() []GetZoneContentScopeEnum

GetGetZoneContentScopeEnumValues Enumerates the set of values for GetZoneContentScopeEnum

func GetMappingGetZoneContentScopeEnum

func GetMappingGetZoneContentScopeEnum(val string) (GetZoneContentScopeEnum, bool)

GetMappingGetZoneContentScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type 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 zone is associated with. Required when accessing a private zone by name.
	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
}

GetZoneRecordsRequest wrapper for the GetZoneRecords operation

See also

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

func (GetZoneRecordsRequest) BinaryRequestBody

func (request GetZoneRecordsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetZoneRecordsRequest) HTTPRequest

func (request GetZoneRecordsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetZoneRecordsRequest) RetryPolicy

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

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

func (GetZoneRecordsRequest) String

func (request GetZoneRecordsRequest) String() string

func (GetZoneRecordsRequest) ValidateEnumValue

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

type GetZoneRecordsResponse

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"`
}

GetZoneRecordsResponse wrapper for the GetZoneRecords operation

func (GetZoneRecordsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetZoneRecordsResponse) String

func (response GetZoneRecordsResponse) String() string

type GetZoneRecordsScopeEnum

type GetZoneRecordsScopeEnum string

GetZoneRecordsScopeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for GetZoneRecordsScopeEnum

func GetGetZoneRecordsScopeEnumValues

func GetGetZoneRecordsScopeEnumValues() []GetZoneRecordsScopeEnum

GetGetZoneRecordsScopeEnumValues Enumerates the set of values for GetZoneRecordsScopeEnum

func GetMappingGetZoneRecordsScopeEnum

func GetMappingGetZoneRecordsScopeEnum(val string) (GetZoneRecordsScopeEnum, bool)

GetMappingGetZoneRecordsScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type GetZoneRecordsSortByEnum

type GetZoneRecordsSortByEnum string

GetZoneRecordsSortByEnum Enum with underlying type: string

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

Set of constants representing the allowable values for GetZoneRecordsSortByEnum

func GetGetZoneRecordsSortByEnumValues

func GetGetZoneRecordsSortByEnumValues() []GetZoneRecordsSortByEnum

GetGetZoneRecordsSortByEnumValues Enumerates the set of values for GetZoneRecordsSortByEnum

func GetMappingGetZoneRecordsSortByEnum

func GetMappingGetZoneRecordsSortByEnum(val string) (GetZoneRecordsSortByEnum, bool)

GetMappingGetZoneRecordsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type GetZoneRecordsSortOrderEnum

type GetZoneRecordsSortOrderEnum string

GetZoneRecordsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for GetZoneRecordsSortOrderEnum

func GetGetZoneRecordsSortOrderEnumValues

func GetGetZoneRecordsSortOrderEnumValues() []GetZoneRecordsSortOrderEnum

GetGetZoneRecordsSortOrderEnumValues Enumerates the set of values for GetZoneRecordsSortOrderEnum

func GetMappingGetZoneRecordsSortOrderEnum

func GetMappingGetZoneRecordsSortOrderEnum(val string) (GetZoneRecordsSortOrderEnum, bool)

GetMappingGetZoneRecordsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type 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 zone is associated with. Required when accessing a private zone by name.
	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
}

GetZoneRequest wrapper for the GetZone operation

See also

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

func (GetZoneRequest) BinaryRequestBody

func (request GetZoneRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (GetZoneRequest) HTTPRequest

func (request GetZoneRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (GetZoneRequest) RetryPolicy

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

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

func (GetZoneRequest) String

func (request GetZoneRequest) String() string

func (GetZoneRequest) ValidateEnumValue

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

type GetZoneResponse

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"`
}

GetZoneResponse wrapper for the GetZone operation

func (GetZoneResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (GetZoneResponse) String

func (response GetZoneResponse) String() string

type GetZoneScopeEnum

type GetZoneScopeEnum string

GetZoneScopeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for GetZoneScopeEnum

func GetGetZoneScopeEnumValues

func GetGetZoneScopeEnumValues() []GetZoneScopeEnum

GetGetZoneScopeEnumValues Enumerates the set of values for GetZoneScopeEnum

func GetMappingGetZoneScopeEnum

func GetMappingGetZoneScopeEnum(val string) (GetZoneScopeEnum, bool)

GetMappingGetZoneScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type KskDnssecKeyVersion added in v65.76.0

type KskDnssecKeyVersion struct {

	// The UUID of the `DnssecKeyVersion`.
	Uuid *string `mandatory:"false" json:"uuid"`

	// The signing algorithm used for the key.
	Algorithm DnssecSigningAlgorithmEnum `mandatory:"false" json:"algorithm,omitempty"`

	// The length of the corresponding private key in bytes, expressed as an integer.
	LengthInBytes *int `mandatory:"false" json:"lengthInBytes"`

	// The date and time the key version was created, expressed in RFC 3339 timestamp format.
	// **Example:** `2016-07-22T17:23:59:00Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the key version was, or will be, published, expressed in RFC 3339 timestamp format. This is
	// when the zone contents will include a DNSKEY record corresponding to the key material.
	// **Example:** `2016-07-22T17:23:59:00Z`
	TimePublished *common.SDKTime `mandatory:"false" json:"timePublished"`

	// The date and time the key version went, or will go, active, expressed in RFC 3339 timestamp format. This is
	// when the key material will be used to generate RRSIGs.
	// **Example:** `2016-07-22T17:23:59:00Z`
	TimeActivated *common.SDKTime `mandatory:"false" json:"timeActivated"`

	// The date and time the key version went, or will go, inactive, expressed in RFC 3339 timestamp format. This
	// is when the key material will no longer be used to generate RRSIGs. For a key signing key (KSK) `DnssecKeyVersion`, this is
	// populated after `PromoteZoneDnssecKeyVersion` has been called on its successor `DnssecKeyVersion`.
	// **Example:** `2016-07-22T17:23:59:00Z`
	TimeInactivated *common.SDKTime `mandatory:"false" json:"timeInactivated"`

	// The date and time the key version was, or will be, unpublished, expressed in RFC 3339 timestamp format. This
	// is when the corresponding DNSKEY will be removed from zone contents. For a key signing key (KSK) `DnssecKeyVersion`, this is
	// populated after `PromoteZoneDnssecKeyVersion` has been called on its successor `DnssecKeyVersion`.
	// **Example:** `2016-07-22T17:23:59:00Z`
	TimeUnpublished *common.SDKTime `mandatory:"false" json:"timeUnpublished"`

	// The date and time at which the recommended key version publication/activation lifetime ends, expressed in RFC
	// 3339 timestamp format. This is when the corresponding DNSKEY should no longer exist in zone contents and no
	// longer be used to generate RRSIGs. For a key sigining key (KSK), if `PromoteZoneDnssecKeyVersion` has not been called on this
	// `DnssecKeyVersion`'s successor then it will remain active for arbitrarily long past its recommended lifetime.
	// This prevents service disruption at the potential increased risk of key compromise.
	// **Example:** `2016-07-22T17:23:59:00Z`
	TimeExpired *common.SDKTime `mandatory:"false" json:"timeExpired"`

	// The date and time the key version was promoted expressed in RFC 3339 timestamp format.
	// **Example:** `2016-07-22T17:23:59:00Z`
	TimePromoted *common.SDKTime `mandatory:"false" json:"timePromoted"`

	// When populated, this is the UUID of the `DnssecKeyVersion` that this `DnssecKeyVersion` will replace or has
	// replaced.
	PredecessorDnssecKeyVersionUuid *string `mandatory:"false" json:"predecessorDnssecKeyVersionUuid"`

	// When populated, this is the UUID of the `DnssecKeyVersion` that will replace, or has replaced, this
	// `DnssecKeyVersion`.
	SuccessorDnssecKeyVersionUuid *string `mandatory:"false" json:"successorDnssecKeyVersionUuid"`

	// The key tag associated with the `DnssecKeyVersion`. This key tag will be present in the RRSIG and DS records
	// associated with the key material for this `DnssecKeyVersion`. For more information about key tags, see
	// RFC 4034 (https://tools.ietf.org/html/rfc4034).
	KeyTag *int `mandatory:"false" json:"keyTag"`

	// An array of data for DS records corresponding with this key version. An entry will exist for each
	// supported DS digest algorithm.
	DsData []DnssecKeyVersionDsData `mandatory:"false" json:"dsData"`
}

KskDnssecKeyVersion A key signing key (KSK) version. The version information contains timing and configuration data corresponding to the KSK that is used to apply DNSSEC on the zone.

func (KskDnssecKeyVersion) String added in v65.76.0

func (m KskDnssecKeyVersion) String() string

func (KskDnssecKeyVersion) ValidateEnumValue added in v65.76.0

func (m KskDnssecKeyVersion) 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

type 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
}

ListResolverEndpointsRequest wrapper for the ListResolverEndpoints operation

See also

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

func (ListResolverEndpointsRequest) BinaryRequestBody

func (request ListResolverEndpointsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListResolverEndpointsRequest) HTTPRequest

func (request ListResolverEndpointsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListResolverEndpointsRequest) RetryPolicy

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

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

func (ListResolverEndpointsRequest) String

func (request ListResolverEndpointsRequest) String() string

func (ListResolverEndpointsRequest) ValidateEnumValue

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

type ListResolverEndpointsResponse

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"`
}

ListResolverEndpointsResponse wrapper for the ListResolverEndpoints operation

func (ListResolverEndpointsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListResolverEndpointsResponse) String

func (response ListResolverEndpointsResponse) String() string

type ListResolverEndpointsScopeEnum

type ListResolverEndpointsScopeEnum string

ListResolverEndpointsScopeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListResolverEndpointsScopeEnum

func GetListResolverEndpointsScopeEnumValues

func GetListResolverEndpointsScopeEnumValues() []ListResolverEndpointsScopeEnum

GetListResolverEndpointsScopeEnumValues Enumerates the set of values for ListResolverEndpointsScopeEnum

func GetMappingListResolverEndpointsScopeEnum

func GetMappingListResolverEndpointsScopeEnum(val string) (ListResolverEndpointsScopeEnum, bool)

GetMappingListResolverEndpointsScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResolverEndpointsSortByEnum

type ListResolverEndpointsSortByEnum string

ListResolverEndpointsSortByEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListResolverEndpointsSortByEnum

func GetListResolverEndpointsSortByEnumValues

func GetListResolverEndpointsSortByEnumValues() []ListResolverEndpointsSortByEnum

GetListResolverEndpointsSortByEnumValues Enumerates the set of values for ListResolverEndpointsSortByEnum

func GetMappingListResolverEndpointsSortByEnum

func GetMappingListResolverEndpointsSortByEnum(val string) (ListResolverEndpointsSortByEnum, bool)

GetMappingListResolverEndpointsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResolverEndpointsSortOrderEnum

type ListResolverEndpointsSortOrderEnum string

ListResolverEndpointsSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListResolverEndpointsSortOrderEnum

func GetListResolverEndpointsSortOrderEnumValues

func GetListResolverEndpointsSortOrderEnumValues() []ListResolverEndpointsSortOrderEnum

GetListResolverEndpointsSortOrderEnumValues Enumerates the set of values for ListResolverEndpointsSortOrderEnum

func GetMappingListResolverEndpointsSortOrderEnum

func GetMappingListResolverEndpointsSortOrderEnum(val string) (ListResolverEndpointsSortOrderEnum, bool)

GetMappingListResolverEndpointsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type 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
}

ListResolversRequest wrapper for the ListResolvers operation

See also

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

func (ListResolversRequest) BinaryRequestBody

func (request ListResolversRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListResolversRequest) HTTPRequest

func (request ListResolversRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListResolversRequest) RetryPolicy

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

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

func (ListResolversRequest) String

func (request ListResolversRequest) String() string

func (ListResolversRequest) ValidateEnumValue

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

type ListResolversResponse

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"`
}

ListResolversResponse wrapper for the ListResolvers operation

func (ListResolversResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListResolversResponse) String

func (response ListResolversResponse) String() string

type ListResolversScopeEnum

type ListResolversScopeEnum string

ListResolversScopeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListResolversScopeEnum

func GetListResolversScopeEnumValues

func GetListResolversScopeEnumValues() []ListResolversScopeEnum

GetListResolversScopeEnumValues Enumerates the set of values for ListResolversScopeEnum

func GetMappingListResolversScopeEnum

func GetMappingListResolversScopeEnum(val string) (ListResolversScopeEnum, bool)

GetMappingListResolversScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResolversSortByEnum

type ListResolversSortByEnum string

ListResolversSortByEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListResolversSortByEnum

func GetListResolversSortByEnumValues

func GetListResolversSortByEnumValues() []ListResolversSortByEnum

GetListResolversSortByEnumValues Enumerates the set of values for ListResolversSortByEnum

func GetMappingListResolversSortByEnum

func GetMappingListResolversSortByEnum(val string) (ListResolversSortByEnum, bool)

GetMappingListResolversSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListResolversSortOrderEnum

type ListResolversSortOrderEnum string

ListResolversSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListResolversSortOrderEnum

func GetListResolversSortOrderEnumValues

func GetListResolversSortOrderEnumValues() []ListResolversSortOrderEnum

GetListResolversSortOrderEnumValues Enumerates the set of values for ListResolversSortOrderEnum

func GetMappingListResolversSortOrderEnum

func GetMappingListResolversSortOrderEnum(val string) (ListResolversSortOrderEnum, bool)

GetMappingListResolversSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type 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
}

ListSteeringPoliciesRequest wrapper for the ListSteeringPolicies operation

See also

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

func (ListSteeringPoliciesRequest) BinaryRequestBody

func (request ListSteeringPoliciesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListSteeringPoliciesRequest) HTTPRequest

func (request ListSteeringPoliciesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSteeringPoliciesRequest) RetryPolicy

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

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

func (ListSteeringPoliciesRequest) String

func (request ListSteeringPoliciesRequest) String() string

func (ListSteeringPoliciesRequest) ValidateEnumValue

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

type ListSteeringPoliciesResponse

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"`
}

ListSteeringPoliciesResponse wrapper for the ListSteeringPolicies operation

func (ListSteeringPoliciesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListSteeringPoliciesResponse) String

func (response ListSteeringPoliciesResponse) String() string

type ListSteeringPoliciesScopeEnum

type ListSteeringPoliciesScopeEnum string

ListSteeringPoliciesScopeEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListSteeringPoliciesScopeEnum

func GetListSteeringPoliciesScopeEnumValues

func GetListSteeringPoliciesScopeEnumValues() []ListSteeringPoliciesScopeEnum

GetListSteeringPoliciesScopeEnumValues Enumerates the set of values for ListSteeringPoliciesScopeEnum

func GetMappingListSteeringPoliciesScopeEnum

func GetMappingListSteeringPoliciesScopeEnum(val string) (ListSteeringPoliciesScopeEnum, bool)

GetMappingListSteeringPoliciesScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSteeringPoliciesSortByEnum

type ListSteeringPoliciesSortByEnum string

ListSteeringPoliciesSortByEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListSteeringPoliciesSortByEnum

func GetListSteeringPoliciesSortByEnumValues

func GetListSteeringPoliciesSortByEnumValues() []ListSteeringPoliciesSortByEnum

GetListSteeringPoliciesSortByEnumValues Enumerates the set of values for ListSteeringPoliciesSortByEnum

func GetMappingListSteeringPoliciesSortByEnum

func GetMappingListSteeringPoliciesSortByEnum(val string) (ListSteeringPoliciesSortByEnum, bool)

GetMappingListSteeringPoliciesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSteeringPoliciesSortOrderEnum

type ListSteeringPoliciesSortOrderEnum string

ListSteeringPoliciesSortOrderEnum Enum with underlying type: string

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

Set of constants representing the allowable values for ListSteeringPoliciesSortOrderEnum

func GetListSteeringPoliciesSortOrderEnumValues

func GetListSteeringPoliciesSortOrderEnumValues() []ListSteeringPoliciesSortOrderEnum

GetListSteeringPoliciesSortOrderEnumValues Enumerates the set of values for ListSteeringPoliciesSortOrderEnum

func GetMappingListSteeringPoliciesSortOrderEnum

func GetMappingListSteeringPoliciesSortOrderEnum(val string) (ListSteeringPoliciesSortOrderEnum, bool)

GetMappingListSteeringPoliciesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type 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
}

ListSteeringPolicyAttachmentsRequest wrapper for the ListSteeringPolicyAttachments operation

See also

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

func (ListSteeringPolicyAttachmentsRequest) BinaryRequestBody

func (request ListSteeringPolicyAttachmentsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListSteeringPolicyAttachmentsRequest) HTTPRequest

func (request ListSteeringPolicyAttachmentsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListSteeringPolicyAttachmentsRequest) RetryPolicy

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

func (ListSteeringPolicyAttachmentsRequest) String

func (ListSteeringPolicyAttachmentsRequest) ValidateEnumValue

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

type ListSteeringPolicyAttachmentsResponse

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"`
}

ListSteeringPolicyAttachmentsResponse wrapper for the ListSteeringPolicyAttachments operation

func (ListSteeringPolicyAttachmentsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListSteeringPolicyAttachmentsResponse) String

type ListSteeringPolicyAttachmentsScopeEnum

type ListSteeringPolicyAttachmentsScopeEnum string

ListSteeringPolicyAttachmentsScopeEnum Enum with underlying type: string

const (
	ListSteeringPolicyAttachmentsScopeGlobal  ListSteeringPolicyAttachmentsScopeEnum = "GLOBAL"
	ListSteeringPolicyAttachmentsScopePrivate ListSteeringPolicyAttachmentsScopeEnum = "PRIVATE"
)

Set of constants representing the allowable values for ListSteeringPolicyAttachmentsScopeEnum

func GetListSteeringPolicyAttachmentsScopeEnumValues

func GetListSteeringPolicyAttachmentsScopeEnumValues() []ListSteeringPolicyAttachmentsScopeEnum

GetListSteeringPolicyAttachmentsScopeEnumValues Enumerates the set of values for ListSteeringPolicyAttachmentsScopeEnum

func GetMappingListSteeringPolicyAttachmentsScopeEnum

func GetMappingListSteeringPolicyAttachmentsScopeEnum(val string) (ListSteeringPolicyAttachmentsScopeEnum, bool)

GetMappingListSteeringPolicyAttachmentsScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSteeringPolicyAttachmentsSortByEnum

type ListSteeringPolicyAttachmentsSortByEnum string

ListSteeringPolicyAttachmentsSortByEnum Enum with underlying type: string

const (
	ListSteeringPolicyAttachmentsSortByDisplayname ListSteeringPolicyAttachmentsSortByEnum = "displayName"
	ListSteeringPolicyAttachmentsSortByTimecreated ListSteeringPolicyAttachmentsSortByEnum = "timeCreated"
	ListSteeringPolicyAttachmentsSortByDomainname  ListSteeringPolicyAttachmentsSortByEnum = "domainName"
)

Set of constants representing the allowable values for ListSteeringPolicyAttachmentsSortByEnum

func GetListSteeringPolicyAttachmentsSortByEnumValues

func GetListSteeringPolicyAttachmentsSortByEnumValues() []ListSteeringPolicyAttachmentsSortByEnum

GetListSteeringPolicyAttachmentsSortByEnumValues Enumerates the set of values for ListSteeringPolicyAttachmentsSortByEnum

func GetMappingListSteeringPolicyAttachmentsSortByEnum

func GetMappingListSteeringPolicyAttachmentsSortByEnum(val string) (ListSteeringPolicyAttachmentsSortByEnum, bool)

GetMappingListSteeringPolicyAttachmentsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListSteeringPolicyAttachmentsSortOrderEnum

type ListSteeringPolicyAttachmentsSortOrderEnum string

ListSteeringPolicyAttachmentsSortOrderEnum Enum with underlying type: string

const (
	ListSteeringPolicyAttachmentsSortOrderAsc  ListSteeringPolicyAttachmentsSortOrderEnum = "ASC"
	ListSteeringPolicyAttachmentsSortOrderDesc ListSteeringPolicyAttachmentsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListSteeringPolicyAttachmentsSortOrderEnum

func GetListSteeringPolicyAttachmentsSortOrderEnumValues

func GetListSteeringPolicyAttachmentsSortOrderEnumValues() []ListSteeringPolicyAttachmentsSortOrderEnum

GetListSteeringPolicyAttachmentsSortOrderEnumValues Enumerates the set of values for ListSteeringPolicyAttachmentsSortOrderEnum

func GetMappingListSteeringPolicyAttachmentsSortOrderEnum

func GetMappingListSteeringPolicyAttachmentsSortOrderEnum(val string) (ListSteeringPolicyAttachmentsSortOrderEnum, bool)

GetMappingListSteeringPolicyAttachmentsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type 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
}

ListTsigKeysRequest wrapper for the ListTsigKeys operation

See also

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

func (ListTsigKeysRequest) BinaryRequestBody

func (request ListTsigKeysRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListTsigKeysRequest) HTTPRequest

func (request ListTsigKeysRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListTsigKeysRequest) RetryPolicy

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

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

func (ListTsigKeysRequest) String

func (request ListTsigKeysRequest) String() string

func (ListTsigKeysRequest) ValidateEnumValue

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

type ListTsigKeysResponse

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"`
}

ListTsigKeysResponse wrapper for the ListTsigKeys operation

func (ListTsigKeysResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListTsigKeysResponse) String

func (response ListTsigKeysResponse) String() string

type ListTsigKeysScopeEnum

type ListTsigKeysScopeEnum string

ListTsigKeysScopeEnum Enum with underlying type: string

const (
	ListTsigKeysScopeGlobal  ListTsigKeysScopeEnum = "GLOBAL"
	ListTsigKeysScopePrivate ListTsigKeysScopeEnum = "PRIVATE"
)

Set of constants representing the allowable values for ListTsigKeysScopeEnum

func GetListTsigKeysScopeEnumValues

func GetListTsigKeysScopeEnumValues() []ListTsigKeysScopeEnum

GetListTsigKeysScopeEnumValues Enumerates the set of values for ListTsigKeysScopeEnum

func GetMappingListTsigKeysScopeEnum

func GetMappingListTsigKeysScopeEnum(val string) (ListTsigKeysScopeEnum, bool)

GetMappingListTsigKeysScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTsigKeysSortByEnum

type ListTsigKeysSortByEnum string

ListTsigKeysSortByEnum Enum with underlying type: string

const (
	ListTsigKeysSortByName        ListTsigKeysSortByEnum = "name"
	ListTsigKeysSortByTimecreated ListTsigKeysSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListTsigKeysSortByEnum

func GetListTsigKeysSortByEnumValues

func GetListTsigKeysSortByEnumValues() []ListTsigKeysSortByEnum

GetListTsigKeysSortByEnumValues Enumerates the set of values for ListTsigKeysSortByEnum

func GetMappingListTsigKeysSortByEnum

func GetMappingListTsigKeysSortByEnum(val string) (ListTsigKeysSortByEnum, bool)

GetMappingListTsigKeysSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListTsigKeysSortOrderEnum

type ListTsigKeysSortOrderEnum string

ListTsigKeysSortOrderEnum Enum with underlying type: string

const (
	ListTsigKeysSortOrderAsc  ListTsigKeysSortOrderEnum = "ASC"
	ListTsigKeysSortOrderDesc ListTsigKeysSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListTsigKeysSortOrderEnum

func GetListTsigKeysSortOrderEnumValues

func GetListTsigKeysSortOrderEnumValues() []ListTsigKeysSortOrderEnum

GetListTsigKeysSortOrderEnumValues Enumerates the set of values for ListTsigKeysSortOrderEnum

func GetMappingListTsigKeysSortOrderEnum

func GetMappingListTsigKeysSortOrderEnum(val string) (ListTsigKeysSortOrderEnum, bool)

GetMappingListTsigKeysSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type 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
}

ListViewsRequest wrapper for the ListViews operation

See also

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

func (ListViewsRequest) BinaryRequestBody

func (request ListViewsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListViewsRequest) HTTPRequest

func (request ListViewsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListViewsRequest) RetryPolicy

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

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

func (ListViewsRequest) String

func (request ListViewsRequest) String() string

func (ListViewsRequest) ValidateEnumValue

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

type ListViewsResponse

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"`
}

ListViewsResponse wrapper for the ListViews operation

func (ListViewsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListViewsResponse) String

func (response ListViewsResponse) String() string

type ListViewsScopeEnum

type ListViewsScopeEnum string

ListViewsScopeEnum Enum with underlying type: string

const (
	ListViewsScopeGlobal  ListViewsScopeEnum = "GLOBAL"
	ListViewsScopePrivate ListViewsScopeEnum = "PRIVATE"
)

Set of constants representing the allowable values for ListViewsScopeEnum

func GetListViewsScopeEnumValues

func GetListViewsScopeEnumValues() []ListViewsScopeEnum

GetListViewsScopeEnumValues Enumerates the set of values for ListViewsScopeEnum

func GetMappingListViewsScopeEnum

func GetMappingListViewsScopeEnum(val string) (ListViewsScopeEnum, bool)

GetMappingListViewsScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListViewsSortByEnum

type ListViewsSortByEnum string

ListViewsSortByEnum Enum with underlying type: string

const (
	ListViewsSortByDisplayname ListViewsSortByEnum = "displayName"
	ListViewsSortByTimecreated ListViewsSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListViewsSortByEnum

func GetListViewsSortByEnumValues

func GetListViewsSortByEnumValues() []ListViewsSortByEnum

GetListViewsSortByEnumValues Enumerates the set of values for ListViewsSortByEnum

func GetMappingListViewsSortByEnum

func GetMappingListViewsSortByEnum(val string) (ListViewsSortByEnum, bool)

GetMappingListViewsSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListViewsSortOrderEnum

type ListViewsSortOrderEnum string

ListViewsSortOrderEnum Enum with underlying type: string

const (
	ListViewsSortOrderAsc  ListViewsSortOrderEnum = "ASC"
	ListViewsSortOrderDesc ListViewsSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListViewsSortOrderEnum

func GetListViewsSortOrderEnumValues

func GetListViewsSortOrderEnumValues() []ListViewsSortOrderEnum

GetListViewsSortOrderEnumValues Enumerates the set of values for ListViewsSortOrderEnum

func GetMappingListViewsSortOrderEnum

func GetMappingListViewsSortOrderEnum(val string) (ListViewsSortOrderEnum, bool)

GetMappingListViewsSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type 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
}

ListZoneTransferServersRequest wrapper for the ListZoneTransferServers operation

See also

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

func (ListZoneTransferServersRequest) BinaryRequestBody

func (request ListZoneTransferServersRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListZoneTransferServersRequest) HTTPRequest

func (request ListZoneTransferServersRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListZoneTransferServersRequest) RetryPolicy

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

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

func (ListZoneTransferServersRequest) String

func (request ListZoneTransferServersRequest) String() string

func (ListZoneTransferServersRequest) ValidateEnumValue

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

type ListZoneTransferServersResponse

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"`
}

ListZoneTransferServersResponse wrapper for the ListZoneTransferServers operation

func (ListZoneTransferServersResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListZoneTransferServersResponse) String

func (response ListZoneTransferServersResponse) String() string

type ListZoneTransferServersScopeEnum

type ListZoneTransferServersScopeEnum string

ListZoneTransferServersScopeEnum Enum with underlying type: string

const (
	ListZoneTransferServersScopeGlobal  ListZoneTransferServersScopeEnum = "GLOBAL"
	ListZoneTransferServersScopePrivate ListZoneTransferServersScopeEnum = "PRIVATE"
)

Set of constants representing the allowable values for ListZoneTransferServersScopeEnum

func GetListZoneTransferServersScopeEnumValues

func GetListZoneTransferServersScopeEnumValues() []ListZoneTransferServersScopeEnum

GetListZoneTransferServersScopeEnumValues Enumerates the set of values for ListZoneTransferServersScopeEnum

func GetMappingListZoneTransferServersScopeEnum

func GetMappingListZoneTransferServersScopeEnum(val string) (ListZoneTransferServersScopeEnum, bool)

GetMappingListZoneTransferServersScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListZonesDnssecStateEnum added in v65.76.0

type ListZonesDnssecStateEnum string

ListZonesDnssecStateEnum Enum with underlying type: string

const (
	ListZonesDnssecStateEnabled  ListZonesDnssecStateEnum = "ENABLED"
	ListZonesDnssecStateDisabled ListZonesDnssecStateEnum = "DISABLED"
)

Set of constants representing the allowable values for ListZonesDnssecStateEnum

func GetListZonesDnssecStateEnumValues added in v65.76.0

func GetListZonesDnssecStateEnumValues() []ListZonesDnssecStateEnum

GetListZonesDnssecStateEnumValues Enumerates the set of values for ListZonesDnssecStateEnum

func GetMappingListZonesDnssecStateEnum added in v65.76.0

func GetMappingListZonesDnssecStateEnum(val string) (ListZonesDnssecStateEnum, bool)

GetMappingListZonesDnssecStateEnum performs case Insensitive comparison on enum value and return the desired enum

type ListZonesLifecycleStateEnum

type ListZonesLifecycleStateEnum string

ListZonesLifecycleStateEnum Enum with underlying type: string

const (
	ListZonesLifecycleStateActive   ListZonesLifecycleStateEnum = "ACTIVE"
	ListZonesLifecycleStateCreating ListZonesLifecycleStateEnum = "CREATING"
	ListZonesLifecycleStateDeleted  ListZonesLifecycleStateEnum = "DELETED"
	ListZonesLifecycleStateDeleting ListZonesLifecycleStateEnum = "DELETING"
	ListZonesLifecycleStateFailed   ListZonesLifecycleStateEnum = "FAILED"
	ListZonesLifecycleStateUpdating ListZonesLifecycleStateEnum = "UPDATING"
)

Set of constants representing the allowable values for ListZonesLifecycleStateEnum

func GetListZonesLifecycleStateEnumValues

func GetListZonesLifecycleStateEnumValues() []ListZonesLifecycleStateEnum

GetListZonesLifecycleStateEnumValues Enumerates the set of values for ListZonesLifecycleStateEnum

func GetMappingListZonesLifecycleStateEnum

func GetMappingListZonesLifecycleStateEnum(val string) (ListZonesLifecycleStateEnum, bool)

GetMappingListZonesLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

type 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"`

	// Search for zones that have the given `DnssecState`.
	DnssecState ListZonesDnssecStateEnum `mandatory:"false" contributesTo:"query" name:"dnssecState" 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
}

ListZonesRequest wrapper for the ListZones operation

See also

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

func (ListZonesRequest) BinaryRequestBody

func (request ListZonesRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (ListZonesRequest) HTTPRequest

func (request ListZonesRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (ListZonesRequest) RetryPolicy

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

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

func (ListZonesRequest) String

func (request ListZonesRequest) String() string

func (ListZonesRequest) ValidateEnumValue

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

type ListZonesResponse

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"`
}

ListZonesResponse wrapper for the ListZones operation

func (ListZonesResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (ListZonesResponse) String

func (response ListZonesResponse) String() string

type ListZonesScopeEnum

type ListZonesScopeEnum string

ListZonesScopeEnum Enum with underlying type: string

const (
	ListZonesScopeGlobal  ListZonesScopeEnum = "GLOBAL"
	ListZonesScopePrivate ListZonesScopeEnum = "PRIVATE"
)

Set of constants representing the allowable values for ListZonesScopeEnum

func GetListZonesScopeEnumValues

func GetListZonesScopeEnumValues() []ListZonesScopeEnum

GetListZonesScopeEnumValues Enumerates the set of values for ListZonesScopeEnum

func GetMappingListZonesScopeEnum

func GetMappingListZonesScopeEnum(val string) (ListZonesScopeEnum, bool)

GetMappingListZonesScopeEnum performs case Insensitive comparison on enum value and return the desired enum

type ListZonesSortByEnum

type ListZonesSortByEnum string

ListZonesSortByEnum Enum with underlying type: string

const (
	ListZonesSortByName        ListZonesSortByEnum = "name"
	ListZonesSortByZonetype    ListZonesSortByEnum = "zoneType"
	ListZonesSortByTimecreated ListZonesSortByEnum = "timeCreated"
)

Set of constants representing the allowable values for ListZonesSortByEnum

func GetListZonesSortByEnumValues

func GetListZonesSortByEnumValues() []ListZonesSortByEnum

GetListZonesSortByEnumValues Enumerates the set of values for ListZonesSortByEnum

func GetMappingListZonesSortByEnum

func GetMappingListZonesSortByEnum(val string) (ListZonesSortByEnum, bool)

GetMappingListZonesSortByEnum performs case Insensitive comparison on enum value and return the desired enum

type ListZonesSortOrderEnum

type ListZonesSortOrderEnum string

ListZonesSortOrderEnum Enum with underlying type: string

const (
	ListZonesSortOrderAsc  ListZonesSortOrderEnum = "ASC"
	ListZonesSortOrderDesc ListZonesSortOrderEnum = "DESC"
)

Set of constants representing the allowable values for ListZonesSortOrderEnum

func GetListZonesSortOrderEnumValues

func GetListZonesSortOrderEnumValues() []ListZonesSortOrderEnum

GetListZonesSortOrderEnumValues Enumerates the set of values for ListZonesSortOrderEnum

func GetMappingListZonesSortOrderEnum

func GetMappingListZonesSortOrderEnum(val string) (ListZonesSortOrderEnum, bool)

GetMappingListZonesSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

type ListZonesZoneTypeEnum

type ListZonesZoneTypeEnum string

ListZonesZoneTypeEnum Enum with underlying type: string

const (
	ListZonesZoneTypePrimary   ListZonesZoneTypeEnum = "PRIMARY"
	ListZonesZoneTypeSecondary ListZonesZoneTypeEnum = "SECONDARY"
)

Set of constants representing the allowable values for ListZonesZoneTypeEnum

func GetListZonesZoneTypeEnumValues

func GetListZonesZoneTypeEnumValues() []ListZonesZoneTypeEnum

GetListZonesZoneTypeEnumValues Enumerates the set of values for ListZonesZoneTypeEnum

func GetMappingListZonesZoneTypeEnum

func GetMappingListZonesZoneTypeEnum(val string) (ListZonesZoneTypeEnum, bool)

GetMappingListZonesZoneTypeEnum performs case Insensitive comparison on enum value and return the desired enum

type MigrationReplacement

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"`
}

MigrationReplacement A record to add to a zone in replacement of contents that cannot be migrated.

func (MigrationReplacement) String

func (m MigrationReplacement) String() string

func (MigrationReplacement) ValidateEnumValue

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

type Nameserver

type Nameserver struct {

	// The hostname of the nameserver.
	Hostname *string `mandatory:"true" json:"hostname"`
}

Nameserver A server that has been set up to answer DNS queries for a zone.

func (Nameserver) String

func (m Nameserver) String() string

func (Nameserver) ValidateEnumValue

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

type PatchDomainRecordsDetails

type PatchDomainRecordsDetails struct {
	Items []RecordOperation `mandatory:"false" json:"items"`
}

PatchDomainRecordsDetails The representation of PatchDomainRecordsDetails

func (PatchDomainRecordsDetails) String

func (m PatchDomainRecordsDetails) String() string

func (PatchDomainRecordsDetails) ValidateEnumValue

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

type 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 zone is associated with. Required when accessing a private zone by name.
	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
}

PatchDomainRecordsRequest wrapper for the PatchDomainRecords operation

See also

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

func (PatchDomainRecordsRequest) BinaryRequestBody

func (request PatchDomainRecordsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (PatchDomainRecordsRequest) HTTPRequest

func (request PatchDomainRecordsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (PatchDomainRecordsRequest) RetryPolicy

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

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

func (PatchDomainRecordsRequest) String

func (request PatchDomainRecordsRequest) String() string

func (PatchDomainRecordsRequest) ValidateEnumValue

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

type PatchDomainRecordsResponse

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"`
}

PatchDomainRecordsResponse wrapper for the PatchDomainRecords operation

func (PatchDomainRecordsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (PatchDomainRecordsResponse) String

func (response PatchDomainRecordsResponse) String() string

type PatchDomainRecordsScopeEnum

type PatchDomainRecordsScopeEnum string

PatchDomainRecordsScopeEnum Enum with underlying type: string

const (
	PatchDomainRecordsScopeGlobal  PatchDomainRecordsScopeEnum = "GLOBAL"
	PatchDomainRecordsScopePrivate PatchDomainRecordsScopeEnum = "PRIVATE"
)

Set of constants representing the allowable values for PatchDomainRecordsScopeEnum

func GetMappingPatchDomainRecordsScopeEnum

func GetMappingPatchDomainRecordsScopeEnum(val string) (PatchDomainRecordsScopeEnum, bool)

GetMappingPatchDomainRecordsScopeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPatchDomainRecordsScopeEnumValues

func GetPatchDomainRecordsScopeEnumValues() []PatchDomainRecordsScopeEnum

GetPatchDomainRecordsScopeEnumValues Enumerates the set of values for PatchDomainRecordsScopeEnum

type PatchRRSetRequest

type PatchRRSetRequest struct {

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

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

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

	// Operations describing how to modify the collection of records.
	PatchRrSetDetails `contributesTo:"body"`

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

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

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

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

	// The OCID of the view the zone is associated with. Required when accessing a private zone by name.
	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
}

PatchRRSetRequest wrapper for the PatchRRSet operation

See also

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

func (PatchRRSetRequest) BinaryRequestBody

func (request PatchRRSetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (PatchRRSetRequest) HTTPRequest

func (request PatchRRSetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (PatchRRSetRequest) RetryPolicy

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

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

func (PatchRRSetRequest) String

func (request PatchRRSetRequest) String() string

func (PatchRRSetRequest) ValidateEnumValue

func (request PatchRRSetRequest) 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

type PatchRRSetResponse

type PatchRRSetResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

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

	// The current version of the 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"`
}

PatchRRSetResponse wrapper for the PatchRRSet operation

func (PatchRRSetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (PatchRRSetResponse) String

func (response PatchRRSetResponse) String() string

type PatchRRSetScopeEnum

type PatchRRSetScopeEnum string

PatchRRSetScopeEnum Enum with underlying type: string

const (
	PatchRRSetScopeGlobal  PatchRRSetScopeEnum = "GLOBAL"
	PatchRRSetScopePrivate PatchRRSetScopeEnum = "PRIVATE"
)

Set of constants representing the allowable values for PatchRRSetScopeEnum

func GetMappingPatchRRSetScopeEnum

func GetMappingPatchRRSetScopeEnum(val string) (PatchRRSetScopeEnum, bool)

GetMappingPatchRRSetScopeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPatchRRSetScopeEnumValues

func GetPatchRRSetScopeEnumValues() []PatchRRSetScopeEnum

GetPatchRRSetScopeEnumValues Enumerates the set of values for PatchRRSetScopeEnum

type PatchRrSetDetails

type PatchRrSetDetails struct {
	Items []RecordOperation `mandatory:"false" json:"items"`
}

PatchRrSetDetails The representation of PatchRrSetDetails

func (PatchRrSetDetails) String

func (m PatchRrSetDetails) String() string

func (PatchRrSetDetails) ValidateEnumValue

func (m PatchRrSetDetails) 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

type PatchZoneRecordsDetails

type PatchZoneRecordsDetails struct {
	Items []RecordOperation `mandatory:"false" json:"items"`
}

PatchZoneRecordsDetails The representation of PatchZoneRecordsDetails

func (PatchZoneRecordsDetails) String

func (m PatchZoneRecordsDetails) String() string

func (PatchZoneRecordsDetails) ValidateEnumValue

func (m PatchZoneRecordsDetails) 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

type PatchZoneRecordsRequest

type PatchZoneRecordsRequest struct {

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

	// The operations describing how to modify the collection of records.
	PatchZoneRecordsDetails `contributesTo:"body"`

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

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

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

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

	// The OCID of the view the zone is associated with. Required when accessing a private zone by name.
	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
}

PatchZoneRecordsRequest wrapper for the PatchZoneRecords operation

See also

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

func (PatchZoneRecordsRequest) BinaryRequestBody

func (request PatchZoneRecordsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (PatchZoneRecordsRequest) HTTPRequest

func (request PatchZoneRecordsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (PatchZoneRecordsRequest) RetryPolicy

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

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

func (PatchZoneRecordsRequest) String

func (request PatchZoneRecordsRequest) String() string

func (PatchZoneRecordsRequest) ValidateEnumValue

func (request PatchZoneRecordsRequest) 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

type PatchZoneRecordsResponse

type PatchZoneRecordsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

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

	// The current version of the 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"`
}

PatchZoneRecordsResponse wrapper for the PatchZoneRecords operation

func (PatchZoneRecordsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (PatchZoneRecordsResponse) String

func (response PatchZoneRecordsResponse) String() string

type PatchZoneRecordsScopeEnum

type PatchZoneRecordsScopeEnum string

PatchZoneRecordsScopeEnum Enum with underlying type: string

const (
	PatchZoneRecordsScopeGlobal  PatchZoneRecordsScopeEnum = "GLOBAL"
	PatchZoneRecordsScopePrivate PatchZoneRecordsScopeEnum = "PRIVATE"
)

Set of constants representing the allowable values for PatchZoneRecordsScopeEnum

func GetMappingPatchZoneRecordsScopeEnum

func GetMappingPatchZoneRecordsScopeEnum(val string) (PatchZoneRecordsScopeEnum, bool)

GetMappingPatchZoneRecordsScopeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPatchZoneRecordsScopeEnumValues

func GetPatchZoneRecordsScopeEnumValues() []PatchZoneRecordsScopeEnum

GetPatchZoneRecordsScopeEnumValues Enumerates the set of values for PatchZoneRecordsScopeEnum

type PromoteZoneDnssecKeyVersionDetails added in v65.76.0

type PromoteZoneDnssecKeyVersionDetails struct {

	// The UUID of the `DnssecKeyVersion` that is being promoted.
	DnssecKeyVersionUuid *string `mandatory:"true" json:"dnssecKeyVersionUuid"`
}

PromoteZoneDnssecKeyVersionDetails Details for promoting a `DnssecKeyVersion` on a zone.

func (PromoteZoneDnssecKeyVersionDetails) String added in v65.76.0

func (PromoteZoneDnssecKeyVersionDetails) ValidateEnumValue added in v65.76.0

func (m PromoteZoneDnssecKeyVersionDetails) 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

type PromoteZoneDnssecKeyVersionRequest added in v65.76.0

type PromoteZoneDnssecKeyVersionRequest struct {

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

	// Details for promoting a `DnssecKeyVersion`.
	PromoteZoneDnssecKeyVersionDetails `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"`

	// 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 PromoteZoneDnssecKeyVersionScopeEnum `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
}

PromoteZoneDnssecKeyVersionRequest wrapper for the PromoteZoneDnssecKeyVersion operation

See also

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

func (PromoteZoneDnssecKeyVersionRequest) BinaryRequestBody added in v65.76.0

func (request PromoteZoneDnssecKeyVersionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (PromoteZoneDnssecKeyVersionRequest) HTTPRequest added in v65.76.0

func (request PromoteZoneDnssecKeyVersionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (PromoteZoneDnssecKeyVersionRequest) RetryPolicy added in v65.76.0

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

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

func (PromoteZoneDnssecKeyVersionRequest) String added in v65.76.0

func (request PromoteZoneDnssecKeyVersionRequest) String() string

func (PromoteZoneDnssecKeyVersionRequest) ValidateEnumValue added in v65.76.0

func (request PromoteZoneDnssecKeyVersionRequest) 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

type PromoteZoneDnssecKeyVersionResponse added in v65.76.0

type PromoteZoneDnssecKeyVersionResponse 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"`
}

PromoteZoneDnssecKeyVersionResponse wrapper for the PromoteZoneDnssecKeyVersion operation

func (PromoteZoneDnssecKeyVersionResponse) HTTPResponse added in v65.76.0

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

HTTPResponse implements the OCIResponse interface

func (PromoteZoneDnssecKeyVersionResponse) String added in v65.76.0

func (response PromoteZoneDnssecKeyVersionResponse) String() string

type PromoteZoneDnssecKeyVersionScopeEnum added in v65.76.0

type PromoteZoneDnssecKeyVersionScopeEnum string

PromoteZoneDnssecKeyVersionScopeEnum Enum with underlying type: string

const (
	PromoteZoneDnssecKeyVersionScopeGlobal  PromoteZoneDnssecKeyVersionScopeEnum = "GLOBAL"
	PromoteZoneDnssecKeyVersionScopePrivate PromoteZoneDnssecKeyVersionScopeEnum = "PRIVATE"
)

Set of constants representing the allowable values for PromoteZoneDnssecKeyVersionScopeEnum

func GetMappingPromoteZoneDnssecKeyVersionScopeEnum added in v65.76.0

func GetMappingPromoteZoneDnssecKeyVersionScopeEnum(val string) (PromoteZoneDnssecKeyVersionScopeEnum, bool)

GetMappingPromoteZoneDnssecKeyVersionScopeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetPromoteZoneDnssecKeyVersionScopeEnumValues added in v65.76.0

func GetPromoteZoneDnssecKeyVersionScopeEnumValues() []PromoteZoneDnssecKeyVersionScopeEnum

GetPromoteZoneDnssecKeyVersionScopeEnumValues Enumerates the set of values for PromoteZoneDnssecKeyVersionScopeEnum

type Record

type Record struct {

	// The fully qualified domain name where the record can be located.
	Domain *string `mandatory:"false" json:"domain"`

	// A unique identifier for the record within its zone.
	RecordHash *string `mandatory:"false" json:"recordHash"`

	// A Boolean flag indicating whether or not parts of the record
	// are unable to be explicitly managed.
	IsProtected *bool `mandatory:"false" json:"isProtected"`

	// The record's data, as whitespace-delimited tokens in
	// type-specific presentation format. All RDATA is normalized and the
	// returned presentation of your RDATA may differ from its initial input.
	// For more information about RDATA, see Supported DNS Resource Record Types (https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm)
	Rdata *string `mandatory:"false" json:"rdata"`

	// The latest version of the record's zone in which its RRSet differs
	// from the preceding version.
	RrsetVersion *string `mandatory:"false" json:"rrsetVersion"`

	// The type of DNS record, such as A or CNAME. For more information, see Resource Record (RR) TYPEs (https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4).
	Rtype *string `mandatory:"false" json:"rtype"`

	// The Time To Live for the record, in seconds. Using a TTL lower than 30 seconds is not recommended.
	Ttl *int `mandatory:"false" json:"ttl"`
}

Record A DNS resource record. For more information, see Supported DNS Resource Record Types (https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm).

func (Record) String

func (m Record) String() string

func (Record) ValidateEnumValue

func (m Record) 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

type RecordCollection

type RecordCollection struct {
	Items []Record `mandatory:"true" json:"items"`
}

RecordCollection A collection of DNS resource records.

func (RecordCollection) String

func (m RecordCollection) String() string

func (RecordCollection) ValidateEnumValue

func (m RecordCollection) 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

type RecordDetails

type RecordDetails struct {

	// The fully qualified domain name where the record can be located.
	Domain *string `mandatory:"true" json:"domain"`

	// The record's data, as whitespace-delimited tokens in
	// type-specific presentation format. All RDATA is normalized and the
	// returned presentation of your RDATA may differ from its initial input.
	// For more information about RDATA, see Supported DNS Resource Record Types (https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm)
	Rdata *string `mandatory:"true" json:"rdata"`

	// The type of DNS record, such as A or CNAME. For more information, see Resource Record (RR) TYPEs (https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4).
	Rtype *string `mandatory:"true" json:"rtype"`

	// The Time To Live for the record, in seconds. Using a TTL lower than 30 seconds is not recommended.
	Ttl *int `mandatory:"true" json:"ttl"`

	// A unique identifier for the record within its zone.
	RecordHash *string `mandatory:"false" json:"recordHash"`

	// A Boolean flag indicating whether or not parts of the record
	// are unable to be explicitly managed.
	IsProtected *bool `mandatory:"false" json:"isProtected"`

	// The latest version of the record's zone in which its RRSet differs
	// from the preceding version.
	RrsetVersion *string `mandatory:"false" json:"rrsetVersion"`
}

RecordDetails A DNS resource record. For more information about records, see RFC 1034 (https://tools.ietf.org/html/rfc1034#section-3.6).

func (RecordDetails) String

func (m RecordDetails) String() string

func (RecordDetails) ValidateEnumValue

func (m RecordDetails) 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

type RecordOperation

type RecordOperation struct {

	// The fully qualified domain name where the record can be located.
	Domain *string `mandatory:"false" json:"domain"`

	// A unique identifier for the record within its zone.
	RecordHash *string `mandatory:"false" json:"recordHash"`

	// A Boolean flag indicating whether or not parts of the record
	// are unable to be explicitly managed.
	IsProtected *bool `mandatory:"false" json:"isProtected"`

	// The record's data, as whitespace-delimited tokens in
	// type-specific presentation format. All RDATA is normalized and the
	// returned presentation of your RDATA may differ from its initial input.
	// For more information about RDATA, see Supported DNS Resource Record Types (https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm)
	Rdata *string `mandatory:"false" json:"rdata"`

	// The latest version of the record's zone in which its RRSet differs
	// from the preceding version.
	RrsetVersion *string `mandatory:"false" json:"rrsetVersion"`

	// The type of DNS record, such as A or CNAME. For more information, see Resource Record (RR) TYPEs (https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4).
	Rtype *string `mandatory:"false" json:"rtype"`

	// The Time To Live for the record, in seconds. Using a TTL lower than 30 seconds is not recommended.
	Ttl *int `mandatory:"false" json:"ttl"`

	// A description of how a record relates to a PATCH operation.
	//
	// - `REQUIRE` indicates a precondition that record data **must** already exist.
	// - `PROHIBIT` indicates a precondition that record data **must not** already exist.
	// - `ADD` indicates that record data **must** exist after successful application.
	// - `REMOVE` indicates that record data **must not** exist after successful application.
	//
	//   **Note:** `ADD` and `REMOVE` operations can succeed even if
	//   they require no changes when applied, such as when the described
	//   records are already present or absent.
	//
	//   **Note:** `ADD` and `REMOVE` operations can describe changes for
	//   more than one record.
	//
	//   **Example:** `{ "domain": "www.example.com", "rtype": "AAAA", "ttl": 60 }`
	//   specifies a new TTL for every record in the www.example.com AAAA RRSet.
	Operation RecordOperationOperationEnum `mandatory:"false" json:"operation,omitempty"`
}

RecordOperation An extension of the existing record resource, describing either a precondition, an add, or a remove. Preconditions check all fields, including read-only data like `recordHash` and `rrsetVersion`.

func (RecordOperation) String

func (m RecordOperation) String() string

func (RecordOperation) ValidateEnumValue

func (m RecordOperation) 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

type RecordOperationOperationEnum

type RecordOperationOperationEnum string

RecordOperationOperationEnum Enum with underlying type: string

const (
	RecordOperationOperationRequire  RecordOperationOperationEnum = "REQUIRE"
	RecordOperationOperationProhibit RecordOperationOperationEnum = "PROHIBIT"
	RecordOperationOperationAdd      RecordOperationOperationEnum = "ADD"
	RecordOperationOperationRemove   RecordOperationOperationEnum = "REMOVE"
)

Set of constants representing the allowable values for RecordOperationOperationEnum

func GetMappingRecordOperationOperationEnum

func GetMappingRecordOperationOperationEnum(val string) (RecordOperationOperationEnum, bool)

GetMappingRecordOperationOperationEnum performs case Insensitive comparison on enum value and return the desired enum

func GetRecordOperationOperationEnumValues

func GetRecordOperationOperationEnumValues() []RecordOperationOperationEnum

GetRecordOperationOperationEnumValues Enumerates the set of values for RecordOperationOperationEnum

type Resolver

type Resolver struct {

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

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

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

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

	// The OCID of the resolver.
	Id *string `mandatory:"true" json:"id"`

	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format
	// with a Z offset, as defined by RFC 3339.
	// **Example:** `2016-07-22T17:23:59:60Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ"
	// format with a Z offset, as defined by RFC 3339.
	// **Example:** `2016-07-22T17:23:59:60Z`
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The current state of the resource.
	LifecycleState ResolverLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The canonical absolute URL of the resource.
	Self *string `mandatory:"true" json:"self"`

	// A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
	IsProtected *bool `mandatory:"true" json:"isProtected"`

	// Read-only array of endpoints for the resolver.
	Endpoints []ResolverEndpointSummary `mandatory:"true" json:"endpoints"`

	// The attached views. Views are evaluated in order.
	AttachedViews []AttachedView `mandatory:"true" json:"attachedViews"`

	// The OCID of the attached VCN.
	AttachedVcnId *string `mandatory:"false" json:"attachedVcnId"`

	// The OCID of the default view.
	DefaultViewId *string `mandatory:"false" json:"defaultViewId"`

	// Rules for the resolver. Rules are evaluated in order.
	Rules []ResolverRule `mandatory:"false" json:"rules"`
}

Resolver An OCI DNS resolver. If the resolver has an attached VCN, the VCN will attempt to answer queries based on the attached views in priority order. If the query does not match any of the attached views, the query will be evaluated against the default view. If the default view does not match, the rules will be evaluated in priority order. If no rules match the query, answers come from Internet DNS. A resolver may have a maximum of 10 resolver endpoints. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (Resolver) String

func (m Resolver) String() string

func (*Resolver) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (Resolver) ValidateEnumValue

func (m Resolver) 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

type ResolverEndpoint

type ResolverEndpoint 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

	// The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under
	// and will be updated if the resolver's compartment is changed.
	GetCompartmentId() *string

	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format
	// with a Z offset, as defined by RFC 3339.
	// **Example:** `2016-07-22T17:23:59:60Z`
	GetTimeCreated() *common.SDKTime

	// The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ"
	// format with a Z offset, as defined by RFC 3339.
	// **Example:** `2016-07-22T17:23:59:60Z`
	GetTimeUpdated() *common.SDKTime

	// The current state of the resource.
	GetLifecycleState() ResolverEndpointLifecycleStateEnum

	// The canonical absolute URL of the resource.
	GetSelf() *string

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

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

ResolverEndpoint An OCI DNS resolver endpoint. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type ResolverEndpointEndpointTypeEnum

type ResolverEndpointEndpointTypeEnum string

ResolverEndpointEndpointTypeEnum Enum with underlying type: string

const (
	ResolverEndpointEndpointTypeVnic ResolverEndpointEndpointTypeEnum = "VNIC"
)

Set of constants representing the allowable values for ResolverEndpointEndpointTypeEnum

func GetMappingResolverEndpointEndpointTypeEnum

func GetMappingResolverEndpointEndpointTypeEnum(val string) (ResolverEndpointEndpointTypeEnum, bool)

GetMappingResolverEndpointEndpointTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResolverEndpointEndpointTypeEnumValues

func GetResolverEndpointEndpointTypeEnumValues() []ResolverEndpointEndpointTypeEnum

GetResolverEndpointEndpointTypeEnumValues Enumerates the set of values for ResolverEndpointEndpointTypeEnum

type ResolverEndpointLifecycleStateEnum

type ResolverEndpointLifecycleStateEnum string

ResolverEndpointLifecycleStateEnum Enum with underlying type: string

const (
	ResolverEndpointLifecycleStateActive   ResolverEndpointLifecycleStateEnum = "ACTIVE"
	ResolverEndpointLifecycleStateCreating ResolverEndpointLifecycleStateEnum = "CREATING"
	ResolverEndpointLifecycleStateDeleted  ResolverEndpointLifecycleStateEnum = "DELETED"
	ResolverEndpointLifecycleStateDeleting ResolverEndpointLifecycleStateEnum = "DELETING"
	ResolverEndpointLifecycleStateFailed   ResolverEndpointLifecycleStateEnum = "FAILED"
	ResolverEndpointLifecycleStateUpdating ResolverEndpointLifecycleStateEnum = "UPDATING"
)

Set of constants representing the allowable values for ResolverEndpointLifecycleStateEnum

func GetMappingResolverEndpointLifecycleStateEnum

func GetMappingResolverEndpointLifecycleStateEnum(val string) (ResolverEndpointLifecycleStateEnum, bool)

GetMappingResolverEndpointLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResolverEndpointLifecycleStateEnumValues

func GetResolverEndpointLifecycleStateEnumValues() []ResolverEndpointLifecycleStateEnum

GetResolverEndpointLifecycleStateEnumValues Enumerates the set of values for ResolverEndpointLifecycleStateEnum

type ResolverEndpointSummary

type ResolverEndpointSummary 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

	// The OCID of the owning compartment. This will match the resolver that the resolver endpoint is under
	// and will be updated if the resolver's compartment is changed.
	GetCompartmentId() *string

	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format
	// with a Z offset, as defined by RFC 3339.
	// **Example:** `2016-07-22T17:23:59:60Z`
	GetTimeCreated() *common.SDKTime

	// The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ"
	// format with a Z offset, as defined by RFC 3339.
	// **Example:** `2016-07-22T17:23:59:60Z`
	GetTimeUpdated() *common.SDKTime

	// The current state of the resource.
	GetLifecycleState() ResolverEndpointSummaryLifecycleStateEnum

	// The canonical absolute URL of the resource.
	GetSelf() *string

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

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

ResolverEndpointSummary An OCI DNS resolver endpoint. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type ResolverEndpointSummaryEndpointTypeEnum

type ResolverEndpointSummaryEndpointTypeEnum string

ResolverEndpointSummaryEndpointTypeEnum Enum with underlying type: string

const (
	ResolverEndpointSummaryEndpointTypeVnic ResolverEndpointSummaryEndpointTypeEnum = "VNIC"
)

Set of constants representing the allowable values for ResolverEndpointSummaryEndpointTypeEnum

func GetMappingResolverEndpointSummaryEndpointTypeEnum

func GetMappingResolverEndpointSummaryEndpointTypeEnum(val string) (ResolverEndpointSummaryEndpointTypeEnum, bool)

GetMappingResolverEndpointSummaryEndpointTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResolverEndpointSummaryEndpointTypeEnumValues

func GetResolverEndpointSummaryEndpointTypeEnumValues() []ResolverEndpointSummaryEndpointTypeEnum

GetResolverEndpointSummaryEndpointTypeEnumValues Enumerates the set of values for ResolverEndpointSummaryEndpointTypeEnum

type ResolverEndpointSummaryLifecycleStateEnum

type ResolverEndpointSummaryLifecycleStateEnum string

ResolverEndpointSummaryLifecycleStateEnum Enum with underlying type: string

const (
	ResolverEndpointSummaryLifecycleStateActive   ResolverEndpointSummaryLifecycleStateEnum = "ACTIVE"
	ResolverEndpointSummaryLifecycleStateCreating ResolverEndpointSummaryLifecycleStateEnum = "CREATING"
	ResolverEndpointSummaryLifecycleStateDeleted  ResolverEndpointSummaryLifecycleStateEnum = "DELETED"
	ResolverEndpointSummaryLifecycleStateDeleting ResolverEndpointSummaryLifecycleStateEnum = "DELETING"
	ResolverEndpointSummaryLifecycleStateFailed   ResolverEndpointSummaryLifecycleStateEnum = "FAILED"
	ResolverEndpointSummaryLifecycleStateUpdating ResolverEndpointSummaryLifecycleStateEnum = "UPDATING"
)

Set of constants representing the allowable values for ResolverEndpointSummaryLifecycleStateEnum

func GetMappingResolverEndpointSummaryLifecycleStateEnum

func GetMappingResolverEndpointSummaryLifecycleStateEnum(val string) (ResolverEndpointSummaryLifecycleStateEnum, bool)

GetMappingResolverEndpointSummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResolverEndpointSummaryLifecycleStateEnumValues

func GetResolverEndpointSummaryLifecycleStateEnumValues() []ResolverEndpointSummaryLifecycleStateEnum

GetResolverEndpointSummaryLifecycleStateEnumValues Enumerates the set of values for ResolverEndpointSummaryLifecycleStateEnum

type ResolverForwardRule

type ResolverForwardRule struct {

	// A list of CIDR blocks. The query must come from a client within one of the blocks in order for the rule action
	// to apply.
	ClientAddressConditions []string `mandatory:"true" json:"clientAddressConditions"`

	// A list of domain names. The query must be covered by one of the domains in order for the rule action to apply.
	QnameCoverConditions []string `mandatory:"true" json:"qnameCoverConditions"`

	// IP addresses to which queries should be forwarded. Currently limited to a single address.
	DestinationAddresses []string `mandatory:"true" json:"destinationAddresses"`

	// Case-insensitive name of an endpoint, that is a sub-resource of the resolver, to use as the forwarding
	// interface. The endpoint must have isForwarding set to true.
	SourceEndpointName *string `mandatory:"false" json:"sourceEndpointName"`
}

ResolverForwardRule The representation of ResolverForwardRule

func (ResolverForwardRule) GetClientAddressConditions

func (m ResolverForwardRule) GetClientAddressConditions() []string

GetClientAddressConditions returns ClientAddressConditions

func (ResolverForwardRule) GetQnameCoverConditions

func (m ResolverForwardRule) GetQnameCoverConditions() []string

GetQnameCoverConditions returns QnameCoverConditions

func (ResolverForwardRule) MarshalJSON

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

MarshalJSON marshals to json representation

func (ResolverForwardRule) String

func (m ResolverForwardRule) String() string

func (ResolverForwardRule) ValidateEnumValue

func (m ResolverForwardRule) 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

type ResolverForwardRuleDetails

type ResolverForwardRuleDetails struct {

	// IP addresses to which queries should be forwarded. Currently limited to a single address.
	DestinationAddresses []string `mandatory:"true" json:"destinationAddresses"`

	// Case-insensitive name of an endpoint, that is a sub-resource of the resolver, to use as the forwarding
	// interface. The endpoint must have isForwarding set to true.
	SourceEndpointName *string `mandatory:"true" json:"sourceEndpointName"`

	// A list of CIDR blocks. The query must come from a client within one of the blocks in order for the rule action
	// to apply.
	ClientAddressConditions []string `mandatory:"false" json:"clientAddressConditions"`

	// A list of domain names. The query must be covered by one of the domains in order for the rule action to apply.
	QnameCoverConditions []string `mandatory:"false" json:"qnameCoverConditions"`
}

ResolverForwardRuleDetails The representation of ResolverForwardRuleDetails

func (ResolverForwardRuleDetails) GetClientAddressConditions

func (m ResolverForwardRuleDetails) GetClientAddressConditions() []string

GetClientAddressConditions returns ClientAddressConditions

func (ResolverForwardRuleDetails) GetQnameCoverConditions

func (m ResolverForwardRuleDetails) GetQnameCoverConditions() []string

GetQnameCoverConditions returns QnameCoverConditions

func (ResolverForwardRuleDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (ResolverForwardRuleDetails) String

func (ResolverForwardRuleDetails) ValidateEnumValue

func (m ResolverForwardRuleDetails) 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

type ResolverLifecycleStateEnum

type ResolverLifecycleStateEnum string

ResolverLifecycleStateEnum Enum with underlying type: string

const (
	ResolverLifecycleStateActive   ResolverLifecycleStateEnum = "ACTIVE"
	ResolverLifecycleStateCreating ResolverLifecycleStateEnum = "CREATING"
	ResolverLifecycleStateDeleted  ResolverLifecycleStateEnum = "DELETED"
	ResolverLifecycleStateDeleting ResolverLifecycleStateEnum = "DELETING"
	ResolverLifecycleStateFailed   ResolverLifecycleStateEnum = "FAILED"
	ResolverLifecycleStateUpdating ResolverLifecycleStateEnum = "UPDATING"
)

Set of constants representing the allowable values for ResolverLifecycleStateEnum

func GetMappingResolverLifecycleStateEnum

func GetMappingResolverLifecycleStateEnum(val string) (ResolverLifecycleStateEnum, bool)

GetMappingResolverLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResolverLifecycleStateEnumValues

func GetResolverLifecycleStateEnumValues() []ResolverLifecycleStateEnum

GetResolverLifecycleStateEnumValues Enumerates the set of values for ResolverLifecycleStateEnum

type ResolverRule

type ResolverRule interface {

	// A list of CIDR blocks. The query must come from a client within one of the blocks in order for the rule action
	// to apply.
	GetClientAddressConditions() []string

	// A list of domain names. The query must be covered by one of the domains in order for the rule action to apply.
	GetQnameCoverConditions() []string
}

ResolverRule A rule for a resolver. Specifying both qnameCoverConditions and clientAddressConditions is not allowed. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type ResolverRuleActionEnum

type ResolverRuleActionEnum string

ResolverRuleActionEnum Enum with underlying type: string

const (
	ResolverRuleActionForward ResolverRuleActionEnum = "FORWARD"
)

Set of constants representing the allowable values for ResolverRuleActionEnum

func GetMappingResolverRuleActionEnum

func GetMappingResolverRuleActionEnum(val string) (ResolverRuleActionEnum, bool)

GetMappingResolverRuleActionEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResolverRuleActionEnumValues

func GetResolverRuleActionEnumValues() []ResolverRuleActionEnum

GetResolverRuleActionEnumValues Enumerates the set of values for ResolverRuleActionEnum

type ResolverRuleDetails

type ResolverRuleDetails interface {

	// A list of CIDR blocks. The query must come from a client within one of the blocks in order for the rule action
	// to apply.
	GetClientAddressConditions() []string

	// A list of domain names. The query must be covered by one of the domains in order for the rule action to apply.
	GetQnameCoverConditions() []string
}

ResolverRuleDetails A rule for a resolver. Specifying both qnameCoverConditions and clientAddressConditions is not allowed. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type ResolverRuleDetailsActionEnum

type ResolverRuleDetailsActionEnum string

ResolverRuleDetailsActionEnum Enum with underlying type: string

const (
	ResolverRuleDetailsActionForward ResolverRuleDetailsActionEnum = "FORWARD"
)

Set of constants representing the allowable values for ResolverRuleDetailsActionEnum

func GetMappingResolverRuleDetailsActionEnum

func GetMappingResolverRuleDetailsActionEnum(val string) (ResolverRuleDetailsActionEnum, bool)

GetMappingResolverRuleDetailsActionEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResolverRuleDetailsActionEnumValues

func GetResolverRuleDetailsActionEnumValues() []ResolverRuleDetailsActionEnum

GetResolverRuleDetailsActionEnumValues Enumerates the set of values for ResolverRuleDetailsActionEnum

type ResolverSummary

type ResolverSummary struct {

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

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

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

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

	// The OCID of the resolver.
	Id *string `mandatory:"true" json:"id"`

	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format
	// with a Z offset, as defined by RFC 3339.
	// **Example:** `2016-07-22T17:23:59:60Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ"
	// format with a Z offset, as defined by RFC 3339.
	// **Example:** `2016-07-22T17:23:59:60Z`
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The current state of the resource.
	LifecycleState ResolverSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The canonical absolute URL of the resource.
	Self *string `mandatory:"true" json:"self"`

	// A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
	IsProtected *bool `mandatory:"true" json:"isProtected"`

	// The OCID of the attached VCN.
	AttachedVcnId *string `mandatory:"false" json:"attachedVcnId"`

	// The OCID of the default view.
	DefaultViewId *string `mandatory:"false" json:"defaultViewId"`
}

ResolverSummary An OCI DNS resolver. If the resolver has an attached VCN, the VCN will attempt to answer queries based on the attached views in priority order. If the query does not match any of the attached views, the query will be evaluated against the default view. If the default view does not match, the rules will be evaluated in priority order. If no rules match the query, answers come from Internet DNS. A resolver may have a maximum of 10 resolver endpoints. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (ResolverSummary) String

func (m ResolverSummary) String() string

func (ResolverSummary) ValidateEnumValue

func (m ResolverSummary) 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

type ResolverSummaryLifecycleStateEnum

type ResolverSummaryLifecycleStateEnum string

ResolverSummaryLifecycleStateEnum Enum with underlying type: string

const (
	ResolverSummaryLifecycleStateActive   ResolverSummaryLifecycleStateEnum = "ACTIVE"
	ResolverSummaryLifecycleStateCreating ResolverSummaryLifecycleStateEnum = "CREATING"
	ResolverSummaryLifecycleStateDeleted  ResolverSummaryLifecycleStateEnum = "DELETED"
	ResolverSummaryLifecycleStateDeleting ResolverSummaryLifecycleStateEnum = "DELETING"
	ResolverSummaryLifecycleStateFailed   ResolverSummaryLifecycleStateEnum = "FAILED"
	ResolverSummaryLifecycleStateUpdating ResolverSummaryLifecycleStateEnum = "UPDATING"
)

Set of constants representing the allowable values for ResolverSummaryLifecycleStateEnum

func GetMappingResolverSummaryLifecycleStateEnum

func GetMappingResolverSummaryLifecycleStateEnum(val string) (ResolverSummaryLifecycleStateEnum, bool)

GetMappingResolverSummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetResolverSummaryLifecycleStateEnumValues

func GetResolverSummaryLifecycleStateEnumValues() []ResolverSummaryLifecycleStateEnum

GetResolverSummaryLifecycleStateEnumValues Enumerates the set of values for ResolverSummaryLifecycleStateEnum

type ResolverVnicEndpoint

type ResolverVnicEndpoint 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 the owning compartment. This will match the resolver that the resolver endpoint is under
	// and will be updated if the resolver's compartment is changed.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format
	// with a Z offset, as defined by RFC 3339.
	// **Example:** `2016-07-22T17:23:59:60Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ"
	// format with a Z offset, as defined by RFC 3339.
	// **Example:** `2016-07-22T17:23:59:60Z`
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The canonical absolute URL of the resource.
	Self *string `mandatory:"true" json:"self"`

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

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

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

	// An array of 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"`

	// The current state of the resource.
	LifecycleState ResolverEndpointLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

ResolverVnicEndpoint An OCI DNS resolver VNIC endpoint. A VNIC is created for each ResolverVnicEndpoint. VCNs and subnets cannot be deleted while ResolverVnicEndpoints exist in them due to the VNIC. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (ResolverVnicEndpoint) GetCompartmentId

func (m ResolverVnicEndpoint) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (ResolverVnicEndpoint) GetForwardingAddress

func (m ResolverVnicEndpoint) GetForwardingAddress() *string

GetForwardingAddress returns ForwardingAddress

func (ResolverVnicEndpoint) GetIsForwarding

func (m ResolverVnicEndpoint) GetIsForwarding() *bool

GetIsForwarding returns IsForwarding

func (ResolverVnicEndpoint) GetIsListening

func (m ResolverVnicEndpoint) GetIsListening() *bool

GetIsListening returns IsListening

func (ResolverVnicEndpoint) GetLifecycleState

GetLifecycleState returns LifecycleState

func (ResolverVnicEndpoint) GetListeningAddress

func (m ResolverVnicEndpoint) GetListeningAddress() *string

GetListeningAddress returns ListeningAddress

func (ResolverVnicEndpoint) GetName

func (m ResolverVnicEndpoint) GetName() *string

GetName returns Name

func (ResolverVnicEndpoint) GetSelf

func (m ResolverVnicEndpoint) GetSelf() *string

GetSelf returns Self

func (ResolverVnicEndpoint) GetTimeCreated

func (m ResolverVnicEndpoint) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (ResolverVnicEndpoint) GetTimeUpdated

func (m ResolverVnicEndpoint) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (ResolverVnicEndpoint) MarshalJSON

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

MarshalJSON marshals to json representation

func (ResolverVnicEndpoint) String

func (m ResolverVnicEndpoint) String() string

func (ResolverVnicEndpoint) ValidateEnumValue

func (m ResolverVnicEndpoint) 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

type ResolverVnicEndpointSummary

type ResolverVnicEndpointSummary 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 the owning compartment. This will match the resolver that the resolver endpoint is under
	// and will be updated if the resolver's compartment is changed.
	CompartmentId *string `mandatory:"true" json:"compartmentId"`

	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format
	// with a Z offset, as defined by RFC 3339.
	// **Example:** `2016-07-22T17:23:59:60Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ"
	// format with a Z offset, as defined by RFC 3339.
	// **Example:** `2016-07-22T17:23:59:60Z`
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The canonical absolute URL of the resource.
	Self *string `mandatory:"true" json:"self"`

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

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

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

	// The current state of the resource.
	LifecycleState ResolverEndpointSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

ResolverVnicEndpointSummary An OCI DNS resolver VNIC endpoint. A VNIC is created for each ResolverVnicEndpoint. VCNs and subnets cannot be deleted while ResolverVnicEndpoints exist in them due to the VNIC. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (ResolverVnicEndpointSummary) GetCompartmentId

func (m ResolverVnicEndpointSummary) GetCompartmentId() *string

GetCompartmentId returns CompartmentId

func (ResolverVnicEndpointSummary) GetForwardingAddress

func (m ResolverVnicEndpointSummary) GetForwardingAddress() *string

GetForwardingAddress returns ForwardingAddress

func (ResolverVnicEndpointSummary) GetIsForwarding

func (m ResolverVnicEndpointSummary) GetIsForwarding() *bool

GetIsForwarding returns IsForwarding

func (ResolverVnicEndpointSummary) GetIsListening

func (m ResolverVnicEndpointSummary) GetIsListening() *bool

GetIsListening returns IsListening

func (ResolverVnicEndpointSummary) GetLifecycleState

GetLifecycleState returns LifecycleState

func (ResolverVnicEndpointSummary) GetListeningAddress

func (m ResolverVnicEndpointSummary) GetListeningAddress() *string

GetListeningAddress returns ListeningAddress

func (ResolverVnicEndpointSummary) GetName

func (m ResolverVnicEndpointSummary) GetName() *string

GetName returns Name

func (ResolverVnicEndpointSummary) GetSelf

func (m ResolverVnicEndpointSummary) GetSelf() *string

GetSelf returns Self

func (ResolverVnicEndpointSummary) GetTimeCreated

func (m ResolverVnicEndpointSummary) GetTimeCreated() *common.SDKTime

GetTimeCreated returns TimeCreated

func (ResolverVnicEndpointSummary) GetTimeUpdated

func (m ResolverVnicEndpointSummary) GetTimeUpdated() *common.SDKTime

GetTimeUpdated returns TimeUpdated

func (ResolverVnicEndpointSummary) MarshalJSON

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

MarshalJSON marshals to json representation

func (ResolverVnicEndpointSummary) String

func (ResolverVnicEndpointSummary) ValidateEnumValue

func (m ResolverVnicEndpointSummary) 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

type RrSet

type RrSet struct {
	Items []Record `mandatory:"true" json:"items"`
}

RrSet A collection of DNS records of the same domain and type. For more information about record types, see Resource Record (RR) TYPEs (https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-4).

func (RrSet) String

func (m RrSet) String() string

func (RrSet) ValidateEnumValue

func (m RrSet) 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

type ScopeEnum

type ScopeEnum string

ScopeEnum Enum with underlying type: string

const (
	ScopeGlobal  ScopeEnum = "GLOBAL"
	ScopePrivate ScopeEnum = "PRIVATE"
)

Set of constants representing the allowable values for ScopeEnum

func GetMappingScopeEnum

func GetMappingScopeEnum(val string) (ScopeEnum, bool)

GetMappingScopeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetScopeEnumValues

func GetScopeEnumValues() []ScopeEnum

GetScopeEnumValues Enumerates the set of values for ScopeEnum

type SortOrderEnum

type SortOrderEnum string

SortOrderEnum Enum with underlying type: string

const (
	SortOrderAsc  SortOrderEnum = "ASC"
	SortOrderDesc SortOrderEnum = "DESC"
)

Set of constants representing the allowable values for SortOrderEnum

func GetMappingSortOrderEnum

func GetMappingSortOrderEnum(val string) (SortOrderEnum, bool)

GetMappingSortOrderEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSortOrderEnumValues

func GetSortOrderEnumValues() []SortOrderEnum

GetSortOrderEnumValues Enumerates the set of values for SortOrderEnum

type StageZoneDnssecKeyVersionDetails added in v65.76.0

type StageZoneDnssecKeyVersionDetails struct {

	// The UUID of the `DnssecKeyVersion` for which a new successor should be generated.
	PredecessorDnssecKeyVersionUuid *string `mandatory:"true" json:"predecessorDnssecKeyVersionUuid"`
}

StageZoneDnssecKeyVersionDetails Details for staging a `DnssecKeyVersion` on a zone.

func (StageZoneDnssecKeyVersionDetails) String added in v65.76.0

func (StageZoneDnssecKeyVersionDetails) ValidateEnumValue added in v65.76.0

func (m StageZoneDnssecKeyVersionDetails) 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

type StageZoneDnssecKeyVersionRequest added in v65.76.0

type StageZoneDnssecKeyVersionRequest struct {

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

	// Details for staging a DnssecKeyVersion.
	StageZoneDnssecKeyVersionDetails `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"`

	// 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 StageZoneDnssecKeyVersionScopeEnum `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
}

StageZoneDnssecKeyVersionRequest wrapper for the StageZoneDnssecKeyVersion operation

See also

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

func (StageZoneDnssecKeyVersionRequest) BinaryRequestBody added in v65.76.0

func (request StageZoneDnssecKeyVersionRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (StageZoneDnssecKeyVersionRequest) HTTPRequest added in v65.76.0

func (request StageZoneDnssecKeyVersionRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (StageZoneDnssecKeyVersionRequest) RetryPolicy added in v65.76.0

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

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

func (StageZoneDnssecKeyVersionRequest) String added in v65.76.0

func (request StageZoneDnssecKeyVersionRequest) String() string

func (StageZoneDnssecKeyVersionRequest) ValidateEnumValue added in v65.76.0

func (request StageZoneDnssecKeyVersionRequest) 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

type StageZoneDnssecKeyVersionResponse added in v65.76.0

type StageZoneDnssecKeyVersionResponse 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"`
}

StageZoneDnssecKeyVersionResponse wrapper for the StageZoneDnssecKeyVersion operation

func (StageZoneDnssecKeyVersionResponse) HTTPResponse added in v65.76.0

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

HTTPResponse implements the OCIResponse interface

func (StageZoneDnssecKeyVersionResponse) String added in v65.76.0

func (response StageZoneDnssecKeyVersionResponse) String() string

type StageZoneDnssecKeyVersionScopeEnum added in v65.76.0

type StageZoneDnssecKeyVersionScopeEnum string

StageZoneDnssecKeyVersionScopeEnum Enum with underlying type: string

const (
	StageZoneDnssecKeyVersionScopeGlobal  StageZoneDnssecKeyVersionScopeEnum = "GLOBAL"
	StageZoneDnssecKeyVersionScopePrivate StageZoneDnssecKeyVersionScopeEnum = "PRIVATE"
)

Set of constants representing the allowable values for StageZoneDnssecKeyVersionScopeEnum

func GetMappingStageZoneDnssecKeyVersionScopeEnum added in v65.76.0

func GetMappingStageZoneDnssecKeyVersionScopeEnum(val string) (StageZoneDnssecKeyVersionScopeEnum, bool)

GetMappingStageZoneDnssecKeyVersionScopeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetStageZoneDnssecKeyVersionScopeEnumValues added in v65.76.0

func GetStageZoneDnssecKeyVersionScopeEnumValues() []StageZoneDnssecKeyVersionScopeEnum

GetStageZoneDnssecKeyVersionScopeEnumValues Enumerates the set of values for StageZoneDnssecKeyVersionScopeEnum

type SteeringPolicy

type SteeringPolicy struct {

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

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

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

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

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

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

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

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

	// The canonical absolute URL of the resource.
	Self *string `mandatory:"true" json:"self"`

	// The OCID of the resource.
	Id *string `mandatory:"true" json:"id"`

	// The date and time the resource was created, expressed in RFC 3339 timestamp format.
	// **Example:** `2016-07-22T17:23:59:60Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current state of the resource.
	LifecycleState SteeringPolicyLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

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

SteeringPolicy A DNS steering policy. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (SteeringPolicy) String

func (m SteeringPolicy) String() string

func (*SteeringPolicy) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (SteeringPolicy) ValidateEnumValue

func (m SteeringPolicy) 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

type SteeringPolicyAnswer

type SteeringPolicyAnswer struct {

	// A user-friendly name for the answer, unique within the steering policy.
	// An answer's `name` property can be referenced in `answerCondition` properties
	// of rules using `answer.name`.
	// **Example:**
	//   "rules": [
	//     {
	//       "ruleType": "FILTER",
	//       "defaultAnswerData":  [
	//         {
	//           "answerCondition": "answer.name == 'server 1'",
	//           "shouldKeep": true
	//         }
	//       ]
	//     }
	//   ]
	Name *string `mandatory:"true" json:"name"`

	// The type of DNS record, such as A or CNAME. Only A, AAAA, and CNAME are supported. For more
	// information, see Supported DNS Resource Record Types (https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm).
	Rtype *string `mandatory:"true" json:"rtype"`

	// The record's data, as whitespace-delimited tokens in
	// type-specific presentation format. All RDATA is normalized and the
	// returned presentation of your RDATA may differ from its initial input.
	// For more information about RDATA, see Supported DNS Resource Record Types (https://docs.cloud.oracle.com/iaas/Content/DNS/Reference/supporteddnsresource.htm).
	Rdata *string `mandatory:"true" json:"rdata"`

	// The freeform name of a group of one or more records in which this record is included,
	// such as "LAX data center". An answer's `pool` property can be referenced in `answerCondition`
	// properties of rules using `answer.pool`.
	// **Example:**
	//   "rules": [
	//     {
	//       "ruleType": "FILTER",
	//       "defaultAnswerData":  [
	//         {
	//           "answerCondition": "answer.pool == 'US East Servers'",
	//           "shouldKeep": true
	//         }
	//       ]
	//     }
	//   ]
	Pool *string `mandatory:"false" json:"pool"`

	// Set this property to `true` to indicate that the answer is administratively disabled,
	// such as when the corresponding server is down for maintenance. An answer's `isDisabled`
	// property can be referenced in `answerCondition` properties in rules using `answer.isDisabled`.
	// **Example:**
	//   "rules": [
	//     {
	//       "ruleType": "FILTER",
	//       "defaultAnswerData": [
	//         {
	//           "answerCondition": "answer.isDisabled != true",
	//           "shouldKeep": true
	//         }
	//       ]
	//     },
	IsDisabled *bool `mandatory:"false" json:"isDisabled"`
}

SteeringPolicyAnswer DNS record data with metadata for processing in a steering policy.

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

func (SteeringPolicyAnswer) String

func (m SteeringPolicyAnswer) String() string

func (SteeringPolicyAnswer) ValidateEnumValue

func (m SteeringPolicyAnswer) 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

type SteeringPolicyAttachment

type SteeringPolicyAttachment struct {

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

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

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

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

	// The record types covered by the attachment at the domain. The set of record types is
	// determined by aggregating the record types from the answers defined in the steering
	// policy.
	Rtypes []string `mandatory:"true" json:"rtypes"`

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

	// The canonical absolute URL of the resource.
	Self *string `mandatory:"true" json:"self"`

	// The OCID of the resource.
	Id *string `mandatory:"true" json:"id"`

	// The date and time the resource was created, expressed in RFC 3339 timestamp format.
	// **Example:** `2016-07-22T17:23:59:60Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current state of the resource.
	LifecycleState SteeringPolicyAttachmentLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

SteeringPolicyAttachment An attachment between a steering policy and a domain. An attachment constructs DNS responses using its steering policy instead of the records at its defined domain. Only records of the policy's covered rtype are blocked at the domain. A domain can have a maximum of one attachment covering any given rtype. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (SteeringPolicyAttachment) String

func (m SteeringPolicyAttachment) String() string

func (SteeringPolicyAttachment) ValidateEnumValue

func (m SteeringPolicyAttachment) 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

type SteeringPolicyAttachmentLifecycleStateEnum

type SteeringPolicyAttachmentLifecycleStateEnum string

SteeringPolicyAttachmentLifecycleStateEnum Enum with underlying type: string

const (
	SteeringPolicyAttachmentLifecycleStateCreating SteeringPolicyAttachmentLifecycleStateEnum = "CREATING"
	SteeringPolicyAttachmentLifecycleStateActive   SteeringPolicyAttachmentLifecycleStateEnum = "ACTIVE"
	SteeringPolicyAttachmentLifecycleStateDeleting SteeringPolicyAttachmentLifecycleStateEnum = "DELETING"
)

Set of constants representing the allowable values for SteeringPolicyAttachmentLifecycleStateEnum

func GetMappingSteeringPolicyAttachmentLifecycleStateEnum

func GetMappingSteeringPolicyAttachmentLifecycleStateEnum(val string) (SteeringPolicyAttachmentLifecycleStateEnum, bool)

GetMappingSteeringPolicyAttachmentLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSteeringPolicyAttachmentLifecycleStateEnumValues

func GetSteeringPolicyAttachmentLifecycleStateEnumValues() []SteeringPolicyAttachmentLifecycleStateEnum

GetSteeringPolicyAttachmentLifecycleStateEnumValues Enumerates the set of values for SteeringPolicyAttachmentLifecycleStateEnum

type SteeringPolicyAttachmentSummary

type SteeringPolicyAttachmentSummary struct {

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

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

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

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

	// The record types covered by the attachment at the domain. The set of record types is
	// determined by aggregating the record types from the answers defined in the steering
	// policy.
	Rtypes []string `mandatory:"true" json:"rtypes"`

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

	// The canonical absolute URL of the resource.
	Self *string `mandatory:"true" json:"self"`

	// The OCID of the resource.
	Id *string `mandatory:"true" json:"id"`

	// The date and time the resource was created, expressed in RFC 3339 timestamp format.
	// **Example:** `2016-07-22T17:23:59:60Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current state of the resource.
	LifecycleState SteeringPolicyAttachmentSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

SteeringPolicyAttachmentSummary An attachment between a steering policy and a domain.

func (SteeringPolicyAttachmentSummary) String

func (SteeringPolicyAttachmentSummary) ValidateEnumValue

func (m SteeringPolicyAttachmentSummary) 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

type SteeringPolicyAttachmentSummaryLifecycleStateEnum

type SteeringPolicyAttachmentSummaryLifecycleStateEnum string

SteeringPolicyAttachmentSummaryLifecycleStateEnum Enum with underlying type: string

const (
	SteeringPolicyAttachmentSummaryLifecycleStateCreating SteeringPolicyAttachmentSummaryLifecycleStateEnum = "CREATING"
	SteeringPolicyAttachmentSummaryLifecycleStateActive   SteeringPolicyAttachmentSummaryLifecycleStateEnum = "ACTIVE"
	SteeringPolicyAttachmentSummaryLifecycleStateDeleting SteeringPolicyAttachmentSummaryLifecycleStateEnum = "DELETING"
)

Set of constants representing the allowable values for SteeringPolicyAttachmentSummaryLifecycleStateEnum

func GetMappingSteeringPolicyAttachmentSummaryLifecycleStateEnum

func GetMappingSteeringPolicyAttachmentSummaryLifecycleStateEnum(val string) (SteeringPolicyAttachmentSummaryLifecycleStateEnum, bool)

GetMappingSteeringPolicyAttachmentSummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSteeringPolicyAttachmentSummaryLifecycleStateEnumValues

func GetSteeringPolicyAttachmentSummaryLifecycleStateEnumValues() []SteeringPolicyAttachmentSummaryLifecycleStateEnum

GetSteeringPolicyAttachmentSummaryLifecycleStateEnumValues Enumerates the set of values for SteeringPolicyAttachmentSummaryLifecycleStateEnum

type SteeringPolicyFilterAnswerData

type SteeringPolicyFilterAnswerData struct {

	// An expression that is used to select a set of answers that match a condition. For example, answers with matching pool properties.
	AnswerCondition *string `mandatory:"false" json:"answerCondition"`

	// Keeps the answer only if the value is `true`.
	ShouldKeep *bool `mandatory:"false" json:"shouldKeep"`
}

SteeringPolicyFilterAnswerData The representation of SteeringPolicyFilterAnswerData

func (SteeringPolicyFilterAnswerData) String

func (SteeringPolicyFilterAnswerData) ValidateEnumValue

func (m SteeringPolicyFilterAnswerData) 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

type SteeringPolicyFilterRule

type SteeringPolicyFilterRule struct {

	// A user-defined description of the rule's purpose or behavior.
	Description *string `mandatory:"false" json:"description"`

	// An array of `caseConditions`. A rule may optionally include a sequence of cases defining alternate
	// configurations for how it should behave during processing for any given DNS query. When a rule has
	// no sequence of `cases`, it is always evaluated with the same configuration during processing. When
	// a rule has an empty sequence of `cases`, it is always ignored during processing. When a rule has a
	// non-empty sequence of `cases`, its behavior during processing is configured by the first matching
	// `case` in the sequence. When a rule has no matching cases the rule is ignored. A rule case with no
	// `caseCondition` always matches. A rule case with a `caseCondition` matches only when that expression
	// evaluates to true for the given query.
	Cases []SteeringPolicyFilterRuleCase `mandatory:"false" json:"cases"`

	// Defines a default set of answer conditions and values that are applied to an answer when
	// `cases` is not defined for the rule, or a matching case does not have any matching
	// `answerCondition`s in its `answerData`. `defaultAnswerData` is not applied if `cases` is
	// defined and there are no matching cases. In this scenario, the next rule will be processed.
	DefaultAnswerData []SteeringPolicyFilterAnswerData `mandatory:"false" json:"defaultAnswerData"`
}

SteeringPolicyFilterRule The representation of SteeringPolicyFilterRule

func (SteeringPolicyFilterRule) GetDescription

func (m SteeringPolicyFilterRule) GetDescription() *string

GetDescription returns Description

func (SteeringPolicyFilterRule) MarshalJSON

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

MarshalJSON marshals to json representation

func (SteeringPolicyFilterRule) String

func (m SteeringPolicyFilterRule) String() string

func (SteeringPolicyFilterRule) ValidateEnumValue

func (m SteeringPolicyFilterRule) 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

type SteeringPolicyFilterRuleCase

type SteeringPolicyFilterRuleCase struct {

	// An expression that uses conditions at the time of a DNS query to indicate
	// whether a case matches. Conditions may include the geographical location, IP
	// subnet, or ASN the DNS query originated. **Example:** If you have an
	// office that uses the subnet `192.0.2.0/24` you could use a `caseCondition`
	// expression `query.client.address in ('192.0.2.0/24')` to define a case that
	// matches queries from that office.
	CaseCondition *string `mandatory:"false" json:"caseCondition"`

	// An array of `SteeringPolicyFilterAnswerData` objects.
	AnswerData []SteeringPolicyFilterAnswerData `mandatory:"false" json:"answerData"`
}

SteeringPolicyFilterRuleCase The representation of SteeringPolicyFilterRuleCase

func (SteeringPolicyFilterRuleCase) String

func (SteeringPolicyFilterRuleCase) ValidateEnumValue

func (m SteeringPolicyFilterRuleCase) 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

type SteeringPolicyHealthRule

type SteeringPolicyHealthRule struct {

	// A user-defined description of the rule's purpose or behavior.
	Description *string `mandatory:"false" json:"description"`

	// An array of `caseConditions`. A rule may optionally include a sequence of cases defining alternate
	// configurations for how it should behave during processing for any given DNS query. When a rule has
	// no sequence of `cases`, it is always evaluated with the same configuration during processing. When
	// a rule has an empty sequence of `cases`, it is always ignored during processing. When a rule has a
	// non-empty sequence of `cases`, its behavior during processing is configured by the first matching
	// `case` in the sequence. When a rule has no matching cases the rule is ignored. A rule case with no
	// `caseCondition` always matches. A rule case with a `caseCondition` matches only when that expression
	// evaluates to true for the given query.
	Cases []SteeringPolicyHealthRuleCase `mandatory:"false" json:"cases"`
}

SteeringPolicyHealthRule The representation of SteeringPolicyHealthRule

func (SteeringPolicyHealthRule) GetDescription

func (m SteeringPolicyHealthRule) GetDescription() *string

GetDescription returns Description

func (SteeringPolicyHealthRule) MarshalJSON

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

MarshalJSON marshals to json representation

func (SteeringPolicyHealthRule) String

func (m SteeringPolicyHealthRule) String() string

func (SteeringPolicyHealthRule) ValidateEnumValue

func (m SteeringPolicyHealthRule) 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

type SteeringPolicyHealthRuleCase

type SteeringPolicyHealthRuleCase struct {

	// An expression that uses conditions at the time of a DNS query to indicate
	// whether a case matches. Conditions may include the geographical location, IP
	// subnet, or ASN the DNS query originated. **Example:** If you have an
	// office that uses the subnet `192.0.2.0/24` you could use a `caseCondition`
	// expression `query.client.address in ('192.0.2.0/24')` to define a case that
	// matches queries from that office.
	CaseCondition *string `mandatory:"false" json:"caseCondition"`
}

SteeringPolicyHealthRuleCase The representation of SteeringPolicyHealthRuleCase

func (SteeringPolicyHealthRuleCase) String

func (SteeringPolicyHealthRuleCase) ValidateEnumValue

func (m SteeringPolicyHealthRuleCase) 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

type SteeringPolicyLifecycleStateEnum

type SteeringPolicyLifecycleStateEnum string

SteeringPolicyLifecycleStateEnum Enum with underlying type: string

const (
	SteeringPolicyLifecycleStateActive   SteeringPolicyLifecycleStateEnum = "ACTIVE"
	SteeringPolicyLifecycleStateCreating SteeringPolicyLifecycleStateEnum = "CREATING"
	SteeringPolicyLifecycleStateDeleted  SteeringPolicyLifecycleStateEnum = "DELETED"
	SteeringPolicyLifecycleStateDeleting SteeringPolicyLifecycleStateEnum = "DELETING"
)

Set of constants representing the allowable values for SteeringPolicyLifecycleStateEnum

func GetMappingSteeringPolicyLifecycleStateEnum

func GetMappingSteeringPolicyLifecycleStateEnum(val string) (SteeringPolicyLifecycleStateEnum, bool)

GetMappingSteeringPolicyLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSteeringPolicyLifecycleStateEnumValues

func GetSteeringPolicyLifecycleStateEnumValues() []SteeringPolicyLifecycleStateEnum

GetSteeringPolicyLifecycleStateEnumValues Enumerates the set of values for SteeringPolicyLifecycleStateEnum

type SteeringPolicyLimitRule

type SteeringPolicyLimitRule struct {

	// A user-defined description of the rule's purpose or behavior.
	Description *string `mandatory:"false" json:"description"`

	// An array of `caseConditions`. A rule may optionally include a sequence of cases defining alternate
	// configurations for how it should behave during processing for any given DNS query. When a rule has
	// no sequence of `cases`, it is always evaluated with the same configuration during processing. When
	// a rule has an empty sequence of `cases`, it is always ignored during processing. When a rule has a
	// non-empty sequence of `cases`, its behavior during processing is configured by the first matching
	// `case` in the sequence. When a rule has no matching cases the rule is ignored. A rule case with no
	// `caseCondition` always matches. A rule case with a `caseCondition` matches only when that expression
	// evaluates to true for the given query.
	Cases []SteeringPolicyLimitRuleCase `mandatory:"false" json:"cases"`

	// Defines a default count if `cases` is not defined for the rule or a matching case does
	// not define `count`. `defaultCount` is **not** applied if `cases` is defined and there
	// are no matching cases. In this scenario, the next rule will be processed. If no rules
	// remain to be processed, the answer will be chosen from the remaining list of answers.
	DefaultCount *int `mandatory:"false" json:"defaultCount"`
}

SteeringPolicyLimitRule The representation of SteeringPolicyLimitRule

func (SteeringPolicyLimitRule) GetDescription

func (m SteeringPolicyLimitRule) GetDescription() *string

GetDescription returns Description

func (SteeringPolicyLimitRule) MarshalJSON

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

MarshalJSON marshals to json representation

func (SteeringPolicyLimitRule) String

func (m SteeringPolicyLimitRule) String() string

func (SteeringPolicyLimitRule) ValidateEnumValue

func (m SteeringPolicyLimitRule) 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

type SteeringPolicyLimitRuleCase

type SteeringPolicyLimitRuleCase struct {

	// The number of answers allowed to remain after the limit rule has been processed, keeping only the
	// first of the remaining answers in the list. Example: If the `count` property is set to `2` and
	// four answers remain before the limit rule is processed, only the first two answers in the list will
	// remain after the limit rule has been processed.
	Count *int `mandatory:"true" json:"count"`

	// An expression that uses conditions at the time of a DNS query to indicate
	// whether a case matches. Conditions may include the geographical location, IP
	// subnet, or ASN the DNS query originated. **Example:** If you have an
	// office that uses the subnet `192.0.2.0/24` you could use a `caseCondition`
	// expression `query.client.address in ('192.0.2.0/24')` to define a case that
	// matches queries from that office.
	CaseCondition *string `mandatory:"false" json:"caseCondition"`
}

SteeringPolicyLimitRuleCase The representation of SteeringPolicyLimitRuleCase

func (SteeringPolicyLimitRuleCase) String

func (SteeringPolicyLimitRuleCase) ValidateEnumValue

func (m SteeringPolicyLimitRuleCase) 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

type SteeringPolicyPriorityAnswerData

type SteeringPolicyPriorityAnswerData struct {

	// The rank assigned to the set of answers that match the expression in `answerCondition`.
	// Answers with the lowest values move to the beginning of the list without changing the
	// relative order of those with the same value. Answers can be given a value between `0` and `255`.
	Value *int `mandatory:"true" json:"value"`

	// An expression that is used to select a set of answers that match a condition. For example, answers with matching pool properties.
	AnswerCondition *string `mandatory:"false" json:"answerCondition"`
}

SteeringPolicyPriorityAnswerData The representation of SteeringPolicyPriorityAnswerData

func (SteeringPolicyPriorityAnswerData) String

func (SteeringPolicyPriorityAnswerData) ValidateEnumValue

func (m SteeringPolicyPriorityAnswerData) 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

type SteeringPolicyPriorityRule

type SteeringPolicyPriorityRule struct {

	// A user-defined description of the rule's purpose or behavior.
	Description *string `mandatory:"false" json:"description"`

	// An array of `caseConditions`. A rule may optionally include a sequence of cases defining alternate
	// configurations for how it should behave during processing for any given DNS query. When a rule has
	// no sequence of `cases`, it is always evaluated with the same configuration during processing. When
	// a rule has an empty sequence of `cases`, it is always ignored during processing. When a rule has a
	// non-empty sequence of `cases`, its behavior during processing is configured by the first matching
	// `case` in the sequence. When a rule has no matching cases the rule is ignored. A rule case with no
	// `caseCondition` always matches. A rule case with a `caseCondition` matches only when that expression
	// evaluates to true for the given query.
	Cases []SteeringPolicyPriorityRuleCase `mandatory:"false" json:"cases"`

	// Defines a default set of answer conditions and values that are applied to an answer when
	// `cases` is not defined for the rule or a matching case does not have any matching
	// `answerCondition`s in its `answerData`. `defaultAnswerData` is not applied if `cases` is
	// defined and there are no matching cases. In this scenario, the next rule will be processed.
	DefaultAnswerData []SteeringPolicyPriorityAnswerData `mandatory:"false" json:"defaultAnswerData"`
}

SteeringPolicyPriorityRule The representation of SteeringPolicyPriorityRule

func (SteeringPolicyPriorityRule) GetDescription

func (m SteeringPolicyPriorityRule) GetDescription() *string

GetDescription returns Description

func (SteeringPolicyPriorityRule) MarshalJSON

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

MarshalJSON marshals to json representation

func (SteeringPolicyPriorityRule) String

func (SteeringPolicyPriorityRule) ValidateEnumValue

func (m SteeringPolicyPriorityRule) 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

type SteeringPolicyPriorityRuleCase

type SteeringPolicyPriorityRuleCase struct {

	// An expression that uses conditions at the time of a DNS query to indicate
	// whether a case matches. Conditions may include the geographical location, IP
	// subnet, or ASN the DNS query originated. **Example:** If you have an
	// office that uses the subnet `192.0.2.0/24` you could use a `caseCondition`
	// expression `query.client.address in ('192.0.2.0/24')` to define a case that
	// matches queries from that office.
	CaseCondition *string `mandatory:"false" json:"caseCondition"`

	// An array of `SteeringPolicyPriorityAnswerData` objects.
	AnswerData []SteeringPolicyPriorityAnswerData `mandatory:"false" json:"answerData"`
}

SteeringPolicyPriorityRuleCase The representation of SteeringPolicyPriorityRuleCase

func (SteeringPolicyPriorityRuleCase) String

func (SteeringPolicyPriorityRuleCase) ValidateEnumValue

func (m SteeringPolicyPriorityRuleCase) 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

type SteeringPolicyRule

type SteeringPolicyRule interface {

	// A user-defined description of the rule's purpose or behavior.
	GetDescription() *string
}

SteeringPolicyRule The configuration of the sorting and filtering behaviors in a steering policy. Rules can filter and sort answers based on weight, priority, endpoint health, and other data.

A rule may optionally include a sequence of cases, each with an optional `caseCondition` expression. Cases allow a sequence of conditions to be defined that will apply different parameters to the rule when the conditions are met. For more information about cases, see Traffic Management API Guide (https://docs.cloud.oracle.com/iaas/Content/TrafficManagement/Concepts/trafficmanagementapi.htm).

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

type SteeringPolicyRuleRuleTypeEnum

type SteeringPolicyRuleRuleTypeEnum string

SteeringPolicyRuleRuleTypeEnum Enum with underlying type: string

const (
	SteeringPolicyRuleRuleTypeFilter   SteeringPolicyRuleRuleTypeEnum = "FILTER"
	SteeringPolicyRuleRuleTypeHealth   SteeringPolicyRuleRuleTypeEnum = "HEALTH"
	SteeringPolicyRuleRuleTypeWeighted SteeringPolicyRuleRuleTypeEnum = "WEIGHTED"
	SteeringPolicyRuleRuleTypePriority SteeringPolicyRuleRuleTypeEnum = "PRIORITY"
	SteeringPolicyRuleRuleTypeLimit    SteeringPolicyRuleRuleTypeEnum = "LIMIT"
)

Set of constants representing the allowable values for SteeringPolicyRuleRuleTypeEnum

func GetMappingSteeringPolicyRuleRuleTypeEnum

func GetMappingSteeringPolicyRuleRuleTypeEnum(val string) (SteeringPolicyRuleRuleTypeEnum, bool)

GetMappingSteeringPolicyRuleRuleTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSteeringPolicyRuleRuleTypeEnumValues

func GetSteeringPolicyRuleRuleTypeEnumValues() []SteeringPolicyRuleRuleTypeEnum

GetSteeringPolicyRuleRuleTypeEnumValues Enumerates the set of values for SteeringPolicyRuleRuleTypeEnum

type SteeringPolicySummary

type SteeringPolicySummary struct {

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

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

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

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

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

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

	// The canonical absolute URL of the resource.
	Self *string `mandatory:"true" json:"self"`

	// The OCID of the resource.
	Id *string `mandatory:"true" json:"id"`

	// The date and time the resource was created, expressed in RFC 3339 timestamp format.
	// **Example:** `2016-07-22T17:23:59:60Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current state of the resource.
	LifecycleState SteeringPolicySummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

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

SteeringPolicySummary A DNS steering policy. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (SteeringPolicySummary) String

func (m SteeringPolicySummary) String() string

func (SteeringPolicySummary) ValidateEnumValue

func (m SteeringPolicySummary) 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

type SteeringPolicySummaryLifecycleStateEnum

type SteeringPolicySummaryLifecycleStateEnum string

SteeringPolicySummaryLifecycleStateEnum Enum with underlying type: string

const (
	SteeringPolicySummaryLifecycleStateActive   SteeringPolicySummaryLifecycleStateEnum = "ACTIVE"
	SteeringPolicySummaryLifecycleStateCreating SteeringPolicySummaryLifecycleStateEnum = "CREATING"
	SteeringPolicySummaryLifecycleStateDeleted  SteeringPolicySummaryLifecycleStateEnum = "DELETED"
	SteeringPolicySummaryLifecycleStateDeleting SteeringPolicySummaryLifecycleStateEnum = "DELETING"
)

Set of constants representing the allowable values for SteeringPolicySummaryLifecycleStateEnum

func GetMappingSteeringPolicySummaryLifecycleStateEnum

func GetMappingSteeringPolicySummaryLifecycleStateEnum(val string) (SteeringPolicySummaryLifecycleStateEnum, bool)

GetMappingSteeringPolicySummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSteeringPolicySummaryLifecycleStateEnumValues

func GetSteeringPolicySummaryLifecycleStateEnumValues() []SteeringPolicySummaryLifecycleStateEnum

GetSteeringPolicySummaryLifecycleStateEnumValues Enumerates the set of values for SteeringPolicySummaryLifecycleStateEnum

type SteeringPolicySummaryTemplateEnum

type SteeringPolicySummaryTemplateEnum string

SteeringPolicySummaryTemplateEnum Enum with underlying type: string

const (
	SteeringPolicySummaryTemplateFailover    SteeringPolicySummaryTemplateEnum = "FAILOVER"
	SteeringPolicySummaryTemplateLoadBalance SteeringPolicySummaryTemplateEnum = "LOAD_BALANCE"
	SteeringPolicySummaryTemplateRouteByGeo  SteeringPolicySummaryTemplateEnum = "ROUTE_BY_GEO"
	SteeringPolicySummaryTemplateRouteByAsn  SteeringPolicySummaryTemplateEnum = "ROUTE_BY_ASN"
	SteeringPolicySummaryTemplateRouteByIp   SteeringPolicySummaryTemplateEnum = "ROUTE_BY_IP"
	SteeringPolicySummaryTemplateCustom      SteeringPolicySummaryTemplateEnum = "CUSTOM"
)

Set of constants representing the allowable values for SteeringPolicySummaryTemplateEnum

func GetMappingSteeringPolicySummaryTemplateEnum

func GetMappingSteeringPolicySummaryTemplateEnum(val string) (SteeringPolicySummaryTemplateEnum, bool)

GetMappingSteeringPolicySummaryTemplateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSteeringPolicySummaryTemplateEnumValues

func GetSteeringPolicySummaryTemplateEnumValues() []SteeringPolicySummaryTemplateEnum

GetSteeringPolicySummaryTemplateEnumValues Enumerates the set of values for SteeringPolicySummaryTemplateEnum

type SteeringPolicyTemplateEnum

type SteeringPolicyTemplateEnum string

SteeringPolicyTemplateEnum Enum with underlying type: string

const (
	SteeringPolicyTemplateFailover    SteeringPolicyTemplateEnum = "FAILOVER"
	SteeringPolicyTemplateLoadBalance SteeringPolicyTemplateEnum = "LOAD_BALANCE"
	SteeringPolicyTemplateRouteByGeo  SteeringPolicyTemplateEnum = "ROUTE_BY_GEO"
	SteeringPolicyTemplateRouteByAsn  SteeringPolicyTemplateEnum = "ROUTE_BY_ASN"
	SteeringPolicyTemplateRouteByIp   SteeringPolicyTemplateEnum = "ROUTE_BY_IP"
	SteeringPolicyTemplateCustom      SteeringPolicyTemplateEnum = "CUSTOM"
)

Set of constants representing the allowable values for SteeringPolicyTemplateEnum

func GetMappingSteeringPolicyTemplateEnum

func GetMappingSteeringPolicyTemplateEnum(val string) (SteeringPolicyTemplateEnum, bool)

GetMappingSteeringPolicyTemplateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetSteeringPolicyTemplateEnumValues

func GetSteeringPolicyTemplateEnumValues() []SteeringPolicyTemplateEnum

GetSteeringPolicyTemplateEnumValues Enumerates the set of values for SteeringPolicyTemplateEnum

type SteeringPolicyWeightedAnswerData

type SteeringPolicyWeightedAnswerData struct {

	// The weight assigned to the set of selected answers. Answers with a higher weight will be served
	// more frequently. Answers can be given a value between `0` and `255`.
	Value *int `mandatory:"true" json:"value"`

	// An expression that is used to select a set of answers that match a condition. For example, answers with matching pool properties.
	AnswerCondition *string `mandatory:"false" json:"answerCondition"`
}

SteeringPolicyWeightedAnswerData The representation of SteeringPolicyWeightedAnswerData

func (SteeringPolicyWeightedAnswerData) String

func (SteeringPolicyWeightedAnswerData) ValidateEnumValue

func (m SteeringPolicyWeightedAnswerData) 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

type SteeringPolicyWeightedRule

type SteeringPolicyWeightedRule struct {

	// A user-defined description of the rule's purpose or behavior.
	Description *string `mandatory:"false" json:"description"`

	// An array of `caseConditions`. A rule may optionally include a sequence of cases defining alternate
	// configurations for how it should behave during processing for any given DNS query. When a rule has
	// no sequence of `cases`, it is always evaluated with the same configuration during processing. When
	// a rule has an empty sequence of `cases`, it is always ignored during processing. When a rule has a
	// non-empty sequence of `cases`, its behavior during processing is configured by the first matching
	// `case` in the sequence. When a rule has no matching cases the rule is ignored. A rule case with no
	// `caseCondition` always matches. A rule case with a `caseCondition` matches only when that expression
	// evaluates to true for the given query.
	Cases []SteeringPolicyWeightedRuleCase `mandatory:"false" json:"cases"`

	// Defines a default set of answer conditions and values that are applied to an answer when
	// `cases` is not defined for the rule or a matching case does not have any matching
	// `answerCondition`s in its `answerData`. `defaultAnswerData` is not applied if `cases` is
	// defined and there are no matching cases. In this scenario, the next rule will be processed.
	DefaultAnswerData []SteeringPolicyWeightedAnswerData `mandatory:"false" json:"defaultAnswerData"`
}

SteeringPolicyWeightedRule The representation of SteeringPolicyWeightedRule

func (SteeringPolicyWeightedRule) GetDescription

func (m SteeringPolicyWeightedRule) GetDescription() *string

GetDescription returns Description

func (SteeringPolicyWeightedRule) MarshalJSON

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

MarshalJSON marshals to json representation

func (SteeringPolicyWeightedRule) String

func (SteeringPolicyWeightedRule) ValidateEnumValue

func (m SteeringPolicyWeightedRule) 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

type SteeringPolicyWeightedRuleCase

type SteeringPolicyWeightedRuleCase struct {

	// An expression that uses conditions at the time of a DNS query to indicate
	// whether a case matches. Conditions may include the geographical location, IP
	// subnet, or ASN the DNS query originated. **Example:** If you have an
	// office that uses the subnet `192.0.2.0/24` you could use a `caseCondition`
	// expression `query.client.address in ('192.0.2.0/24')` to define a case that
	// matches queries from that office.
	CaseCondition *string `mandatory:"false" json:"caseCondition"`

	// An array of `SteeringPolicyWeightedAnswerData` objects.
	AnswerData []SteeringPolicyWeightedAnswerData `mandatory:"false" json:"answerData"`
}

SteeringPolicyWeightedRuleCase The representation of SteeringPolicyWeightedRuleCase

func (SteeringPolicyWeightedRuleCase) String

func (SteeringPolicyWeightedRuleCase) ValidateEnumValue

func (m SteeringPolicyWeightedRuleCase) 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

type TsigKey

type TsigKey struct {

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

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

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

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

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

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

	// The OCID of the resource.
	Id *string `mandatory:"true" json:"id"`

	// The canonical absolute URL of the resource.
	Self *string `mandatory:"true" json:"self"`

	// The date and time the resource was created, expressed in RFC 3339 timestamp format.
	// **Example:** `2016-07-22T17:23:59:60Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current state of the resource.
	LifecycleState TsigKeyLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// The date and time the resource was last updated, expressed in RFC 3339 timestamp format.
	// **Example:** `2016-07-22T17:23:59:60Z`
	TimeUpdated *common.SDKTime `mandatory:"false" json:"timeUpdated"`
}

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

func (TsigKey) String

func (m TsigKey) String() string

func (TsigKey) ValidateEnumValue

func (m TsigKey) 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

type TsigKeyLifecycleStateEnum

type TsigKeyLifecycleStateEnum string

TsigKeyLifecycleStateEnum Enum with underlying type: string

const (
	TsigKeyLifecycleStateActive   TsigKeyLifecycleStateEnum = "ACTIVE"
	TsigKeyLifecycleStateCreating TsigKeyLifecycleStateEnum = "CREATING"
	TsigKeyLifecycleStateDeleted  TsigKeyLifecycleStateEnum = "DELETED"
	TsigKeyLifecycleStateDeleting TsigKeyLifecycleStateEnum = "DELETING"
	TsigKeyLifecycleStateFailed   TsigKeyLifecycleStateEnum = "FAILED"
	TsigKeyLifecycleStateUpdating TsigKeyLifecycleStateEnum = "UPDATING"
)

Set of constants representing the allowable values for TsigKeyLifecycleStateEnum

func GetMappingTsigKeyLifecycleStateEnum

func GetMappingTsigKeyLifecycleStateEnum(val string) (TsigKeyLifecycleStateEnum, bool)

GetMappingTsigKeyLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetTsigKeyLifecycleStateEnumValues

func GetTsigKeyLifecycleStateEnumValues() []TsigKeyLifecycleStateEnum

GetTsigKeyLifecycleStateEnumValues Enumerates the set of values for TsigKeyLifecycleStateEnum

type TsigKeySummary

type TsigKeySummary struct {

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

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

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

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

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

	// The OCID of the resource.
	Id *string `mandatory:"true" json:"id"`

	// The canonical absolute URL of the resource.
	Self *string `mandatory:"true" json:"self"`

	// The date and time the resource was created, expressed in RFC 3339 timestamp format.
	// **Example:** `2016-07-22T17:23:59:60Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The current state of the resource.
	LifecycleState TsigKeySummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`
}

TsigKeySummary A TSIG key.

func (TsigKeySummary) String

func (m TsigKeySummary) String() string

func (TsigKeySummary) ValidateEnumValue

func (m TsigKeySummary) 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

type TsigKeySummaryLifecycleStateEnum

type TsigKeySummaryLifecycleStateEnum string

TsigKeySummaryLifecycleStateEnum Enum with underlying type: string

const (
	TsigKeySummaryLifecycleStateActive   TsigKeySummaryLifecycleStateEnum = "ACTIVE"
	TsigKeySummaryLifecycleStateCreating TsigKeySummaryLifecycleStateEnum = "CREATING"
	TsigKeySummaryLifecycleStateDeleted  TsigKeySummaryLifecycleStateEnum = "DELETED"
	TsigKeySummaryLifecycleStateDeleting TsigKeySummaryLifecycleStateEnum = "DELETING"
	TsigKeySummaryLifecycleStateFailed   TsigKeySummaryLifecycleStateEnum = "FAILED"
	TsigKeySummaryLifecycleStateUpdating TsigKeySummaryLifecycleStateEnum = "UPDATING"
)

Set of constants representing the allowable values for TsigKeySummaryLifecycleStateEnum

func GetMappingTsigKeySummaryLifecycleStateEnum

func GetMappingTsigKeySummaryLifecycleStateEnum(val string) (TsigKeySummaryLifecycleStateEnum, bool)

GetMappingTsigKeySummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetTsigKeySummaryLifecycleStateEnumValues

func GetTsigKeySummaryLifecycleStateEnumValues() []TsigKeySummaryLifecycleStateEnum

GetTsigKeySummaryLifecycleStateEnumValues Enumerates the set of values for TsigKeySummaryLifecycleStateEnum

type UpdateDomainRecordsDetails

type UpdateDomainRecordsDetails struct {
	Items []RecordDetails `mandatory:"false" json:"items"`
}

UpdateDomainRecordsDetails The representation of UpdateDomainRecordsDetails

func (UpdateDomainRecordsDetails) String

func (UpdateDomainRecordsDetails) ValidateEnumValue

func (m UpdateDomainRecordsDetails) 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

type UpdateDomainRecordsRequest

type UpdateDomainRecordsRequest struct {

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

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

	// A full list of records for the domain.
	UpdateDomainRecordsDetails `contributesTo:"body"`

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

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

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

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

	// The OCID of the view the zone is associated with. Required when accessing a private zone by name.
	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
}

UpdateDomainRecordsRequest wrapper for the UpdateDomainRecords operation

See also

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

func (UpdateDomainRecordsRequest) BinaryRequestBody

func (request UpdateDomainRecordsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateDomainRecordsRequest) HTTPRequest

func (request UpdateDomainRecordsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateDomainRecordsRequest) RetryPolicy

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

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

func (UpdateDomainRecordsRequest) String

func (request UpdateDomainRecordsRequest) String() string

func (UpdateDomainRecordsRequest) ValidateEnumValue

func (request UpdateDomainRecordsRequest) 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

type UpdateDomainRecordsResponse

type UpdateDomainRecordsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

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

	// The current version of the 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"`
}

UpdateDomainRecordsResponse wrapper for the UpdateDomainRecords operation

func (UpdateDomainRecordsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateDomainRecordsResponse) String

func (response UpdateDomainRecordsResponse) String() string

type UpdateDomainRecordsScopeEnum

type UpdateDomainRecordsScopeEnum string

UpdateDomainRecordsScopeEnum Enum with underlying type: string

const (
	UpdateDomainRecordsScopeGlobal  UpdateDomainRecordsScopeEnum = "GLOBAL"
	UpdateDomainRecordsScopePrivate UpdateDomainRecordsScopeEnum = "PRIVATE"
)

Set of constants representing the allowable values for UpdateDomainRecordsScopeEnum

func GetMappingUpdateDomainRecordsScopeEnum

func GetMappingUpdateDomainRecordsScopeEnum(val string) (UpdateDomainRecordsScopeEnum, bool)

GetMappingUpdateDomainRecordsScopeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateDomainRecordsScopeEnumValues

func GetUpdateDomainRecordsScopeEnumValues() []UpdateDomainRecordsScopeEnum

GetUpdateDomainRecordsScopeEnumValues Enumerates the set of values for UpdateDomainRecordsScopeEnum

type UpdateRRSetRequest

type UpdateRRSetRequest struct {

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

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

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

	// A full list of records for the RRSet.
	UpdateRrSetDetails `contributesTo:"body"`

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

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

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

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

	// The OCID of the view the zone is associated with. Required when accessing a private zone by name.
	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
}

UpdateRRSetRequest wrapper for the UpdateRRSet operation

See also

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

func (UpdateRRSetRequest) BinaryRequestBody

func (request UpdateRRSetRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateRRSetRequest) HTTPRequest

func (request UpdateRRSetRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateRRSetRequest) RetryPolicy

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

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

func (UpdateRRSetRequest) String

func (request UpdateRRSetRequest) String() string

func (UpdateRRSetRequest) ValidateEnumValue

func (request UpdateRRSetRequest) 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

type UpdateRRSetResponse

type UpdateRRSetResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

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

	// The current version of the 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"`
}

UpdateRRSetResponse wrapper for the UpdateRRSet operation

func (UpdateRRSetResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateRRSetResponse) String

func (response UpdateRRSetResponse) String() string

type UpdateRRSetScopeEnum

type UpdateRRSetScopeEnum string

UpdateRRSetScopeEnum Enum with underlying type: string

const (
	UpdateRRSetScopeGlobal  UpdateRRSetScopeEnum = "GLOBAL"
	UpdateRRSetScopePrivate UpdateRRSetScopeEnum = "PRIVATE"
)

Set of constants representing the allowable values for UpdateRRSetScopeEnum

func GetMappingUpdateRRSetScopeEnum

func GetMappingUpdateRRSetScopeEnum(val string) (UpdateRRSetScopeEnum, bool)

GetMappingUpdateRRSetScopeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateRRSetScopeEnumValues

func GetUpdateRRSetScopeEnumValues() []UpdateRRSetScopeEnum

GetUpdateRRSetScopeEnumValues Enumerates the set of values for UpdateRRSetScopeEnum

type UpdateResolverDetails

type UpdateResolverDetails struct {

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

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

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

	// The attached views. Views are evaluated in order.
	AttachedViews []AttachedViewDetails `mandatory:"false" json:"attachedViews"`

	// Rules for the resolver. Rules are evaluated in order.
	Rules []ResolverRuleDetails `mandatory:"false" json:"rules"`
}

UpdateResolverDetails The body for updating an existing resolver. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (UpdateResolverDetails) String

func (m UpdateResolverDetails) String() string

func (*UpdateResolverDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (UpdateResolverDetails) ValidateEnumValue

func (m UpdateResolverDetails) 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

type UpdateResolverEndpointDetails

type UpdateResolverEndpointDetails interface {
}

UpdateResolverEndpointDetails The body for updating an existing resolver endpoint. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

type UpdateResolverEndpointDetailsEndpointTypeEnum

type UpdateResolverEndpointDetailsEndpointTypeEnum string

UpdateResolverEndpointDetailsEndpointTypeEnum Enum with underlying type: string

const (
	UpdateResolverEndpointDetailsEndpointTypeVnic UpdateResolverEndpointDetailsEndpointTypeEnum = "VNIC"
)

Set of constants representing the allowable values for UpdateResolverEndpointDetailsEndpointTypeEnum

func GetMappingUpdateResolverEndpointDetailsEndpointTypeEnum

func GetMappingUpdateResolverEndpointDetailsEndpointTypeEnum(val string) (UpdateResolverEndpointDetailsEndpointTypeEnum, bool)

GetMappingUpdateResolverEndpointDetailsEndpointTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateResolverEndpointDetailsEndpointTypeEnumValues

func GetUpdateResolverEndpointDetailsEndpointTypeEnumValues() []UpdateResolverEndpointDetailsEndpointTypeEnum

GetUpdateResolverEndpointDetailsEndpointTypeEnumValues Enumerates the set of values for UpdateResolverEndpointDetailsEndpointTypeEnum

type UpdateResolverEndpointRequest

type UpdateResolverEndpointRequest struct {

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

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

	// New data for the resolver endpoint.
	UpdateResolverEndpointDetails `contributesTo:"body"`

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

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

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

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

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

UpdateResolverEndpointRequest wrapper for the UpdateResolverEndpoint operation

See also

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

func (UpdateResolverEndpointRequest) BinaryRequestBody

func (request UpdateResolverEndpointRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateResolverEndpointRequest) HTTPRequest

func (request UpdateResolverEndpointRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateResolverEndpointRequest) RetryPolicy

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

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

func (UpdateResolverEndpointRequest) String

func (request UpdateResolverEndpointRequest) String() string

func (UpdateResolverEndpointRequest) ValidateEnumValue

func (request UpdateResolverEndpointRequest) 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

type UpdateResolverEndpointResponse

type UpdateResolverEndpointResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

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

UpdateResolverEndpointResponse wrapper for the UpdateResolverEndpoint operation

func (UpdateResolverEndpointResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateResolverEndpointResponse) String

func (response UpdateResolverEndpointResponse) String() string

type UpdateResolverEndpointScopeEnum

type UpdateResolverEndpointScopeEnum string

UpdateResolverEndpointScopeEnum Enum with underlying type: string

const (
	UpdateResolverEndpointScopeGlobal  UpdateResolverEndpointScopeEnum = "GLOBAL"
	UpdateResolverEndpointScopePrivate UpdateResolverEndpointScopeEnum = "PRIVATE"
)

Set of constants representing the allowable values for UpdateResolverEndpointScopeEnum

func GetMappingUpdateResolverEndpointScopeEnum

func GetMappingUpdateResolverEndpointScopeEnum(val string) (UpdateResolverEndpointScopeEnum, bool)

GetMappingUpdateResolverEndpointScopeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateResolverEndpointScopeEnumValues

func GetUpdateResolverEndpointScopeEnumValues() []UpdateResolverEndpointScopeEnum

GetUpdateResolverEndpointScopeEnumValues Enumerates the set of values for UpdateResolverEndpointScopeEnum

type UpdateResolverRequest

type UpdateResolverRequest struct {

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

	// New data for the resolver.
	UpdateResolverDetails `contributesTo:"body"`

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

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

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

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

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

UpdateResolverRequest wrapper for the UpdateResolver operation

See also

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

func (UpdateResolverRequest) BinaryRequestBody

func (request UpdateResolverRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateResolverRequest) HTTPRequest

func (request UpdateResolverRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateResolverRequest) RetryPolicy

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

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

func (UpdateResolverRequest) String

func (request UpdateResolverRequest) String() string

func (UpdateResolverRequest) ValidateEnumValue

func (request UpdateResolverRequest) 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

type UpdateResolverResponse

type UpdateResolverResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

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

UpdateResolverResponse wrapper for the UpdateResolver operation

func (UpdateResolverResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateResolverResponse) String

func (response UpdateResolverResponse) String() string

type UpdateResolverScopeEnum

type UpdateResolverScopeEnum string

UpdateResolverScopeEnum Enum with underlying type: string

const (
	UpdateResolverScopeGlobal  UpdateResolverScopeEnum = "GLOBAL"
	UpdateResolverScopePrivate UpdateResolverScopeEnum = "PRIVATE"
)

Set of constants representing the allowable values for UpdateResolverScopeEnum

func GetMappingUpdateResolverScopeEnum

func GetMappingUpdateResolverScopeEnum(val string) (UpdateResolverScopeEnum, bool)

GetMappingUpdateResolverScopeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateResolverScopeEnumValues

func GetUpdateResolverScopeEnumValues() []UpdateResolverScopeEnum

GetUpdateResolverScopeEnumValues Enumerates the set of values for UpdateResolverScopeEnum

type UpdateResolverVnicEndpointDetails

type UpdateResolverVnicEndpointDetails struct {

	// 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"`
}

UpdateResolverVnicEndpointDetails The body for updating an existing resolver VNIC endpoint. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (UpdateResolverVnicEndpointDetails) MarshalJSON

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

MarshalJSON marshals to json representation

func (UpdateResolverVnicEndpointDetails) String

func (UpdateResolverVnicEndpointDetails) ValidateEnumValue

func (m UpdateResolverVnicEndpointDetails) 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

type UpdateRrSetDetails

type UpdateRrSetDetails struct {
	Items []RecordDetails `mandatory:"false" json:"items"`
}

UpdateRrSetDetails The representation of UpdateRrSetDetails

func (UpdateRrSetDetails) String

func (m UpdateRrSetDetails) String() string

func (UpdateRrSetDetails) ValidateEnumValue

func (m UpdateRrSetDetails) 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

type UpdateSteeringPolicyAttachmentDetails

type UpdateSteeringPolicyAttachmentDetails struct {

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

UpdateSteeringPolicyAttachmentDetails The body for updating a steering policy attachment.

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

func (UpdateSteeringPolicyAttachmentDetails) String

func (UpdateSteeringPolicyAttachmentDetails) ValidateEnumValue

func (m UpdateSteeringPolicyAttachmentDetails) 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

type UpdateSteeringPolicyAttachmentRequest

type UpdateSteeringPolicyAttachmentRequest struct {

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

	// New data for the steering policy attachment.
	UpdateSteeringPolicyAttachmentDetails `contributesTo:"body"`

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

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

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

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

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

UpdateSteeringPolicyAttachmentRequest wrapper for the UpdateSteeringPolicyAttachment operation

See also

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

func (UpdateSteeringPolicyAttachmentRequest) BinaryRequestBody

func (request UpdateSteeringPolicyAttachmentRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateSteeringPolicyAttachmentRequest) HTTPRequest

func (request UpdateSteeringPolicyAttachmentRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateSteeringPolicyAttachmentRequest) RetryPolicy

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

func (UpdateSteeringPolicyAttachmentRequest) String

func (UpdateSteeringPolicyAttachmentRequest) ValidateEnumValue

func (request UpdateSteeringPolicyAttachmentRequest) 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

type UpdateSteeringPolicyAttachmentResponse

type UpdateSteeringPolicyAttachmentResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

	// 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"`

	// 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"`
}

UpdateSteeringPolicyAttachmentResponse wrapper for the UpdateSteeringPolicyAttachment operation

func (UpdateSteeringPolicyAttachmentResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateSteeringPolicyAttachmentResponse) String

type UpdateSteeringPolicyAttachmentScopeEnum

type UpdateSteeringPolicyAttachmentScopeEnum string

UpdateSteeringPolicyAttachmentScopeEnum Enum with underlying type: string

const (
	UpdateSteeringPolicyAttachmentScopeGlobal  UpdateSteeringPolicyAttachmentScopeEnum = "GLOBAL"
	UpdateSteeringPolicyAttachmentScopePrivate UpdateSteeringPolicyAttachmentScopeEnum = "PRIVATE"
)

Set of constants representing the allowable values for UpdateSteeringPolicyAttachmentScopeEnum

func GetMappingUpdateSteeringPolicyAttachmentScopeEnum

func GetMappingUpdateSteeringPolicyAttachmentScopeEnum(val string) (UpdateSteeringPolicyAttachmentScopeEnum, bool)

GetMappingUpdateSteeringPolicyAttachmentScopeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateSteeringPolicyAttachmentScopeEnumValues

func GetUpdateSteeringPolicyAttachmentScopeEnumValues() []UpdateSteeringPolicyAttachmentScopeEnum

GetUpdateSteeringPolicyAttachmentScopeEnumValues Enumerates the set of values for UpdateSteeringPolicyAttachmentScopeEnum

type UpdateSteeringPolicyDetails

type UpdateSteeringPolicyDetails struct {

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

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

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

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

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

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

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

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

UpdateSteeringPolicyDetails The body for updating a steering policy. New rules and answers provided in the request will replace the existing rules and answers in the policy.

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

func (UpdateSteeringPolicyDetails) String

func (*UpdateSteeringPolicyDetails) UnmarshalJSON

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

UnmarshalJSON unmarshals from json

func (UpdateSteeringPolicyDetails) ValidateEnumValue

func (m UpdateSteeringPolicyDetails) 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

type UpdateSteeringPolicyDetailsTemplateEnum

type UpdateSteeringPolicyDetailsTemplateEnum string

UpdateSteeringPolicyDetailsTemplateEnum Enum with underlying type: string

const (
	UpdateSteeringPolicyDetailsTemplateFailover    UpdateSteeringPolicyDetailsTemplateEnum = "FAILOVER"
	UpdateSteeringPolicyDetailsTemplateLoadBalance UpdateSteeringPolicyDetailsTemplateEnum = "LOAD_BALANCE"
	UpdateSteeringPolicyDetailsTemplateRouteByGeo  UpdateSteeringPolicyDetailsTemplateEnum = "ROUTE_BY_GEO"
	UpdateSteeringPolicyDetailsTemplateRouteByAsn  UpdateSteeringPolicyDetailsTemplateEnum = "ROUTE_BY_ASN"
	UpdateSteeringPolicyDetailsTemplateRouteByIp   UpdateSteeringPolicyDetailsTemplateEnum = "ROUTE_BY_IP"
	UpdateSteeringPolicyDetailsTemplateCustom      UpdateSteeringPolicyDetailsTemplateEnum = "CUSTOM"
)

Set of constants representing the allowable values for UpdateSteeringPolicyDetailsTemplateEnum

func GetMappingUpdateSteeringPolicyDetailsTemplateEnum

func GetMappingUpdateSteeringPolicyDetailsTemplateEnum(val string) (UpdateSteeringPolicyDetailsTemplateEnum, bool)

GetMappingUpdateSteeringPolicyDetailsTemplateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateSteeringPolicyDetailsTemplateEnumValues

func GetUpdateSteeringPolicyDetailsTemplateEnumValues() []UpdateSteeringPolicyDetailsTemplateEnum

GetUpdateSteeringPolicyDetailsTemplateEnumValues Enumerates the set of values for UpdateSteeringPolicyDetailsTemplateEnum

type UpdateSteeringPolicyRequest

type UpdateSteeringPolicyRequest struct {

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

	// New data for the steering policy.
	UpdateSteeringPolicyDetails `contributesTo:"body"`

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

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

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

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

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

UpdateSteeringPolicyRequest wrapper for the UpdateSteeringPolicy operation

See also

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

func (UpdateSteeringPolicyRequest) BinaryRequestBody

func (request UpdateSteeringPolicyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateSteeringPolicyRequest) HTTPRequest

func (request UpdateSteeringPolicyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateSteeringPolicyRequest) RetryPolicy

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

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

func (UpdateSteeringPolicyRequest) String

func (request UpdateSteeringPolicyRequest) String() string

func (UpdateSteeringPolicyRequest) ValidateEnumValue

func (request UpdateSteeringPolicyRequest) 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

type UpdateSteeringPolicyResponse

type UpdateSteeringPolicyResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

	// 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"`

	// 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"`
}

UpdateSteeringPolicyResponse wrapper for the UpdateSteeringPolicy operation

func (UpdateSteeringPolicyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateSteeringPolicyResponse) String

func (response UpdateSteeringPolicyResponse) String() string

type UpdateSteeringPolicyScopeEnum

type UpdateSteeringPolicyScopeEnum string

UpdateSteeringPolicyScopeEnum Enum with underlying type: string

const (
	UpdateSteeringPolicyScopeGlobal  UpdateSteeringPolicyScopeEnum = "GLOBAL"
	UpdateSteeringPolicyScopePrivate UpdateSteeringPolicyScopeEnum = "PRIVATE"
)

Set of constants representing the allowable values for UpdateSteeringPolicyScopeEnum

func GetMappingUpdateSteeringPolicyScopeEnum

func GetMappingUpdateSteeringPolicyScopeEnum(val string) (UpdateSteeringPolicyScopeEnum, bool)

GetMappingUpdateSteeringPolicyScopeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateSteeringPolicyScopeEnumValues

func GetUpdateSteeringPolicyScopeEnumValues() []UpdateSteeringPolicyScopeEnum

GetUpdateSteeringPolicyScopeEnumValues Enumerates the set of values for UpdateSteeringPolicyScopeEnum

type UpdateTsigKeyDetails

type UpdateTsigKeyDetails struct {

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

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

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

func (UpdateTsigKeyDetails) String

func (m UpdateTsigKeyDetails) String() string

func (UpdateTsigKeyDetails) ValidateEnumValue

func (m UpdateTsigKeyDetails) 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

type UpdateTsigKeyRequest

type UpdateTsigKeyRequest struct {

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

	// New data for the TSIG key.
	UpdateTsigKeyDetails `contributesTo:"body"`

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

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

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

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

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

UpdateTsigKeyRequest wrapper for the UpdateTsigKey operation

See also

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

func (UpdateTsigKeyRequest) BinaryRequestBody

func (request UpdateTsigKeyRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateTsigKeyRequest) HTTPRequest

func (request UpdateTsigKeyRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateTsigKeyRequest) RetryPolicy

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

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

func (UpdateTsigKeyRequest) String

func (request UpdateTsigKeyRequest) String() string

func (UpdateTsigKeyRequest) ValidateEnumValue

func (request UpdateTsigKeyRequest) 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

type UpdateTsigKeyResponse

type UpdateTsigKeyResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

	// 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"`
}

UpdateTsigKeyResponse wrapper for the UpdateTsigKey operation

func (UpdateTsigKeyResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateTsigKeyResponse) String

func (response UpdateTsigKeyResponse) String() string

type UpdateTsigKeyScopeEnum

type UpdateTsigKeyScopeEnum string

UpdateTsigKeyScopeEnum Enum with underlying type: string

const (
	UpdateTsigKeyScopeGlobal  UpdateTsigKeyScopeEnum = "GLOBAL"
	UpdateTsigKeyScopePrivate UpdateTsigKeyScopeEnum = "PRIVATE"
)

Set of constants representing the allowable values for UpdateTsigKeyScopeEnum

func GetMappingUpdateTsigKeyScopeEnum

func GetMappingUpdateTsigKeyScopeEnum(val string) (UpdateTsigKeyScopeEnum, bool)

GetMappingUpdateTsigKeyScopeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateTsigKeyScopeEnumValues

func GetUpdateTsigKeyScopeEnumValues() []UpdateTsigKeyScopeEnum

GetUpdateTsigKeyScopeEnumValues Enumerates the set of values for UpdateTsigKeyScopeEnum

type UpdateViewDetails

type UpdateViewDetails struct {

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

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

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

UpdateViewDetails The body for updating an existing view. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (UpdateViewDetails) String

func (m UpdateViewDetails) String() string

func (UpdateViewDetails) ValidateEnumValue

func (m UpdateViewDetails) 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

type UpdateViewRequest

type UpdateViewRequest struct {

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

	// New data for the view.
	UpdateViewDetails `contributesTo:"body"`

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

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

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

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

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

UpdateViewRequest wrapper for the UpdateView operation

See also

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

func (UpdateViewRequest) BinaryRequestBody

func (request UpdateViewRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateViewRequest) HTTPRequest

func (request UpdateViewRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateViewRequest) RetryPolicy

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

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

func (UpdateViewRequest) String

func (request UpdateViewRequest) String() string

func (UpdateViewRequest) ValidateEnumValue

func (request UpdateViewRequest) 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

type UpdateViewResponse

type UpdateViewResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

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

UpdateViewResponse wrapper for the UpdateView operation

func (UpdateViewResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateViewResponse) String

func (response UpdateViewResponse) String() string

type UpdateViewScopeEnum

type UpdateViewScopeEnum string

UpdateViewScopeEnum Enum with underlying type: string

const (
	UpdateViewScopeGlobal  UpdateViewScopeEnum = "GLOBAL"
	UpdateViewScopePrivate UpdateViewScopeEnum = "PRIVATE"
)

Set of constants representing the allowable values for UpdateViewScopeEnum

func GetMappingUpdateViewScopeEnum

func GetMappingUpdateViewScopeEnum(val string) (UpdateViewScopeEnum, bool)

GetMappingUpdateViewScopeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateViewScopeEnumValues

func GetUpdateViewScopeEnumValues() []UpdateViewScopeEnum

GetUpdateViewScopeEnumValues Enumerates the set of values for UpdateViewScopeEnum

type UpdateZoneDetails

type UpdateZoneDetails struct {

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

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

	// The state of DNSSEC on the zone.
	// For DNSSEC to function, every parent zone in the DNS tree up to the top-level domain (or an independent
	// trust anchor) must also have DNSSEC correctly set up.
	// After enabling DNSSEC, you must add a DS record to the zone's parent zone containing the
	// `KskDnssecKeyVersion` data. You can find the DS data in the `dsData` attribute of the `KskDnssecKeyVersion`.
	// Then, use the `PromoteZoneDnssecKeyVersion` operation to promote the `KskDnssecKeyVersion`.
	// New `KskDnssecKeyVersion`s are generated annually, a week before the existing `KskDnssecKeyVersion`'s expiration.
	// To rollover a `KskDnssecKeyVersion`, you must replace the parent zone's DS record containing the old
	// `KskDnssecKeyVersion` data with the data from the new `KskDnssecKeyVersion`.
	// To remove the old DS record without causing service disruption, wait until the old DS record's TTL has
	// expired, and the new DS record has propagated. After the DS replacement has been completed, then the
	// `PromoteZoneDnssecKeyVersion` operation must be called.
	// Metrics are emitted in the `oci_dns` namespace daily for each `KskDnssecKeyVersion` indicating how many
	// days are left until expiration.
	// We recommend that you set up alarms and notifications for KskDnssecKeyVersion expiration so that the
	// necessary parent zone updates can be made and the `PromoteZoneDnssecKeyVersion` operation can be called.
	// Enabling DNSSEC results in additional records in DNS responses which increases their size and can
	// cause higher response latency.
	// For more information, see DNSSEC (https://docs.cloud.oracle.com/iaas/Content/DNS/Concepts/dnssec.htm).
	DnssecState ZoneDnssecStateEnum `mandatory:"false" json:"dnssecState,omitempty"`

	// 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"`
}

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

func (UpdateZoneDetails) String

func (m UpdateZoneDetails) String() string

func (UpdateZoneDetails) ValidateEnumValue

func (m UpdateZoneDetails) 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

type UpdateZoneRecordsDetails

type UpdateZoneRecordsDetails struct {
	Items []RecordDetails `mandatory:"false" json:"items"`
}

UpdateZoneRecordsDetails The representation of UpdateZoneRecordsDetails

func (UpdateZoneRecordsDetails) String

func (m UpdateZoneRecordsDetails) String() string

func (UpdateZoneRecordsDetails) ValidateEnumValue

func (m UpdateZoneRecordsDetails) 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

type UpdateZoneRecordsRequest

type UpdateZoneRecordsRequest struct {

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

	// A full list of records for the zone.
	UpdateZoneRecordsDetails `contributesTo:"body"`

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

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

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

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

	// The OCID of the view the zone is associated with. Required when accessing a private zone by name.
	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
}

UpdateZoneRecordsRequest wrapper for the UpdateZoneRecords operation

See also

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

func (UpdateZoneRecordsRequest) BinaryRequestBody

func (request UpdateZoneRecordsRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateZoneRecordsRequest) HTTPRequest

func (request UpdateZoneRecordsRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateZoneRecordsRequest) RetryPolicy

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

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

func (UpdateZoneRecordsRequest) String

func (request UpdateZoneRecordsRequest) String() string

func (UpdateZoneRecordsRequest) ValidateEnumValue

func (request UpdateZoneRecordsRequest) 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

type UpdateZoneRecordsResponse

type UpdateZoneRecordsResponse struct {

	// The underlying http response
	RawResponse *http.Response

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

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

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

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

	// The current version of the 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"`
}

UpdateZoneRecordsResponse wrapper for the UpdateZoneRecords operation

func (UpdateZoneRecordsResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateZoneRecordsResponse) String

func (response UpdateZoneRecordsResponse) String() string

type UpdateZoneRecordsScopeEnum

type UpdateZoneRecordsScopeEnum string

UpdateZoneRecordsScopeEnum Enum with underlying type: string

const (
	UpdateZoneRecordsScopeGlobal  UpdateZoneRecordsScopeEnum = "GLOBAL"
	UpdateZoneRecordsScopePrivate UpdateZoneRecordsScopeEnum = "PRIVATE"
)

Set of constants representing the allowable values for UpdateZoneRecordsScopeEnum

func GetMappingUpdateZoneRecordsScopeEnum

func GetMappingUpdateZoneRecordsScopeEnum(val string) (UpdateZoneRecordsScopeEnum, bool)

GetMappingUpdateZoneRecordsScopeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateZoneRecordsScopeEnumValues

func GetUpdateZoneRecordsScopeEnumValues() []UpdateZoneRecordsScopeEnum

GetUpdateZoneRecordsScopeEnumValues Enumerates the set of values for UpdateZoneRecordsScopeEnum

type UpdateZoneRequest

type UpdateZoneRequest struct {

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

	// New data for the zone.
	UpdateZoneDetails `contributesTo:"body"`

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

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

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

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

	// The OCID of the view the zone is associated with. Required when accessing a private zone by name.
	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
}

UpdateZoneRequest wrapper for the UpdateZone operation

See also

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

func (UpdateZoneRequest) BinaryRequestBody

func (request UpdateZoneRequest) BinaryRequestBody() (*common.OCIReadSeekCloser, bool)

BinaryRequestBody implements the OCIRequest interface

func (UpdateZoneRequest) HTTPRequest

func (request UpdateZoneRequest) HTTPRequest(method, path string, binaryRequestBody *common.OCIReadSeekCloser, extraHeaders map[string]string) (http.Request, error)

HTTPRequest implements the OCIRequest interface

func (UpdateZoneRequest) RetryPolicy

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

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

func (UpdateZoneRequest) String

func (request UpdateZoneRequest) String() string

func (UpdateZoneRequest) ValidateEnumValue

func (request UpdateZoneRequest) 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

type UpdateZoneResponse

type UpdateZoneResponse 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"`

	// 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"`
}

UpdateZoneResponse wrapper for the UpdateZone operation

func (UpdateZoneResponse) HTTPResponse

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

HTTPResponse implements the OCIResponse interface

func (UpdateZoneResponse) String

func (response UpdateZoneResponse) String() string

type UpdateZoneScopeEnum

type UpdateZoneScopeEnum string

UpdateZoneScopeEnum Enum with underlying type: string

const (
	UpdateZoneScopeGlobal  UpdateZoneScopeEnum = "GLOBAL"
	UpdateZoneScopePrivate UpdateZoneScopeEnum = "PRIVATE"
)

Set of constants representing the allowable values for UpdateZoneScopeEnum

func GetMappingUpdateZoneScopeEnum

func GetMappingUpdateZoneScopeEnum(val string) (UpdateZoneScopeEnum, bool)

GetMappingUpdateZoneScopeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetUpdateZoneScopeEnumValues

func GetUpdateZoneScopeEnumValues() []UpdateZoneScopeEnum

GetUpdateZoneScopeEnumValues Enumerates the set of values for UpdateZoneScopeEnum

type View

type View struct {

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

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

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

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

	// The OCID of the view.
	Id *string `mandatory:"true" json:"id"`

	// The canonical absolute URL of the resource.
	Self *string `mandatory:"true" json:"self"`

	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format
	// with a Z offset, as defined by RFC 3339.
	// **Example:** `2016-07-22T17:23:59:60Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ"
	// format with a Z offset, as defined by RFC 3339.
	// **Example:** `2016-07-22T17:23:59:60Z`
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The current state of the resource.
	LifecycleState ViewLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
	IsProtected *bool `mandatory:"true" json:"isProtected"`
}

View An OCI DNS view. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (View) String

func (m View) String() string

func (View) ValidateEnumValue

func (m View) 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

type ViewLifecycleStateEnum

type ViewLifecycleStateEnum string

ViewLifecycleStateEnum Enum with underlying type: string

const (
	ViewLifecycleStateActive   ViewLifecycleStateEnum = "ACTIVE"
	ViewLifecycleStateDeleted  ViewLifecycleStateEnum = "DELETED"
	ViewLifecycleStateDeleting ViewLifecycleStateEnum = "DELETING"
	ViewLifecycleStateUpdating ViewLifecycleStateEnum = "UPDATING"
)

Set of constants representing the allowable values for ViewLifecycleStateEnum

func GetMappingViewLifecycleStateEnum

func GetMappingViewLifecycleStateEnum(val string) (ViewLifecycleStateEnum, bool)

GetMappingViewLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetViewLifecycleStateEnumValues

func GetViewLifecycleStateEnumValues() []ViewLifecycleStateEnum

GetViewLifecycleStateEnumValues Enumerates the set of values for ViewLifecycleStateEnum

type ViewSummary

type ViewSummary struct {

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

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

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

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

	// The OCID of the view.
	Id *string `mandatory:"true" json:"id"`

	// The canonical absolute URL of the resource.
	Self *string `mandatory:"true" json:"self"`

	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format
	// with a Z offset, as defined by RFC 3339.
	// **Example:** `2016-07-22T17:23:59:60Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// The date and time the resource was last updated in "YYYY-MM-ddThh:mm:ssZ"
	// format with a Z offset, as defined by RFC 3339.
	// **Example:** `2016-07-22T17:23:59:60Z`
	TimeUpdated *common.SDKTime `mandatory:"true" json:"timeUpdated"`

	// The current state of the resource.
	LifecycleState ViewSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
	IsProtected *bool `mandatory:"true" json:"isProtected"`
}

ViewSummary An OCI DNS view. **Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.

func (ViewSummary) String

func (m ViewSummary) String() string

func (ViewSummary) ValidateEnumValue

func (m ViewSummary) 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

type ViewSummaryLifecycleStateEnum

type ViewSummaryLifecycleStateEnum string

ViewSummaryLifecycleStateEnum Enum with underlying type: string

const (
	ViewSummaryLifecycleStateActive   ViewSummaryLifecycleStateEnum = "ACTIVE"
	ViewSummaryLifecycleStateDeleted  ViewSummaryLifecycleStateEnum = "DELETED"
	ViewSummaryLifecycleStateDeleting ViewSummaryLifecycleStateEnum = "DELETING"
	ViewSummaryLifecycleStateUpdating ViewSummaryLifecycleStateEnum = "UPDATING"
)

Set of constants representing the allowable values for ViewSummaryLifecycleStateEnum

func GetMappingViewSummaryLifecycleStateEnum

func GetMappingViewSummaryLifecycleStateEnum(val string) (ViewSummaryLifecycleStateEnum, bool)

GetMappingViewSummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetViewSummaryLifecycleStateEnumValues

func GetViewSummaryLifecycleStateEnumValues() []ViewSummaryLifecycleStateEnum

GetViewSummaryLifecycleStateEnumValues Enumerates the set of values for ViewSummaryLifecycleStateEnum

type Zone

type Zone struct {

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

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

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

	// The scope of the zone.
	Scope ScopeEnum `mandatory:"true" json:"scope"`

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

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

	// The state of DNSSEC on the zone.
	// For DNSSEC to function, every parent zone in the DNS tree up to the top-level domain (or an independent
	// trust anchor) must also have DNSSEC correctly set up.
	// After enabling DNSSEC, you must add a DS record to the zone's parent zone containing the
	// `KskDnssecKeyVersion` data. You can find the DS data in the `dsData` attribute of the `KskDnssecKeyVersion`.
	// Then, use the `PromoteZoneDnssecKeyVersion` operation to promote the `KskDnssecKeyVersion`.
	// New `KskDnssecKeyVersion`s are generated annually, a week before the existing `KskDnssecKeyVersion`'s expiration.
	// To rollover a `KskDnssecKeyVersion`, you must replace the parent zone's DS record containing the old
	// `KskDnssecKeyVersion` data with the data from the new `KskDnssecKeyVersion`.
	// To remove the old DS record without causing service disruption, wait until the old DS record's TTL has
	// expired, and the new DS record has propagated. After the DS replacement has been completed, then the
	// `PromoteZoneDnssecKeyVersion` operation must be called.
	// Metrics are emitted in the `oci_dns` namespace daily for each `KskDnssecKeyVersion` indicating how many
	// days are left until expiration.
	// We recommend that you set up alarms and notifications for KskDnssecKeyVersion expiration so that the
	// necessary parent zone updates can be made and the `PromoteZoneDnssecKeyVersion` operation can be called.
	// Enabling DNSSEC results in additional records in DNS responses which increases their size and can
	// cause higher response latency.
	// For more information, see DNSSEC (https://docs.cloud.oracle.com/iaas/Content/DNS/Concepts/dnssec.htm).
	DnssecState ZoneDnssecStateEnum `mandatory:"true" json:"dnssecState"`

	// External master servers for the zone. `externalMasters` becomes a
	// required parameter when the `zoneType` value is `SECONDARY`.
	ExternalMasters []ExternalMaster `mandatory:"true" 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:"true" json:"externalDownstreams"`

	// The canonical absolute URL of the resource.
	Self *string `mandatory:"true" json:"self"`

	// The OCID of the zone.
	Id *string `mandatory:"true" json:"id"`

	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format
	// with a Z offset, as defined by RFC 3339.
	// **Example:** `2016-07-22T17:23:59:60Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// Version is the never-repeating, totally-orderable, version of the
	// zone, from which the serial field of the zone's SOA record is
	// derived.
	Version *string `mandatory:"true" json:"version"`

	// The current serial of the zone. As seen in the zone's SOA record.
	Serial *int64 `mandatory:"true" json:"serial"`

	// The current state of the zone resource.
	LifecycleState ZoneLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
	IsProtected *bool `mandatory:"true" json:"isProtected"`

	// The authoritative nameservers for the zone.
	Nameservers []Nameserver `mandatory:"true" json:"nameservers"`

	// The OCID of the private view containing the zone. This value will
	// be null for zones in the global DNS, which are publicly resolvable and
	// not part of a private view.
	ViewId *string `mandatory:"false" json:"viewId"`

	DnssecConfig *DnssecConfig `mandatory:"false" json:"dnssecConfig"`

	// The OCI nameservers that transfer the zone data with external nameservers.
	ZoneTransferServers []ZoneTransferServer `mandatory:"false" json:"zoneTransferServers"`
}

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

func (Zone) String

func (m Zone) String() string

func (Zone) ValidateEnumValue

func (m Zone) 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

type ZoneDnssecStateEnum added in v65.76.0

type ZoneDnssecStateEnum string

ZoneDnssecStateEnum Enum with underlying type: string

const (
	ZoneDnssecStateEnabled  ZoneDnssecStateEnum = "ENABLED"
	ZoneDnssecStateDisabled ZoneDnssecStateEnum = "DISABLED"
)

Set of constants representing the allowable values for ZoneDnssecStateEnum

func GetMappingZoneDnssecStateEnum added in v65.76.0

func GetMappingZoneDnssecStateEnum(val string) (ZoneDnssecStateEnum, bool)

GetMappingZoneDnssecStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetZoneDnssecStateEnumValues added in v65.76.0

func GetZoneDnssecStateEnumValues() []ZoneDnssecStateEnum

GetZoneDnssecStateEnumValues Enumerates the set of values for ZoneDnssecStateEnum

type ZoneLifecycleStateEnum

type ZoneLifecycleStateEnum string

ZoneLifecycleStateEnum Enum with underlying type: string

const (
	ZoneLifecycleStateActive   ZoneLifecycleStateEnum = "ACTIVE"
	ZoneLifecycleStateCreating ZoneLifecycleStateEnum = "CREATING"
	ZoneLifecycleStateDeleted  ZoneLifecycleStateEnum = "DELETED"
	ZoneLifecycleStateDeleting ZoneLifecycleStateEnum = "DELETING"
	ZoneLifecycleStateFailed   ZoneLifecycleStateEnum = "FAILED"
	ZoneLifecycleStateUpdating ZoneLifecycleStateEnum = "UPDATING"
)

Set of constants representing the allowable values for ZoneLifecycleStateEnum

func GetMappingZoneLifecycleStateEnum

func GetMappingZoneLifecycleStateEnum(val string) (ZoneLifecycleStateEnum, bool)

GetMappingZoneLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetZoneLifecycleStateEnumValues

func GetZoneLifecycleStateEnumValues() []ZoneLifecycleStateEnum

GetZoneLifecycleStateEnumValues Enumerates the set of values for ZoneLifecycleStateEnum

type ZoneSummary

type ZoneSummary struct {

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

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

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

	// The scope of the zone.
	Scope ScopeEnum `mandatory:"true" json:"scope"`

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

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

	// The state of DNSSEC on the zone.
	// For DNSSEC to function, every parent zone in the DNS tree up to the top-level domain (or an independent
	// trust anchor) must also have DNSSEC correctly set up.
	// After enabling DNSSEC, you must add a DS record to the zone's parent zone containing the
	// `KskDnssecKeyVersion` data. You can find the DS data in the `dsData` attribute of the `KskDnssecKeyVersion`.
	// Then, use the `PromoteZoneDnssecKeyVersion` operation to promote the `KskDnssecKeyVersion`.
	// New `KskDnssecKeyVersion`s are generated annually, a week before the existing `KskDnssecKeyVersion`'s expiration.
	// To rollover a `KskDnssecKeyVersion`, you must replace the parent zone's DS record containing the old
	// `KskDnssecKeyVersion` data with the data from the new `KskDnssecKeyVersion`.
	// To remove the old DS record without causing service disruption, wait until the old DS record's TTL has
	// expired, and the new DS record has propagated. After the DS replacement has been completed, then the
	// `PromoteZoneDnssecKeyVersion` operation must be called.
	// Metrics are emitted in the `oci_dns` namespace daily for each `KskDnssecKeyVersion` indicating how many
	// days are left until expiration.
	// We recommend that you set up alarms and notifications for KskDnssecKeyVersion expiration so that the
	// necessary parent zone updates can be made and the `PromoteZoneDnssecKeyVersion` operation can be called.
	// Enabling DNSSEC results in additional records in DNS responses which increases their size and can
	// cause higher response latency.
	// For more information, see DNSSEC (https://docs.cloud.oracle.com/iaas/Content/DNS/Concepts/dnssec.htm).
	DnssecState ZoneDnssecStateEnum `mandatory:"true" json:"dnssecState"`

	// The canonical absolute URL of the resource.
	Self *string `mandatory:"true" json:"self"`

	// The OCID of the zone.
	Id *string `mandatory:"true" json:"id"`

	// The date and time the resource was created in "YYYY-MM-ddThh:mm:ssZ" format
	// with a Z offset, as defined by RFC 3339.
	// **Example:** `2016-07-22T17:23:59:60Z`
	TimeCreated *common.SDKTime `mandatory:"true" json:"timeCreated"`

	// Version is the never-repeating, totally-orderable, version of the
	// zone, from which the serial field of the zone's SOA record is
	// derived.
	Version *string `mandatory:"true" json:"version"`

	// The current serial of the zone. As seen in the zone's SOA record.
	Serial *int64 `mandatory:"true" json:"serial"`

	// The current state of the zone resource.
	LifecycleState ZoneSummaryLifecycleStateEnum `mandatory:"true" json:"lifecycleState"`

	// A Boolean flag indicating whether or not parts of the resource are unable to be explicitly managed.
	IsProtected *bool `mandatory:"true" json:"isProtected"`

	// The OCID of the private view containing the zone. This value will
	// be null for zones in the global DNS, which are publicly resolvable and
	// not part of a private view.
	ViewId *string `mandatory:"false" json:"viewId"`

	DnssecConfig *DnssecConfig `mandatory:"false" json:"dnssecConfig"`
}

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

func (ZoneSummary) String

func (m ZoneSummary) String() string

func (ZoneSummary) ValidateEnumValue

func (m ZoneSummary) 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

type ZoneSummaryLifecycleStateEnum

type ZoneSummaryLifecycleStateEnum string

ZoneSummaryLifecycleStateEnum Enum with underlying type: string

const (
	ZoneSummaryLifecycleStateActive   ZoneSummaryLifecycleStateEnum = "ACTIVE"
	ZoneSummaryLifecycleStateCreating ZoneSummaryLifecycleStateEnum = "CREATING"
	ZoneSummaryLifecycleStateDeleted  ZoneSummaryLifecycleStateEnum = "DELETED"
	ZoneSummaryLifecycleStateDeleting ZoneSummaryLifecycleStateEnum = "DELETING"
	ZoneSummaryLifecycleStateFailed   ZoneSummaryLifecycleStateEnum = "FAILED"
	ZoneSummaryLifecycleStateUpdating ZoneSummaryLifecycleStateEnum = "UPDATING"
)

Set of constants representing the allowable values for ZoneSummaryLifecycleStateEnum

func GetMappingZoneSummaryLifecycleStateEnum

func GetMappingZoneSummaryLifecycleStateEnum(val string) (ZoneSummaryLifecycleStateEnum, bool)

GetMappingZoneSummaryLifecycleStateEnum performs case Insensitive comparison on enum value and return the desired enum

func GetZoneSummaryLifecycleStateEnumValues

func GetZoneSummaryLifecycleStateEnumValues() []ZoneSummaryLifecycleStateEnum

GetZoneSummaryLifecycleStateEnumValues Enumerates the set of values for ZoneSummaryLifecycleStateEnum

type ZoneSummaryZoneTypeEnum

type ZoneSummaryZoneTypeEnum string

ZoneSummaryZoneTypeEnum Enum with underlying type: string

const (
	ZoneSummaryZoneTypePrimary   ZoneSummaryZoneTypeEnum = "PRIMARY"
	ZoneSummaryZoneTypeSecondary ZoneSummaryZoneTypeEnum = "SECONDARY"
)

Set of constants representing the allowable values for ZoneSummaryZoneTypeEnum

func GetMappingZoneSummaryZoneTypeEnum

func GetMappingZoneSummaryZoneTypeEnum(val string) (ZoneSummaryZoneTypeEnum, bool)

GetMappingZoneSummaryZoneTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetZoneSummaryZoneTypeEnumValues

func GetZoneSummaryZoneTypeEnumValues() []ZoneSummaryZoneTypeEnum

GetZoneSummaryZoneTypeEnumValues Enumerates the set of values for ZoneSummaryZoneTypeEnum

type ZoneTransferServer

type ZoneTransferServer struct {

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

	// The server's port.
	Port *int `mandatory:"false" json:"port"`

	// A Boolean flag indicating whether or not the server is a zone data transfer source.
	IsTransferSource *bool `mandatory:"false" json:"isTransferSource"`

	// A Boolean flag indicating whether or not the server is a zone data transfer destination.
	IsTransferDestination *bool `mandatory:"false" json:"isTransferDestination"`
}

ZoneTransferServer An OCI nameserver that transfers zone data with external nameservers.

func (ZoneTransferServer) String

func (m ZoneTransferServer) String() string

func (ZoneTransferServer) ValidateEnumValue

func (m ZoneTransferServer) 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

type ZoneZoneTypeEnum

type ZoneZoneTypeEnum string

ZoneZoneTypeEnum Enum with underlying type: string

const (
	ZoneZoneTypePrimary   ZoneZoneTypeEnum = "PRIMARY"
	ZoneZoneTypeSecondary ZoneZoneTypeEnum = "SECONDARY"
)

Set of constants representing the allowable values for ZoneZoneTypeEnum

func GetMappingZoneZoneTypeEnum

func GetMappingZoneZoneTypeEnum(val string) (ZoneZoneTypeEnum, bool)

GetMappingZoneZoneTypeEnum performs case Insensitive comparison on enum value and return the desired enum

func GetZoneZoneTypeEnumValues

func GetZoneZoneTypeEnumValues() []ZoneZoneTypeEnum

GetZoneZoneTypeEnumValues Enumerates the set of values for ZoneZoneTypeEnum

type ZskDnssecKeyVersion added in v65.76.0

type ZskDnssecKeyVersion struct {

	// The UUID of the `DnssecKeyVersion`.
	Uuid *string `mandatory:"false" json:"uuid"`

	// The signing algorithm used for the key.
	Algorithm DnssecSigningAlgorithmEnum `mandatory:"false" json:"algorithm,omitempty"`

	// The length of the corresponding private key in bytes, expressed as an integer.
	LengthInBytes *int `mandatory:"false" json:"lengthInBytes"`

	// The date and time the key version was created, expressed in RFC 3339 timestamp format.
	// **Example:** `2016-07-22T17:23:59:00Z`
	TimeCreated *common.SDKTime `mandatory:"false" json:"timeCreated"`

	// The date and time the key version was, or will be, published, expressed in RFC 3339 timestamp format. This is
	// when the zone contents will include a DNSKEY record corresponding to the key material.
	// **Example:** `2016-07-22T17:23:59:00Z`
	TimePublished *common.SDKTime `mandatory:"false" json:"timePublished"`

	// The date and time the key version went, or will go, active, expressed in RFC 3339 timestamp format. This is
	// when the key material will be used to generate RRSIGs.
	// **Example:** `2016-07-22T17:23:59:00Z`
	TimeActivated *common.SDKTime `mandatory:"false" json:"timeActivated"`

	// The date and time the key version went, or will go, inactive, expressed in RFC 3339 timestamp format. This
	// is when the key material will no longer be used to generate RRSIGs. For a key signing key (KSK) `DnssecKeyVersion`, this is
	// populated after `PromoteZoneDnssecKeyVersion` has been called on its successor `DnssecKeyVersion`.
	// **Example:** `2016-07-22T17:23:59:00Z`
	TimeInactivated *common.SDKTime `mandatory:"false" json:"timeInactivated"`

	// The date and time the key version was, or will be, unpublished, expressed in RFC 3339 timestamp format. This
	// is when the corresponding DNSKEY will be removed from zone contents. For a key signing key (KSK) `DnssecKeyVersion`, this is
	// populated after `PromoteZoneDnssecKeyVersion` has been called on its successor `DnssecKeyVersion`.
	// **Example:** `2016-07-22T17:23:59:00Z`
	TimeUnpublished *common.SDKTime `mandatory:"false" json:"timeUnpublished"`

	// The date and time at which the recommended key version publication/activation lifetime ends, expressed in RFC
	// 3339 timestamp format. This is when the corresponding DNSKEY should no longer exist in zone contents and no
	// longer be used to generate RRSIGs. For a key sigining key (KSK), if `PromoteZoneDnssecKeyVersion` has not been called on this
	// `DnssecKeyVersion`'s successor then it will remain active for arbitrarily long past its recommended lifetime.
	// This prevents service disruption at the potential increased risk of key compromise.
	// **Example:** `2016-07-22T17:23:59:00Z`
	TimeExpired *common.SDKTime `mandatory:"false" json:"timeExpired"`

	// The date and time the key version was promoted expressed in RFC 3339 timestamp format.
	// **Example:** `2016-07-22T17:23:59:00Z`
	TimePromoted *common.SDKTime `mandatory:"false" json:"timePromoted"`

	// When populated, this is the UUID of the `DnssecKeyVersion` that this `DnssecKeyVersion` will replace or has
	// replaced.
	PredecessorDnssecKeyVersionUuid *string `mandatory:"false" json:"predecessorDnssecKeyVersionUuid"`

	// When populated, this is the UUID of the `DnssecKeyVersion` that will replace, or has replaced, this
	// `DnssecKeyVersion`.
	SuccessorDnssecKeyVersionUuid *string `mandatory:"false" json:"successorDnssecKeyVersionUuid"`

	// The key tag associated with the `DnssecKeyVersion`. This key tag will be present in the RRSIG and DS records
	// associated with the key material for this `DnssecKeyVersion`. For more information about key tags, see
	// RFC 4034 (https://tools.ietf.org/html/rfc4034).
	KeyTag *int `mandatory:"false" json:"keyTag"`
}

ZskDnssecKeyVersion A zone signing key (ZSK) version. The version information contains timing and configuration data for the ZSK that is used to apply DNSSEC on the zone.

func (ZskDnssecKeyVersion) String added in v65.76.0

func (m ZskDnssecKeyVersion) String() string

func (ZskDnssecKeyVersion) ValidateEnumValue added in v65.76.0

func (m ZskDnssecKeyVersion) 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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL